Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_USB (Results 1 – 10 of 10) 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()
/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
9594 || (val == BatteryManager.BATTERY_PLUGGED_USB)
9597 | BatteryManager.BATTERY_PLUGGED_USB))
9600 || (val == (BatteryManager.BATTERY_PLUGGED_USB
9603 | 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/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...