Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/backup/
DBackupHelperDispatcher.java36 String keyPrefix; field in BackupHelperDispatcher.Header
44 public void addHelper(String keyPrefix, BackupHelper helper) { in addHelper() argument
45 mHelpers.put(keyPrefix, helper); in addHelper()
61 BackupHelper helper = helpers.get(header.keyPrefix); in performBackup()
62 Log.d(TAG, "handling existing helper '" + header.keyPrefix + "' " + helper); in performBackup()
65 helpers.remove(header.keyPrefix); in performBackup()
75 header.keyPrefix = entry.getKey(); in performBackup()
76 Log.d(TAG, "handling new helper '" + header.keyPrefix + "'"); in performBackup()
94 data.setKeyPrefix(header.keyPrefix); in doOneBackup()
DBackupDataOutput.java156 public void setKeyPrefix(String keyPrefix) { in setKeyPrefix() argument
157 setKeyPrefix_native(mBackupWriter, keyPrefix); in setKeyPrefix()
175 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/multidex/library/src/androidx/multidex/
DMultiDexExtractor.java324 private static void putStoredApkInfo(Context context, String keyPrefix, long timeStamp, in putStoredApkInfo() argument
328 edit.putLong(keyPrefix + KEY_TIME_STAMP, timeStamp); in putStoredApkInfo()
329 edit.putLong(keyPrefix + KEY_CRC, crc); in putStoredApkInfo()
330 edit.putInt(keyPrefix + KEY_DEX_NUMBER, extractedDexes.size() + 1); in putStoredApkInfo()
334 edit.putLong(keyPrefix + KEY_DEX_CRC + extractedDexId, dex.crc); in putStoredApkInfo()
335 edit.putLong(keyPrefix + KEY_DEX_TIME + extractedDexId, dex.lastModified()); in putStoredApkInfo()
/frameworks/base/core/java/com/android/server/backup/
DSystemBackupAgent.java125 public void addHelper(String keyPrefix, BackupHelper helper) { in addHelper() argument
126 if (mUserId != UserHandle.USER_SYSTEM && !sEligibleForMultiUser.contains(keyPrefix)) { in addHelper()
130 super.addHelper(keyPrefix, helper); in addHelper()
/frameworks/base/libs/androidfw/
DBackupData.cpp171 BackupDataWriter::SetKeyPrefix(const String8& keyPrefix) in SetKeyPrefix() argument
173 m_keyPrefix = keyPrefix; in SetKeyPrefix()
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h85 void SetKeyPrefix(const String8& keyPrefix);
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java220 private PersistableBundle getExtras(String keyPrefix, long lval, String sval, double dval) { in getExtras() argument
222 extras.putLong(keyPrefix + ".LONG_VALUE", lval); in getExtras()
223 extras.putDouble(keyPrefix + ".DOUBLE_VALUE", dval); in getExtras()
224 extras.putString(keyPrefix + ".STRING_VALUE", sval); in getExtras()