Home
last modified time | relevance | path

Searched refs:getCurrentTransportComponent (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java461 when(mTransportManager.getCurrentTransportComponent()) in testGetCurrentTransportComponent()
465 ComponentName transportComponent = backupManagerService.getCurrentTransportComponent(); in testGetCurrentTransportComponent()
477 when(mTransportManager.getCurrentTransportComponent()).thenReturn(null); in testGetCurrentTransportComponent_whenNoTransportSelected()
480 ComponentName transportComponent = backupManagerService.getCurrentTransportComponent(); in testGetCurrentTransportComponent_whenNoTransportSelected()
492 when(mTransportManager.getCurrentTransportComponent()) in testGetCurrentTransportComponent_whenTransportNotRegistered()
496 ComponentName transportComponent = backupManagerService.getCurrentTransportComponent(); in testGetCurrentTransportComponent_whenTransportNotRegistered()
510 expectThrows(SecurityException.class, backupManagerService::getCurrentTransportComponent); in testGetCurrentTransportComponent_withoutPermission()
DTransportManagerTest.java406 ComponentName transportComponent = transportManager.getCurrentTransportComponent(); in testGetCurrentTransportComponent()
416 ComponentName transportComponent = transportManager.getCurrentTransportComponent(); in testGetCurrentTransportComponent_whenNoTransportSelected()
428 transportManager::getCurrentTransportComponent); in testGetCurrentTransportComponent_whenTransportNotRegistered()
DBackupManagerServiceTest.java458 backupManagerService.getCurrentTransportComponent(mUserOneId); in testGetCurrentTransportComponent_onRegisteredUser_callsMethodForUser()
460 verify(mUserOneService).getCurrentTransportComponent(); in testGetCurrentTransportComponent_onRegisteredUser_callsMethodForUser()
471 backupManagerService.getCurrentTransportComponent(mUserTwoId); in testGetCurrentTransportComponent_onUnknownUser_doesNotPropagateCall()
473 verify(mUserOneService, never()).getCurrentTransportComponent(); in testGetCurrentTransportComponent_onUnknownUser_doesNotPropagateCall()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java341 public ComponentName getCurrentTransportComponent(@UserIdInt int userId) { in getCurrentTransportComponent() method in BackupManagerService
347 : userBackupManagerService.getCurrentTransportComponent(); in getCurrentTransportComponent()
DTransportManager.java194 public ComponentName getCurrentTransportComponent() in getCurrentTransportComponent() method in TransportManager
DTrampoline.java602 return (isUserReadyForBackup(userId)) ? mService.getCurrentTransportComponent(userId) in getCurrentTransportComponentForUser()
DUserBackupManagerService.java2967 public ComponentName getCurrentTransportComponent() { in getCurrentTransportComponent() method in UserBackupManagerService
2972 return mTransportManager.getCurrentTransportComponent(); in getCurrentTransportComponent()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java466 public ComponentName getCurrentTransportComponent() { in getCurrentTransportComponent() method in BackupManager
/frameworks/base/api/
Dsystem-current.txt775 …id.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent();
/frameworks/base/non-updatable-api/
Dsystem-current.txt775 …id.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent();