Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DScreenLifecycleTest.java41 private ScreenLifecycle mScreen;
42 private ScreenLifecycle.Observer mScreenObserverMock;
46 mScreen = new ScreenLifecycle(); in setUp()
47 mScreenObserverMock = mock(ScreenLifecycle.Observer.class); in setUp()
53 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState()); in baseState()
61 assertEquals(ScreenLifecycle.SCREEN_TURNING_ON, mScreen.getScreenState()); in screenTurningOn()
70 assertEquals(ScreenLifecycle.SCREEN_ON, mScreen.getScreenState()); in screenTurnedOn()
80 assertEquals(ScreenLifecycle.SCREEN_TURNING_OFF, mScreen.getScreenState()); in screenTurningOff()
91 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState()); in screenTurnedOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DScreenLifecycle.java33 public class ScreenLifecycle extends Lifecycle<ScreenLifecycle.Observer> implements Dumpable { class
43 public ScreenLifecycle() { in ScreenLifecycle() method in ScreenLifecycle
DKeyguardLifecyclesDispatcher.java41 private final ScreenLifecycle mScreenLifecycle;
45 public KeyguardLifecyclesDispatcher(ScreenLifecycle screenLifecycle, in KeyguardLifecyclesDispatcher()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizer.java43 import com.android.systemui.keyguard.ScreenLifecycle;
74 private final ScreenLifecycle mScreenLifecycle;
96 ScreenLifecycle screenLifecycle, in QSCustomizer()
229 final boolean animate = mScreenLifecycle.getScreenState() != ScreenLifecycle.SCREEN_OFF; in hide()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DBiometricUnlockController.java46 import com.android.systemui.keyguard.ScreenLifecycle;
260 Dependency.get(ScreenLifecycle.class).addObserver(mScreenObserver); in BiometricUnlockController()
636 private final ScreenLifecycle.Observer mScreenObserver =
637 new ScreenLifecycle.Observer() {
DStatusBar.java152 import com.android.systemui.keyguard.ScreenLifecycle;
597 private final ScreenLifecycle mScreenLifecycle;
679 ScreenLifecycle screenLifecycle, in StatusBar()
3171 && mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_TURNING_OFF) { in updateIsKeyguard()
3804 final ScreenLifecycle.Observer mScreenObserver = new ScreenLifecycle.Observer() {
3838 return mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_OFF; in isScreenFullyOff()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/statusbar/
DCarStatusBar.java52 import com.android.systemui.keyguard.ScreenLifecycle;
145 private final ScreenLifecycle mScreenLifecycle;
182 ScreenLifecycle screenLifecycle, in CarStatusBar()
493 if (mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_OFF) { in dismissKeyguard()
DCarStatusBarModule.java39 import com.android.systemui.keyguard.ScreenLifecycle;
157 ScreenLifecycle screenLifecycle, in provideStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/
DStatusBarPhoneModule.java39 import com.android.systemui.keyguard.ScreenLifecycle;
155 ScreenLifecycle screenLifecycle, in provideStatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java47 import com.android.systemui.keyguard.ScreenLifecycle;
246 @Inject Lazy<ScreenLifecycle> mScreenLifecycle;
411 mProviders.put(ScreenLifecycle.class, mScreenLifecycle::get); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java88 import com.android.systemui.keyguard.ScreenLifecycle;
363 new ScreenLifecycle(), in setup()