Home
last modified time | relevance | path

Searched refs:PackageManagerBackupAgent (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DPackageManagerBackupAgentTest.java69 private PackageManagerBackupAgent mPackageManagerBackupAgent;
87 new PackageManagerBackupAgent(mPackageManager, mPackages, USER_ID); in setUp()
104 PackageManagerBackupAgent.ANCESTRAL_RECORD_KEY, in onBackup_noState_backsUpEverything()
105 PackageManagerBackupAgent.GLOBAL_METADATA_KEY, in onBackup_noState_backsUpEverything()
115 PackageManagerBackupAgent.writeStateFile(mPackages, oldStateDescriptor); in onBackup_recentState_backsUpNothing()
130 PackageManagerBackupAgent.writeStateFile( in onBackup_oldState_backsUpChanges()
156 PackageManagerBackupAgent.ANCESTRAL_RECORD_KEY, in onBackup_legacyState_backsUpEverything()
157 PackageManagerBackupAgent.GLOBAL_METADATA_KEY, in onBackup_legacyState_backsUpEverything()
180 PackageManagerBackupAgent.ANCESTRAL_RECORD_KEY, in onBackup_noAncestralRecordInfo_deletesUninstalledPackagesFromBackup()
204 deleteKeyFromBackupData(mBackupData, PackageManagerBackupAgent.ANCESTRAL_RECORD_KEY); in onRestore_legacyBackup_restoresBackup()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java60 public class PackageManagerBackupAgent extends BackupAgent { class
132 public PackageManagerBackupAgent( in PackageManagerBackupAgent() method in PackageManagerBackupAgent
137 public PackageManagerBackupAgent( in PackageManagerBackupAgent() method in PackageManagerBackupAgent
DUserBackupManagerService.java918 PackageManagerBackupAgent pmAgent = new PackageManagerBackupAgent(mPackageManager, mUserId, in makeMetadataAgentWithEligibilityRules()
928 public PackageManagerBackupAgent makeMetadataAgent(List<PackageInfo> packages) { in makeMetadataAgent()
929 PackageManagerBackupAgent pmAgent = in makeMetadataAgent()
930 new PackageManagerBackupAgent(mPackageManager, packages, mUserId); in makeMetadataAgent()
1002 PackageManagerBackupAgent.getStorableApplications(mPackageManager, mUserId, in readFullBackupSchedule()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java70 import com.android.server.backup.PackageManagerBackupAgent;
71 import com.android.server.backup.PackageManagerBackupAgent.Metadata;
132 private PackageManagerBackupAgent mPmAgent;
251 PackageManagerBackupAgent.getStorableApplications( in PerformUnifiedRestoreTask()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java113 import com.android.server.backup.PackageManagerBackupAgent;
2004 PackageManagerBackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenTransportReturnsErrorForPm_updatesFilesAndCleansUp()
2724 private PackageManagerBackupAgent createPmAgent() { in createPmAgent()
2725 PackageManagerBackupAgent pmAgent = in createPmAgent()
2726 new PackageManagerBackupAgent(mApplication.getPackageManager(), USER_ID, in createPmAgent()
2737 private PackageManagerBackupAgent createThrowingPmAgent(RuntimeException exception) { in createThrowingPmAgent()
2738 PackageManagerBackupAgent pmAgent = in createThrowingPmAgent()
3050 private static class ThrowingPackageManagerBackupAgent extends PackageManagerBackupAgent {
/frameworks/base/services/
Dart-wear-profile8609 PLcom/android/server/backup/PackageManagerBackupAgent;->getStorableApplications(Landroid/content/pm…