Home
last modified time | relevance | path

Searched refs:keyPrefix (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java33 String keyPrefix; field in BackupHelperDispatcher.Header
41 public void addHelper(String keyPrefix, BackupHelper helper) { in addHelper() argument
42 mHelpers.put(keyPrefix, helper); in addHelper()
59 BackupHelper helper = helpers.get(header.keyPrefix); in performBackup()
60 Log.d(TAG, "handling existing helper '" + header.keyPrefix + "' " + helper); in performBackup()
63 helpers.remove(header.keyPrefix); in performBackup()
73 header.keyPrefix = entry.getKey(); in performBackup()
74 Log.d(TAG, "handling new helper '" + header.keyPrefix + "'"); in performBackup()
92 data.setKeyPrefix(header.keyPrefix); in doOneBackup()
DBackupDataOutput.java111 public void setKeyPrefix(String keyPrefix) { in setKeyPrefix() argument
112 setKeyPrefix_native(mBackupWriter, keyPrefix); in setKeyPrefix()
129 private native static void setKeyPrefix_native(int mBackupWriter, String keyPrefix); in setKeyPrefix_native() argument
DBackupAgentHelper.java92 public void addHelper(String keyPrefix, BackupHelper helper) { in addHelper() argument
93 mDispatcher.addHelper(keyPrefix, helper); in addHelper()
/frameworks/base/core/jni/
Dandroid_backup_BackupHelperDispatcher.cpp48 String8 keyPrefix; in readHeader_native() local
102 buf = keyPrefix.lockBuffer(flattenedHeader.nameLength); in readHeader_native()
111 keyPrefix.unlockBuffer(flattenedHeader.nameLength); in readHeader_native()
120 env->SetObjectField(headerObj, s_keyPrefixField, env->NewStringUTF(keyPrefix.string())); in readHeader_native()
Dandroid_backup_BackupDataOutput.cpp93 String8 keyPrefix(keyPrefixUTF ? keyPrefixUTF : ""); in setKeyPrefix_native() local
95 writer->SetKeyPrefix(keyPrefix); in setKeyPrefix_native()
/frameworks/base/cmds/keystore/
Dkeystore.cpp603 static ResponseCode saw(KeyStore* keyStore, int sock, uid_t uid, Value* keyPrefix, Value*) { in saw() argument
609 int n = encode_key(filename, uid, keyPrefix); in saw()
616 keyPrefix->length = decode_key(keyPrefix->value, p, strlen(p)); in saw()
617 send_message(sock, keyPrefix->value, keyPrefix->length); in saw()
/frameworks/base/libs/utils/
DBackupData.cpp177 BackupDataWriter::SetKeyPrefix(const String8& keyPrefix) in SetKeyPrefix() argument
179 m_keyPrefix = keyPrefix; in SetKeyPrefix()
/frameworks/base/include/utils/
DBackupHelpers.h83 void SetKeyPrefix(const String8& keyPrefix);