Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DBatteryManager.java188 public static final int BATTERY_PLUGGED_USB = OsProtoEnums.BATTERY_PLUGGED_USB; // = 2 field in BatteryManager
194 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS;
362 return plugType == BATTERY_PLUGGED_USB || plugType == BATTERY_PLUGGED_AC; in isPlugWired()
DBatteryStats.java6431 case BatteryManager.BATTERY_PLUGGED_USB: in printNextItem()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java70 BatteryManager.BATTERY_PLUGGED_USB | in run()
76 val = BatteryManager.BATTERY_PLUGGED_USB; in run()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java340 … if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_USB) != 0 && mHealthInfo.chargerUsbOnline) { in isPoweredLocked()
478 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()
1048 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_USB; in dumpProto()
/frameworks/base/core/proto/android/os/
Denums.proto43 BATTERY_PLUGGED_USB = 2; enumerator
/frameworks/base/core/java/android/provider/
DSettings.java3142 || (val == BatteryManager.BATTERY_PLUGGED_USB)
3145 | BatteryManager.BATTERY_PLUGGED_USB))
3148 || (val == (BatteryManager.BATTERY_PLUGGED_USB
3151 | BatteryManager.BATTERY_PLUGGED_USB
9756 || (val == BatteryManager.BATTERY_PLUGGED_USB)
9759 | BatteryManager.BATTERY_PLUGGED_USB))
9762 || (val == (BatteryManager.BATTERY_PLUGGED_USB
9765 | BatteryManager.BATTERY_PLUGGED_USB
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DAppStateTrackerTest.java1157 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testSmallBatteryAndPluggedIn()
1181 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testNotSmallBatteryAndPluggedIn()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1355 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
1365 || plugged == BatteryManager.BATTERY_PLUGGED_USB; in isPluggedInWired()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java316 boolean usbCharging = chargePlug == BatteryManager.BATTERY_PLUGGED_USB; in UsbDeviceManager()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3805 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_USB) != 0)); in dumpProto()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3372 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
3531 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/non-updatable-api/
Dcurrent.txt34322 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt34466 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt51667 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_USB:I