Home
last modified time | relevance | path

Searched refs:mScreenOn (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/core/java/com/android/server/job/controllers/idle/
DDeviceIdlenessTracker.java46 private boolean mScreenOn; field in DeviceIdlenessTracker
58 mScreenOn = true; in DeviceIdlenessTracker()
99 pw.print(" mScreenOn: "); pw.println(mScreenOn); in dump()
110 if (!mScreenOn) { in onReceive()
117 mScreenOn = true; in onReceive()
137 if (!mScreenOn) { in onReceive()
144 mScreenOn = false; in onReceive()
162 if (!mIdle && (!mScreenOn || mDockIdle)) { in handleIdleTrigger()
171 + mIdle + " screen=" + mScreenOn); in handleIdleTrigger()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerImpl.java89 private boolean mScreenOn; field in FalsingManagerImpl
147 mScreenOn = context.getSystemService(PowerManager.class).isInteractive(); in FalsingManagerImpl()
169 .append(" mScreenOn=").append(mScreenOn ? 1 : 0) in shouldSessionBeActive()
175 return isEnabled() && mScreenOn && (mState == StatusBarState.KEYGUARD) && !mShowingAod; in shouldSessionBeActive()
269 int screenOn = mScreenOn ? 1 : 0; in isFalseTouch()
289 .append('/').append(mScreenOn ? 1 : 0) in isFalseTouch()
344 .append("from=").append(mScreenOn ? 1 : 0) in onScreenTurningOn()
348 mScreenOn = true; in onScreenTurningOn()
357 .append("from=").append(mScreenOn ? 1 : 0) in onScreenOnFromTouch()
360 mScreenOn = true; in onScreenOnFromTouch()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DBrightLineFalsingManager.java53 private boolean mScreenOn; field in BrightLineFalsingManager
104 if (!mSessionStarted && !mShowingAod && mScreenOn) { in sessionStart()
290 mScreenOn = true; in onScreenTurningOn()
296 mScreenOn = false; in onScreenOff()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSarManager.java79 private boolean mScreenOn = false; field in SarManager
130 if (mScreenOn == screenOn) { in handleScreenStateChanged()
138 mScreenOn = screenOn; in handleScreenStateChanged()
142 if (mScreenOn && !mIsVoiceStreamCheckEnabled) { in handleScreenStateChanged()
185 if (!mScreenOn && !voiceStreamActive) { in checkAudioDevice()
DAvailableNetworkNotifier.java117 private boolean mScreenOn; field in AvailableNetworkNotifier
178 mScreenOn = false; in AvailableNetworkNotifier()
293 if (mState == STATE_NO_NOTIFICATION && !mScreenOn) { in handleScanResults()
337 mScreenOn = screenOn; in handleScreenStateChanged()
DWifiConnectivityManager.java161 private boolean mScreenOn = false; field in WifiConnectivityManager
580 if (!mScreenOn) { in updatePnoScan()
736 if (!mScreenOn && shouldSkipConnectionAttempt(elapsedTimeMillis)) { in connectToNetwork()
895 if (mScreenOn) { in periodicScanTimerHandler()
1101 localLog("startConnectivityScan: screenOn=" + mScreenOn in startConnectivityScan()
1121 if (mScreenOn) { in startConnectivityScan()
1146 mScreenOn = screenOn; in handleScreenStateChanged()
DWifiLockManager.java69 private boolean mScreenOn = false; field in WifiLockManager
125 check = check && mScreenOn; in canActivateLowLatencyLock()
227 if (mScreenOn && countFgLowLatencyUids() > 0) { in getStrongestLockMode()
340 mScreenOn = screenOn; in handleScreenStateChanged()
DWifiMetrics.java189 private boolean mScreenOn; field in WifiMetrics
621 private boolean mScreenOn; field in WifiMetrics.ConnectionEvent
632 mScreenOn = false; in ConnectionEvent()
746 sb.append(mScreenOn); in toString()
821 mScreenOn = true; in WifiMetrics()
1093 mCurrentConnectionEvent.mScreenOn = mScreenOn; in startConnectionEvent()
1301 incrementWifiSystemScanStateCount(mWifiState, mScreenOn); in incrementOneshotScanCount()
3677 mScreenOn = screenOn; in setScreenState()
4303 event.screenOn = mScreenOn;
4626 if (mWifiUsabilityStatsEntriesList.isEmpty() || !mScreenOn) {
DClientModeImpl.java229 private boolean mScreenOn = false; field in ClientModeImpl
2138 sb.append("screen=").append(mScreenOn ? "on" : "off"); in getLogRecString()
2590 mScreenOn = screenOn; in handleScreenStateChanged()
5545 log("RoamingState Enter mScreenOn=" + mScreenOn); in enter()
5694 log("Enter ConnectedState mScreenOn=" + mScreenOn); in enter()
5900 logd(" Enter DisconnectingState State screenOn=" + mScreenOn); in enter()
5966 logd(" Enter DisconnectedState screenOn=" + mScreenOn); in enter()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DVisualStabilityManager.java55 private boolean mScreenOn; field in VisualStabilityManager
119 mScreenOn = screenOn; in setScreenOn()
136 (!mScreenOn || !mPanelExpanded || mIsTemporaryReorderingAllowed) && !mPulsing; in updateReorderingAllowed()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppIdleHistory.java107 private boolean mScreenOn; field in AppIdleHistory
149 if (screenOn == mScreenOn) return; in updateDisplay()
151 mScreenOn = screenOn; in updateDisplay()
152 if (mScreenOn) { in updateDisplay()
161 + ", mScreenOn=" + mScreenOn); in updateDisplay()
166 if (mScreenOn) { in getScreenOnTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java170 private boolean mScreenOn; field in ScrimController
860 final int delay = mScreenOn ? 32 : 500; in blankDisplay()
940 mScreenOn = true; in onScreenTurnedOn()
951 mScreenOn = false; in onScreenTurnedOff()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java828 private boolean mScreenOn = false; field in DisplayModeDirector.BrightnessObserver
1050 if (mScreenOn != on) { in onScreenOn()
1051 mScreenOn = on; in onScreenOn()
1061 if (mShouldObserveAmbientChange && mScreenOn && !mLowPowerModeEnabled in updateSensorStatus()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java297 private boolean mScreenOn; field in DeviceIdleController
2032 mScreenOn = true; in onStart()
2705 return mScreenOn; in isScreenOn()
2715 if (!screenOn && mScreenOn) { in updateInteractivityLocked()
2716 mScreenOn = false; in updateInteractivityLocked()
2721 mScreenOn = true; in updateInteractivityLocked()
2789 if (mScreenOn && !mForceIdle && !mScreenLocked) { in keyguardShowingLocked()
2869 mScreenOn && (!mConstants.WAIT_FOR_UNLOCK || !mScreenLocked); in becomeInactiveIfAppropriateLocked()
2873 + " (mScreenOn=" + mScreenOn in becomeInactiveIfAppropriateLocked()
2948 if (mScreenOn || mCharging) { in exitForceIdleLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java245 private boolean mScreenOn; field in KeyguardUpdateMonitor
1030 return mScreenOn; in isScreenOn()
2559 mScreenOn = true; in dispatchScreenTurnedOn()
2566 mScreenOn = false; in dispatchScreenTurnedOff()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java158 mService.mScreenOn = false; in setUp()
1130 mService.mScreenOn = true; in testLightsScreenOn()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java173 boolean mScreenOn = true; field in ActiveServices
974 } else if (mScreenOn || aa.mShownWhileScreenOn) { in foregroundAppShownEnoughLocked()
1179 if (mScreenOn != screenOn) { in updateScreenStateLocked()
1180 mScreenOn = screenOn; in updateScreenStateLocked()
1380 active.mShownWhileScreenOn = mScreenOn; in setServiceForegroundInnerLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java404 boolean mScreenOn = true; field in NotificationManagerService
1316 mScreenOn = true;
1319 mScreenOn = false;
1522 mScreenOn = on; in setScreenOn()
6065 if (isInCall() || mScreenOn) {
7176 if (ledNotification == null || isInCall() || mScreenOn) {