Home
last modified time | relevance | path

Searched refs:GLOBAL_METADATA_KEY (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java66 @VisibleForTesting static final String GLOBAL_METADATA_KEY = "@meta@"; field in PackageManagerBackupAgent
275 if (!mExisting.contains(GLOBAL_METADATA_KEY)) { in onBackup()
279 writeEntity(data, GLOBAL_METADATA_KEY, outputBuffer.toByteArray()); in onBackup()
283 mExisting.remove(GLOBAL_METADATA_KEY); in onBackup()
290 if (packName.equals(GLOBAL_METADATA_KEY)) { in onBackup()
614 if (pkg.equals(GLOBAL_METADATA_KEY)) { in parseStateFile()
618 mExisting.add(GLOBAL_METADATA_KEY); in parseStateFile()
671 out.writeUTF(GLOBAL_METADATA_KEY); in writeStateFile()
718 if (key.equals(GLOBAL_METADATA_KEY)) { in consumeRestoreData()
830 if (key.equals(GLOBAL_METADATA_KEY)) { in consumeRestoreData()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DPackageManagerBackupAgentTest.java105 PackageManagerBackupAgent.GLOBAL_METADATA_KEY, in onBackup_noState_backsUpEverything()
157 PackageManagerBackupAgent.GLOBAL_METADATA_KEY, in onBackup_legacyState_backsUpEverything()
318 out.writeUTF(PackageManagerBackupAgent.GLOBAL_METADATA_KEY); in writeLegacyStateFile()