Home
last modified time | relevance | path

Searched refs:mIsCharging (Results 1 – 2 of 2) 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/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java134 boolean mIsCharging; field in AppStandbyControllerTests.MyInjector
170 return mIsCharging; in isCharging()
276 mInjector.mIsCharging = charging; in setChargingState()