/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | ScreenLifecycleTest.java | 42 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/ |
D | ScreenLifecycle.java | 37 public class ScreenLifecycle extends Lifecycle<ScreenLifecycle.Observer> implements Dumpable { class 47 public ScreenLifecycle(DumpManager dumpManager) { in ScreenLifecycle() method in ScreenLifecycle
|
D | KeyguardLifecyclesDispatcher.java | 83 ScreenLifecycle screenLifecycle, in KeyguardLifecyclesDispatcher() 113 private final ScreenLifecycle mScreenLifecycle; 117 ScreenLifecycle screenLifecycle, in KeyguardLifecycleHandler()
|
D | LifecycleScreenStatusProvider.kt | 26 class LifecycleScreenStatusProvider @Inject constructor(screenLifecycle: ScreenLifecycle) : 27 ScreenStatusProvider, ScreenLifecycle.Observer {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | UnfoldLatencyTracker.kt | 26 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/ |
D | UnfoldLatencyTrackerTest.kt | 26 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/ |
D | QSCustomizerController.java | 37 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/ |
D | KeyguardIndicationControllerBaseTest.java | 24 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;
|
D | KeyguardIndicationControllerTest.java | 38 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/ |
D | KeyguardUserSwitcherController.java | 42 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/ |
D | WMShellTest.kt | 33 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/ |
D | WMShell.java | 51 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/ |
D | TestMocksModule.kt | 38 import com.android.systemui.keyguard.ScreenLifecycle 119 @get:Provides val screenLifecycle: ScreenLifecycle = mock(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsController.java | 92 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/ |
D | KeyguardIndicationController.java | 49 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/ |
D | CentralSurfacesImpl.java | 144 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/ |
D | UdfpsControllerTest.java | 94 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/ |
D | CentralSurfacesImplTest.java | 123 import com.android.systemui.keyguard.ScreenLifecycle; 355 private final ScreenLifecycle mScreenLifecycle = new ScreenLifecycle(mDumpManager);
|