Searched refs:BATTERY_PLUGGED_AC (Results 1 – 16 of 16) sorted by relevance
178 public static final int BATTERY_PLUGGED_AC = OsProtoEnums.BATTERY_PLUGGED_AC; // = 1 field in BatteryManager186 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS;354 return plugType == BATTERY_PLUGGED_USB || plugType == BATTERY_PLUGGED_AC; in isPlugWired()
6265 case BatteryManager.BATTERY_PLUGGED_AC: in printNextItem()
55 val = BatteryManager.BATTERY_PLUGGED_AC | in run()64 val = BatteryManager.BATTERY_PLUGGED_AC; in run()
47 private static final int PLUGGED_IN = BatteryManager.BATTERY_PLUGGED_AC;
155 dummy.putExtra("plugged", incr > 0 ? BatteryManager.BATTERY_PLUGGED_AC in onReceive()
41 BATTERY_PLUGGED_AC = 1; enumerator
339 executeCommand("cmd battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in turnBatteryOff()
332 if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_AC) != 0 && mHealthInfo.chargerAcOnline) { in isPoweredLocked()443 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked()1011 batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_AC; in dumpProto()
2824 || (val == BatteryManager.BATTERY_PLUGGED_AC)2827 || (val == (BatteryManager.BATTERY_PLUGGED_AC2829 || (val == (BatteryManager.BATTERY_PLUGGED_AC2833 || (val == (BatteryManager.BATTERY_PLUGGED_AC8691 || (val == BatteryManager.BATTERY_PLUGGED_AC)8694 || (val == (BatteryManager.BATTERY_PLUGGED_AC8696 || (val == (BatteryManager.BATTERY_PLUGGED_AC8700 || (val == (BatteryManager.BATTERY_PLUGGED_AC
1000 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn()1010 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedInWired()
917 executeCmd("dumpsys battery set ac " + BatteryManager.BATTERY_PLUGGED_AC); in batteryOff()
927 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, BatteryManager.BATTERY_PLUGGED_AC); in updateSettingsLocked()3628 ((mStayOnWhilePluggedInSetting & BatteryManager.BATTERY_PLUGGED_AC) != 0)); in dumpProto()
3436 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()3594 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
21363 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
30483 Landroid/os/BatteryManager;->BATTERY_PLUGGED_AC:I
32073 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1