Searched refs:BATTERY_PLUGGED_USB (Results 1 – 22 of 22) sorted by relevance
104 mBatteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in setUp()122 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_highBatteryLevel()128 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_highBatteryLevel()143 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_highBatteryLevel()159 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_significantCharge()165 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_significantCharge()174 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_significantCharge()187 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_significantCharge()202 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_manyPartialCharges()211 plugBattery(BatteryManager.BATTERY_PLUGGED_USB); in testResetOnUnplug_manyPartialCharges()[all …]
94 BatteryManager.BATTERY_PLUGGED_USB, 80, 72, 3700, 2_400_000, 4_000_000, 100, in testDischargeTotals()
206 public static final int BATTERY_PLUGGED_USB = OsProtoEnums.BATTERY_PLUGGED_USB; // = 2 field in BatteryManager280 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS572 return plugType == BATTERY_PLUGGED_USB || plugType == BATTERY_PLUGGED_AC; in isPlugWired()
7088 case BatteryManager.BATTERY_PLUGGED_USB: in printNextItem()
68 | BatteryManager.BATTERY_PLUGGED_USB in run()75 val = BatteryManager.BATTERY_PLUGGED_USB; in run()
59 || (val == BatteryManager.BATTERY_PLUGGED_USB) in VALIDATORS.put()64 | BatteryManager.BATTERY_PLUGGED_USB)) in VALIDATORS.put()69 == (BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()73 | BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()79 == (BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()
66 || (val == BatteryManager.BATTERY_PLUGGED_USB) in VALIDATORS.put()71 | BatteryManager.BATTERY_PLUGGED_USB)) in VALIDATORS.put()79 == (BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()82 == (BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()89 | BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()93 | BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()96 == (BatteryManager.BATTERY_PLUGGED_USB in VALIDATORS.put()
24 import android.os.BatteryManager.BATTERY_PLUGGED_USB177 arrayOf("withUSB_returnsTrue", BATTERY_PLUGGED_USB, true), in parameters()210 arrayOf("withUSB_returnsTrue", BATTERY_PLUGGED_USB, false), in parameters()
109 || plugged == BatteryManager.BATTERY_PLUGGED_USB; in isPluggedInWired()240 || plugged == BatteryManager.BATTERY_PLUGGED_USB in isPluggedIn()
19 import static android.os.BatteryManager.BATTERY_PLUGGED_USB;335 Intent nonWirelessChargingIntent = getBatteryChangedIntent(BATTERY_PLUGGED_USB); in shouldIgnoreVibration_onNonWirelessChargerWhenSystemReady_allowsAnyUsage()359 Intent nonWirelessChargingIntent = getBatteryChangedIntent(BATTERY_PLUGGED_USB); in shouldIgnoreVibration_receivesWirelessChargingIntent_doesNotAllowFromAnyUsage()383 Intent nonWirelessChargingIntent = getBatteryChangedIntent(BATTERY_PLUGGED_USB); in shouldIgnoreVibration_receivesNonWirelessChargingIntent_allowsAnyUsage()
391 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in getBatteryStatus_batteryLevel99_returnChargingString()424 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in getBatteryStatus_chargingAndUseCompactStatus_returnCompactString()
178 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_USB; in readHistoryDelta()
2233 } else if ((h.batteryPlugType & BatteryManager.BATTERY_PLUGGED_USB) != 0) { in buildStateInt()
373 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_USB) != 0 in isPoweredLocked()495 return BatteryManager.BATTERY_PLUGGED_USB; in plugType()1273 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_USB; in dumpProto()
46 BATTERY_PLUGGED_USB = 2; enumerator
1655 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testSmallBatteryAndPluggedIn()1679 intent.putExtra(BatteryManager.EXTRA_PLUGGED, BatteryManager.BATTERY_PLUGGED_USB); in testNotSmallBatteryAndPluggedIn()
369 boolean usbCharging = chargePlug == BatteryManager.BATTERY_PLUGGED_USB; in UsbDeviceManager()
5148 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_USB) != 0));
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
21364 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
32580 field public static final int BATTERY_PLUGGED_USB = 2; // 0x2
37146 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_USB:I