/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 58 public static String wakefulnessToString(int wakefulness) { in wakefulnessToString() argument 59 switch (wakefulness) { in wakefulnessToString() 69 return Integer.toString(wakefulness); in wakefulnessToString() 76 public static int wakefulnessToProtoEnum(int wakefulness) { in wakefulnessToProtoEnum() argument 77 switch (wakefulness) { in wakefulnessToProtoEnum() 87 return wakefulness; in wakefulnessToProtoEnum() 95 public static boolean isInteractive(int wakefulness) { in isInteractive() argument 96 return wakefulness == WAKEFULNESS_AWAKE || wakefulness == WAKEFULNESS_DREAMING; in isInteractive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WakefulnessLifecycle.java | 101 private void setWakefulness(@Wakefulness int wakefulness) { in setWakefulness() argument 102 mWakefulness = wakefulness; in setWakefulness() 103 Trace.traceCounter(Trace.TRACE_TAG_APP, "wakefulness", wakefulness); in setWakefulness()
|
/frameworks/base/tests/JankBench/scripts/ |
D | adbutil.py | 34 wakefulness = re.search('mWakefulness=([a-zA-Z]+)', output) 35 if wakefulness.group(1) != "Awake":
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | AttentionDetector.java | 252 public void onWakefulnessChangeStarted(int wakefulness) { in onWakefulnessChangeStarted() argument 253 mWakefulness = wakefulness; in onWakefulnessChangeStarted() 254 if (wakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE) { in onWakefulnessChangeStarted()
|
D | Notifier.java | 377 public void onWakefulnessChangeStarted(final int wakefulness, int reason, long eventTime) { in onWakefulnessChangeStarted() argument 378 final boolean interactive = PowerManagerInternal.isInteractive(wakefulness); in onWakefulnessChangeStarted() 380 Slog.d(TAG, "onWakefulnessChangeStarted: wakefulness=" + wakefulness in onWakefulnessChangeStarted() 389 mActivityManagerInternal.onWakefulnessChanged(wakefulness); in onWakefulnessChangeStarted()
|
D | PowerManagerService.java | 1610 void setWakefulnessLocked(int wakefulness, int reason, long eventTime) { in setWakefulnessLocked() argument 1611 if (mWakefulness != wakefulness) { in setWakefulnessLocked() 1612 mWakefulness = wakefulness; in setWakefulnessLocked() 1620 mNotifier.onWakefulnessChangeStarted(wakefulness, reason, eventTime); in setWakefulnessLocked() 1622 mAttentionDetector.onWakefulnessChangeStarted(wakefulness); in setWakefulnessLocked() 2303 final int wakefulness; in handleSandman() local 2306 wakefulness = mWakefulness; in handleSandman() 2323 mDreamManager.startDream(wakefulness == WAKEFULNESS_DOZING); in handleSandman() 2339 if (wakefulness == WAKEFULNESS_DOZING) { in handleSandman() 2348 if (mSandmanSummoned || mWakefulness != wakefulness) { in handleSandman() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjProfiler.java | 71 void onWakefulnessChanged(int wakefulness) { in onWakefulnessChanged() argument 77 mScreenOff = wakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged()
|
D | ActivityManagerService.java | 7918 void onWakefulnessChanged(int wakefulness) { in onWakefulnessChanged() argument 7921 boolean isAwake = wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged() 7922 mWakefulness = wakefulness; in onWakefulnessChanged() 7929 mOomAdjProfiler.onWakefulnessChanged(wakefulness); in onWakefulnessChanged() 17883 public void onWakefulnessChanged(int wakefulness) { in onWakefulnessChanged() argument 17884 ActivityManagerService.this.onWakefulnessChanged(wakefulness); in onWakefulnessChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeMachine.java | 349 @Wakefulness int wakefulness = mWakefulnessLifecycle.getWakefulness(); in resolveIntermediateState() local 350 if (wakefulness == WakefulnessLifecycle.WAKEFULNESS_AWAKE in resolveIntermediateState() 351 || wakefulness == WakefulnessLifecycle.WAKEFULNESS_WAKING) { in resolveIntermediateState()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerInternal.java | 55 public abstract void onWakefulnessChanged(int wakefulness); in onWakefulnessChanged() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskManagerInternal.java | 481 int wakefulness); in dumpForProcesses() argument
|
D | ActivityTaskManagerService.java | 7041 int wakefulness) { in dumpForProcesses() argument 7103 + PowerManagerInternal.wakefulnessToString(wakefulness)); in dumpForProcesses()
|
/frameworks/base/core/proto/android/server/ |
D | powermanagerservice.proto | 78 optional .android.os.PowerManagerInternalProto.Wakefulness wakefulness = 3; field
|
D | activitymanagerservice.proto | 706 optional .android.os.PowerManagerInternalProto.Wakefulness wakefulness = 1; field
|