Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/idle/
DDeviceIdlenessTracker.java51 private boolean mScreenOn; field in DeviceIdlenessTracker
64 mScreenOn = true; in DeviceIdlenessTracker()
111 pw.print(" mScreenOn: "); pw.println(mScreenOn); in dump()
127 mScreenOn); in dump()
147 if (!mScreenOn) { in onReceive()
159 mScreenOn = true; in onReceive()
177 if (!mScreenOn) { in onReceive()
184 mScreenOn = false; in onReceive()
208 if ((!mScreenOn || mDockIdle) && !mInCarMode) { in maybeScheduleIdlenessCheck()
225 if (!mIdle && (!mScreenOn || mDockIdle) && !mInCarMode) { in handleIdleTrigger()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerImpl.java91 private boolean mScreenOn; field in FalsingManagerImpl
150 mScreenOn = context.getSystemService(PowerManager.class).isInteractive(); in FalsingManagerImpl()
172 .append(" mScreenOn=").append(mScreenOn ? 1 : 0) in shouldSessionBeActive()
178 return isEnabled() && mScreenOn && (mState == StatusBarState.KEYGUARD) && !mShowingAod; in shouldSessionBeActive()
272 int screenOn = mScreenOn ? 1 : 0; in isFalseTouch()
292 .append('/').append(mScreenOn ? 1 : 0) in isFalseTouch()
351 .append("from=").append(mScreenOn ? 1 : 0) in onScreenTurningOn()
355 mScreenOn = true; in onScreenTurningOn()
364 .append("from=").append(mScreenOn ? 1 : 0) in onScreenOnFromTouch()
367 mScreenOn = true; in onScreenOnFromTouch()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DVisualStabilityManager.java52 private boolean mScreenOn; field in VisualStabilityManager
134 mScreenOn = screenOn; in setScreenOn()
151 (!mScreenOn || !mPanelExpanded || mIsTemporaryReorderingAllowed) && !mPulsing; in updateAllowedStates()
157 boolean groupChangesAllowed = (!mScreenOn || !mPanelExpanded) && !mPulsing; in updateAllowedStates()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSarManager.java84 private boolean mScreenOn = false; field in SarManager
134 if (mScreenOn == screenOn) { in handleScreenStateChanged()
142 mScreenOn = screenOn; in handleScreenStateChanged()
146 if (mScreenOn && !mIsVoiceStreamCheckEnabled) { in handleScreenStateChanged()
197 if (!mScreenOn && !voiceStreamActive) { in checkAudioDevice()
DAvailableNetworkNotifier.java117 private boolean mScreenOn; field in AvailableNetworkNotifier
178 mScreenOn = false; in AvailableNetworkNotifier()
291 if (mState == STATE_NO_NOTIFICATION && !mScreenOn) { in handleScanResults()
335 mScreenOn = screenOn; in handleScreenStateChanged()
DWifiLockManager.java72 private boolean mScreenOn = false; field in WifiLockManager
128 check = check && mScreenOn; in canActivateLowLatencyLock()
229 if (mScreenOn && countFgLowLatencyUids() > 0) { in getStrongestLockMode()
342 mScreenOn = screenOn; in handleScreenStateChanged()
DWifiConnectivityManager.java162 private boolean mScreenOn = false; field in WifiConnectivityManager
906 if (!mScreenOn && shouldSkipConnectionAttempt(elapsedTimeMillis)) { in connectToNetwork()
1080 if (mScreenOn) { in triggerScanOnNetworkChanges()
1249 if (mScreenOn) { in periodicScanTimerHandler()
1528 localLog("startConnectivityScan: screenOn=" + mScreenOn in startConnectivityScan()
1549 if (mScreenOn) { in startConnectivityScan()
1574 mScreenOn = screenOn; in handleScreenStateChanged()
DWifiMetrics.java198 private boolean mScreenOn; field in WifiMetrics
886 private boolean mScreenOn; field in WifiMetrics.ConnectionEvent
897 mScreenOn = false; in ConnectionEvent()
1011 sb.append(mScreenOn); in toString()
1242 mScreenOn = true; in WifiMetrics()
1441 mCurrentConnectionEvent.mScreenOn = mScreenOn; in startConnectionEvent()
1505 mCurrentConnectionEvent.mConnectionEvent.screenOn = mScreenOn; in startConnectionEvent()
1803 incrementWifiSystemScanStateCount(mWifiState, mScreenOn); in incrementOneshotScanCount()
4637 mScreenOn = screenOn; in setScreenState()
4786 staEvent.screenOn = mScreenOn; in addStaEvent()
[all …]
DClientModeImpl.java247 private boolean mScreenOn = false; field in ClientModeImpl
1940 sb.append("screen=").append(mScreenOn ? "on" : "off"); in getLogRecString()
2315 mScreenOn = screenOn; in handleScreenStateChanged()
5201 log("RoamingState Enter mScreenOn=" + mScreenOn); in enter()
5354 log("Enter ConnectedState mScreenOn=" + mScreenOn); in enter()
5589 logd(" Enter DisconnectingState State screenOn=" + mScreenOn);
5666 logd(" Enter DisconnectedState screenOn=" + mScreenOn);
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DBrightLineFalsingManager.java70 private boolean mScreenOn; field in BrightLineFalsingManager
175 return mScreenOn && (mState == StatusBarState.KEYGUARD) && !mShowingAod; in shouldSessionBeActive()
371 mScreenOn = true; in onScreenTurningOn()
377 mScreenOn = false; in onScreenOff()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppIdleHistory.java128 private boolean mScreenOn; field in AppIdleHistory
176 if (screenOn == mScreenOn) return; in updateDisplay()
178 mScreenOn = screenOn; in updateDisplay()
179 if (mScreenOn) { in updateDisplay()
188 + ", mScreenOn=" + mScreenOn); in updateDisplay()
193 if (mScreenOn) { in getScreenOnTime()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DScrimController.java188 private boolean mScreenOn; field in ScrimController
911 final int delay = mScreenOn ? 32 : 500; in blankDisplay()
1003 mScreenOn = true; in onScreenTurnedOn()
1014 mScreenOn = false; in onScreenTurnedOff()
DNavigationBarView.java144 private boolean mScreenOn = true; field in NavigationBarView
583 mScreenOn = isScreenOn; in onScreenStateChanged()
1228 pw.println(" mScreenOn: " + mScreenOn); in dump()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java1096 private boolean mScreenOn = false; field in DisplayModeDirector.BrightnessObserver
1321 if (mScreenOn != on) { in onScreenOn()
1322 mScreenOn = on; in onScreenOn()
1332 if (mShouldObserveAmbientChange && mScreenOn && !mLowPowerModeEnabled in updateSensorStatus()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java297 private boolean mScreenOn; field in DeviceIdleController
2028 mScreenOn = true; in onStart()
2716 return mScreenOn; in isScreenOn()
2726 if (!screenOn && mScreenOn) { in updateInteractivityLocked()
2727 mScreenOn = false; in updateInteractivityLocked()
2732 mScreenOn = true; in updateInteractivityLocked()
2800 if (mScreenOn && !mForceIdle && !mScreenLocked) { in keyguardShowingLocked()
2883 mScreenOn && (!mConstants.WAIT_FOR_UNLOCK || !mScreenLocked); in becomeInactiveIfAppropriateLocked()
2887 + " (mScreenOn=" + mScreenOn in becomeInactiveIfAppropriateLocked()
2979 if (mScreenOn || mCharging) { in exitForceIdleLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java268 private boolean mScreenOn; field in KeyguardUpdateMonitor
1103 return mScreenOn; in isScreenOn()
2821 mScreenOn = true; in dispatchScreenTurnedOn()
2828 mScreenOn = false; in dispatchScreenTurnedOff()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBuzzBeepBlinkTest.java167 mService.mScreenOn = false; in setUp()
1184 mService.mScreenOn = true; in testLightsScreenOn()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java194 boolean mScreenOn = true; field in ActiveServices
1025 } else if (mScreenOn || aa.mShownWhileScreenOn) { in foregroundAppShownEnoughLocked()
1230 if (mScreenOn != screenOn) { in updateScreenStateLocked()
1231 mScreenOn = screenOn; in updateScreenStateLocked()
1439 active.mShownWhileScreenOn = mScreenOn; in setServiceForegroundInnerLocked()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java452 boolean mScreenOn = true; field in NotificationManagerService
1541 mScreenOn = true;
1544 mScreenOn = false;
1747 mScreenOn = on; in setScreenOn()
6968 if (isInCall() || mScreenOn) {
8122 if (ledNotification == null || isInCall() || mScreenOn) {