Home
last modified time | relevance | path

Searched refs:pluggedIn (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DBatteryControllerExt.kt31 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/
DFakeBatteryController.java93 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/
DPluggedInCondition.kt37 pluggedIn: Boolean, in <lambda>()
40 trySend(pluggedIn) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventCoordinator.kt108 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/
DWiredChargingRippleController.kt63 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/
DKeyguardLogger.kt154 pluggedIn: Boolean, in logUpdateBatteryIndication()
161 bool1 = pluggedIn in logUpdateBatteryIndication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java161 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/
DBatteryController.java144 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/viewmodel/
DKeyguardStatusBarViewModel.kt74 pluggedIn: Boolean, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterViewController.java86 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
87 mView.onBatteryLevelChanged(level, pluggedIn);
DBatteryMeterView.java238 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/
DBstatsCpuTimesValidationTest.java885 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/
DBatteryControllerTest.java298 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in callbackRemovedWhileDispatching_doesntCrash()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt316 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewController.java179 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java1276 public void setPluggedInState(boolean pluggedIn) { in setPluggedInState() argument
1278 if (pluggedIn) { in setPluggedInState()