Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/disableflags/
DDisableStateTrackerTest.kt73 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/
DIpcDataCacheTest.java302 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/
DDisableStateTracker.kt34 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/
DSharedUidMigration.java70 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/
DDisabledByPolicyInteractorTest.kt81 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/
DDisabledByPolicyInteractor.kt45 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/
DBackupEligibilityRulesTest.java406 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/
DEntryStatusData.kt23 val isDisabled: Boolean = false, constant in com.android.settingslib.spa.framework.common.EntryStatusData
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DFastBitmapDrawable.java292 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/
DPropertyInvalidatedCacheTests.java248 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/
DPreferencePageProvider.kt94 .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/
DChildContentCaptureSession.java60 boolean isDisabled() { in isDisabled() method in ChildContentCaptureSession
61 return getMainCaptureSession().isDisabled(); in isDisabled()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsManagerService.java250 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/
DFakeDisabledByPolicyInteractor.kt24 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/
DAppOpItem.java64 public boolean isDisabled() { in isDisabled() method in AppOpItem
DAppOpsControllerImpl.java328 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/
DShadeHeader.kt130 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/
DDebugFormat.kt36 "is_disabled = $isDisabled", in EntryStatusData()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/tests/testutils/
DSpaEnvironmentForTest.kt199 .setStatusDataFn { EntryStatusData(isDisabled = true) } in buildEntry()
209 .setStatusDataFn { EntryStatusData(isDisabled = true) } in buildEntry()
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java164 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/
DKeyguardMessageArea.java164 public boolean isDisabled() { in isDisabled() method in KeyguardMessageArea
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/search/
DSpaSearchProvider.kt233 .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/
DSettingsEntryTest.kt54 return EntryStatusData(isDisabled = true, isSwitchOff = true) in <lambda>()
208 assertThat(statusData?.isDisabled).isTrue() in testSetMarco()
/frameworks/base/services/core/java/com/android/server/compat/
DOverrideValidatorImpl.java105 boolean disabled = mCompatConfig.isDisabled(changeId); in getOverrideAllowedStateInternal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewController.java499 if (mDisableStateTracker.isDisabled()) { in animateKeyguardStatusBarIn()
574 && !mDisableStateTracker.isDisabled() in updateViewState()
590 if (mDisableStateTracker.isDisabled()) { in updateViewState()

12