Home
last modified time | relevance | path

Searched refs:wakefulness (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/os/
DPowerManagerInternal.java58 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/
DWakefulnessLifecycle.java101 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/
Dadbutil.py34 wakefulness = re.search('mWakefulness=([a-zA-Z]+)', output)
35 if wakefulness.group(1) != "Awake":
/frameworks/base/services/core/java/com/android/server/power/
DAttentionDetector.java252 public void onWakefulnessChangeStarted(int wakefulness) { in onWakefulnessChangeStarted() argument
253 mWakefulness = wakefulness; in onWakefulnessChangeStarted()
254 if (wakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE) { in onWakefulnessChangeStarted()
DNotifier.java377 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()
DPowerManagerService.java1610 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/
DOomAdjProfiler.java71 void onWakefulnessChanged(int wakefulness) { in onWakefulnessChanged() argument
77 mScreenOff = wakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged()
DActivityManagerService.java7918 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/
DDozeMachine.java349 @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/
DActivityManagerInternal.java55 public abstract void onWakefulnessChanged(int wakefulness); in onWakefulnessChanged() argument
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerInternal.java481 int wakefulness); in dumpForProcesses() argument
DActivityTaskManagerService.java7041 int wakefulness) { in dumpForProcesses() argument
7103 + PowerManagerInternal.wakefulnessToString(wakefulness)); in dumpForProcesses()
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto78 optional .android.os.PowerManagerInternalProto.Wakefulness wakefulness = 3; field
Dactivitymanagerservice.proto706 optional .android.os.PowerManagerInternalProto.Wakefulness wakefulness = 1; field