Searched refs:wakefulness (Results 1 – 5 of 5) sorted by relevance
74 public static String wakefulnessToString(int wakefulness) { in wakefulnessToString() argument75 switch (wakefulness) { in wakefulnessToString()85 return Integer.toString(wakefulness); in wakefulnessToString()93 public static boolean isInteractive(int wakefulness) { in isInteractive() argument94 return wakefulness == WAKEFULNESS_AWAKE || wakefulness == WAKEFULNESS_DREAMING; in isInteractive()
339 public void onWakefulnessChangeStarted(final int wakefulness, int reason) { in onWakefulnessChangeStarted() argument340 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted()342 Slog.d(TAG, "onWakefulnessChangeStarted: wakefulness=" + wakefulness in onWakefulnessChangeStarted()351 mActivityManagerInternal.onWakefulnessChanged(wakefulness); in onWakefulnessChangeStarted()
1368 private void setWakefulnessLocked(int wakefulness, int reason) { in setWakefulnessLocked() argument1369 if (mWakefulness != wakefulness) { in setWakefulnessLocked()1370 mWakefulness = wakefulness; in setWakefulnessLocked()1373 mNotifier.onWakefulnessChangeStarted(wakefulness, reason); in setWakefulnessLocked()1935 final int wakefulness; in handleSandman() local1938 wakefulness = mWakefulness; in handleSandman()1955 mDreamManager.startDream(wakefulness == WAKEFULNESS_DOZING); in handleSandman()1967 if (wakefulness == WAKEFULNESS_DOZING) { in handleSandman()1976 if (mSandmanSummoned || mWakefulness != wakefulness) { in handleSandman()1981 if (wakefulness == WAKEFULNESS_DREAMING) { in handleSandman()[all …]
64 public abstract void onWakefulnessChanged(int wakefulness); in onWakefulnessChanged() argument
11602 void onWakefulnessChanged(int wakefulness) { in onWakefulnessChanged() argument11604 mWakefulness = wakefulness; in onWakefulnessChanged()21833 public void onWakefulnessChanged(int wakefulness) { in onWakefulnessChanged() argument21834 ActivityManagerService.this.onWakefulnessChanged(wakefulness); in onWakefulnessChanged()