Home | History | Annotate | Download | only in backup

Lines Matching refs:payload

57      * Generate and return the byte array containing the backup payload describing
69 * per key/value payload that was delivered for restore. Typically data is delivered
73 * @param payload The byte array that was passed to {@link #getBackupPayload()}
76 abstract protected void applyRestoredPayload(String key, byte[] payload);
167 // write the header directly to the sink ahead of the deflated payload
178 Log.w(TAG, "Unable to process payload: " + e.getMessage());
193 Log.w(TAG, "Saved payload from unrecognized version " + version);
212 Log.w(TAG, "Unable to process restored payload: " + e.getMessage());
250 final byte[] payload = deflate(getBackupPayload(key));
251 final long checksum = checksum(payload);
263 if (payload != null) {
264 data.writeEntityHeader(key, payload.length);
265 data.writeEntityData(payload, payload.length);
267 // state's changed but there's no current payload => delete
303 byte[] payload = inflate(compressed);
304 applyRestoredPayload(key, payload);