Home
last modified time | relevance | path

Searched refs:pmAgent (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java499 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm() local
500 doReturn(forward(pmAgent)).when(mBackupManagerService) in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm()
506 verify(pmAgent, never()).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm()
513 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm() local
514 doReturn(forward(pmAgent)).when(mBackupManagerService) in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm()
521 verify(pmAgent).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm()
528 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm() local
529 doReturn(forward(pmAgent)).when(mBackupManagerService) in testRunTask_whenNonPmPackageAndIncremental_backsUpPm()
535 verify(pmAgent).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm()
1339 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenPmAgentWritesData_callsTransportPerformBackupWithAgentData() local
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java918 PackageManagerBackupAgent pmAgent = new PackageManagerBackupAgent(mPackageManager, mUserId, in makeMetadataAgentWithEligibilityRules() local
920 pmAgent.attach(mContext); in makeMetadataAgentWithEligibilityRules()
921 pmAgent.onCreate(UserHandle.of(mUserId)); in makeMetadataAgentWithEligibilityRules()
922 return pmAgent; in makeMetadataAgentWithEligibilityRules()
929 PackageManagerBackupAgent pmAgent = in makeMetadataAgent() local
931 pmAgent.attach(mContext); in makeMetadataAgent()
932 pmAgent.onCreate(UserHandle.of(mUserId)); in makeMetadataAgent()
933 return pmAgent; in makeMetadataAgent()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java865 …BackupAgent pmAgent = mBackupManagerService.makeMetadataAgentWithEligibilityRules(mBackupEligibili… in extractPmAgentData() local
866 mAgent = IBackupAgent.Stub.asInterface(pmAgent.onBind()); in extractPmAgentData()