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.java180 public static final int BATTERY_PLUGGED_USB = OsProtoEnums.BATTERY_PLUGGED_USB; // = 2 field in BatteryManager
186 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS;
354 return plugType == BATTERY_PLUGGED_USB || plugType == BATTERY_PLUGGED_AC; in isPlugWired()
DBatteryStats.java6268 case BatteryManager.BATTERY_PLUGGED_USB: in printNextItem()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java56 BatteryManager.BATTERY_PLUGGED_USB | in run()
62 val = BatteryManager.BATTERY_PLUGGED_USB; in run()
/frameworks/base/core/proto/android/os/
Denums.proto43 BATTERY_PLUGGED_USB = 2; enumerator
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java335 … if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_USB) != 0 && mHealthInfo.chargerUsbOnline) { in isPoweredLocked()
445 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked()
1013 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_USB; in dumpProto()
/frameworks/base/core/java/android/provider/
DSettings.java2825 || (val == BatteryManager.BATTERY_PLUGGED_USB)
2828 | BatteryManager.BATTERY_PLUGGED_USB))
2831 || (val == (BatteryManager.BATTERY_PLUGGED_USB
2834 | BatteryManager.BATTERY_PLUGGED_USB
8692 || (val == BatteryManager.BATTERY_PLUGGED_USB)
8695 | BatteryManager.BATTERY_PLUGGED_USB))
8698 || (val == (BatteryManager.BATTERY_PLUGGED_USB
8701 | BatteryManager.BATTERY_PLUGGED_USB
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAppStateTrackerTest.java1156 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testSmallBatteryAndPluggedIn()
1180 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testNotSmallBatteryAndPluggedIn()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1001 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
1011 || plugged == BatteryManager.BATTERY_PLUGGED_USB; in isPluggedInWired()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java325 boolean usbCharging = chargePlug == BatteryManager.BATTERY_PLUGGED_USB; in UsbDeviceManager()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3632 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_USB) != 0)); in dumpProto()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java3438 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
3597 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/config/
Dhiddenapi-public-dex.txt30484 Landroid/os/BatteryManager;->BATTERY_PLUGGED_USB:I
/frameworks/base/api/
Dcurrent.txt32074 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2