Lines Matching defs:data
28 * is responsible only for handling its own data, and will not see entities
41 * needs to be backed up, write it to <code>data</code>, and fill in
47 * {@code oldState} descriptor points to the beginning of the state data
55 * what was stored by this helper. If more old state data is read, even accidentally,
63 * @param data An open, read/write {@link BackupDataOutput}
64 * pointing to the backup data destination.
69 * state here after writing the requested data to the <code>data</code>
72 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data,
77 * to restore a single entity from the restore data set. This method will be
78 * called for each entity in the data set that belongs to this handler.
80 * <strong>Note:</strong> Do not close the <code>data</code> stream. Do not read more than
82 * <code>data</code>.</p>
84 * @param data An open {@link BackupDataInputStream} from which the backup data can be read.
86 public void restoreEntity(BackupDataInputStream data);
91 * the data as processed by the helper. The data written here will be