/frameworks/base/core/java/com/android/internal/os/ |
D | CachedDeviceState.java | 55 public void setCharging(boolean charging) { in setCharging() argument 56 if (mCharging != charging) { in setCharging() 57 mCharging = charging; in setCharging() 58 updateStopwatches(/* shouldStart= */ !charging); in setCharging()
|
D | BatteryStatsImpl.java | 12026 boolean setChargingLocked(boolean charging) { in setChargingLocked() argument 12035 if (mCharging != charging) { in setChargingLocked() 12036 mCharging = charging; in setChargingLocked() 12037 if (charging) { in setChargingLocked()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | ThemedBatteryDrawable.kt | 97 var charging = false in <lambda>() variable 204 if (charging) { in <lambda>() 230 if (batteryLevel <= Companion.CRITICAL_LEVEL && !charging) { in <lambda>() 238 if (charging) { in <lambda>() 256 charging || powerSaveEnabled -> fillColor in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 111 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 114 mCharging = charging; in onBatteryLevelChanged()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBaseTest.java | 63 for (boolean charging : bools) { in testDrawingForTypicalValues() 68 mBatteryDrawable.setCharging(charging); in testDrawingForTypicalValues()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 56 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarView.java | 355 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 356 if (mBatteryCharging != charging) { in onBatteryLevelChanged() 357 mBatteryCharging = charging; in onBatteryLevelChanged()
|
D | LightBarController.java | 248 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
|
D | StatusBar.java | 149 import com.android.systemui.charging.WirelessChargingAnimation; 919 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in makeStatusBarView()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WirelessChargingLayout.java | 17 package com.android.systemui.charging;
|
D | WirelessChargingAnimation.java | 17 package com.android.systemui.charging;
|
/frameworks/base/packages/SystemUI/docs/ |
D | demo_mode.md | 31 … | ```plugged``` | | Sets charging state (```true```, ```false```) 101 Empty battery, and not charging (red exclamation point)
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 275 private void setChargingState(AppStandbyController controller, boolean charging) { in setChargingState() argument 276 mInjector.mIsCharging = charging; in setChargingState() 278 controller.setChargingState(charging); in setChargingState()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 500 void setChargingState(boolean charging) { in setChargingState() argument 502 if (mCharging != charging) { in setChargingState() 503 mCharging = charging; in setChargingState() 504 if (DEBUG) Slog.d(TAG, "Setting mCharging to " + charging); in setChargingState() 505 if (charging) { in setChargingState()
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 113 // after charging (lower bound approximation). 154 // calculate an estimate, or if the battery is currently charging. 205 // Battery level steps when the device was charging. 576 // tracked when device is charging.
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 319 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | EventLogTags.logtags | 10 # This is logged when battery goes from discharging to charging.
|
D | DeviceIdleController.java | 2736 void updateChargingLocked(boolean charging) { in updateChargingLocked() argument 2737 if (DEBUG) Slog.i(TAG, "updateChargingLocked: charging=" + charging); in updateChargingLocked() 2738 if (!charging && mCharging) { in updateChargingLocked() 2743 } else if (charging) { in updateChargingLocked() 2744 mCharging = charging; in updateChargingLocked()
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 5310 // ACTION: Usb config has been changed to charging 5984 // ACTION: User has started or ended charging 5989 // Tag FIELD_CHARGING_DURATION: Time in ms phone was charging 5993 // Tag used to determine battery level when device started charging 5996 // Tag used to determine battery level when device ended charging 5999 // Tag used to determine length of charging 6002 // Tag used to determine what type of charging was started/ended 6104 // each bucket represents charging to n/8
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 157 // Minimum # of charging jobs that must be ready in order to force the JMS
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 1033 * Logs change in charging status of the device. 3722 * 2) charging from 50% to 100% and draining back to 50% twice.
|