/frameworks/base/core/java/android/os/ |
D | BatteryManager.java | 188 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()
|
D | BatteryStats.java | 6412 case BatteryManager.BATTERY_PLUGGED_USB: in printNextItem()
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/validators/ |
D | GlobalSettingsValidators.java | 53 || (val == BatteryManager.BATTERY_PLUGGED_USB) in VALIDATORS.put() 57 | BatteryManager.BATTERY_PLUGGED_USB)) in VALIDATORS.put() 62 == (BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put() 66 | BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()
|
D | SystemSettingsValidators.java | 58 || (val == BatteryManager.BATTERY_PLUGGED_USB) in VALIDATORS.put() 62 | BatteryManager.BATTERY_PLUGGED_USB)) in VALIDATORS.put() 67 == (BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put() 71 | BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatteryStatus.java | 92 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn() 103 || plugged == BatteryManager.BATTERY_PLUGGED_USB; in isPluggedInWired()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 70 BatteryManager.BATTERY_PLUGGED_USB | in run() 76 val = BatteryManager.BATTERY_PLUGGED_USB; in run()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BatteryService.java | 339 … if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_USB) != 0 && mHealthInfo.chargerUsbOnline) { in isPoweredLocked() 476 mPlugType = BatteryManager.BATTERY_PLUGGED_USB; in processValuesLocked() 1048 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_USB; in dumpProto()
|
/frameworks/base/core/proto/android/os/ |
D | enums.proto | 43 BATTERY_PLUGGED_USB = 2; enumerator
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | AppStateTrackerTest.java | 1167 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testSmallBatteryAndPluggedIn() 1191 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testNotSmallBatteryAndPluggedIn()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | ValueMetric_pull_e2e_test.cpp | 191 configAddedTimeNs + 50, BatteryPluggedStateEnum::BATTERY_PLUGGED_USB); in TEST()
|
D | CountMetric_e2e_test.cpp | 104 bucketStartTimeNs + 50, BatteryPluggedStateEnum::BATTERY_PLUGGED_USB); in TEST()
|
D | DurationMetric_e2e_test.cpp | 950 BatteryPluggedStateEnum::BATTERY_PLUGGED_USB)); // 3:10 in TEST()
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.cpp | 157 BatteryPluggedStateEnum::BATTERY_PLUGGED_USB); in CreateBatteryStateUsbMatcher()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 318 boolean usbCharging = chargePlug == BatteryManager.BATTERY_PLUGGED_USB; in UsbDeviceManager()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PowerManagerService.java | 4218 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_USB) != 0));
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BatteryStatsImpl.java | 3376 } else if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt() 3533 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 21364 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
|
/frameworks/base/api/ |
D | current.txt | 35736 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
|