Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_USB (Results 1 – 19 of 19) 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.java146 public static final int BATTERY_PLUGGED_USB = 2; field in BatteryManager
152 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS;
DBatteryStats.java4767 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.jd71 boolean usbCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_USB;
110 boolean usbCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_USB;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java134 } else if (plugType == BatteryManager.BATTERY_PLUGGED_USB) { in getBatteryStatus()
DBatteryInfo.java172 } else if (plugType == BatteryManager.BATTERY_PLUGGED_USB) { in getBatteryInfo()
/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.java249 … if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_USB) != 0 && mBatteryProps.chargerUsbOnline) { in isPoweredLocked()
331 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()
/frameworks/base/docs/html/work/
Dcosu.jd375 BatteryManager.BATTERY_PLUGGED_USB |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java843 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2378 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
2537 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21364 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt28156 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
Dsystem-current.txt30596 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
Dtest-current.txt28225 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2