/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | BatteryControllerExt.kt | 31 pluggedIn: Boolean, in BatteryController() 34 trySend(pluggedIn) in BatteryController() 63 pluggedIn: Boolean, in getBatteryLevel()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeBatteryController.java | 93 public void setPluggedIn(boolean pluggedIn) { in setPluggedIn() argument 94 mIsPluggedIn = pluggedIn; in setPluggedIn() 96 cb.onBatteryLevelChanged(0, pluggedIn, false); in setPluggedIn()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | PluggedInCondition.kt | 37 pluggedIn: Boolean, in <lambda>() 40 trySend(pluggedIn) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/ |
D | SystemEventCoordinator.kt | 108 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged() 111 plugged = pluggedIn in onBatteryLevelChanged() 116 if (plugged != pluggedIn) { in onBatteryLevelChanged() 117 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 | 154 pluggedIn: Boolean, in logUpdateBatteryIndication() 161 bool1 = pluggedIn in logUpdateBatteryIndication()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 161 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument 163 mPluggedIn = pluggedIn; in onBatteryLevelChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 144 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/viewmodel/ |
D | KeyguardStatusBarViewModel.kt | 74 pluggedIn: Boolean, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatteryMeterViewController.java | 86 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { 87 mView.onBatteryLevelChanged(level, pluggedIn);
|
D | BatteryMeterView.java | 238 public void onBatteryLevelChanged(@IntRange(from = 0, to = 100) int level, boolean pluggedIn) { in onBatteryLevelChanged() argument 240 mPluggedIn = pluggedIn; in onBatteryLevelChanged()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BstatsCpuTimesValidationTest.java | 885 private static void assertBatteryState(boolean pluggedIn) throws Exception { in assertBatteryState() argument 887 while (isDevicePluggedIn() != pluggedIn && SystemClock.uptimeMillis() <= endTime) { in assertBatteryState() 890 if (isDevicePluggedIn() != pluggedIn) { in assertBatteryState() 892 + " expected pluggedIn: " + pluggedIn); in assertBatteryState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerTest.java | 298 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in callbackRemovedWhileDispatching_doesntCrash()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | ClockEventController.kt | 316 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardStatusBarViewController.java | 179 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsHistory.java | 1276 public void setPluggedInState(boolean pluggedIn) { in setPluggedInState() argument 1278 if (pluggedIn) { in setPluggedInState()
|