Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DBackupManagerServiceTest.java159 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 …]
/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.java403 public boolean isBackupServiceActive(UserHandle user) { in isBackupServiceActive() method in BackupManager
409 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.java209 if (!mBmgr.isBackupServiceActive(userId)) { in isBackupActive()
248 + activatedToString(mBmgr.isBackupServiceActive(userId))); in doActivated()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java508 public boolean isBackupServiceActive(int userId) { in isBackupServiceActive() method in BackupManagerService
/frameworks/base/non-updatable-api/
Dsystem-current.txt904 …iresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os…
/frameworks/base/api/
Dsystem-current.txt956 …iresPermission(android.Manifest.permission.BACKUP) public boolean isBackupServiceActive(android.os…
/frameworks/base/services/
Dart-profile10758 HPLcom/android/server/backup/BackupManagerService;->isBackupServiceActive(I)Z