/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/ |
D | CommunalSettingsRepositoryImplTest.kt | 75 val enabledState by collectLastValue(underTest.getEnabledState(SECONDARY_USER)) in secondaryUserIsInvalid() constant 77 assertThat(enabledState?.enabled).isFalse() in secondaryUserIsInvalid() 78 assertThat(enabledState).containsExactly(DisabledReason.DISABLED_REASON_INVALID_USER) in secondaryUserIsInvalid() 86 val enabledState by collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in classicFlagIsDisabled() constant 87 assertThat(enabledState?.enabled).isFalse() in classicFlagIsDisabled() 88 assertThat(enabledState).containsExactly(DisabledReason.DISABLED_REASON_FLAG) in classicFlagIsDisabled() 95 val enabledState by collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in communalHubFlagIsDisabled() constant 96 assertThat(enabledState?.enabled).isFalse() in communalHubFlagIsDisabled() 97 assertThat(enabledState).containsExactly(DisabledReason.DISABLED_REASON_FLAG) in communalHubFlagIsDisabled() 109 val enabledState by collectLastValue(underTest.getEnabledState(PRIMARY_USER)) in hubIsDisabledByUser() constant [all …]
|
/frameworks/base/core/tests/coretests/testdoubles/src/com/android/internal/util/ |
D | FakeLatencyTracker.java | 174 public void waitForAllPropertiesEnableState(boolean enabledState) throws Exception { in waitForAllPropertiesEnableState() argument 175 Log.i(TAG, "waitForAllPropertiesEnableState: enabledState=" + enabledState); in waitForAllPropertiesEnableState() 181 + enabledState); in waitForAllPropertiesEnableState() 185 if (newProperties.get(i).isEnabled() != enabledState) { in waitForAllPropertiesEnableState() 214 public void waitForActionEnabledState(int action, boolean enabledState) throws Exception { in waitForActionEnabledState() argument 216 + " action=" + action + ", enabledState=" + enabledState); in waitForActionEnabledState() 222 + ", enabledState=" + enabledState); in waitForActionEnabledState() 226 return newProperties.get(action).isEnabled() == enabledState; in waitForActionEnabledState() 233 public void waitForGlobalEnabledState(boolean enabledState) throws Exception { in waitForGlobalEnabledState() argument 234 Log.i(TAG, "waitForGlobalEnabledState: enabledState=" + enabledState); in waitForGlobalEnabledState() [all …]
|
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/preference/ |
D | RadioPreferencesTest.kt | 78 val enabledState = mutableStateOf(true) in <lambda>() constant 83 override val enabled = { enabledState.value } in <lambda>() 100 val enabledState = mutableStateOf(true) in <lambda>() constant 105 override val enabled = { enabledState.value } in <lambda>() 127 val enabledState = mutableStateOf(true) in <lambda>() constant 132 override val enabled = { enabledState.value } in <lambda>() 142 enabledState.value = false in <lambda>()
|
D | ListPreferenceTest.kt | 171 val enabledState = mutableStateOf(true) in <lambda>() constant 176 override val enabled = { enabledState.value } in <lambda>() 188 enabledState.value = false in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/ |
D | QSTileState.kt | 47 val enabledState: EnabledState, constant in com.android.systemui.qs.tiles.viewmodel.QSTileState 125 var enabledState: EnabledState = EnabledState.ENABLED variable in com.android.systemui.qs.tiles.viewmodel.QSTileState.Builder 139 enabledState,
|
D | QSTileViewModelAdapter.kt | 257 disabledByPolicy = viewModelState.enabledState == QSTileState.EnabledState.DISABLED in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/ |
D | DataSaverTileUserActionInteractorTest.kt | 160 val enabledState = true in <lambda>() constant 162 underTest.handleInput(QSTileInputTestKtx.longClick(DataSaverTileModel(enabledState))) in <lambda>() 173 val enabledState = false in <lambda>() constant 175 underTest.handleInput(QSTileInputTestKtx.longClick(DataSaverTileModel(enabledState))) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/night/domain/interactor/ |
D | NightDisplayTileUserActionInteractorTest.kt | 141 val enabledState = true in handleLongClickWhenEnabled() constant 145 NightDisplayTileModel.AutoModeOff(enabledState, false), in handleLongClickWhenEnabled() 161 val enabledState = false in handleLongClickWhenDisabled() constant 165 NightDisplayTileModel.AutoModeOff(enabledState, false), in handleLongClickWhenDisabled()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/ |
D | QSTileStateSubject.kt | 58 check("enabledState").that(actual.enabledState).isEqualTo(other.enabledState) in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DeletePackageHelper.java | 299 int enabledState = priorUserState.enabledState; in deletePackageX() local 300 pkgSetting.setEnabled(enabledState, allUsers[i], in deletePackageX() 304 (enabledState == COMPONENT_ENABLED_STATE_DEFAULT && pkgEnabled) in deletePackageX() 305 || enabledState == COMPONENT_ENABLED_STATE_ENABLED)) { in deletePackageX() 953 public final int enabledState; field in DeletePackageHelper.TempUserState 958 private TempUserState(int enabledState, @Nullable String lastDisableAppCaller, in TempUserState() argument 960 this.enabledState = enabledState; in TempUserState()
|
D | InstallPackageHelper.java | 3045 final int enabledState = ps.getEnabled(UserHandle.USER_SYSTEM); in installSystemStubPackages() local 3046 if (enabledState == PackageManager.COMPONENT_ENABLED_STATE_DISABLED_USER) { in installSystemStubPackages()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
D | NoteTaskController.kt | 274 val enabledState = in setNoteTaskShortcutEnabled() constant 285 enabledState, in setNoteTaskShortcutEnabled() 289 debugLog { "setNoteTaskShortcutEnabled for user $user- completed: $enabledState" } in setNoteTaskShortcutEnabled()
|
/frameworks/ex/common/java/com/android/common/ |
D | OperationScheduler.java | 151 boolean enabledState = mStorage.getBoolean(PREFIX + "enabledState", true); in getNextTimeMillis() 152 if (!enabledState) return Long.MAX_VALUE; in getNextTimeMillis()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/ |
D | DreamOverlayRegistrant.java | 72 final int enabledState = in registerOverlayService() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/base/logging/ |
D | QSTileLogger.kt | 236 "enabled=$enabledState, " + in toLogString()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/impl/work/ui/ |
D | WorkModeTileMapperTest.kt | 136 enabledState = QSTileState.EnabledState.ENABLED, in createWorkModeTileState()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/ |
D | UiModeNightTileMapperTest.kt | 68 enabledState: QSTileState.EnabledState = QSTileState.EnabledState.ENABLED, in createUiNightModeTileState() 81 enabledState, in createUiNightModeTileState()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationManagerApiTest.kt | 353 whenever(enabledState) { in <lambda>()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageManager.java | 695 int enabledState = in.readInt(); in ComponentEnabledSetting() local 700 this.mEnabledState = enabledState; in ComponentEnabledSetting()
|
/frameworks/base/core/java/android/widget/ |
D | AbsListView.java | 3039 final int enabledState = ENABLED_STATE_SET[0]; in getDrawableStateForSelector() local 3049 if (state[i] == enabledState) { in getDrawableStateForSelector()
|