Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DVideoCameraQuickAffordanceConfigTest.kt80 val lockScreenState = collectLastValue(underTest.lockScreenState) in lockScreenState_visibleWhenLaunchable() constant
82 assertThat(lockScreenState()) in lockScreenState_visibleWhenLaunchable()
91 val lockScreenState = collectLastValue(underTest.lockScreenState) in lockScreenState_hiddenWhenAppNotInstalledOnDevice() constant
93 assertThat(lockScreenState()) in lockScreenState_hiddenWhenAppNotInstalledOnDevice()
102 val lockScreenState = collectLastValue(underTest.lockScreenState) in lockScreenState_hiddenWhenCameraDisabledByAdmin() constant
104 assertThat(lockScreenState()) in lockScreenState_hiddenWhenCameraDisabledByAdmin()
DFakeKeyguardQuickAffordanceConfig.kt39 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = constant in com.android.systemui.keyguard.data.quickaffordance.FakeKeyguardQuickAffordanceConfig
50 suspend fun setState(lockScreenState: KeyguardQuickAffordanceConfig.LockScreenState) { in setState()
51 _lockScreenState.value = lockScreenState in setState()
DFlashlightQuickAffordanceConfigTest.kt69 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) } in <lambda>()
92 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) } in flashlightIsOn_triggered_iconIsOffAndInactive()
115 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) } in <lambda>()
138 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) } in <lambda>()
155 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) } in <lambda>()
177 val job = launch(UnconfinedTestDispatcher()) { underTest.lockScreenState.toList(values) } in <lambda>()
DQuickAccessWalletKeyguardQuickAffordanceConfigTest.kt83 val latest by collectLastValue(underTest.lockScreenState) in <lambda>()
103 val latest by collectLastValue(underTest.lockScreenState) in <lambda>()
113 val latest by collectLastValue(underTest.lockScreenState) in <lambda>()
133 val latest by collectLastValue(underTest.lockScreenState) in <lambda>()
143 val latest by collectLastValue(underTest.lockScreenState) in <lambda>()
153 val latest by collectLastValue(underTest.lockScreenState) in <lambda>()
DDoNotDisturbQuickAffordanceConfigTest.kt141 collectLastValue(underTest.lockScreenState) in onTriggered_dndModeIsNotZEN_MODE_OFF_setToZEN_MODE_OFF()
166 collectLastValue(underTest.lockScreenState) in onTriggered_dndModeIsZEN_MODE_OFF_settingFOREVER_setZenWithoutCondition()
191 collectLastValue(underTest.lockScreenState) in onTriggered_dndZEN_MODE_OFF_settingNotFOREVERorPROMPT_zenWithCondition()
218 collectLastValue(underTest.lockScreenState) in onTriggered_dndModeIsZEN_MODE_OFF_settingIsPROMPT_showDialog()
238 val valueSnapshot = collectLastValue(underTest.lockScreenState) in lockScreenState_dndAvailableStartsAsTrue_changeToFalse_StateIsHidden()
257 val valueSnapshot = collectLastValue(underTest.lockScreenState) in lockScreenState_dndModeStartsAsZEN_MODE_OFF_changeToNotOFF_StateVisible()
DQrCodeScannerKeyguardQuickAffordanceConfigTest.kt63 val job = underTest.lockScreenState.onEach { latest = it }.launchIn(this) in <lambda>()
82 val job = underTest.lockScreenState.onEach { latest = it }.launchIn(this) in <lambda>()
98 val job = underTest.lockScreenState.onEach { latest = it }.launchIn(this) in <lambda>()
114 val job = underTest.lockScreenState.onEach { latest = it }.launchIn(this) in <lambda>()
DHomeControlsKeyguardQuickAffordanceConfigTest.kt76 val job = underTest.lockScreenState.onEach(values::add).launchIn(this) in <lambda>()
95 val job = underTest.lockScreenState.onEach(values::add).launchIn(this) in <lambda>()
DHomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt146 val job = underTest.lockScreenState.onEach(values::add).launchIn(this) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfigTest.kt140 val actual by collectLastValue(underTest.lockScreenState) in createLockScreenStateVisible()
161 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUsed_userUnlocked_isSelected_noDefaultNotesAppSet_shouldEmitHidden()
171 val actual by collectLastValue(underTest.lockScreenState) in <lambda>()
181 val actual by collectLastValue(underTest.lockScreenState) in <lambda>()
191 val actual by collectLastValue(underTest.lockScreenState) in <lambda>()
201 val actual by collectLastValue(underTest.lockScreenState) in <lambda>()
211 val actual by collectLastValue(underTest.lockScreenState) in <lambda>()
221 val actual by collectLastValue(underTest.lockScreenState) in <lambda>()
231 val actual by collectLastValue(underTest.lockScreenState) in <lambda>()
241 val actual by collectLastValue(underTest.lockScreenState) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DGlanceableHubQuickAffordanceConfig.kt46 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> by lazy { in pickerName() constant in com.android.systemui.keyguard.data.quickaffordance.GlanceableHubQuickAffordanceConfig
DKeyguardQuickAffordanceConfig.kt43 val lockScreenState: Flow<LockScreenState> constant
DVideoCameraQuickAffordanceConfig.kt69 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> in pickerName() constant in com.android.systemui.keyguard.data.quickaffordance.VideoCameraQuickAffordanceConfig
DCameraQuickAffordanceConfig.kt60 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> in pickerName() constant in com.android.systemui.keyguard.data.quickaffordance.CameraQuickAffordanceConfig
DQrCodeScannerKeyguardQuickAffordanceConfig.kt49 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in pickerName() constant in com.android.systemui.keyguard.data.quickaffordance.QrCodeScannerKeyguardQuickAffordanceConfig
DFlashlightQuickAffordanceConfig.kt83 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in pickerName() constant in com.android.systemui.keyguard.data.quickaffordance.FlashlightQuickAffordanceConfig
DMuteQuickAffordanceConfig.kt72 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>() constant in com.android.systemui.keyguard.data.quickaffordance.MuteQuickAffordanceConfig
DQuickAccessWalletKeyguardQuickAffordanceConfig.kt67 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>() constant in com.android.systemui.keyguard.data.quickaffordance.QuickAccessWalletKeyguardQuickAffordanceConfig
DHomeControlsKeyguardQuickAffordanceConfig.kt63 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>() constant in com.android.systemui.keyguard.data.quickaffordance.HomeControlsKeyguardQuickAffordanceConfig
DDoNotDisturbQuickAffordanceConfig.kt106 override val lockScreenState: Flow<KeyguardQuickAffordanceConfig.LockScreenState> = in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfig.kt82 override val lockScreenState by lazy { in <lambda>() constant in com.android.systemui.notetask.quickaffordance.NoteTaskQuickAffordanceConfig
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardBottomAreaViewModelTest.kt686 val lockScreenState = in setUpQuickAffordanceModel() constant
706 config.setState(lockScreenState) in setUpQuickAffordanceModel()
DKeyguardQuickAffordancesCombinedViewModelTest.kt748 val lockScreenState = in setUpQuickAffordanceModel() constant
768 config.setState(lockScreenState) in setUpQuickAffordanceModel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractorSceneContainerTest.kt350 lockScreenState = in onQuickAffordanceTriggered()
DKeyguardQuickAffordanceInteractorParameterizedTest.kt350 lockScreenState = in onQuickAffordanceTriggered()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardQuickAffordanceInteractor.kt320 config.lockScreenState.onStart { in <lambda>()