Searched refs:pmAgent (Results 1 – 3 of 3) sorted by relevance
478 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm() local479 doReturn(forward(pmAgent)).when(mBackupManagerService).makeMetadataAgent(); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm()484 verify(pmAgent, never()).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndNonIncremental_doesNotBackUpPm()491 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm() local492 doReturn(forward(pmAgent)).when(mBackupManagerService).makeMetadataAgent(); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm()498 verify(pmAgent).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndPmAndNonIncremental_backsUpPm()505 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm() local506 doReturn(forward(pmAgent)).when(mBackupManagerService).makeMetadataAgent(); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm()511 verify(pmAgent).onBackup(any(), any(), any()); in testRunTask_whenNonPmPackageAndIncremental_backsUpPm()1314 BackupAgent pmAgent = spy(createPmAgent()); in testRunTask_whenPmAgentWritesData_callsTransportPerformBackupWithAgentData() local[all …]
874 PackageManagerBackupAgent pmAgent = new PackageManagerBackupAgent(mPackageManager, mUserId); in makeMetadataAgent() local875 pmAgent.attach(mContext); in makeMetadataAgent()876 pmAgent.onCreate(UserHandle.of(mUserId)); in makeMetadataAgent()877 return pmAgent; in makeMetadataAgent()884 PackageManagerBackupAgent pmAgent = in makeMetadataAgent() local886 pmAgent.attach(mContext); in makeMetadataAgent()887 pmAgent.onCreate(UserHandle.of(mUserId)); in makeMetadataAgent()888 return pmAgent; in makeMetadataAgent()
629 BackupAgent pmAgent = mBackupManagerService.makeMetadataAgent(); in extractPmAgentData() local630 mAgent = IBackupAgent.Stub.asInterface(pmAgent.onBind()); in extractPmAgentData()