Searched refs:isBackupServiceActive (Results 1 – 12 of 12) sorted by relevance
188 assertTrue(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in initializeService_successfullyInitializesBackupService()198 assertFalse(trampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in initializeService_globallyDisabled_nonInitialized()210 assertFalse(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in isBackupServiceActive_calledBeforeInitialize_returnsFalse()218 assertTrue(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in isBackupServiceActive_forSystemUser_returnsTrueWhenActivated()226 assertFalse(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in isBackupServiceActive_forSystemUser_returnsFalseWhenDeactivated()236 assertFalse(mTrampoline.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenSystemUserDeactivated()246 assertFalse(mTrampoline.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenNonSystemUserDeactivated()257 assertTrue(mTrampoline.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsTrueWhenSystemAndNonSystemUserActivated()267 assertTrue(mTrampoline.isBackupServiceActive(UNSTARTED_NON_USER_SYSTEM)); in isBackupServiceActive_forUnstartedNonSystemUser_returnsTrueWhenSystemAndUserActivated()277 assertTrue(mTrampoline.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
401 public boolean isBackupServiceActive(UserHandle user) { in isBackupServiceActive() method in BackupManager407 return sService.isBackupServiceActive(user.getIdentifier()); in isBackupServiceActive()
198 return mBackupManager.isBackupServiceActive(userId); in isBackupActiveForUser()
195 if (!mBmgr.isBackupServiceActive(userId)) { in isBackupActive()215 + activatedToString(mBmgr.isBackupServiceActive(userId))); in doActivated()
399 public boolean isBackupServiceActive(int userId) { in isBackupServiceActive() method in Trampoline
13004 return ibm != null && ibm.isBackupServiceActive( in isBackupServiceEnabled()
14671 if (bm.isBackupServiceActive(userId)) {
757 …iresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os…
4817 PLcom/android/server/backup/Trampoline;->isBackupServiceActive(I)Z