Searched refs:pmAgent (Results 1 – 3 of 3) sorted by relevance
479 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm() local480 doReturn(forward(pmAgent)).when(mBackupManagerService).makeMetadataAgent(); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm()485 verify(pmAgent, never()).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm()492 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm() local493 doReturn(forward(pmAgent)).when(mBackupManagerService).makeMetadataAgent(); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm()499 verify(pmAgent).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm()506 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm() local507 doReturn(forward(pmAgent)).when(mBackupManagerService).makeMetadataAgent(); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm()512 verify(pmAgent).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm()1315 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenPmAgentWritesData_callsTransportPerformBackupWithAgentData() local[all …]
817 PackageManagerBackupAgent pmAgent = new PackageManagerBackupAgent(mPackageManager, mUserId); in makeMetadataAgent() local818 pmAgent.attach(mContext); in makeMetadataAgent()819 pmAgent.onCreate(UserHandle.of(mUserId)); in makeMetadataAgent()820 return pmAgent; in makeMetadataAgent()827 PackageManagerBackupAgent pmAgent = in makeMetadataAgent() local829 pmAgent.attach(mContext); in makeMetadataAgent()830 pmAgent.onCreate(UserHandle.of(mUserId)); in makeMetadataAgent()831 return pmAgent; in makeMetadataAgent()
629 BackupAgent pmAgent = mBackupManagerService.makeMetadataAgent(); in extractPmAgentData() local630 mAgent = IBackupAgent.Stub.asInterface(pmAgent.onBind()); in extractPmAgentData()