Home
last modified time | relevance | path

Searched refs:isDisabled (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java227 boolean isDisabled = AppBackupUtils.appIsDisabled(applicationInfo, mPackageManagerStub); in appIsDisabled_stateEnabled_returnsFalse()
229 assertThat(isDisabled).isFalse(); in appIsDisabled_stateEnabled_returnsFalse()
243 boolean isDisabled = AppBackupUtils.appIsDisabled(applicationInfo, mPackageManagerStub); in appIsDisabled_stateDisabled_returnsTrue()
245 assertThat(isDisabled).isTrue(); in appIsDisabled_stateDisabled_returnsTrue()
259 boolean isDisabled = AppBackupUtils.appIsDisabled(applicationInfo, mPackageManagerStub); in appIsDisabled_stateDisabledUser_returnsTrue()
261 assertThat(isDisabled).isTrue(); in appIsDisabled_stateDisabledUser_returnsTrue()
275 boolean isDisabled = AppBackupUtils.appIsDisabled(applicationInfo, mPackageManagerStub); in appIsDisabled_stateDisabledUntilUsed_returnsTrue()
277 assertThat(isDisabled).isTrue(); in appIsDisabled_stateDisabledUntilUsed_returnsTrue()
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java73 private static boolean isDisabled() { in isDisabled() method in RescueParty
107 if (isDisabled()) return; in noteBoot()
120 if (isDisabled()) return; in notePersistentAppCrash()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java80 public boolean isDisabled() { in isDisabled() method in Utils.DisableStateTracker
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbAlsaManager.java99 int isDisabled = Settings.Secure.getInt(mContext.getContentResolver(), in selectAlsaDevice() local
101 if (isDisabled != 0) { in selectAlsaDevice()
/frameworks/base/core/java/android/bluetooth/
DBluetoothHeadset.java725 if (service != null && !isDisabled()) { in getAudioState()
1170 private boolean isDisabled() { in isDisabled() method in BluetoothHeadset
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java2991 boolean isDisabled() { in isDisabled() method in ActivityManagerService.HiddenApiSettings
4328 if (!disableHiddenApiChecks && !mHiddenApiBlacklist.isDisabled()) { in startProcessLocked()