Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDeviceStateMonitor.java152 private boolean mIsCharging; field in DeviceStateMonitor
280 mIsCharging = isDeviceCharging(); in DeviceStateMonitor()
289 + ", mIsCharging=" + mIsCharging in DeviceStateMonitor()
318 return !mIsCharging && !mIsTetheringOn && !mIsScreenOn; in isLowDataExpected()
331 } else if (mIsScreenOn && mIsCharging) { in computeCellInfoMinInterval()
351 return mIsAlwaysSignalStrengthReportingEnabled || mIsCharging || mIsScreenOn; in shouldEnableSignalStrengthReports()
407 return mIsCharging || mIsScreenOn || mIsTetheringOn || mIsCarModeOn; in shouldEnableHighPowerConsumptionIndications()
486 if (mIsCharging == state) return; in onUpdateDeviceState()
487 mIsCharging = state; in onUpdateDeviceState()
488 sendDeviceState(CHARGING_STATE, mIsCharging); in onUpdateDeviceState()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java326 private boolean mIsCharging; field in AppStandbyController
608 if (mIsCharging != isCharging) { in setChargingState()
610 mIsCharging = isCharging; in setChargingState()
618 return !mAppIdleEnabled || mIsCharging; in isInParole()
1151 if (!mAppIdleEnabled || mIsCharging) { in isAppIdleFiltered()
1886 pw.print(mIsCharging); in dumpState()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java172 boolean mIsCharging; field in AppStandbyControllerTests.MyInjector
212 return mIsCharging; in isCharging()
348 mInjector.mIsCharging = charging; in setChargingState()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DQuotaController.java1136 private boolean mIsCharging; field in QuotaController.TimerChargingUpdateFunctor
1140 mIsCharging = isCharging; in setStatus()
1149 timer.onStateChangedLocked(mNowElapsed, mIsCharging); in accept()