Searched refs:mWakefulness (Results 1 – 6 of 6) sorted by relevance
42 private WakefulnessLifecycle mWakefulness; field in WakefulnessLifecycleTest47 mWakefulness = new WakefulnessLifecycle(); in setUp()49 mWakefulness.addObserver(mWakefulnessObserver); in setUp()54 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, mWakefulness.getWakefulness()); in baseState()61 mWakefulness.dispatchStartedWakingUp(); in dispatchStartedWakingUp()63 assertEquals(WakefulnessLifecycle.WAKEFULNESS_WAKING, mWakefulness.getWakefulness()); in dispatchStartedWakingUp()70 mWakefulness.dispatchStartedWakingUp(); in dispatchFinishedWakingUp()71 mWakefulness.dispatchFinishedWakingUp(); in dispatchFinishedWakingUp()73 assertEquals(WakefulnessLifecycle.WAKEFULNESS_AWAKE, mWakefulness.getWakefulness()); in dispatchFinishedWakingUp()80 mWakefulness.dispatchStartedWakingUp(); in dispatchStartedGoingToSleep()[all …]
202 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_ASLEEP; in testUpdateOomAdj_DoOne_Persistent_TopUi_Sleeping()204 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in testUpdateOomAdj_DoOne_Persistent_TopUi_Sleeping()217 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in testUpdateOomAdj_DoOne_Persistent_TopUi_Awake()231 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in testUpdateOomAdj_DoOne_Persistent_TopApp()246 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in testUpdateOomAdj_DoOne_TopApp_Awake()260 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in testUpdateOomAdj_DoOne_RunningAnimations()273 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in testUpdateOomAdj_DoOne_RunningInstrumentation()288 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in testUpdateOomAdj_DoOne_ReceivingBroadcast()302 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in testUpdateOomAdj_DoOne_ExecutingService()315 sService.mWakefulness = PowerManagerInternal.WAKEFULNESS_ASLEEP; in testUpdateOomAdj_DoOne_TopApp_Sleeping()[all …]
53 private int mWakefulness = WAKEFULNESS_ASLEEP; field in WakefulnessLifecycle60 return mWakefulness; in getWakefulness()98 pw.println(" mWakefulness=" + mWakefulness); in dump()102 mWakefulness = wakefulness; in setWakefulness()
129 private int mWakefulness; field in AttentionDetector149 mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; in AttentionDetector()267 mWakefulness = wakefulness; in onWakefulnessChangeStarted()367 if (mWakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE) { in onSuccess()
1165 if (mService.mWakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE) { in computeOomAdjLocked()1686 } else if (mService.mWakefulness in computeOomAdjLocked()2001 && mService.mWakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE) { in computeOomAdjLocked()2134 } else if (mService.mWakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE in applyOomAdjLocked()2142 } else if (mService.mWakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE in applyOomAdjLocked()
1311 int mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE; field in ActivityManagerService8333 reportGlobalUsageEventLocked(mWakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE in reportCurWakefulnessUsageEventLocked()8340 boolean wasAwake = mWakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged()8342 mWakefulness = wakefulness; in onWakefulnessChanged()11521 mTestPssMode, mWakefulness); in dumpProcessesLocked()11864 mAtmInternal.writeProcessesToProto(proto, dumpPackage, mWakefulness, mTestPssMode); in writeProcessesToProtoLocked()