/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/constraints/trackers/ |
D | BatteryChargingTrackerTest.java | 70 private Intent createBatteryChangedIntent(boolean charging) { in createBatteryChangedIntent() argument 73 int status = charging ? BatteryManager.BATTERY_STATUS_CHARGING in createBatteryChangedIntent() 77 int plugged = charging ? 1 : 0; in createBatteryChangedIntent() 83 private Intent createChargingIntent(boolean charging) { in createChargingIntent() argument 85 charging ? Intent.ACTION_POWER_CONNECTED : Intent.ACTION_POWER_DISCONNECTED); in createChargingIntent() 89 private Intent createChargingIntent_afterApi23(boolean charging) { in createChargingIntent_afterApi23() argument 91 charging ? BatteryManager.ACTION_CHARGING : BatteryManager.ACTION_DISCHARGING); in createChargingIntent_afterApi23()
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/constraints/trackers/ |
D | BatteryChargingTracker.java | 98 boolean charging; in isBatteryChangedIntentCharging() 101 charging = (status == BatteryManager.BATTERY_STATUS_CHARGING in isBatteryChangedIntentCharging() 105 charging = (chargePlug != 0); in isBatteryChangedIntentCharging() 107 return charging; in isBatteryChangedIntentCharging()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/graph/ |
D | BatteryMeterDrawableBaseTest.java | 60 for (boolean charging : bools) { in testDrawingForTypicalValues() 65 mBatteryDrawable.setCharging(charging); in testDrawingForTypicalValues()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 95 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 98 mCharging = charging; in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 55 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 | 346 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 347 if (mBatteryCharging != charging) { in onBatteryLevelChanged() 348 mBatteryCharging = charging; in onBatteryLevelChanged()
|
D | LightBarController.java | 227 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
|
D | StatusBar.java | 159 import com.android.systemui.charging.WirelessChargingAnimation; 929 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 | WirelessChargingView.java | 17 package com.android.systemui.charging;
|
D | WirelessChargingAnimation.java | 17 package com.android.systemui.charging;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 233 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 239 getContext().getString(charging ? R.string.accessibility_battery_level_charging in onBatteryLevelChanged()
|
/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 | 262 private void setChargingState(AppStandbyController controller, boolean charging) { in setChargingState() argument 263 mInjector.mIsCharging = charging; in setChargingState() 265 controller.setChargingState(charging); in setChargingState()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppStandbyController.java | 457 void setChargingState(boolean charging) { in setChargingState() argument 459 if (mCharging != charging) { in setChargingState() 460 mCharging = charging; in setChargingState() 461 if (DEBUG) Slog.d(TAG, "Setting mCharging to " + charging); in setChargingState() 462 if (charging) { in setChargingState()
|
/frameworks/base/core/proto/android/os/ |
D | batterystats.proto | 109 // after charging (lower bound approximation). 150 // calculate an estimate, or if the battery is currently charging. 201 // Battery level steps when the device was charging. 572 // tracked when device is charging.
|
/frameworks/base/services/core/java/com/android/server/ |
D | DeviceIdleController.java | 2025 void updateChargingLocked(boolean charging) { in updateChargingLocked() argument 2026 if (DEBUG) Slog.i(TAG, "updateChargingLocked: charging=" + charging); in updateChargingLocked() 2027 if (!charging && mCharging) { in updateChargingLocked() 2032 } else if (charging) { in updateChargingLocked() 2033 mCharging = charging; in updateChargingLocked()
|
D | EventLogTags.logtags | 10 # This is logged when battery goes from discharging to charging.
|
/frameworks/base/core/proto/android/server/ |
D | jobscheduler.proto | 150 // Minimum # of charging jobs that must be ready in order to force the JMS
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 5226 // ACTION: Usb config has been changed to charging 5900 // ACTION: User has started or ended charging 5905 // Tag FIELD_CHARGING_DURATION: Time in ms phone was charging 5909 // Tag used to determine battery level when device started charging 5912 // Tag used to determine battery level when device ended charging 5915 // Tag used to determine length of charging 5918 // Tag used to determine what type of charging was started/ended 6020 // each bucket represents charging to n/8
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 543 * Logs change in charging status of the device.
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 12343 boolean setChargingLocked(boolean charging) { in setChargingLocked() argument 12344 if (mCharging != charging) { in setChargingLocked() 12345 mCharging = charging; in setChargingLocked() 12346 if (charging) { in setChargingLocked()
|
/frameworks/support/work/integration-tests/testapp/src/main/assets/ |
D | mems.txt | 47 upon his chest and his brows knitted, charging and recharging his
|