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.java3263 public void agentConnected(String packageName, IBinder agentBinder) { in agentConnected() argument
3266 Slog.d(TAG, "agentConnected pkg=" + packageName + " agent=" + agentBinder); in agentConnected()
3267 mConnectedAgent = IBackupAgent.Stub.asInterface(agentBinder); in agentConnected()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java1074 verify(agentMock.agentBinder).fail(any()); in testRunTask_whenAgentUsesProhibitedKey_failsAgent()
1185 verify(agentMock1.agentBinder).fail(any()); in testRunTask_whenFirstAgentUsesProhibitedKeyButLastAgentUsesPermittedKey()
2690 .when(agentMock.agentBinder) in remoteAgentOnBackupThrows()
2814 private final IBackupAgent agentBinder; field in AgentMock
2819 private AgentMock(IBackupAgent agentBinder, BackupAgent agent) { in AgentMock() argument
2820 this.agentBinder = agentBinder; in AgentMock()