/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ChargingView.java | 39 private boolean mCharging; field in ChargingView 74 mCharging = charging; in onBatteryLevelChanged() 89 setVisibility(mCharging && mDark ? VISIBLE : INVISIBLE); in updateVisibility()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 52 protected boolean mCharging; field in BatteryControllerImpl 81 pw.print(" mCharging="); pw.println(mCharging); in dump() 97 cb.onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in addCallback() 122 mCharging = mCharged || status == BatteryManager.BATTERY_STATUS_CHARGING; in onReceive() 184 mChangeCallbacks.get(i).onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in fireBatteryLevelChanged()
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
D | BatteryController.java | 129 private boolean mCharging; field in BatteryController.ChargingTracker 155 mCharging = batteryManagerInternal.isPowered(BatteryManager.BATTERY_PLUGGED_ANY); in startTracking() 179 return mCharging && mBatteryHealthy; in isOnStablePower() 225 mCharging = true; in onReceiveInternal() 231 mCharging = false; in onReceiveInternal()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBase.java | 51 private boolean mCharging; field in BatteryMeterDrawableBase 173 mCharging = val; in setCharging() 178 return mCharging; in getCharging() 290 mBatteryPaint.setColor(mCharging ? mChargeColor : getColorForLevel(level)); in draw() 313 if (mCharging) { in draw() 384 if (!mCharging && !mPowerSaveEnabled && level > mCriticalLevel && mShowPercent) { in draw() 412 if (!mCharging && !mPowerSaveEnabled) { in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 57 private boolean mCharging; field in BatterySaverTile 110 state.state = mCharging ? Tile.STATE_UNAVAILABLE in handleUpdateState() 123 mCharging = charging; in onBatteryLevelChanged() 202 if (mCharging) { in bindView()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | BatteryInfo.java | 41 private boolean mCharging; field in BatteryInfo 58 mCharging); in bindHistory() 136 info.mCharging = batteryBroadcast.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in getBatteryInfo() 140 if (!info.mCharging) { in getBatteryInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 83 private boolean mCharging = false; field in UiModeManagerService 162 mCharging = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0); 569 boolean keepScreenOn = mCharging && in updateLocked()
|
D | DeviceIdleController.java | 139 private boolean mCharging; field in DeviceIdleController 1383 mCharging = true; in onStart() 1862 if (!charging && mCharging) { in updateChargingLocked() 1863 mCharging = false; in updateChargingLocked() 1868 mCharging = charging; in updateChargingLocked() 1899 if ((!mScreenOn && !mCharging) || mForceIdle) { in becomeInactiveIfAppropriateLocked() 1937 if (mScreenOn || mCharging) { in exitForceIdleLocked() 2747 case "charging": pw.println(mCharging); break; in onShellCommand() 3101 pw.print(" mCharging="); pw.println(mCharging); in dump()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsService.java | 157 boolean mCharging; field in UsageStatsService 453 if (mCharging != charging) { in setChargingState() 454 mCharging = charging; in setChargingState() 480 return mAppIdleTempParoled || mCharging; in isParoledOrCharging() 1223 pw.print(" mCharging="); pw.print(mCharging); in dump() 1290 + ", Charging state:" + mCharging); in handleMessage()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 204 action = mCharging ? BatteryManager.ACTION_CHARGING in handleMessage() 513 boolean mCharging = true; field in BatteryStatsImpl 9211 return mCharging; in isCharging() 10375 if (mCharging != charging) { in setChargingLocked() 10376 mCharging = charging; in setChargingLocked() 10451 if (mCharging) { in setOnBatteryLocked() 10682 } if (!mCharging) { in setBatteryStateLocked()
|