Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventCoordinator.kt84 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged()
87 plugged = pluggedIn in onBatteryLevelChanged()
92 if (plugged != pluggedIn) { in onBatteryLevelChanged()
93 plugged = pluggedIn in onBatteryLevelChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/charging/
DWiredChargingRippleController.kt63 private var pluggedIn: Boolean? = null variable
89 pluggedIn = batteryController.isPluggedIn
101 val wasPluggedIn = pluggedIn in onBatteryLevelChanged()
102 pluggedIn = nowPluggedIn in onBatteryLevelChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java152 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
154 mPluggedIn = pluggedIn; 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/
DBatteryMeterView.java289 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
290 mDrawable.setCharging(pluggedIn); in onBatteryLevelChanged()
292 mCharging = pluggedIn; in onBatteryLevelChanged()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAnimatableClockController.java94 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java1005 private static void assertBatteryState(boolean pluggedIn) throws Exception { in assertBatteryState() argument
1007 while (isDevicePluggedIn() != pluggedIn && SystemClock.uptimeMillis() <= endTime) { in assertBatteryState()
1010 if (isDevicePluggedIn() != pluggedIn) { in assertBatteryState()
1012 + " expected pluggedIn: " + pluggedIn); in assertBatteryState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java102 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarView.java392 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
DStatusBar.java1428 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument