Searched refs:wakeLockSummary (Results 1 – 3 of 3) sorted by relevance
130 long getScreenTimeoutOverrideLocked(int wakeLockSummary, long screenOffTimeout) { in getScreenTimeoutOverrideLocked() argument131 if (!isWakeLockAcquired(wakeLockSummary)) { in getScreenTimeoutOverrideLocked()146 void onUserActivity(int wakeLockSummary, @PowerManager.UserActivityEvent int event) { in onUserActivity() argument147 if (!isWakeLockAcquired(wakeLockSummary)) { in onUserActivity()173 void checkScreenWakeLock(int wakeLockSummary) { in checkScreenWakeLock() argument174 if (!isWakeLockAcquired(wakeLockSummary)) { in checkScreenWakeLock()178 if ((wakeLockSummary & (WAKE_LOCK_SCREEN_BRIGHT | WAKE_LOCK_SCREEN_DIM in checkScreenWakeLock()187 void onWakefulnessChange(int wakeLockSummary, int globalWakefulness) { in onWakefulnessChange() argument188 if (!isWakeLockAcquired(wakeLockSummary)) { in onWakefulnessChange()197 private boolean isWakeLockAcquired(int wakeLockSummary) { in isWakeLockAcquired() argument[all …]
401 final int wakeLockSummary = getWakeLockSummaryLocked(); in getDesiredScreenPolicyLocked() local405 if ((wakeLockSummary & WAKE_LOCK_DOZE) != 0) { in getDesiredScreenPolicyLocked()419 if ((wakeLockSummary & WAKE_LOCK_SCREEN_BRIGHT) != 0 in getDesiredScreenPolicyLocked()
2789 int wakeLockSummary = powerGroup.getWakeLockSummaryLocked();2790 wakeLockSummary |= wakeLockFlags;2791 powerGroup.setWakeLockSummaryLocked(wakeLockSummary);2811 final int wakeLockSummary = adjustWakeLockSummary(powerGroup.getWakefulnessLocked(),2813 powerGroup.setWakeLockSummaryLocked(wakeLockSummary);2833 private static int adjustWakeLockSummary(int wakefulness, int wakeLockSummary) {2836 wakeLockSummary &= ~(WAKE_LOCK_DOZE | WAKE_LOCK_DRAW);2839 || (wakeLockSummary & WAKE_LOCK_DOZE) != 0) {2840 wakeLockSummary &= ~(WAKE_LOCK_SCREEN_BRIGHT | WAKE_LOCK_SCREEN_DIM2843 wakeLockSummary &= ~WAKE_LOCK_PROXIMITY_SCREEN_OFF;[all …]