Home
last modified time | relevance | path

Searched refs:agentBinder (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceTest.java304 IBinder agentBinder = mock(IBinder.class); in testAgentConnected_onRegisteredUser_callsMethodForUser() local
306 backupManagerService.agentConnected(mUserOneId, TEST_PACKAGE, agentBinder); in testAgentConnected_onRegisteredUser_callsMethodForUser()
308 verify(mUserOneService).agentConnected(TEST_PACKAGE, agentBinder); in testAgentConnected_onRegisteredUser_callsMethodForUser()
317 IBinder agentBinder = mock(IBinder.class); in testAgentConnected_onUnknownUser_doesNotPropagateCall() local
319 backupManagerService.agentConnected(mUserTwoId, TEST_PACKAGE, agentBinder); in testAgentConnected_onUnknownUser_doesNotPropagateCall()
321 verify(mUserOneService, never()).agentConnected(TEST_PACKAGE, agentBinder); in testAgentConnected_onUnknownUser_doesNotPropagateCall()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java262 public void agentConnected(@UserIdInt int userId, String packageName, IBinder agentBinder) { in agentConnected() argument
267 userBackupManagerService.agentConnected(packageName, agentBinder); in agentConnected()
DUserBackupManagerService.java3194 public void agentConnected(String packageName, IBinder agentBinder) { in agentConnected() argument
3197 Slog.d(TAG, "agentConnected pkg=" + packageName + " agent=" + agentBinder); in agentConnected()
3198 mConnectedAgent = IBackupAgent.Stub.asInterface(agentBinder); in agentConnected()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java1075 verify(agentMock.agentBinder).fail(any()); in testRunTask_whenAgentUsesProhibitedKey_failsAgent()
1186 verify(agentMock1.agentBinder).fail(any()); in testRunTask_whenFirstAgentUsesProhibitedKeyButLastAgentUsesPermittedKey()
2691 .when(agentMock.agentBinder) in remoteAgentOnBackupThrows()
2815 private final IBackupAgent agentBinder; field in AgentMock
2820 private AgentMock(IBackupAgent agentBinder, BackupAgent agent) { in AgentMock() argument
2821 this.agentBinder = agentBinder; in AgentMock()