Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWakefulnessLifecycleTest.java46 private WakefulnessLifecycle mWakefulness;
47 private WakefulnessLifecycle.Observer mWakefulnessObserver;
55 new WakefulnessLifecycle( in setUp()
61 mWakefulnessObserver = mock(WakefulnessLifecycle.Observer.class); in setUp()
67 assertEquals(WakefulnessLifecycle.WAKEFULNESS_AWAKE, mWakefulness.getWakefulness()); in baseState()
76 assertEquals(WakefulnessLifecycle.WAKEFULNESS_WAKING, mWakefulness.getWakefulness()); in dispatchStartedWakingUp()
86 assertEquals(WakefulnessLifecycle.WAKEFULNESS_AWAKE, mWakefulness.getWakefulness()); in dispatchFinishedWakingUp()
98 assertEquals(WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP, in dispatchStartedGoingToSleep()
111 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, in dispatchFinishedGoingToSleep()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/
DVolumeDialogControllerImplTest.java49 import com.android.systemui.keyguard.WakefulnessLifecycle;
98 private WakefulnessLifecycle mWakefullnessLifcycle;
146 WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceNotInteractiveAOD()
156 WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive()
166 WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive_StartedSleeping()
170 WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP); in testVolumeChangeW_deviceInteractive_StartedSleeping()
180 WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceOutFromBLEHeadset_doStateChanged()
194 WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceOutFromA2DP_doStateChanged()
228 private final WakefulnessLifecycle.Observer mWakefullessLifecycleObserver;
241 WakefulnessLifecycle wakefulnessLifecycle, in TestableVolumeDialogControllerImpl()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardLifecyclesDispatcher.java84 WakefulnessLifecycle wakefulnessLifecycle) { in KeyguardLifecyclesDispatcher()
114 private final WakefulnessLifecycle mWakefulnessLifecycle;
118 WakefulnessLifecycle wakefulnessLifecycle) { in KeyguardLifecycleHandler()
DWakefulnessLifecycle.java52 public class WakefulnessLifecycle extends Lifecycle<WakefulnessLifecycle.Observer> implements class
93 public WakefulnessLifecycle( in WakefulnessLifecycle() method in WakefulnessLifecycle
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinator.java19 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_ASLEEP;
31 import com.android.systemui.keyguard.WakefulnessLifecycle;
74 private final WakefulnessLifecycle mWakefulnessLifecycle;
111 WakefulnessLifecycle wakefulnessLifecycle, in VisualStabilityCoordinator()
310 final WakefulnessLifecycle.Observer mWakefulnessObserver = new WakefulnessLifecycle.Observer() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScreenOffAnimationController.kt20 import com.android.systemui.keyguard.WakefulnessLifecycle
32 private val wakefulnessLifecycle: WakefulnessLifecycle,
33 ) : WakefulnessLifecycle.Observer {
DCentralSurfacesCommandQueueCallbacks.java19 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_AWAKE;
20 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_WAKING;
51 import com.android.systemui.keyguard.WakefulnessLifecycle;
95 private final WakefulnessLifecycle mWakefulnessLifecycle;
137 WakefulnessLifecycle wakefulnessLifecycle, in CentralSurfacesCommandQueueCallbacks()
520 == WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP; in isGoingToSleep()
DDozeServiceHost.java19 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_AWAKE;
20 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_WAKING;
42 import com.android.systemui.keyguard.WakefulnessLifecycle;
90 private final WakefulnessLifecycle mWakefulnessLifecycle;
116 WakefulnessLifecycle wakefulnessLifecycle, in DozeServiceHost()
DUnlockedScreenOffAnimationController.kt25 import com.android.systemui.keyguard.WakefulnessLifecycle
64 private val wakefulnessLifecycle: WakefulnessLifecycle,
76 ) : WakefulnessLifecycle.Observer, ScreenOffAnimation {
DBiometricUnlockController.java52 import com.android.systemui.keyguard.WakefulnessLifecycle;
179 private final WakefulnessLifecycle mWakefulnessLifecycle;
286 WakefulnessLifecycle wakefulnessLifecycle, in BiometricUnlockController()
827 final WakefulnessLifecycle.Observer mWakefulnessObserver =
828 new WakefulnessLifecycle.Observer() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java19 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_AWAKE;
20 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_WAKING;
33 import com.android.systemui.keyguard.WakefulnessLifecycle;
34 import com.android.systemui.keyguard.WakefulnessLifecycle.Wakefulness;
149 private final WakefulnessLifecycle mWakefulnessLifecycle;
163 WakeLock wakeLock, WakefulnessLifecycle wakefulnessLifecycle, in DozeMachine()
DDozeScreenBrightness.java21 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP;
42 import com.android.systemui.keyguard.WakefulnessLifecycle;
78 private final WakefulnessLifecycle mWakefulnessLifecycle;
112 WakefulnessLifecycle wakefulnessLifecycle, in DozeScreenBrightness()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DWMShell.java52 import com.android.systemui.keyguard.WakefulnessLifecycle;
127 private final WakefulnessLifecycle mWakefulnessLifecycle;
175 private WakefulnessLifecycle.Observer mWakefulnessObserver;
192 WakefulnessLifecycle wakefulnessLifecycle, in WMShell()
261 mWakefulnessLifecycle.addObserver(new WakefulnessLifecycle.Observer() { in initSplitScreen()
325 new WakefulnessLifecycle.Observer() { in initOneHanded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DFoldAodAnimationController.kt28 import com.android.systemui.keyguard.WakefulnessLifecycle in <lambda>()
55 private val wakefulnessLifecycle: WakefulnessLifecycle, in <lambda>()
60 ) : CallbackController<FoldAodAnimationStatus>, ScreenOffAnimation, WakefulnessLifecycle.Observer { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java45 import com.android.systemui.keyguard.WakefulnessLifecycle;
101 private final WakefulnessLifecycle mWakefulnessLifecycle;
102 private final WakefulnessLifecycle.Observer mWakefulnessObserver =
103 new WakefulnessLifecycle.Observer() {
198 WakefulnessLifecycle wakefulnessLifecycle, in CarrierTextManager()
681 private final WakefulnessLifecycle mWakefulnessLifecycle;
699 WakefulnessLifecycle wakefulnessLifecycle, in Builder()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/
DWakefulnessLifecycleKosmos.kt23 var Kosmos.wakefulnessLifecycle by Fixture { mock<WakefulnessLifecycle>() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DUnlockedScreenOffAnimationControllerTest.kt28 import com.android.systemui.keyguard.WakefulnessLifecycle
80 private lateinit var wakefulnessLifecycle: WakefulnessLifecycle
DCentralSurfacesCommandQueueCallbacksTest.java44 import com.android.systemui.keyguard.WakefulnessLifecycle;
92 @Mock private WakefulnessLifecycle mWakefulnessLifecycle;
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java53 import com.android.systemui.keyguard.WakefulnessLifecycle;
88 private final WakefulnessLifecycle mWakefulnessLifecycle;
122 private final WakefulnessLifecycle.Observer mWakefulnessObserver =
123 new WakefulnessLifecycle.Observer() {
158 WakefulnessLifecycle wakefulnessLifecycle, in PowerUI()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinatorTest.java43 import com.android.systemui.keyguard.WakefulnessLifecycle;
87 @Mock private WakefulnessLifecycle mWakefulnessLifecycle;
95 @Captor private ArgumentCaptor<WakefulnessLifecycle.Observer> mWakefulnessObserverCaptor;
107 private WakefulnessLifecycle.Observer mWakefulnessObserver;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthRippleControllerTest.kt35 import com.android.systemui.keyguard.WakefulnessLifecycle
83 private lateinit var wakefulnessLifecycle: WakefulnessLifecycle
247 .forClass(WakefulnessLifecycle.Observer::class.java) in registersAndDeregisters()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthRippleController.kt41 import com.android.systemui.keyguard.WakefulnessLifecycle in <lambda>()
77 private val wakefulnessLifecycle: WakefulnessLifecycle, in <lambda>()
93 WakefulnessLifecycle.Observer { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DLegacyActivityStarterInternalImplTest.kt38 import com.android.systemui.keyguard.WakefulnessLifecycle
91 @Mock private lateinit var wakefulnessLifecycle: WakefulnessLifecycle
258 .thenReturn(WakefulnessLifecycle.WAKEFULNESS_ASLEEP) in dismissKeyguardThenExecute_startWakeAndUnlock()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java54 import com.android.systemui.keyguard.WakefulnessLifecycle;
90 WakefulnessLifecycle mWakefulnessLifecycle;
526 WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP); in transitionToDoze_noClampBrightness_afterTimeout_clampsToDim()
539 WakefulnessLifecycle.WAKEFULNESS_GOING_TO_SLEEP); in transitionToDoze_noClampBrigthness_notAfterTimeout_doesNotClampToDim()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldAodAnimationControllerTest.kt29 import com.android.systemui.keyguard.WakefulnessLifecycle
65 @Mock lateinit var wakefulnessLifecycle: WakefulnessLifecycle

123