Home
last modified time | relevance | path

Searched refs:DozeStateModel (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DDozeTransitionModel.kt20 val from: DozeStateModel = DozeStateModel.UNINITIALIZED,
21 val to: DozeStateModel = DozeStateModel.UNINITIALIZED,
DDozeStateModel.kt19 enum class DozeStateModel { class
48 fun isDozeOff(model: DozeStateModel): Boolean { in isDozeOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt37 import com.android.systemui.keyguard.shared.model.DozeStateModel in <lambda>()
693 private fun dozeMachineStateToModel(state: DozeMachine.State): DozeStateModel { in dozeMachineStateToModel()
695 DozeMachine.State.UNINITIALIZED -> DozeStateModel.UNINITIALIZED in dozeMachineStateToModel()
696 DozeMachine.State.INITIALIZED -> DozeStateModel.INITIALIZED in dozeMachineStateToModel()
697 DozeMachine.State.DOZE -> DozeStateModel.DOZE in dozeMachineStateToModel()
698 DozeMachine.State.DOZE_SUSPEND_TRIGGERS -> DozeStateModel.DOZE_SUSPEND_TRIGGERS in dozeMachineStateToModel()
699 DozeMachine.State.DOZE_AOD -> DozeStateModel.DOZE_AOD in dozeMachineStateToModel()
700 DozeMachine.State.DOZE_REQUEST_PULSE -> DozeStateModel.DOZE_REQUEST_PULSE in dozeMachineStateToModel()
701 DozeMachine.State.DOZE_PULSING -> DozeStateModel.DOZE_PULSING in dozeMachineStateToModel()
702 DozeMachine.State.DOZE_PULSING_BRIGHT -> DozeStateModel.DOZE_PULSING_BRIGHT in dozeMachineStateToModel()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepositoryImplTest.kt35 import com.android.systemui.keyguard.shared.model.DozeStateModel in <lambda>()
419 DozeStateModel.UNINITIALIZED, in <lambda>()
420 DozeStateModel.UNINITIALIZED in <lambda>()
422 DozeTransitionModel(DozeStateModel.INITIALIZED, DozeStateModel.DOZE), in <lambda>()
423 DozeTransitionModel(DozeStateModel.DOZE, DozeStateModel.DOZE_AOD), in <lambda>()
424 DozeTransitionModel(DozeStateModel.DOZE_AOD_DOCKED, DozeStateModel.FINISH), in <lambda>()
426 DozeStateModel.DOZE_REQUEST_PULSE, in <lambda>()
427 DozeStateModel.DOZE_PULSING in <lambda>()
430 DozeStateModel.DOZE_SUSPEND_TRIGGERS, in <lambda>()
431 DozeStateModel.DOZE_PULSE_DONE in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DFromDreamingLockscreenHostedTransitionInteractor.kt26 import com.android.systemui.keyguard.shared.model.DozeStateModel in <lambda>()
80 DozeStateModel.isDozeOff(dozeTransitionModel.to) in <lambda>()
122 .filterRelevantKeyguardStateAnd { it.to == DozeStateModel.DOZE } in <lambda>()
DFromDreamingTransitionInteractor.kt29 import com.android.systemui.keyguard.shared.model.DozeStateModel in <lambda>()
213 if (dozeTransitionModel.to == DozeStateModel.DOZE) { in <lambda>()
215 } else if (dozeTransitionModel.to == DozeStateModel.DOZE_AOD) { in <lambda>()
DKeyguardInteractor.kt37 import com.android.systemui.keyguard.shared.model.DozeStateModel in <lambda>()
38 import com.android.systemui.keyguard.shared.model.DozeStateModel.Companion.isDozeOff in <lambda>()
186 val isPulsing: Flow<Boolean> = dozeTransitionModel.map { it.to == DozeStateModel.DOZE_PULSING } in <lambda>()
427 fun dozeTransitionTo(vararg states: DozeStateModel): Flow<DozeTransitionModel> { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardTransitionScenariosTest.kt43 import com.android.systemui.keyguard.shared.model.DozeStateModel
248 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in lockscreenToDreaming()
277 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in lockscreenToDreamingLockscreenHosted()
356 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in dreamingLockscreenHostedToLockscreen()
453 DozeTransitionModel(from = DozeStateModel.INITIALIZED, to = DozeStateModel.DOZE) in dreamingLockscreenHostedToDozing()
746 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in goneToDreaming()
1489 from = DozeStateModel.INITIALIZED, in dreamingToAod()
1490 to = DozeStateModel.DOZE_AOD, in dreamingToAod()
1938 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in glanceableHubToDreaming()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImpl.kt23 import com.android.systemui.keyguard.shared.model.DozeStateModel in <lambda>()
90 keyguardRepository.dozeTransitionModel.map { it.to == DozeStateModel.DOZE_PULSING }, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt59 import com.android.systemui.keyguard.shared.model.DozeStateModel in <lambda>()
530 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in <lambda>()
629 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in <lambda>()
692 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerAlwaysOnDisplayViewModelTest.kt35 import com.android.systemui.keyguard.shared.model.DozeStateModel
136 to = DozeStateModel.DOZE_AOD, in animationsEnabled_isFalse_whenDeviceAsleepAndNotPulsing()
159 to = DozeStateModel.DOZE_PULSING, in animationsEnabled_isTrue_whenDeviceAsleepAndPulsing()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/
DNotificationIconContainerStatusBarViewModelTest.kt28 import com.android.systemui.keyguard.shared.model.DozeStateModel
119 to = DozeStateModel.DOZE_AOD, in animationsEnabled_isFalse_whenDeviceAsleepAndNotPulsing()
142 to = DozeStateModel.DOZE_PULSING, in animationsEnabled_isTrue_whenDeviceAsleepAndPulsing()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorImplTest.kt30 import com.android.systemui.keyguard.shared.model.DozeStateModel
358 to = DozeStateModel.DOZE_AOD, in isShadeTouchable_isFalse_whenDeviceAsleepAndNotPulsing()
384 to = DozeStateModel.DOZE_PULSING, in isShadeTouchable_isTrue_whenDeviceAsleepAndPulsing()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/
DScrimStartableTest.kt32 import com.android.systemui.keyguard.shared.model.DozeStateModel in <lambda>()
317 DozeTransitionModel(to = DozeStateModel.DOZE_PULSING) in <lambda>()