/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()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | AnimatableClockController.java | 94 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { 95 if (mKeyguardShowing && !mIsCharging && charging) { 98 mIsCharging = charging;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryInputSuspendTest.java | 117 boolean charging = isCharging(); in waitForChargerState() 118 if (charging == mExpectedChargingState) { in waitForChargerState()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | ThemedBatteryDrawable.kt | 97 var charging = false in <lambda>() variable 205 if (charging) { in <lambda>() 231 if (batteryLevel <= Companion.CRITICAL_LEVEL && !charging) { in <lambda>() 239 if (charging) { in <lambda>() 257 charging || powerSaveEnabled -> fillColor in <lambda>()
|
/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/qs/tiles/ |
D | BatterySaverTile.java | 152 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 155 mCharging = charging; in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 101 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/charging/ |
D | WiredChargingRippleController.kt | 17 package com.android.systemui.statusbar.charging 94 charging: Boolean in onBatteryLevelChanged()
|
D | RippleShader.kt | 16 package com.android.systemui.statusbar.charging
|
D | ChargingRippleView.kt | 17 package com.android.systemui.statusbar.charging in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WirelessChargingLayout.java | 17 package com.android.systemui.charging; 37 import com.android.systemui.statusbar.charging.ChargingRippleView;
|
D | WirelessChargingAnimation.java | 17 package com.android.systemui.charging;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventCoordinator.kt | 84 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarView.java | 392 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 393 if (mBatteryCharging != charging) { in onBatteryLevelChanged() 394 mBatteryCharging = charging; in onBatteryLevelChanged()
|
D | StatusBar.java | 33 import static com.android.systemui.charging.WirelessChargingLayout.UNKNOWN_BATTERY_LEVEL; 156 import com.android.systemui.charging.WirelessChargingAnimation; 214 import com.android.systemui.statusbar.charging.WiredChargingRippleController; 1428 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthRippleView.kt | 31 import com.android.systemui.statusbar.charging.RippleShader in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/charging/ |
D | WiredChargingRippleControllerTest.kt | 17 package com.android.systemui.statusbar.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/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingCollectorImpl.java | 102 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
|
/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/statusbar/phone/dagger/ |
D | StatusBarPhoneModule.java | 65 import com.android.systemui.statusbar.charging.WiredChargingRippleController;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 289 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.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/ |
D | AppStandbyControllerTests.java | 452 private void setChargingState(AppStandbyController controller, boolean charging) { in setChargingState() argument 453 mInjector.mIsCharging = charging; in setChargingState() 455 controller.setChargingState(charging); in setChargingState()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 3092 void updateChargingLocked(boolean charging) { in updateChargingLocked() argument 3093 if (DEBUG) Slog.i(TAG, "updateChargingLocked: charging=" + charging); in updateChargingLocked() 3094 if (!charging && mCharging) { in updateChargingLocked() 3099 } else if (charging) { in updateChargingLocked() 3100 mCharging = charging; in updateChargingLocked()
|