Searched refs:ScreenLifecycle (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | ScreenLifecycleTest.java | 41 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/ |
D | ScreenLifecycle.java | 33 public class ScreenLifecycle extends Lifecycle<ScreenLifecycle.Observer> implements Dumpable { class 43 public ScreenLifecycle() { in ScreenLifecycle() method in ScreenLifecycle
|
D | KeyguardLifecyclesDispatcher.java | 41 private final ScreenLifecycle mScreenLifecycle; 45 public KeyguardLifecyclesDispatcher(ScreenLifecycle screenLifecycle, in KeyguardLifecyclesDispatcher()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | QSCustomizer.java | 43 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/ |
D | BiometricUnlockController.java | 46 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() {
|
D | StatusBar.java | 152 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/ |
D | CarStatusBar.java | 52 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()
|
D | CarStatusBarModule.java | 39 import com.android.systemui.keyguard.ScreenLifecycle; 157 ScreenLifecycle screenLifecycle, in provideStatusBar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/ |
D | StatusBarPhoneModule.java | 39 import com.android.systemui.keyguard.ScreenLifecycle; 155 ScreenLifecycle screenLifecycle, in provideStatusBar()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 47 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/ |
D | StatusBarTest.java | 88 import com.android.systemui.keyguard.ScreenLifecycle; 363 new ScreenLifecycle(), in setup()
|