Home
last modified time | relevance | path

Searched refs:deviceUnlockStatus (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceUnlockedInteractorTest.kt78 val deviceUnlockStatus by collectLastValue(underTest.deviceUnlockStatus) in deviceUnlockStatus_whenUnlockedAndAuthMethodIsNone_isTrue() constant
82 assertThat(deviceUnlockStatus?.isUnlocked).isTrue() in deviceUnlockStatus_whenUnlockedAndAuthMethodIsNone_isTrue()
83 assertThat(deviceUnlockStatus?.deviceUnlockSource).isNull() in deviceUnlockStatus_whenUnlockedAndAuthMethodIsNone_isTrue()
89 val deviceUnlockStatus by collectLastValue(underTest.deviceUnlockStatus) in deviceUnlockStatus_whenUnlockedAndAuthMethodIsPin_isTrue() constant
97 assertThat(deviceUnlockStatus?.isUnlocked).isTrue() in deviceUnlockStatus_whenUnlockedAndAuthMethodIsPin_isTrue()
98 assertThat(deviceUnlockStatus?.deviceUnlockSource) in deviceUnlockStatus_whenUnlockedAndAuthMethodIsPin_isTrue()
105 val deviceUnlockStatus by collectLastValue(underTest.deviceUnlockStatus) in deviceUnlockStatus_whenUnlockedAndAuthMethodIsSim_isFalse() constant
113 assertThat(deviceUnlockStatus?.isUnlocked).isFalse() in deviceUnlockStatus_whenUnlockedAndAuthMethodIsSim_isFalse()
119 val deviceUnlockStatus by collectLastValue(underTest.deviceUnlockStatus) in deviceUnlockStatus_whenLockedAndAuthMethodIsNone_isTrue() constant
123 assertThat(deviceUnlockStatus?.isUnlocked).isTrue() in deviceUnlockStatus_whenLockedAndAuthMethodIsNone_isTrue()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/ui/viewmodel/
DOverlayShadeViewModelTest.kt82 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in backgroundScene_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen() constant
88 assertThat(deviceUnlockStatus?.isUnlocked).isTrue() in backgroundScene_authMethodSwipe_lockscreenNotDismissed_goesToLockscreen()
99 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in backgroundScene_authMethodSwipe_lockscreenDismissed_goesToGone() constant
105 assertThat(deviceUnlockStatus?.isUnlocked).isTrue() in backgroundScene_authMethodSwipe_lockscreenDismissed_goesToGone()
145 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in lockDevice() constant
148 assertThat(deviceUnlockStatus?.isUnlocked).isFalse() in lockDevice()
154 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in unlockDevice() constant
159 assertThat(deviceUnlockStatus?.isUnlocked).isTrue() in unlockDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryInteractor.kt81 deviceUnlockedInteractor.deviceUnlockStatus in <lambda>()
86 initialValue = deviceUnlockedInteractor.deviceUnlockStatus.value.isUnlocked, in <lambda>()
105 deviceUnlockedInteractor.deviceUnlockStatus.first { it.isUnlocked } in <lambda>()
136 deviceUnlockedInteractor.deviceUnlockStatus, in <lambda>()
138 ) { isSwipeAuthMethod, deviceUnlockStatus, isDeviceEntered -> in <lambda>() method
140 (deviceUnlockStatus.isUnlocked && in <lambda>()
141 deviceUnlockStatus.deviceUnlockSource?.dismissesLockscreen == false)) && in <lambda>()
249 return !deviceUnlockedInteractor.deviceUnlockStatus.value.isUnlocked && in <lambda>()
DDeviceUnlockedInteractor.kt84 val deviceUnlockStatus: StateFlow<DeviceUnlockStatus> = in <lambda>() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/notifications/ui/viewmodel/
DNotificationsShadeSceneViewModelTest.kt115 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in lockDevice() constant
118 assertThat(deviceUnlockStatus?.isUnlocked).isFalse() in lockDevice()
124 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in unlockDevice() constant
129 assertThat(deviceUnlockStatus?.isUnlocked).isTrue() in unlockDevice()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsShadeSceneViewModelTest.kt116 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in lockDevice() constant
119 assertThat(deviceUnlockStatus?.isUnlocked).isFalse() in lockDevice()
125 val deviceUnlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in unlockDevice() constant
130 assertThat(deviceUnlockStatus?.isUnlocked).isTrue() in unlockDevice()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
DSceneContainerStartable.kt243 deviceUnlockedInteractor.deviceUnlockStatus.first { it.isUnlocked } in <lambda>()
273 .sample(deviceUnlockedInteractor.deviceUnlockStatus, ::Pair) in <lambda>()
315 deviceUnlockedInteractor.deviceUnlockStatus in <lambda>()
316 .mapNotNull { deviceUnlockStatus -> in <lambda>() method
328 if (!deviceUnlockStatus.isUnlocked) { in <lambda>()
342 deviceUnlockStatus.deviceUnlockSource == DeviceUnlockSource.TrustAgent in <lambda>()
367 deviceUnlockStatus.deviceUnlockSource?.dismissesLockscreen == in <lambda>()
422 val isUnlocked = deviceUnlockedInteractor.deviceUnlockStatus.value.isUnlocked in <lambda>()
588 deviceUnlockedInteractor.deviceUnlockStatus in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/
DStatusBarStateControllerImplTest.kt240 val deviceUnlockStatus by in start_hydratesStatusBarState_whileLocked() constant
241 collectLastValue(kosmos.deviceUnlockedInteractor.deviceUnlockStatus) in start_hydratesStatusBarState_whileLocked()
247 assertThat(deviceUnlockStatus!!.isUnlocked).isFalse() in start_hydratesStatusBarState_whileLocked()
305 val deviceUnlockStatus by in start_hydratesStatusBarState_whileUnlocked() constant
306 collectLastValue(kosmos.deviceUnlockedInteractor.deviceUnlockStatus) in start_hydratesStatusBarState_whileUnlocked()
315 assertThat(deviceUnlockStatus!!.isUnlocked).isTrue() in start_hydratesStatusBarState_whileUnlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardOcclusionInteractor.kt112 deviceUnlockedInteractor.get().deviceUnlockStatus.map { it.isUnlocked } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DPanelExpansionInteractorImplTest.kt99 val unlockStatus by collectLastValue(deviceUnlockedInteractor.deviceUnlockStatus) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DAlternateBouncerInteractorTest.kt93 kosmos.deviceUnlockedInteractor.deviceUnlockStatus.map { it.isUnlocked } in canShowAlternateBouncer_false_dueToTransitionState_scene_container()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarStateControllerImpl.java666 DeviceUnlockStatus deviceUnlockStatus, in calculateStateFromSceneFramework() argument
670 if (deviceUnlockStatus.isUnlocked()) { in calculateStateFromSceneFramework()
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/interactor/
DSceneInteractor.kt376 deviceUnlockedInteractor.deviceUnlockStatus.value.isUnlocked in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DDeviceEntryIconViewModelTest.kt293 val unused by collectLastValue(kosmos.deviceUnlockedInteractor.deviceUnlockStatus) in setLockscreenDismissible()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DWindowManagerLockscreenVisibilityInteractorTest.kt949 kosmos.deviceUnlockedInteractor.deviceUnlockStatus.map { it.isUnlocked } in <lambda>()