Home
last modified time | relevance | path

Searched refs:activationState (Results 1 – 25 of 62) sorted by relevance

123

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapperTest.kt59 activationState: QSTileState.ActivationState = QSTileState.ActivationState.INACTIVE, in createUiNightModeTileState()
62 if (activationState == QSTileState.ActivationState.UNAVAILABLE) in createUiNightModeTileState()
75 activationState, in createUiNightModeTileState()
99 activationState = QSTileState.ActivationState.UNAVAILABLE, in mapsEnabledDataToUnavailableStateWhenOnPowerSave()
119 activationState = QSTileState.ActivationState.UNAVAILABLE, in mapsDisabledDataToUnavailableStateWhenOnPowerSave()
136 activationState = QSTileState.ActivationState.INACTIVE, in mapsDisabledDataToInactiveState()
157 activationState = QSTileState.ActivationState.ACTIVE, in mapsEnabledDataToActiveState()
176 activationState = QSTileState.ActivationState.ACTIVE, in mapsEnabledDataToOnIconState()
195 activationState = QSTileState.ActivationState.INACTIVE, in mapsDisabledDataToOffIconState()
214 activationState = QSTileState.ActivationState.ACTIVE, in supportsClickAndLongClickActionsWhenNotInPowerSaveInNightMode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/rotation/ui/mapper/
DRotationLockTileMapper.kt45 activationState = QSTileState.ActivationState.INACTIVE in map()
49 activationState = QSTileState.ActivationState.ACTIVE in map()
62 this.secondaryLabel = getSecondaryLabelWithPosture(this.activationState) in map()
75 private fun getSecondaryLabelWithPosture(activationState: QSTileState.ActivationState): String { in getSecondaryLabelWithPosture()
79 if (activationState == QSTileState.ActivationState.ACTIVE) ON_INDEX else OFF_INDEX] in getSecondaryLabelWithPosture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/impl/work/ui/
DWorkModeTileMapperTest.kt109 activationState: QSTileState.ActivationState, in createWorkModeTileState()
117 activationState = activationState, in createWorkModeTileState()
119 if (activationState == QSTileState.ActivationState.INACTIVE) { in createWorkModeTileState()
121 } else if (activationState == QSTileState.ActivationState.UNAVAILABLE) { in createWorkModeTileState()
128 if (activationState == QSTileState.ActivationState.UNAVAILABLE) { in createWorkModeTileState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileMapper.kt104 activationState = QSTileState.ActivationState.UNAVAILABLE in map()
108 activationState = in map()
114 if (activationState == QSTileState.ActivationState.INACTIVE) in map()
121 if (activationState == QSTileState.ActivationState.ACTIVE) in map()
129 if (activationState == QSTileState.ActivationState.UNAVAILABLE) in map()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileMapperTest.kt74 activationState = QSTileState.ActivationState.UNAVAILABLE, in stateHasPendingBinding()
93 activationState = QSTileState.ActivationState.ACTIVE, in stateActive()
111 activationState = QSTileState.ActivationState.INACTIVE, in stateInactive()
129 activationState = QSTileState.ActivationState.UNAVAILABLE, in stateUnavailable()
167 activationState = QSTileState.ActivationState.INACTIVE, in defaultIconFallback()
190 activationState = QSTileState.ActivationState.INACTIVE, in failedToLoadIconTileIsInactive()
239 activationState: QSTileState.ActivationState = QSTileState.ActivationState.ACTIVE, in createTileState()
250 activationState, in createTileState()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverTileMapperTest.kt82 activationState: QSTileState.ActivationState, in createDataSaverTileState()
87 if (activationState == QSTileState.ActivationState.ACTIVE) in createDataSaverTileState()
89 else if (activationState == QSTileState.ActivationState.INACTIVE) in createDataSaverTileState()
97 activationState, in createDataSaverTileState()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
DReduceBrightColorsTileMapperTest.kt82 activationState: QSTileState.ActivationState, in createReduceBrightColorsTileState()
87 if (activationState == QSTileState.ActivationState.ACTIVE) in createReduceBrightColorsTileState()
94 activationState, in createReduceBrightColorsTileState()
97 if (activationState == QSTileState.ActivationState.ACTIVE) Tile.STATE_ACTIVE in createReduceBrightColorsTileState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/ui/
DBatterySaverTileMapper.kt49 activationState = QSTileState.ActivationState.UNAVAILABLE in map()
53 activationState = QSTileState.ActivationState.ACTIVE in map()
68 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/flashlight/domain/
DFlashlightMapper.kt59 activationState = QSTileState.ActivationState.UNAVAILABLE in map()
66 activationState = QSTileState.ActivationState.ACTIVE in map()
69 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/work/ui/
DWorkModeTileMapper.kt52 activationState = QSTileState.ActivationState.ACTIVE in map()
55 activationState = QSTileState.ActivationState.INACTIVE in map()
63 activationState = QSTileState.ActivationState.UNAVAILABLE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/screenrecord/domain/ui/
DScreenRecordTileMapper.kt44 activationState = QSTileState.ActivationState.ACTIVE in map()
56 activationState = QSTileState.ActivationState.ACTIVE in map()
69 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/viewmodel/
DQSTileState.kt41 val activationState: ActivationState, constant in com.android.systemui.qs.tiles.viewmodel.QSTileState
119 var activationState: ActivationState = ActivationState.INACTIVE variable in com.android.systemui.qs.tiles.viewmodel.QSTileState.Builder
133 activationState,
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorTest.kt216 activationState = ActivationState.Active, in quickAffordance_bottomStartAffordanceIsVisible()
233 assertThat(visibleModel.activationState).isEqualTo(ActivationState.Active) in quickAffordance_bottomStartAffordanceIsVisible()
259 assertThat(visibleModel.activationState).isEqualTo(ActivationState.NotSupported) in quickAffordance_bottomEndAffordanceIsVisible()
382 activationState = ActivationState.Active, in quickAffordanceAlwaysVisible_notVisible_restrictedByPolicyManager()
405 activationState = ActivationState.Active, in quickAffordanceAlwaysVisible_evenWhenLockScreenNotShowingAndDozing()
423 assertThat(visibleModel.activationState).isEqualTo(ActivationState.Active) in quickAffordanceAlwaysVisible_evenWhenLockScreenNotShowingAndDozing()
469 activationState = ActivationState.NotSupported, in select()
503 activationState = ActivationState.NotSupported, in select()
534 activationState = ActivationState.NotSupported, in select()
544 activationState = ActivationState.NotSupported, in select()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/colorcorrection/domain/
DColorCorrectionTileMapper.kt43 activationState = QSTileState.ActivationState.ACTIVE in map()
46 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/screenrecord/ui/
DScreenRecordTileMapperTest.kt106 activationState: QSTileState.ActivationState, in createScreenRecordTileState()
116 activationState, in createScreenRecordTileState()
122 if (activationState == QSTileState.ActivationState.INACTIVE) in createScreenRecordTileState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/inversion/domain/
DColorInversionTileMapper.kt42 activationState = QSTileState.ActivationState.ACTIVE in map()
46 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/qr/ui/
DQRCodeScannerTileMapper.kt48 activationState = QSTileState.ActivationState.INACTIVE in map()
52 activationState = QSTileState.ActivationState.UNAVAILABLE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/onehanded/ui/
DOneHandedModeTileMapper.kt44 activationState = QSTileState.ActivationState.ACTIVE in map()
47 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/airplane/domain/
DAirplaneModeMapper.kt54 activationState = QSTileState.ActivationState.ACTIVE in map()
57 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/saver/domain/
DDataSaverTileMapper.kt40 activationState = QSTileState.ActivationState.ACTIVE in map()
44 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/location/domain/
DLocationTileMapper.kt59 activationState = QSTileState.ActivationState.ACTIVE in map()
62 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/reducebrightness/ui/
DReduceBrightColorsTileMapper.kt41 activationState = QSTileState.ActivationState.ACTIVE in map()
47 activationState = QSTileState.ActivationState.INACTIVE in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/sensorprivacy/ui/
DSensorPrivacyToggleTileMapper.kt59 activationState = QSTileState.ActivationState.INACTIVE in create()
62 activationState = QSTileState.ActivationState.ACTIVE in create()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/
DQSTileStateSubject.kt50 check("activationState").that(actual.activationState).isEqualTo(other.activationState) in <lambda>()
/frameworks/base/core/java/com/android/internal/telephony/
DIPhoneStateListener.aidl57 void onVoiceActivationStateChanged(int activationState); in onVoiceActivationStateChanged() argument
58 void onDataActivationStateChanged(int activationState); in onDataActivationStateChanged() argument

123