Searched refs:getWakefulnessLocked (Results 1 – 6 of 6) sorted by relevance
117 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_AWAKE); in testDreamPowerGroup()119 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_DREAMING); in testDreamPowerGroup()129 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_AWAKE); in testDozePowerGroup()131 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_DOZING); in testDozePowerGroup()146 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_ASLEEP); in testDozePowerGroupWhenNonInteractiveHasNoEffect()148 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_ASLEEP); in testDozePowerGroupWhenNonInteractiveHasNoEffect()156 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_AWAKE); in testSleepPowerGroup()159 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_ASLEEP); in testSleepPowerGroup()173 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_DOZING); in testDreamPowerGroupWhenNotAwakeHasNoEffect()175 assertThat(mPowerGroup.getWakefulnessLocked()).isEqualTo(WAKEFULNESS_DOZING); in testDreamPowerGroupWhenNotAwakeHasNoEffect()[all …]
1631 assertThat(mService.getWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP)).isEqualTo( in testWakeLock_affectsProperDisplayGroup()1633 assertThat(mService.getWakefulnessLocked(nonDefaultDisplayGroupId)).isEqualTo( in testWakeLock_affectsProperDisplayGroup()1638 assertThat(mService.getWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP)).isEqualTo( in testWakeLock_affectsProperDisplayGroup()1640 assertThat(mService.getWakefulnessLocked(nonDefaultDisplayGroupId)).isEqualTo( in testWakeLock_affectsProperDisplayGroup()1671 assertThat(mService.getWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP)).isEqualTo( in testInvalidDisplayGroupWakeLock_affectsAllDisplayGroups()1673 assertThat(mService.getWakefulnessLocked(nonDefaultDisplayGroupId)).isEqualTo( in testInvalidDisplayGroupWakeLock_affectsAllDisplayGroups()1678 assertThat(mService.getWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP)).isEqualTo( in testInvalidDisplayGroupWakeLock_affectsAllDisplayGroups()1680 assertThat(mService.getWakefulnessLocked(nonDefaultDisplayGroupId)).isEqualTo( in testInvalidDisplayGroupWakeLock_affectsAllDisplayGroups()1716 assertThat(mService.getWakefulnessLocked(Display.DEFAULT_DISPLAY_GROUP)).isEqualTo( in testRemovedDisplayGroupWakeLock_affectsNoDisplayGroups()1718 assertThat(mService.getWakefulnessLocked(nonDefaultDisplayGroupId)).isEqualTo( in testRemovedDisplayGroupWakeLock_affectsNoDisplayGroups()[all …]
121 int getWakefulnessLocked() { in getWakefulnessLocked() method in PowerGroup279 if (eventTime < mLastWakeTime || getWakefulnessLocked() == WAKEFULNESS_ASLEEP) { in sleepLocked()400 final int wakefulness = getWakefulnessLocked(); in getDesiredScreenPolicyLocked()
2153 final int wakefulness = powerGroup.getWakefulnessLocked();2386 int getWakefulnessLocked(int groupId) {2387 return mPowerGroups.get(groupId).getWakefulnessLocked();2406 final int wakefulness = mPowerGroups.valueAt(i).getWakefulnessLocked();2439 powerGroup.getWakefulnessLocked(), WAKE_REASON_DISPLAY_GROUP_ADDED,2811 final int wakeLockSummary = adjustWakeLockSummary(powerGroup.getWakefulnessLocked(),2977 final int wakefulness = powerGroup.getWakefulnessLocked();3302 if (!(powerGroup.getWakefulnessLocked() == WAKEFULNESS_AWAKE3441 wakefulness = powerGroup.getWakefulnessLocked();3492 || powerGroup.getWakefulnessLocked() != wakefulness) {[all …]
2930 HSPLcom/android/server/power/PowerGroup;->getWakefulnessLocked()I
21313 HPLcom/android/server/power/PowerGroup;->getWakefulnessLocked()I