Searched refs:isDisabled (Results 1 – 6 of 6) sorted by relevance
227 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()
73 private static boolean isDisabled() { in isDisabled() method in RescueParty107 if (isDisabled()) return; in noteBoot()120 if (isDisabled()) return; in notePersistentAppCrash()
80 public boolean isDisabled() { in isDisabled() method in Utils.DisableStateTracker
99 int isDisabled = Settings.Secure.getInt(mContext.getContentResolver(), in selectAlsaDevice() local101 if (isDisabled != 0) { in selectAlsaDevice()
725 if (service != null && !isDisabled()) { in getAudioState()1170 private boolean isDisabled() { in isDisabled() method in BluetoothHeadset
2991 boolean isDisabled() { in isDisabled() method in ActivityManagerService.HiddenApiSettings4328 if (!disableHiddenApiChecks && !mHiddenApiBlacklist.isDisabled()) { in startProcessLocked()