Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_USB (Results 1 – 14 of 14) 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.java6379 case BatteryManager.BATTERY_PLUGGED_USB: in printNextItem()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java69 BatteryManager.BATTERY_PLUGGED_USB | in run()
75 val = BatteryManager.BATTERY_PLUGGED_USB; in run()
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java335 … if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_USB) != 0 && mHealthInfo.chargerUsbOnline) { in isPoweredLocked()
468 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()
1037 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.java3111 || (val == BatteryManager.BATTERY_PLUGGED_USB)
3114 | BatteryManager.BATTERY_PLUGGED_USB))
3117 || (val == (BatteryManager.BATTERY_PLUGGED_USB
3120 | BatteryManager.BATTERY_PLUGGED_USB
9606 || (val == BatteryManager.BATTERY_PLUGGED_USB)
9609 | BatteryManager.BATTERY_PLUGGED_USB))
9612 || (val == (BatteryManager.BATTERY_PLUGGED_USB
9615 | 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.java1262 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
1272 || plugged == BatteryManager.BATTERY_PLUGGED_USB; in isPluggedInWired()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java315 boolean usbCharging = chargePlug == BatteryManager.BATTERY_PLUGGED_USB; in UsbDeviceManager()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3757 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_USB) != 0)); in dumpProto()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3369 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
3528 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.txt34028 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt55393 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_USB:I