Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DScreenLifecycleTest.java42 private ScreenLifecycle mScreen;
43 private ScreenLifecycle.Observer mScreenObserverMock;
47 mScreen = new ScreenLifecycle(mock(DumpManager.class)); in setUp()
48 mScreenObserverMock = mock(ScreenLifecycle.Observer.class); in setUp()
54 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState()); in baseState()
63 assertEquals(ScreenLifecycle.SCREEN_TURNING_ON, mScreen.getScreenState()); in screenTurningOn()
72 assertEquals(ScreenLifecycle.SCREEN_ON, mScreen.getScreenState()); in screenTurnedOn()
82 assertEquals(ScreenLifecycle.SCREEN_TURNING_OFF, mScreen.getScreenState()); in screenTurningOff()
93 assertEquals(ScreenLifecycle.SCREEN_OFF, mScreen.getScreenState()); in screenTurnedOff()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DScreenLifecycle.java37 public class ScreenLifecycle extends Lifecycle<ScreenLifecycle.Observer> implements Dumpable { class
47 public ScreenLifecycle(DumpManager dumpManager) { in ScreenLifecycle() method in ScreenLifecycle
DKeyguardLifecyclesDispatcher.java83 ScreenLifecycle screenLifecycle, in KeyguardLifecyclesDispatcher()
113 private final ScreenLifecycle mScreenLifecycle;
117 ScreenLifecycle screenLifecycle, in KeyguardLifecycleHandler()
DLifecycleScreenStatusProvider.kt26 class LifecycleScreenStatusProvider @Inject constructor(screenLifecycle: ScreenLifecycle) :
27 ScreenStatusProvider, ScreenLifecycle.Observer {
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DUnfoldLatencyTracker.kt26 import com.android.systemui.keyguard.ScreenLifecycle
54 private val screenLifecycle: ScreenLifecycle
55 ) : ScreenLifecycle.Observer, TransitionProgressListener {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DUnfoldLatencyTrackerTest.kt26 import com.android.systemui.keyguard.ScreenLifecycle
50 @Mock lateinit var screenLifecycle: ScreenLifecycle
54 @Captor private lateinit var screenLifecycleCaptor: ArgumentCaptor<ScreenLifecycle.Observer>
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DQSCustomizerController.java37 import com.android.systemui.keyguard.ScreenLifecycle;
63 private final ScreenLifecycle mScreenLifecycle;
108 QSHost qsHost, TileAdapter tileAdapter, ScreenLifecycle screenLifecycle, in QSCustomizerController()
257 && mScreenLifecycle.getScreenState() != ScreenLifecycle.SCREEN_OFF; in hide()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerBaseTest.java24 import static com.android.systemui.keyguard.ScreenLifecycle.SCREEN_ON;
79 import com.android.systemui.keyguard.ScreenLifecycle;
164 protected ScreenLifecycle mScreenLifecycle;
185 protected ArgumentCaptor<ScreenLifecycle.Observer> mScreenObserverCaptor;
189 protected ScreenLifecycle.Observer mScreenObserver;
DKeyguardIndicationControllerTest.java38 import static com.android.systemui.keyguard.ScreenLifecycle.SCREEN_OFF;
39 import static com.android.systemui.keyguard.ScreenLifecycle.SCREEN_TURNING_ON;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherController.java42 import com.android.systemui.keyguard.ScreenLifecycle;
75 private final ScreenLifecycle mScreenLifecycle;
111 private final ScreenLifecycle.Observer mScreenObserver = new ScreenLifecycle.Observer() {
158 ScreenLifecycle screenLifecycle, in KeyguardUserSwitcherController()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/wmshell/
DWMShellTest.kt33 import com.android.systemui.keyguard.ScreenLifecycle
91 @Mock private lateinit var mScreenLifecycle: ScreenLifecycle
154 verify(mScreenLifecycle).addObserver(any(ScreenLifecycle.Observer::class.java)) in initOneHanded_registersCallbacks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DWMShell.java51 import com.android.systemui.keyguard.ScreenLifecycle;
125 private final ScreenLifecycle mScreenLifecycle;
190 ScreenLifecycle screenLifecycle, in WMShell()
342 mScreenLifecycle.addObserver(new ScreenLifecycle.Observer() { in initOneHanded()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DTestMocksModule.kt38 import com.android.systemui.keyguard.ScreenLifecycle
119 @get:Provides val screenLifecycle: ScreenLifecycle = mock(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsController.java92 import com.android.systemui.keyguard.ScreenLifecycle;
244 private final ScreenLifecycle.Observer mScreenObserver = new ScreenLifecycle.Observer() {
706 @NonNull ScreenLifecycle screenLifecycle, in UdfpsController()
757 mScreenOn = screenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_ON; in UdfpsController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java49 import static com.android.systemui.keyguard.ScreenLifecycle.SCREEN_ON;
108 import com.android.systemui.keyguard.ScreenLifecycle;
230 private final ScreenLifecycle mScreenLifecycle;
251 private final ScreenLifecycle.Observer mScreenObserver = new ScreenLifecycle.Observer() {
299 ScreenLifecycle screenLifecycle, in KeyguardIndicationController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java144 import com.android.systemui.keyguard.ScreenLifecycle;
553 private final ScreenLifecycle mScreenLifecycle;
642 ScreenLifecycle screenLifecycle, in CentralSurfacesImpl()
2046 && mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_TURNING_OFF)) { in updateIsKeyguard()
2663 final ScreenLifecycle.Observer mScreenObserver = new ScreenLifecycle.Observer() {
2695 return mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_OFF; in isScreenFullyOff()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java94 import com.android.systemui.keyguard.ScreenLifecycle;
175 private ScreenLifecycle mScreenLifecycle;
246 private ArgumentCaptor<ScreenLifecycle.Observer> mScreenObserverCaptor;
249 private ScreenLifecycle.Observer mScreenObserver;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java123 import com.android.systemui.keyguard.ScreenLifecycle;
355 private final ScreenLifecycle mScreenLifecycle = new ScreenLifecycle(mDumpManager);