Home
last modified time | relevance | path

Searched refs:isBackupServiceActive (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java188 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 …]
/frameworks/base/services/robotests/backup/src/com/android/commands/bmgr/
DBmgrTest.java53 verify(mBackupManager).isBackupServiceActive(UserHandle.USER_SYSTEM); in testRun_whenUserNotSpecified_callsBackupManagerAsSystemUser()
61 verify(mBackupManager).isBackupServiceActive(10); in testRun_whenUserSpecified_callsBackupManagerAsSpecifiedUser()
/frameworks/base/services/robotests/backup/src/com/android/commands/bu/
DAdbBackupTest.java52 verify(mBackupManager).isBackupServiceActive(UserHandle.USER_SYSTEM); in testRun_whenUserNotSpecified_callsAdbBackupAsSystemUser()
59 verify(mBackupManager).isBackupServiceActive(10); in testRun_whenUserSpecified_callsBackupManagerAsSpecifiedUser()
/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl597 boolean isBackupServiceActive(int whichUser); in isBackupServiceActive() method
DBackupManager.java401 public boolean isBackupServiceActive(UserHandle user) { in isBackupServiceActive() method in BackupManager
407 return sService.isBackupServiceActive(user.getIdentifier()); in isBackupServiceActive()
/frameworks/base/cmds/bu/src/com/android/commands/bu/
DBackup.java198 return mBackupManager.isBackupServiceActive(userId); in isBackupActiveForUser()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java195 if (!mBmgr.isBackupServiceActive(userId)) { in isBackupActive()
215 + activatedToString(mBmgr.isBackupServiceActive(userId))); in doActivated()
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java399 public boolean isBackupServiceActive(int userId) { in isBackupServiceActive() method in Trampoline
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java13004 return ibm != null && ibm.isBackupServiceActive( in isBackupServiceEnabled()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java14671 if (bm.isBackupServiceActive(userId)) {
/frameworks/base/api/
Dsystem-current.txt757 …iresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os…
/frameworks/base/services/
Dart-profile4817 PLcom/android/server/backup/Trampoline;->isBackupServiceActive(I)Z