Home
last modified time | relevance | path

Searched refs:BatteryStatus (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/proto/android/service/
Dbattery.proto31 enum BatteryStatus { enum
61 BatteryStatus status = 6;
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitorCallback.java43 public void onRefreshBatteryInfo(KeyguardUpdateMonitor.BatteryStatus status) { } in onRefreshBatteryInfo()
DKeyguardUpdateMonitor.java178 private BatteryStatus mBatteryStatus;
213 handleBatteryUpdate((BatteryStatus) msg.obj);
674 MSG_BATTERY_UPDATE, new BatteryStatus(status, level, plugged, health,
846 public static class BatteryStatus { class in KeyguardUpdateMonitor
857 public BatteryStatus(int status, int level, int plugged, int health, in BatteryStatus() method in KeyguardUpdateMonitor.BatteryStatus
1047 mBatteryStatus = new BatteryStatus(BATTERY_STATUS_UNKNOWN, 100, 0, 0, 0); in KeyguardUpdateMonitor()
1360 private void handleBatteryUpdate(BatteryStatus status) { in handleBatteryUpdate()
1501 private static boolean isBatteryUpdateInteresting(BatteryStatus old, BatteryStatus current) { in isBatteryUpdateInteresting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardIndicationController.java313 case KeyguardUpdateMonitor.BatteryStatus.CHARGING_FAST: in computePowerIndication()
318 case KeyguardUpdateMonitor.BatteryStatus.CHARGING_SLOWLY: in computePowerIndication()
381 public void onRefreshBatteryInfo(KeyguardUpdateMonitor.BatteryStatus status) { in onRefreshBatteryInfo()