/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
D | ScreenIdleConditionTest.kt | 42 private val isAsleep = MutableStateFlow(false) constant 50 whenever(powerInteractor.isAsleep).thenReturn(isAsleep) in setup() 59 isAsleep.emit(false) in testCondition_awake() 69 isAsleep.emit(true) in testCondition_asleep() 79 isAsleep.emit(false) in testCondition_invokesRetry() 83 isAsleep.emit(true) in testCondition_invokesRetry()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/domain/interactor/ |
D | NotificationStackInteractor.kt | 49 powerInteractor.isAsleep, in <lambda>() 50 ) { (isOnKeyguard, isAsleep) -> in <lambda>() method 51 isOnKeyguard || isAsleep in <lambda>()
|
D | HideNotificationsInteractor.kt | 101 powerInteractor.detailedWakefulness.filter { it.isAsleep() }.first() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/shared/model/ |
D | WakefulnessModel.kt | 43 fun isAsleep() = !isAwake() in isAwake() method in com.android.systemui.power.shared.model.WakefulnessModel 53 isAsleep() && lastSleepReason == wakeSleepReason in isAsleepFrom()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceUnlockedInteractor.kt | 93 powerInteractor.isAsleep.flatMapLatest { isAsleep -> in <lambda>() method 94 if (isAsleep) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/ |
D | ShadeInteractorImpl.kt | 88 powerInteractor.isAsleep, in <lambda>() 91 ) { isAsleep, goingToSleep, isPulsing -> in <lambda>() method 97 isAsleep -> isPulsing in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | TransitionInteractor.kt | 203 powerInteractor.isAsleep in <lambda>() 204 .filter { isAsleep -> isAsleep } in <lambda>() method
|
D | FromGlanceableHubTransitionInteractor.kt | 137 powerInteractor.isAsleep in <lambda>() 138 .filterRelevantKeyguardStateAnd { isAsleep -> isAsleep } in <lambda>() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | ScreenIdleCondition.kt | 32 return powerInteractorLazy.get().isAsleep
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/ |
D | PowerInteractor.kt | 68 val isAsleep = isAwake.map { !it } in <lambda>() constant in com.android.systemui.power.domain.interactor.PowerInteractor 104 if (repository.wakefulness.value.isAsleep() || statusBarStateController.isDozing) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/ |
D | SceneContainerStartable.kt | 393 if (wakefulness.isAsleep()) return@collect in <lambda>() 413 powerInteractor.isAsleep.collect { isAsleep -> in <lambda>() method 414 if (isAsleep) { in <lambda>() 554 wakefulness.isAsleep() -> falsingCollector.onScreenOff() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/ |
D | DisplaySwitchLatencyTrackerTest.kt | 85 private val isAsleep = MutableStateFlow(false) constant 114 whenever(powerInteractor.isAsleep).thenReturn(isAsleep) in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | FoldLightRevealOverlayAnimation.kt | 150 traceAsync(TAG, "waitForGoToSleep()") { powerInteractor.isAsleep.filter { it }.first() } in <lambda>()
|
D | DisplaySwitchLatencyTracker.kt | 188 return (lastWakefulnessEvent.isAsleep() && in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 204 boolean isAsleep = themeOverlayControllerWakefulnessDeprecation() 209 if (currentUser && !mAcceptColorEvents && isAsleep) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/data/repository/ |
D | DeviceEntryFaceAuthRepository.kt | 323 powerInteractor.isAsleep, in observeFaceAuthResettingConditions()
|