Home
last modified time | relevance | path

Searched refs:keyPrefix (Results 1 – 7 of 7) 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()
58 BackupHelper helper = helpers.get(header.keyPrefix); in performBackup()
59 Log.d(TAG, "handling existing helper '" + header.keyPrefix + "' " + helper); in performBackup()
62 helpers.remove(header.keyPrefix); in performBackup()
72 header.keyPrefix = entry.getKey(); in performBackup()
73 Log.d(TAG, "handling new helper '" + header.keyPrefix + "'"); in performBackup()
91 data.setKeyPrefix(header.keyPrefix); in doOneBackup()
DBackupDataOutput.java113 public void setKeyPrefix(String keyPrefix) { in setKeyPrefix() argument
114 setKeyPrefix_native(mBackupWriter, keyPrefix); in setKeyPrefix()
132 private native static void setKeyPrefix_native(long 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.cpp49 String8 keyPrefix; in readHeader_native() local
103 buf = keyPrefix.lockBuffer(flattenedHeader.nameLength); in readHeader_native()
112 keyPrefix.unlockBuffer(flattenedHeader.nameLength); in readHeader_native()
121 env->SetObjectField(headerObj, s_keyPrefixField, env->NewStringUTF(keyPrefix.string())); in readHeader_native()
Dandroid_backup_BackupDataOutput.cpp91 String8 keyPrefix(keyPrefixUTF ? keyPrefixUTF : ""); in setKeyPrefix_native() local
93 writer->SetKeyPrefix(keyPrefix); in setKeyPrefix_native()
/frameworks/base/libs/androidfw/
DBackupData.cpp172 BackupDataWriter::SetKeyPrefix(const String8& keyPrefix) in SetKeyPrefix() argument
174 m_keyPrefix = keyPrefix; in SetKeyPrefix()
/frameworks/base/include/androidfw/
DBackupHelpers.h85 void SetKeyPrefix(const String8& keyPrefix);