/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/ |
D | DisableStateTrackerTest.kt | 73 assertThat(underTest.isDisabled).isFalse() in disable_hadNotStartedTracking_isDisabledFalse() 83 assertThat(underTest.isDisabled).isFalse() in disable_wrongDisplayId_isDisabledFalse() 95 assertThat(underTest.isDisabled).isFalse() in disable_irrelevantFlagsUpdated_isDisabledFalse() 108 assertThat(underTest.isDisabled).isTrue() in disable_partOfMask1True_isDisabledTrue() 121 assertThat(underTest.isDisabled).isTrue() in disable_partOfMask2True_isDisabledTrue() 151 assertThat(underTest.isDisabled).isTrue() in disable_isDisabledChangesFromTrueToFalse_callbackNotified() 176 assertThat(underTest.isDisabled).isTrue() in disable_manyUpdates_isDisabledUpdatesAppropriately() 185 assertThat(underTest.isDisabled).isFalse() in disable_manyUpdates_isDisabledUpdatesAppropriately() 194 assertThat(underTest.isDisabled).isTrue() in disable_manyUpdates_isDisabledUpdatesAppropriately() 198 assertThat(underTest.isDisabled).isFalse() in disable_manyUpdates_isDisabledUpdatesAppropriately() [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | IpcDataCacheTest.java | 302 assertEquals(cache.isDisabled(), false); in testCacheRecompute() 364 assertEquals(cache.isDisabled(), false); in testLocalProcessDisable() 370 assertEquals(cache.isDisabled(), false); in testLocalProcessDisable() 372 assertEquals(cache.isDisabled(), true); in testLocalProcessDisable() 406 assertEquals(ac.isDisabled(), true); in testConfig() 407 assertEquals(bc.isDisabled(), false); in testConfig() 408 assertEquals(cc.isDisabled(), false); in testConfig() 409 assertEquals(dc.isDisabled(), false); in testConfig() 412 assertEquals(ac.isDisabled(), true); in testConfig() 413 assertEquals(bc.isDisabled(), false); in testConfig() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/disableflags/ |
D | DisableStateTracker.kt | 34 var isDisabled = false variable 65 isDisabled = state1 and mask1 != 0 || state2 and mask2 != 0 in disable()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SharedUidMigration.java | 70 public static boolean isDisabled() { in isDisabled() method in SharedUidMigration 95 return !isDisabled() && getCurrentStrategy() >= strategy; in applyStrategy()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/base/interactor/ |
D | DisabledByPolicyInteractorTest.kt | 81 assertThat(underTest.isDisabled(TEST_USER, TEST_RESTRICTION)) in testEnabledWhenNoAdmin() 94 underTest.isDisabled(TEST_USER, TEST_RESTRICTION) in testDisabledWhenAdminWithNoRestrictions() 106 assertThat(underTest.isDisabled(TEST_USER, TEST_RESTRICTION)) in testEnabledWhenAdminWithRestrictions()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/interactor/ |
D | DisabledByPolicyInteractor.kt | 45 suspend fun isDisabled(user: UserHandle, userRestriction: String?): PolicyResult in isDisabled() method 79 override suspend fun isDisabled(user: UserHandle, userRestriction: String?): PolicyResult = in isDisabled() method in com.android.systemui.qs.tiles.base.interactor.DisabledByPolicyInteractorImpl
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/ |
D | BackupEligibilityRulesTest.java | 406 boolean isDisabled = in appIsDisabled_stateDefaultManifestEnabled_returnsFalse() 409 assertThat(isDisabled).isFalse(); in appIsDisabled_stateDefaultManifestEnabled_returnsFalse() 424 boolean isDisabled = in appIsDisabled_stateDefaultManifestDisabled_returnsTrue() 427 assertThat(isDisabled).isTrue(); in appIsDisabled_stateDefaultManifestDisabled_returnsTrue() 441 boolean isDisabled = in appIsDisabled_stateEnabled_returnsFalse() 444 assertThat(isDisabled).isFalse(); in appIsDisabled_stateEnabled_returnsFalse() 458 boolean isDisabled = in appIsDisabled_stateDisabled_returnsTrue() 461 assertThat(isDisabled).isTrue(); in appIsDisabled_stateDisabled_returnsTrue() 474 boolean isDisabled = in appIsDisabled_stateDisabledUser_returnsTrue() 477 assertThat(isDisabled).isTrue(); in appIsDisabled_stateDisabledUser_returnsTrue() [all …]
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/common/ |
D | EntryStatusData.kt | 23 val isDisabled: Boolean = false, constant in com.android.settingslib.spa.framework.common.EntryStatusData
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | FastBitmapDrawable.java | 292 public void setIsDisabled(boolean isDisabled) { in setIsDisabled() argument 293 if (mIsDisabled != isDisabled) { in setIsDisabled() 294 mIsDisabled = isDisabled; in setIsDisabled() 299 protected boolean isDisabled() { in isDisabled() method in FastBitmapDrawable
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | PropertyInvalidatedCacheTests.java | 248 assertEquals(cache.isDisabled(), false); in testCacheRecompute() 351 assertEquals(cache.isDisabled(), false); in testLocalProcessDisable() 357 assertEquals(cache.isDisabled(), false); in testLocalProcessDisable() 359 assertEquals(cache.isDisabled(), true); in testLocalProcessDisable()
|
/frameworks/base/packages/SettingsLib/Spa/gallery/src/com/android/settingslib/spa/gallery/preference/ |
D | PreferencePageProvider.kt | 94 .setStatusDataFn { EntryStatusData(isDisabled = false) } in <lambda>() 107 .setStatusDataFn { EntryStatusData(isDisabled = true) } in <lambda>() 123 .setStatusDataFn { EntryStatusData(isDisabled = true) } in <lambda>() 132 .setStatusDataFn { EntryStatusData(isDisabled = false) } in <lambda>()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ChildContentCaptureSession.java | 60 boolean isDisabled() { in isDisabled() method in ChildContentCaptureSession 61 return getMainCaptureSession().isDisabled(); in isDisabled()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsManagerService.java | 250 boolean isDisabled; in isEnabled() 252 isDisabled = isDisabledLocked(userId); in isEnabled() 254 receiver.send(isDisabled ? 0 : 1, null); in isEnabled()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/base/interactor/ |
D | FakeDisabledByPolicyInteractor.kt | 24 override suspend fun isDisabled( in isDisabled() method in com.android.systemui.qs.tiles.base.interactor.FakeDisabledByPolicyInteractor
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/ |
D | AppOpItem.java | 64 public boolean isDisabled() { in isDisabled() method in AppOpItem
|
D | AppOpsControllerImpl.java | 328 return !item.isDisabled(); in updateActives() 416 && (showPaused || !item.isDisabled())) { in getActiveAppOpsForUser() 551 if (item.isDisabled() != paused) { in updateSensorDisabledStatus() 557 !item.isDisabled() in updateSensorDisabledStatus()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/ |
D | ShadeHeader.kt | 130 val isDisabled by viewModel.isDisabled.collectAsStateWithLifecycle() in CollapsedShadeHeader() constant 131 if (isDisabled) { in CollapsedShadeHeader() 287 val isDisabled by viewModel.isDisabled.collectAsStateWithLifecycle() in ExpandedShadeHeader() constant 288 if (isDisabled) { in ExpandedShadeHeader()
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/debug/ |
D | DebugFormat.kt | 36 "is_disabled = $isDisabled", in EntryStatusData()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/ |
D | SpaEnvironmentForTest.kt | 199 .setStatusDataFn { EntryStatusData(isDisabled = true) } in buildEntry() 209 .setStatusDataFn { EntryStatusData(isDisabled = true) } in buildEntry()
|
/frameworks/base/services/core/java/com/android/server/ |
D | RescueParty.java | 164 private static boolean isDisabled() { in isDisabled() method in RescueParty 836 if (!isDisabled() && (failureReason == PackageWatchdog.FAILURE_REASON_APP_CRASH in onHealthCheckFailed() 853 if (isDisabled()) { in execute() 891 if (isDisabled()) { in onBootLoop() 904 if (isDisabled()) { in executeBootLoopMitigation()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardMessageArea.java | 164 public boolean isDisabled() { in isDisabled() method in KeyguardMessageArea
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/ |
D | SpaSearchProvider.kt | 233 .add(ColumnEnum.ENTRY_DISABLED.id, statusData.isDisabled) in fetchStatusData() 262 row.add(ColumnEnum.ENTRY_DISABLED.id, statusData.isDisabled) in fetchSearchRow()
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/common/ |
D | SettingsEntryTest.kt | 54 return EntryStatusData(isDisabled = true, isSwitchOff = true) in <lambda>() 208 assertThat(statusData?.isDisabled).isTrue() in testSetMarco()
|
/frameworks/base/services/core/java/com/android/server/compat/ |
D | OverrideValidatorImpl.java | 105 boolean disabled = mCompatConfig.isDisabled(changeId); in getOverrideAllowedStateInternal()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarViewController.java | 499 if (mDisableStateTracker.isDisabled()) { in animateKeyguardStatusBarIn() 574 && !mDisableStateTracker.isDisabled() in updateViewState() 590 if (mDisableStateTracker.isDisabled()) { in updateViewState()
|