Lines Matching refs:mWakefulness
137 // Dirty bit: mWakefulness changed
252 private int mWakefulness;
658 mWakefulness = WAKEFULNESS_AWAKE;
1354 if (mWakefulness == WAKEFULNESS_ASLEEP
1355 || mWakefulness == WAKEFULNESS_DOZING
1402 if (eventTime < mLastSleepTime || mWakefulness == WAKEFULNESS_AWAKE
1411 switch (mWakefulness) {
1456 || mWakefulness == WAKEFULNESS_ASLEEP
1457 || mWakefulness == WAKEFULNESS_DOZING
1532 if (eventTime < mLastWakeTime || mWakefulness != WAKEFULNESS_AWAKE
1556 if (eventTime < mLastWakeTime || mWakefulness == WAKEFULNESS_ASLEEP
1574 if (mWakefulness != wakefulness) {
1575 mWakefulness = wakefulness;
1616 if (mWakefulness == WAKEFULNESS_DOZING
1620 if (mWakefulness == WAKEFULNESS_DOZING || mWakefulness == WAKEFULNESS_ASLEEP) {
1623 if (mWakefulness == WAKEFULNESS_AWAKE) {
1774 if (mIsPowered && mWakefulness == WAKEFULNESS_DREAMING) {
1784 if (mAlwaysOnEnabled && mWakefulness == WAKEFULNESS_DOZING) {
1855 if (mWakefulness != WAKEFULNESS_DOZING) {
1858 if (mWakefulness == WAKEFULNESS_ASLEEP
1862 if (mWakefulness == WAKEFULNESS_ASLEEP) {
1869 if (mWakefulness == WAKEFULNESS_AWAKE) {
1871 } else if (mWakefulness == WAKEFULNESS_DREAMING) {
1880 Slog.d(TAG, "updateWakeLockSummaryLocked: mWakefulness="
1881 + PowerManagerInternal.wakefulnessToString(mWakefulness)
1937 if (mWakefulness == WAKEFULNESS_AWAKE
1938 || mWakefulness == WAKEFULNESS_DREAMING
1939 || mWakefulness == WAKEFULNESS_DOZING) {
2010 Slog.d(TAG, "updateUserActivitySummaryLocked: mWakefulness="
2011 + PowerManagerInternal.wakefulnessToString(mWakefulness)
2078 if (mWakefulness == WAKEFULNESS_AWAKE && isItBedTimeYetLocked()) {
2171 wakefulness = mWakefulness;
2209 if (mSandmanSummoned || mWakefulness != wakefulness) {
2264 if (mWakefulness != WAKEFULNESS_DREAMING
2296 return mWakefulness == WAKEFULNESS_DOZING;
2390 + ", mWakefulness=" + mWakefulness
2440 if (mWakefulness == WAKEFULNESS_ASLEEP || sQuiescent) {
2444 if (mWakefulness == WAKEFULNESS_DOZING) {
2670 return PowerManagerInternal.isInteractive(mWakefulness);
3018 if (!mSystemReady || mWakefulness == WAKEFULNESS_ASLEEP
3205 pw.println(" mWakefulness=" + PowerManagerInternal.wakefulnessToString(mWakefulness));
3398 proto.write(PowerServiceDumpProto.WAKEFULNESS, mWakefulness);