/frameworks/base/core/java/com/android/internal/os/ |
D | CachedDeviceState.java | 35 private volatile boolean mCharging; field in CachedDeviceState 41 mCharging = true; in CachedDeviceState() 47 mCharging = isCharging; in CachedDeviceState() 56 if (mCharging != charging) { in setCharging() 57 mCharging = charging; in setCharging() 84 return mCharging; in isCharging() 96 if (!mCharging) { in createTimeOnBatteryStopwatch()
|
D | BatteryStatsImpl.java | 409 action = mCharging ? BatteryManager.ACTION_CHARGING in handleMessage() 932 boolean mCharging = true; field in BatteryStatsImpl 10391 return mCharging; in isCharging() 12035 if (mCharging != charging) { in setChargingLocked() 12036 mCharging = charging; in setChargingLocked() 12114 if (mCharging) { in setOnBatteryLocked() 12372 } else if (!mCharging) { in setBatteryStateLocked()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | BatteryController.java | 115 private boolean mCharging; field in BatteryController.ChargingTracker 141 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking() 165 return mCharging && mBatteryHealthy; in isOnStablePower() 211 mCharging = true; in onReceiveInternal() 217 mCharging = false; in onReceiveInternal()
|
D | QuotaController.java | 1450 private boolean mCharging; field in QuotaController.ChargingTracker 1466 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking() 1470 return mCharging; in isCharging() 1482 mCharging = true; in onReceive() 1488 mCharging = false; in onReceive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 69 protected boolean mCharging; field in BatteryControllerImpl 110 pw.print(" mCharging="); pw.println(mCharging); in dump() 126 cb.onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in addCallback() 151 mCharging = mCharged || status == BatteryManager.BATTERY_STATUS_CHARGING; in onReceive() 289 mChangeCallbacks.get(i).onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in fireBatteryLevelChanged()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 58 private boolean mCharging; field in BatteryMeterDrawableBase 191 mCharging = val; in setCharging() 196 return mCharging; in getCharging() 306 return (mCharging || (mPowerSaveEnabled && mPowerSaveAsColorError)) in batteryColorForLevel() 363 if (mCharging) { in draw() 431 if (!mCharging && !mPowerSaveEnabled && level > mCriticalLevel && mShowPercent) { in draw() 459 if (!mCharging && !mPowerSaveEnabled) { in draw() 472 if (!mCharging && mPowerSaveEnabled && mPowerSaveAsColorError) { in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 41 private boolean mCharging; field in BatterySaverTile 114 mCharging = charging; in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 99 private boolean mCharging; field in BatteryMeterView 322 mCharging = pluggedIn; in onBatteryLevelChanged() 354 if (mShowPercentMode == MODE_ESTIMATE && !mCharging) { in updatePercentText() 370 getContext().getString(mCharging ? R.string.accessibility_battery_level_charging in updatePercentText() 379 getContext().getString(mCharging ? R.string.accessibility_battery_level_charging in setPercentTextAtCurrentLevel()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 252 boolean mCharging; field in AppStandbyController 502 if (mCharging != charging) { in setChargingState() 503 mCharging = charging; in setChargingState() 522 if (mChargingStable != mCharging) { in updateChargingStableState() 523 if (DEBUG) Slog.d(TAG, "Setting mChargingStable to " + mCharging); in updateChargingStableState() 524 mChargingStable = mCharging; in updateChargingStableState() 1561 pw.print(" mCharging="); pw.print(mCharging); in dumpState()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 298 private boolean mCharging; field in DeviceIdleController 2036 mCharging = true; in onStart() 2732 return mCharging; in isCharging() 2738 if (!charging && mCharging) { in updateChargingLocked() 2739 mCharging = false; in updateChargingLocked() 2744 mCharging = charging; in updateChargingLocked() 2876 + " mCharging=" + mCharging in becomeInactiveIfAppropriateLocked() 2880 if (!mForceIdle && (mCharging || isScreenBlockingInactive)) { in becomeInactiveIfAppropriateLocked() 2948 if (mScreenOn || mCharging) { in exitForceIdleLocked() 4033 case "charging": pw.println(mCharging); break; in onShellCommand() [all …]
|
D | UiModeManagerService.java | 100 private boolean mCharging = false; field in UiModeManagerService 204 mCharging = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; 1021 boolean keepScreenOn = mCharging && in updateLocked()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 88675 Lcom/android/internal/os/BatteryStatsImpl;->mCharging:Z
|