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.java95 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
97 mPluggedIn = pluggedIn; in onBatteryLevelChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java55 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {} in onBatteryLevelChanged() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java233 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
235 mDrawable.setCharging(pluggedIn); in onBatteryLevelChanged()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBstatsCpuTimesValidationTest.java978 private static void assertBatteryState(boolean pluggedIn) throws Exception { in assertBatteryState() argument
980 while (isDevicePluggedIn() != pluggedIn && SystemClock.uptimeMillis() <= endTime) { in assertBatteryState()
983 if (isDevicePluggedIn() != pluggedIn) { in assertBatteryState()
985 + " expected pluggedIn: " + pluggedIn); in assertBatteryState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLightBarController.java227 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
DKeyguardStatusBarView.java346 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() argument
DStatusBar.java929 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in makeStatusBarView()