Searched refs:BATTERY_PLUGGED_AC (Results 1 – 17 of 17) sorted by relevance
186 public static final int BATTERY_PLUGGED_AC = OsProtoEnums.BATTERY_PLUGGED_AC; // = 1 field in BatteryManager194 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS;362 return plugType == BATTERY_PLUGGED_USB || plugType == BATTERY_PLUGGED_AC; in isPlugWired()
6428 case BatteryManager.BATTERY_PLUGGED_AC: in printNextItem()
69 val = BatteryManager.BATTERY_PLUGGED_AC | in run()78 val = BatteryManager.BATTERY_PLUGGED_AC; in run()
129 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyReportsCharging()164 intentPluggedIn.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_AC); in correctlyTracksTimeOnBattery()
175 dummy.putExtra("plugged", incr > 0 ? BatteryManager.BATTERY_PLUGGED_AC in onReceive()
339 executeCommand("cmd battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in turnBatteryOff()
337 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_AC) != 0 && mHealthInfo.chargerAcOnline) { in isPoweredLocked()476 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked()1046 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_AC; in dumpProto()
41 BATTERY_PLUGGED_AC = 1; enumerator
3141 || (val == BatteryManager.BATTERY_PLUGGED_AC)3144 || (val == (BatteryManager.BATTERY_PLUGGED_AC3146 || (val == (BatteryManager.BATTERY_PLUGGED_AC3150 || (val == (BatteryManager.BATTERY_PLUGGED_AC9755 || (val == BatteryManager.BATTERY_PLUGGED_AC)9758 || (val == (BatteryManager.BATTERY_PLUGGED_AC9760 || (val == (BatteryManager.BATTERY_PLUGGED_AC9764 || (val == (BatteryManager.BATTERY_PLUGGED_AC
919 executeCmd("dumpsys battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in batteryOff()
1354 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn()1364 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedInWired()
1019 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, BatteryManager.BATTERY_PLUGGED_AC); in updateSettingsLocked()3801 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_AC) != 0)); in dumpProto()
3370 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()3528 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
21363 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
34321 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
34465 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
51665 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_AC:I