Searched refs:isBackupServiceActive (Results 1 – 11 of 11) sorted by relevance
159 assertTrue(mService.isBackupServiceActive(UserHandle.USER_SYSTEM)); in testIsBackupServiceActive_whenBackupsNotDisabledAndSuppressFileDoesNotExist()213 assertFalse(backupManagerService.isBackupServiceActive(UserHandle.USER_SYSTEM)); in testIsBackupServiceActive_forSystemUserWhenBackupDisabled_returnsTrue()224 assertFalse(backupManagerService.isBackupServiceActive(NON_USER_SYSTEM)); in testIsBackupServiceActive_forNonSystemUserWhenBackupDisabled_returnsTrue()231 assertTrue(mService.isBackupServiceActive(UserHandle.USER_SYSTEM)); in isBackupServiceActive_forSystemUser_returnsTrueWhenActivated()238 assertFalse(mService.isBackupServiceActive(UserHandle.USER_SYSTEM)); in isBackupServiceActive_forSystemUser_returnsFalseWhenDeactivated()247 assertFalse(mService.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenSystemUserDeactivated()256 assertFalse(mService.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenNonSystemUserDeactivated()266 assertTrue(mService.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsTrueWhenSystemAndNonSystemUserActivated()275 assertTrue(mService.isBackupServiceActive(UNSTARTED_NON_USER_SYSTEM)); in isBackupServiceActive_forUnstartedNonSystemUser_returnsTrueWhenSystemAndUserActivated()284 assertTrue(mService.isBackupServiceActive(UserHandle.USER_SYSTEM)); in setBackupServiceActive_forSystemUserAndCallerSystemUid_serviceCreated()[all …]
53 verify(mBackupManager).isBackupServiceActive(UserHandle.USER_SYSTEM); in testRun_whenUserNotSpecified_callsBackupManagerAsSystemUser()61 verify(mBackupManager).isBackupServiceActive(10); in testRun_whenUserSpecified_callsBackupManagerAsSpecifiedUser()
52 verify(mBackupManager).isBackupServiceActive(UserHandle.USER_SYSTEM); in testRun_whenUserNotSpecified_callsAdbBackupAsSystemUser()59 verify(mBackupManager).isBackupServiceActive(10); in testRun_whenUserSpecified_callsBackupManagerAsSpecifiedUser()
597 boolean isBackupServiceActive(int whichUser); in isBackupServiceActive() method
403 public boolean isBackupServiceActive(UserHandle user) { in isBackupServiceActive() method in BackupManager409 return sService.isBackupServiceActive(user.getIdentifier()); in isBackupServiceActive()
198 return mBackupManager.isBackupServiceActive(userId); in isBackupActiveForUser()
209 if (!mBmgr.isBackupServiceActive(userId)) { in isBackupActive()248 + activatedToString(mBmgr.isBackupServiceActive(userId))); in doActivated()
508 public boolean isBackupServiceActive(int userId) { in isBackupServiceActive() method in BackupManagerService
904 …iresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os…
956 …iresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os…
10758 HPLcom/android/server/backup/BackupManagerService;->isBackupServiceActive(I)Z