Home
last modified time | relevance | path

Searched refs:WAKE_LOCK_SCREEN_BRIGHT (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DScreenTimeoutOverridePolicy.java22 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_BRIGHT;
178 if ((wakeLockSummary & (WAKE_LOCK_SCREEN_BRIGHT | WAKE_LOCK_SCREEN_DIM in checkScreenWakeLock()
DPowerGroup.java30 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_BRIGHT;
353 WAKE_LOCK_SCREEN_BRIGHT | WAKE_LOCK_SCREEN_DIM | WAKE_LOCK_STAY_AWAKE; in hasWakeLockKeepingScreenOnLocked()
419 if ((wakeLockSummary & WAKE_LOCK_SCREEN_BRIGHT) != 0 in getDesiredScreenPolicyLocked()
DPowerManagerService.java218 static final int WAKE_LOCK_SCREEN_BRIGHT = 1 << 1; field in PowerManagerService
2840 wakeLockSummary &= ~(WAKE_LOCK_SCREEN_BRIGHT | WAKE_LOCK_SCREEN_DIM
2848 if ((wakeLockSummary & (WAKE_LOCK_SCREEN_BRIGHT | WAKE_LOCK_SCREEN_DIM)) != 0) {
2873 return WAKE_LOCK_SCREEN_BRIGHT | WAKE_LOCK_BUTTON_BRIGHT;
2875 return WAKE_LOCK_SCREEN_BRIGHT;
4948 (mWakeLockSummary & WAKE_LOCK_SCREEN_BRIGHT) != 0);
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerGroupTest.java37 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_BRIGHT;
452 mPowerGroup.setWakeLockSummaryLocked(WAKE_LOCK_SCREEN_BRIGHT); in testUpdateWhileDreamingWithScreenBrightWakelock_UpdatesDisplayPowerRequest()