Searched refs:pluggedIn (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventCoordinator.kt | 86 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged() 89 plugged = pluggedIn in onBatteryLevelChanged() 94 if (plugged != pluggedIn) { in onBatteryLevelChanged() 95 plugged = pluggedIn in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WiredChargingRippleController.kt | 63 private var pluggedIn: Boolean = false variable 89 pluggedIn = batteryController.isPluggedIn 108 if (!pluggedIn && nowPluggedIn) { in registerCallbacks() 111 pluggedIn = nowPluggedIn in registerCallbacks()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/ |
D | KeyguardLogger.kt | 102 pluggedIn: Boolean, in logUpdateBatteryIndication() 109 bool1 = pluggedIn in logUpdateBatteryIndication()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | PluggedInCondition.kt | 34 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 160 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 162 mPluggedIn = pluggedIn; in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatteryMeterViewController.java | 79 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { 80 mView.onBatteryLevelChanged(level, pluggedIn);
|
D | BatteryMeterView.java | 204 public void onBatteryLevelChanged(@IntRange(from = 0, to = 100) int level, boolean pluggedIn) { in onBatteryLevelChanged() argument 205 mDrawable.setCharging(pluggedIn); in onBatteryLevelChanged() 207 mCharging = pluggedIn; in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 141 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BstatsCpuTimesValidationTest.java | 872 private static void assertBatteryState(boolean pluggedIn) throws Exception { in assertBatteryState() argument 874 while (isDevicePluggedIn() != pluggedIn && SystemClock.uptimeMillis() <= endTime) { in assertBatteryState() 877 if (isDevicePluggedIn() != pluggedIn) { in assertBatteryState() 879 + " expected pluggedIn: " + pluggedIn); in assertBatteryState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingCollectorImpl.java | 106 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | ClockEventController.kt | 233 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarViewController.java | 162 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
|