Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java476 when(mTransportManager.getCurrentTransportComponent()) in testGetCurrentTransportComponent()
480 ComponentName transportComponent = backupManagerService.getCurrentTransportComponent(); in testGetCurrentTransportComponent()
492 when(mTransportManager.getCurrentTransportComponent()).thenReturn(null); in testGetCurrentTransportComponent_whenNoTransportSelected()
495 ComponentName transportComponent = backupManagerService.getCurrentTransportComponent(); in testGetCurrentTransportComponent_whenNoTransportSelected()
507 when(mTransportManager.getCurrentTransportComponent()) in testGetCurrentTransportComponent_whenTransportNotRegistered()
511 ComponentName transportComponent = backupManagerService.getCurrentTransportComponent(); in testGetCurrentTransportComponent_whenTransportNotRegistered()
525 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()
DBackupManagerServiceRoboTest.java358 backupManagerService.getCurrentTransportComponent(mUserOneId); in testGetCurrentTransportComponent_onRegisteredUser_callsMethodForUser()
360 verify(mUserOneService).getCurrentTransportComponent(); in testGetCurrentTransportComponent_onRegisteredUser_callsMethodForUser()
371 backupManagerService.getCurrentTransportComponent(mUserTwoId); in testGetCurrentTransportComponent_onUnknownUser_doesNotPropagateCall()
373 verify(mUserOneService, never()).getCurrentTransportComponent(); in testGetCurrentTransportComponent_onUnknownUser_doesNotPropagateCall()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java936 return (isUserReadyForBackup(userId)) ? getCurrentTransportComponent(userId) : null; in getCurrentTransportComponentForUser()
944 public ComponentName getCurrentTransportComponent(@UserIdInt int userId) { in getCurrentTransportComponent() method in BackupManagerService
950 : userBackupManagerService.getCurrentTransportComponent(); in getCurrentTransportComponent()
DUserBackupManagerService.java3359 public ComponentName getCurrentTransportComponent() { in getCurrentTransportComponent() method in UserBackupManagerService
3364 return mTransportManager.getCurrentTransportComponent(); in getCurrentTransportComponent()
/frameworks/base/core/java/android/app/backup/
DBackupManager.java468 public ComponentName getCurrentTransportComponent() { in getCurrentTransportComponent() method in BackupManager
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/
DTransportManager.java194 public ComponentName getCurrentTransportComponent() in getCurrentTransportComponent() method in TransportManager
/frameworks/base/non-updatable-api/
Dsystem-current.txt897 …id.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent();
/frameworks/base/api/
Dsystem-current.txt949 …id.Manifest.permission.BACKUP) public android.content.ComponentName getCurrentTransportComponent();