Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/os/
DCachedDeviceState.java55 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/
DAnimatableClockController.java94 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/
DBatteryInputSuspendTest.java117 boolean charging = isCharging(); in waitForChargerState()
118 if (charging == mExpectedChargingState) { in waitForChargerState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt97 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/
DBatteryMeterDrawableBaseTest.java63 for (boolean charging : bools) { in testDrawingForTypicalValues()
68 mBatteryDrawable.setCharging(charging); in testDrawingForTypicalValues()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java152 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/
DBatteryController.java101 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/charging/
DWiredChargingRippleController.kt17 package com.android.systemui.statusbar.charging
94 charging: Boolean in onBatteryLevelChanged()
DRippleShader.kt16 package com.android.systemui.statusbar.charging
DChargingRippleView.kt17 package com.android.systemui.statusbar.charging in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingLayout.java17 package com.android.systemui.charging;
37 import com.android.systemui.statusbar.charging.ChargingRippleView;
DWirelessChargingAnimation.java17 package com.android.systemui.charging;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventCoordinator.kt84 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java392 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
393 if (mBatteryCharging != charging) { in onBatteryLevelChanged()
394 mBatteryCharging = charging; in onBatteryLevelChanged()
DStatusBar.java33 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/
DAuthRippleView.kt31 import com.android.systemui.statusbar.charging.RippleShader in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/charging/
DWiredChargingRippleControllerTest.kt17 package com.android.systemui.statusbar.charging
/frameworks/base/packages/SystemUI/docs/
Ddemo_mode.md31 … | ```plugged``` | | Sets charging state (```true```, ```false```)
101 Empty battery, and not charging (red exclamation point)
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java102 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
/frameworks/base/core/proto/android/os/
Dbatterystats.proto113 // 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/
DStatusBarPhoneModule.java65 import com.android.systemui.statusbar.charging.WiredChargingRippleController;
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java289 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags10 # This is logged when battery goes from discharging to charging.
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java452 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/
DDeviceIdleController.java3092 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()

12