Home | History | Annotate | Download | only in backup

Lines Matching refs:checksum

87      *     [Long]   blob checksum, calculated after compression
105 long checksum = in.readLong();
107 Log.i(TAG, " key '" + key + "' checksum is " + checksum);
109 state.put(key, checksum);
147 final long checksum = state.valueAt(i).longValue();
149 Log.i(TAG, " writing key " + key + " checksum = " + checksum);
152 out.writeLong(checksum);
218 private long checksum(byte[] buffer) {
230 // whoops; fall through with an explicitly bogus checksum
251 final long checksum = checksum(payload);
253 Log.i(TAG, "Key " + key + " backup checksum is " + checksum);
255 newState.put(key, checksum);
258 if (oldChecksum == null || checksum != oldChecksum.longValue()) {
260 Log.i(TAG, "Checksum has changed from " + oldChecksum + " to " + checksum