Searched refs:getScreenState (Results 1 – 7 of 7) sorted by relevance
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()
622 mBatteryStats.noteScreenState(mPowerState.getScreenState()); in initialize()765 final int oldState = mPowerState.getScreenState(); in updatePowerState()767 state = mPowerState.getScreenState(); in updatePowerState()1096 if (mPowerState.getScreenState() != state) {1199 && Display.isDozeState(mPowerState.getScreenState())1254 && mPowerState.getScreenState() == Display.STATE_ON) {1272 && mPowerState.getScreenState() == Display.STATE_ON) {1289 && mPowerState.getScreenState() != Display.STATE_DOZE_SUSPEND) {1295 if (mPowerState.getScreenState() != Display.STATE_DOZE_SUSPEND) {1310 && mPowerState.getScreenState() != Display.STATE_ON_SUSPEND) {[all …]
140 public int getScreenState() { in getScreenState() method in DisplayPowerState
38 public int getScreenState() { in getScreenState() method in ScreenLifecycle
66 public int getScreenState() { in getScreenState() method in MockBatteryStatsImpl
238 assertEquals(bi.getScreenState(), Display.STATE_DOZE); in testNoteScreenStateLocked()241 assertEquals(bi.getScreenState(), Display.STATE_ON); in testNoteScreenStateLocked()244 assertEquals(bi.getScreenState(), Display.STATE_OFF); in testNoteScreenStateLocked()
3525 && mScreenLifecycle.getScreenState() == ScreenLifecycle.SCREEN_TURNING_OFF) { in updateIsKeyguard()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()