Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java111 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
113 mPluggedIn = pluggedIn; in onBatteryLevelChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java56 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java319 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
320 mDrawable.setCharging(pluggedIn); in onBatteryLevelChanged()
322 mCharging = pluggedIn; in onBatteryLevelChanged()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java980 private static void assertBatteryState(boolean pluggedIn) throws Exception { in assertBatteryState() argument
982 while (isDevicePluggedIn() != pluggedIn && SystemClock.uptimeMillis() <= endTime) { in assertBatteryState()
985 if (isDevicePluggedIn() != pluggedIn) { in assertBatteryState()
987 + " expected pluggedIn: " + pluggedIn); in assertBatteryState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java248 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
DKeyguardStatusBarView.java355 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
DStatusBar.java919 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in makeStatusBarView()