Searched refs:getServiceUsers (Results 1 – 5 of 5) sorted by relevance
125 assertThat(backupManagerService.getServiceUsers().size()).isEqualTo(0); in testConstructor_doesNotRegisterUsers()167 SparseArray<UserBackupManagerService> serviceUsers = backupManagerService.getServiceUsers(); in testStartServiceForUser_registersUser()179 SparseArray<UserBackupManagerService> serviceUsers = backupManagerService.getServiceUsers(); in testStartServiceForUser_withServiceInstance_registersUser()193 SparseArray<UserBackupManagerService> serviceUsers = backupManagerService.getServiceUsers(); in testStopServiceForUser_forRegisteredUser_unregistersCorrectUser()219 SparseArray<UserBackupManagerService> serviceUsers = backupManagerService.getServiceUsers(); in testStopServiceForUser_forUnknownUser_doesNothing()
206 public SparseArray<UserBackupManagerService> getServiceUsers() { in getServiceUsers() method in BackupManagerService515 UserBackupManagerService userBackupManagerService = getServiceUsers().get(userId); in getUserForAncestralSerialNumber()
208 return mService != null && mService.getServiceUsers().get(userId) != null in isUserReadyForBackup()
139 when(mBackupManagerServiceMock.getServiceUsers()).thenReturn(serviceUsers); in setUp()
4750 HSPLcom/android/server/backup/BackupManagerService;->getServiceUsers()Landroid/util/SparseArray;