Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java123 assertTrue(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in initialize_forUserSystem_successfullyInitialized()
132 assertFalse(mTrampoline.isBackupServiceActive(NON_USER_SYSTEM)); in initialize_forNonUserSystem_nonInitialized()
142 assertFalse(trampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in initialize_globallyDisabled_nonInitialized()
153 assertFalse(trampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in initialize_suppressFileExists_nonInitialized()
158 assertFalse(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in isBackupServiceActive_calledBeforeInitialize_returnsFalse()
167 assertTrue(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in setBackupServiceActive_callerSystemUid_serviceCreated()
176 assertTrue(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in setBackupServiceActive_callerRootUid_serviceCreated()
189 assertFalse(mTrampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in setBackupServiceActive_callerNonRootNonSystem_securityExceptionThrown()
199 assertFalse(trampoline.isBackupServiceActive(UserHandle.USER_SYSTEM)); in setBackupServiceActive_backupDisabled_ignored()
206 assertFalse(mTrampoline.isBackupServiceActive(NON_USER_SYSTEM)); in setBackupServiceActive_nonUserSystem_ignored()
[all …]
/frameworks/base/core/java/android/app/backup/
DIBackupManager.aidl388 boolean isBackupServiceActive(int whichUser); in isBackupServiceActive() method
DBackupManager.java396 public boolean isBackupServiceActive(UserHandle user) { in isBackupServiceActive() method in BackupManager
402 return sService.isBackupServiceActive(user.getIdentifier()); in isBackupServiceActive()
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java161 if (makeActive != isBackupServiceActive(userHandle)) { in setBackupServiceActive()
189 public boolean isBackupServiceActive(final int userHandle) { in isBackupServiceActive() method in Trampoline
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11973 return ibm != null && ibm.isBackupServiceActive(UserHandle.USER_SYSTEM); in isBackupServiceEnabled()
12011 if (!ibm.isBackupServiceActive(UserHandle.USER_SYSTEM)) { in setMandatoryBackupTransport()
/frameworks/base/api/
Dsystem-current.txt505 method public boolean isBackupServiceActive(android.os.UserHandle);
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java14966 if (bm.isBackupServiceActive(UserHandle.USER_SYSTEM)) {
/frameworks/base/config/
Dhiddenapi-light-greylist.txt498 Landroid/app/backup/IBackupManager;->isBackupServiceActive(I)Z
Dhiddenapi-public-dex.txt2328 Landroid/app/backup/BackupManager;->isBackupServiceActive(Landroid/os/UserHandle;)Z
Dboot-image-profile.txt15937 HSPLandroid/app/backup/IBackupManager;->isBackupServiceActive(I)Z