Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventCoordinator.kt86 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/
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.kt102 pluggedIn: Boolean, in logUpdateBatteryIndication()
109 bool1 = pluggedIn in logUpdateBatteryIndication()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DPluggedInCondition.kt34 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java160 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/
DBatteryMeterViewController.java79 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
80 mView.onBatteryLevelChanged(level, pluggedIn);
DBatteryMeterView.java204 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/
DBatteryController.java141 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java872 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/
DFalsingCollectorImpl.java106 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt233 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewController.java162 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {