Home
last modified time | relevance | path

Searched refs:LockScreenState (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DFlashlightQuickAffordanceConfigTest.kt68 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>()
76 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in <lambda>()
79 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in <lambda>()
91 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in flashlightIsOn_triggered_iconIsOffAndInactive()
99 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in flashlightIsOn_triggered_iconIsOffAndInactive()
102 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in flashlightIsOn_triggered_iconIsOffAndInactive()
114 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>()
122 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in <lambda>()
125 ((lastValue as KeyguardQuickAffordanceConfig.LockScreenState.Visible).icon in <lambda>()
137 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>()
[all …]
DFakeKeyguardQuickAffordanceConfig.kt36 MutableStateFlow<KeyguardQuickAffordanceConfig.LockScreenState>(
37 KeyguardQuickAffordanceConfig.LockScreenState.Hidden
39 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> =
50 suspend fun setState(lockScreenState: KeyguardQuickAffordanceConfig.LockScreenState) { in setState()
DQrCodeScannerKeyguardQuickAffordanceConfigTest.kt61 var latest: KeyguardQuickAffordanceConfig.LockScreenState? = null in <lambda>()
81 var latest: KeyguardQuickAffordanceConfig.LockScreenState? = null in <lambda>()
97 var latest: KeyguardQuickAffordanceConfig.LockScreenState? = null in <lambda>()
113 var latest: KeyguardQuickAffordanceConfig.LockScreenState? = null in <lambda>()
121 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
156 private fun assertVisibleState(latest: KeyguardQuickAffordanceConfig.LockScreenState?) { in assertVisibleState()
158 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Visible::class.java) in assertVisibleState()
159 val visibleState = latest as KeyguardQuickAffordanceConfig.LockScreenState.Visible in assertVisibleState()
DQuickAccessWalletKeyguardQuickAffordanceConfigTest.kt85 val visibleModel = latest as KeyguardQuickAffordanceConfig.LockScreenState.Visible in <lambda>()
105 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
115 val visibleModel = latest as KeyguardQuickAffordanceConfig.LockScreenState.Visible in <lambda>()
135 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
145 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
155 assertThat(latest).isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
DHomeControlsKeyguardQuickAffordanceConfigTest.kt75 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>()
79 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden::class.java) in <lambda>()
94 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>()
98 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden::class.java) in <lambda>()
DVideoCameraQuickAffordanceConfigTest.kt83 .isInstanceOf(KeyguardQuickAffordanceConfig.LockScreenState.Visible::class.java) in lockScreenState_visibleWhenLaunchable()
94 .isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in lockScreenState_hiddenWhenAppNotInstalledOnDevice()
105 .isEqualTo(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in lockScreenState_hiddenWhenCameraDisabledByAdmin()
DHomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt145 val values = mutableListOf<KeyguardQuickAffordanceConfig.LockScreenState>() in <lambda>()
167 KeyguardQuickAffordanceConfig.LockScreenState.Visible::class.java in <lambda>()
169 KeyguardQuickAffordanceConfig.LockScreenState.Hidden::class.java in <lambda>()
DDoNotDisturbQuickAffordanceConfigTest.kt247 assertTrue(secondLastValue is KeyguardQuickAffordanceConfig.LockScreenState.Visible) in lockScreenState_dndAvailableStartsAsTrue_changeToFalse_StateIsHidden()
248 assertTrue(lastValue is KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in lockScreenState_dndAvailableStartsAsTrue_changeToFalse_StateIsHidden()
268 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in lockScreenState_dndModeStartsAsZEN_MODE_OFF_changeToNotOFF_StateVisible()
278 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in lockScreenState_dndModeStartsAsZEN_MODE_OFF_changeToNotOFF_StateVisible()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DFlashlightQuickAffordanceConfig.kt45 abstract fun toLockScreenState(): KeyguardQuickAffordanceConfig.LockScreenState in toLockScreenState()
48 override fun toLockScreenState(): KeyguardQuickAffordanceConfig.LockScreenState = in toLockScreenState()
49 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in toLockScreenState()
59 override fun toLockScreenState(): KeyguardQuickAffordanceConfig.LockScreenState = in toLockScreenState()
60 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in toLockScreenState()
70 override fun toLockScreenState(): KeyguardQuickAffordanceConfig.LockScreenState = in toLockScreenState()
71 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in toLockScreenState()
83 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in pickerName()
DKeyguardQuickAffordanceConfig.kt43 val lockScreenState: Flow<LockScreenState>
123 sealed class LockScreenState { class
126 object Hidden : LockScreenState()
134 ) : LockScreenState()
DHomeControlsKeyguardQuickAffordanceConfig.kt63 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>()
68 flowOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
142 ): Flow<KeyguardQuickAffordanceConfig.LockScreenState> { in <lambda>()
144 return flowOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
181 ): KeyguardQuickAffordanceConfig.LockScreenState { in <lambda>()
189 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>()
200 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in <lambda>()
DQrCodeScannerKeyguardQuickAffordanceConfig.kt49 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in pickerName()
96 private fun state(): KeyguardQuickAffordanceConfig.LockScreenState { in state()
98 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in state()
109 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in state()
DGlanceableHubQuickAffordanceConfig.kt46 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> by lazy { in pickerName()
50 flowOf(KeyguardQuickAffordanceConfig.LockScreenState.Visible(icon)) in pickerName()
52 flowOf(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in pickerName()
DQuickAccessWalletKeyguardQuickAffordanceConfig.kt67 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>()
117 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in <lambda>()
194 ): KeyguardQuickAffordanceConfig.LockScreenState { in <lambda>()
196 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>()
207 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in <lambda>()
DDoNotDisturbQuickAffordanceConfig.kt106 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>()
176 private fun updateState(): KeyguardQuickAffordanceConfig.LockScreenState { in <lambda>()
178 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in <lambda>()
180 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>()
188 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>()
DVideoCameraQuickAffordanceConfig.kt69 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> in pickerName()
73 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in pickerName()
81 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in pickerName()
DCameraQuickAffordanceConfig.kt60 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> in pickerName()
64 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in pickerName()
72 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in pickerName()
DMuteQuickAffordanceConfig.kt72 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>()
93 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfigTest.kt36 …rt com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.LockScreenState
124 private fun createLockScreenStateVisible(): LockScreenState = in createLockScreenStateVisible()
125 LockScreenState.Visible( in createLockScreenStateVisible()
163 assertThat(actual).isEqualTo(LockScreenState.Hidden) in lockScreenState_stylusUsed_userUnlocked_isSelected_noDefaultNotesAppSet_shouldEmitHidden()
173 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>()
183 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>()
193 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>()
203 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>()
213 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>()
223 assertThat(actual).isEqualTo(LockScreenState.Hidden) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorTest.kt214 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_bottomStartAffordanceIsVisible()
241 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_bottomEndAffordanceIsVisible()
268 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_hiddenWhenAllFeaturesAreDisabledByDevicePolicy()
287 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_hiddenWhenShortcutsFeatureIsDisabledByDevicePolicy()
305 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_hiddenWhenUserIsInLockdownMode()
323 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_bottomStartAffordanceHiddenWhileDozing()
340 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordance_bottomStartAffordanceHiddenWhenLockscreenIsNotShowing()
380 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordanceAlwaysVisible_notVisible_restrictedByPolicyManager()
403 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in quickAffordanceAlwaysVisible_evenWhenLockScreenNotShowingAndDozing()
434 KeyguardQuickAffordanceConfig.LockScreenState.Visible(icon = ICON) in select()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfig.kt36 …rt com.android.systemui.keyguard.data.quickaffordance.KeyguardQuickAffordanceConfig.LockScreenState in <lambda>()
108 LockScreenState.Visible(icon) in <lambda>()
110 LockScreenState.Hidden in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt321 emit(KeyguardQuickAffordanceConfig.LockScreenState.Hidden) in <lambda>()
327 state is KeyguardQuickAffordanceConfig.LockScreenState.Visible in <lambda>()
331 states[index] as KeyguardQuickAffordanceConfig.LockScreenState.Visible in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBottomAreaViewModelTest.kt695 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in setUpQuickAffordanceModel()
704 KeyguardQuickAffordanceConfig.LockScreenState.Hidden in setUpQuickAffordanceModel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorSceneContainerTest.kt351 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in onQuickAffordanceTriggered()
DKeyguardQuickAffordanceInteractorParameterizedTest.kt351 KeyguardQuickAffordanceConfig.LockScreenState.Visible( in onQuickAffordanceTriggered()

12