Home
last modified time | relevance | path

Searched refs:charging (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DChargingView.java73 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
74 mCharging = charging; in onBatteryLevelChanged()
DBatteryMeterView.java164 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
170 getContext().getString(charging ? R.string.accessibility_battery_level_charging in onBatteryLevelChanged()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/
DBatteryMeterDrawableBaseTest.java58 for (boolean charging : bools) { in testDrawingForTypicalValues()
63 mBatteryDrawable.setCharging(charging); in testDrawingForTypicalValues()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java48 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {} in onBatteryLevelChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java224 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
225 if (mBatteryCharging != charging) { in onBatteryLevelChanged()
226 mBatteryCharging = charging; in onBatteryLevelChanged()
DLightBarController.java203 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
DStatusBar.java1091 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in makeStatusBarView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java120 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
123 mCharging = charging; in onBatteryLevelChanged()
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md31 … | ```plugged``` | | Sets charging state (```true```, ```false```)
100 Empty battery, and not charging (red exclamation point)
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java1860 void updateChargingLocked(boolean charging) { in updateChargingLocked() argument
1861 if (DEBUG) Slog.i(TAG, "updateChargingLocked: charging=" + charging); in updateChargingLocked()
1862 if (!charging && mCharging) { in updateChargingLocked()
1867 } else if (charging) { in updateChargingLocked()
1868 mCharging = charging; in updateChargingLocked()
DEventLogTags.logtags10 # This is logged when battery goes from discharging to charging.
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java451 void setChargingState(boolean charging) { in setChargingState() argument
453 if (mCharging != charging) { in setChargingState()
454 mCharging = charging; in setChargingState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java10374 boolean setChargingLocked(boolean charging) { in setChargingLocked() argument
10375 if (mCharging != charging) { in setChargingLocked()
10376 mCharging = charging; in setChargingLocked()
10377 if (charging) { in setChargingLocked()