Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_USB (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java55 BatteryManager.BATTERY_PLUGGED_USB | in run()
61 val = BatteryManager.BATTERY_PLUGGED_USB; in run()
/frameworks/base/core/java/android/os/
DBatteryManager.java125 public static final int BATTERY_PLUGGED_USB = 2; field in BatteryManager
131 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS;
DBatteryStats.java4411 case BatteryManager.BATTERY_PLUGGED_USB: in printNextItem()
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dbattery-monitoring.jd55 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
84 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dbattery-monitoring.jd55 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
84 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dbattery-monitoring.jd55 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
84 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dbattery-monitoring.jd55 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
84 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
/frameworks/base/docs/html/training/monitoring-device-state/
Dbattery-monitoring.jd69 boolean usbCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_USB;
108 boolean usbCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_USB;
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/
Dbattery-monitoring.jd55 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
84 boolean usbCharge = chargePlug == BATTERY_PLUGGED_USB;
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java232 … if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_USB) != 0 && mBatteryProps.chargerUsbOnline) { in isPoweredLocked()
314 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java739 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1981 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
2142 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()
/frameworks/base/api/
Dcurrent.txt22599 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
Dsystem-current.txt24543 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2