Lines Matching defs:key
29 * as a set of "entities," key/value pairs in which each binary data record "value" is
30 * named with a string "key."
34 * onBackup()} method first writes an "entity header" that supplies the key string for the record
40 * Entity key strings are considered to be unique within a given application's backup
41 * data set. If a backup agent writes a new entity under an existing key string, its value will
44 * existing record's key, but supplying a negative <code>dataSize</code> parameter.
79 * @param key A string key that uniquely identifies the data record within the application
81 * of -1 indicates that the record under this key should be deleted.
85 public int writeEntityHeader(String key, int dataSize) throws IOException {
86 int result = writeEntityHeader_native(mBackupWriter, key, dataSize);
127 private native static int writeEntityHeader_native(int mBackupWriter, String key, int dataSize);