Searched refs:wakefulness (Results 1 – 6 of 6) sorted by relevance
56 public static String wakefulnessToString(int wakefulness) { in wakefulnessToString() argument57 switch (wakefulness) { in wakefulnessToString()67 return Integer.toString(wakefulness); in wakefulnessToString()75 public static boolean isInteractive(int wakefulness) { in isInteractive() argument76 return wakefulness == WAKEFULNESS_AWAKE || wakefulness == WAKEFULNESS_DREAMING; in isInteractive()
343 public void onWakefulnessChangeStarted(final int wakefulness, int reason) { in onWakefulnessChangeStarted() argument344 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()346 Slog.d(TAG, "onWakefulnessChangeStarted: wakefulness=" + wakefulness in onWakefulnessChangeStarted()355 mActivityManagerInternal.onWakefulnessChanged(wakefulness); in onWakefulnessChangeStarted()
1557 private void setWakefulnessLocked(int wakefulness, int reason) { in setWakefulnessLocked() argument1558 if (mWakefulness != wakefulness) { in setWakefulnessLocked()1559 mWakefulness = wakefulness; in setWakefulnessLocked()1562 mNotifier.onWakefulnessChangeStarted(wakefulness, reason); in setWakefulnessLocked()2150 final int wakefulness; in handleSandman() local2153 wakefulness = mWakefulness; in handleSandman()2170 mDreamManager.startDream(wakefulness == WAKEFULNESS_DOZING); in handleSandman()2182 if (wakefulness == WAKEFULNESS_DOZING) { in handleSandman()2191 if (mSandmanSummoned || mWakefulness != wakefulness) { in handleSandman()2196 if (wakefulness == WAKEFULNESS_DREAMING) { in handleSandman()[all …]
87 public abstract void onWakefulnessChanged(int wakefulness); in onWakefulnessChanged() argument
128 Wakefulness wakefulness = 3; field
12322 void onWakefulnessChanged(int wakefulness) {12324 mWakefulness = wakefulness;23736 public void onWakefulnessChanged(int wakefulness) {23737 ActivityManagerService.this.onWakefulnessChanged(wakefulness);