Searched refs:getWakefulness (Results 1 – 3 of 3) sorted by relevance
39 public int getWakefulness() { in getWakefulness() method in WakefulnessLifecycle44 if (getWakefulness() == WAKEFULNESS_WAKING) { in dispatchStartedWakingUp()52 if (getWakefulness() == WAKEFULNESS_AWAKE) { in dispatchFinishedWakingUp()60 if (getWakefulness() == WAKEFULNESS_GOING_TO_SLEEP) { in dispatchStartedGoingToSleep()68 if (getWakefulness() == WAKEFULNESS_ASLEEP) { in dispatchFinishedGoingToSleep()
53 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, mWakefulness.getWakefulness()); in baseState()62 assertEquals(WakefulnessLifecycle.WAKEFULNESS_WAKING, mWakefulness.getWakefulness()); in dispatchStartedWakingUp()72 assertEquals(WakefulnessLifecycle.WAKEFULNESS_AWAKE, mWakefulness.getWakefulness()); in dispatchFinishedWakingUp()84 mWakefulness.getWakefulness()); in dispatchStartedGoingToSleep()97 mWakefulness.getWakefulness()); in dispatchFinishedGoingToSleep()
3099 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP in dismissKeyguardThenExecute()4548 return mWakefulnessLifecycle.getWakefulness(); in getWakefulnessState()4675 return mWakefulnessLifecycle.getWakefulness() in isGoingToSleep()4902 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in setAnimateWakeup()4903 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_WAKING) { in setAnimateWakeup()