Home
last modified time | relevance | path

Searched refs:ScreenLifecycle (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DScreenLifecycleTest.java40 private ScreenLifecycle mScreen;
41 private ScreenLifecycle.Observer mScreenObserverMock;
45 mScreen = new ScreenLifecycle(); in setUp()
46 mScreenObserverMock = mock(ScreenLifecycle.Observer.class); in setUp()
52 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState()); in baseState()
60 assertEquals(ScreenLifecycle.SCREEN_TURNING_ON, mScreen.getScreenState()); in screenTurningOn()
69 assertEquals(ScreenLifecycle.SCREEN_ON, mScreen.getScreenState()); in screenTurnedOn()
79 assertEquals(ScreenLifecycle.SCREEN_TURNING_OFF, mScreen.getScreenState()); in screenTurningOff()
90 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState()); in screenTurnedOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardLifecyclesDispatcher.java39 private final ScreenLifecycle mScreenLifecycle;
42 public KeyguardLifecyclesDispatcher(ScreenLifecycle screenLifecycle, in KeyguardLifecyclesDispatcher()
DScreenLifecycle.java29 public class ScreenLifecycle extends Lifecycle<ScreenLifecycle.Observer> implements Dumpable { class
DKeyguardService.java52 Dependency.get(ScreenLifecycle.class), in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DFingerprintUnlockController.java32 import com.android.systemui.keyguard.ScreenLifecycle;
125 Dependency.get(ScreenLifecycle.class).addObserver(mScreenObserver); in FingerprintUnlockController()
388 private final ScreenLifecycle.Observer mScreenObserver =
389 new ScreenLifecycle.Observer() {
DStatusBar.java169 import com.android.systemui.keyguard.ScreenLifecycle;
590 private ScreenLifecycle mScreenLifecycle;
635 mScreenLifecycle = Dependency.get(ScreenLifecycle.class); in start()
3525 && mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_TURNING_OFF) { in updateIsKeyguard()
4516 final ScreenLifecycle.Observer mScreenObserver = new ScreenLifecycle.Observer() {
4561 return mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_OFF; in isScreenFullyOff()
4680 return mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_TURNING_ON in isScreenTurningOnOrOn()
4681 || mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_ON; in isScreenTurningOnOrOn()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java38 import com.android.systemui.keyguard.ScreenLifecycle;
273 mProviders.put(ScreenLifecycle.class, () -> in start()
274 new ScreenLifecycle()); in start()