Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_AC (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/os/
DBatteryManager.java121 public static final int BATTERY_PLUGGED_AC = 1; field in BatteryManager
129 BATTERY_PLUGGED_AC | BATTERY_PLUGGED_USB | BATTERY_PLUGGED_WIRELESS;
DBatteryStats.java3627 case BatteryManager.BATTERY_PLUGGED_AC: in printNextItem()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java54 val = BatteryManager.BATTERY_PLUGGED_AC | in run()
63 val = BatteryManager.BATTERY_PLUGGED_AC; in run()
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dbattery-monitoring.jd56 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;</pre>
85 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dbattery-monitoring.jd56 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;</pre>
85 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;
/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dbattery-monitoring.jd56 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;</pre>
85 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dbattery-monitoring.jd56 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;</pre>
85 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;
/frameworks/base/docs/html/training/monitoring-device-state/
Dbattery-monitoring.jd70 boolean acCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_AC;</pre>
109 boolean acCharge = chargePlug == BatteryManager.BATTERY_PLUGGED_AC;
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/
Dbattery-monitoring.jd56 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;</pre>
85 boolean acCharge = chargePlug == BATTERY_PLUGGED_AC;
/frameworks/base/services/core/java/com/android/server/
DBatteryService.java229 … if ((plugTypeSet & BatteryManager.BATTERY_PLUGGED_AC) != 0 && mBatteryProps.chargerAcOnline) { in isPoweredLocked()
312 mPlugType = BatteryManager.BATTERY_PLUGGED_AC; in processValuesLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java134 … dummy.putExtra("plugged", incr > 0 ? BatteryManager.BATTERY_PLUGGED_AC : 0); in onReceive()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java597 return plugged == BatteryManager.BATTERY_PLUGGED_AC in isPluggedIn()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java644 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, BatteryManager.BATTERY_PLUGGED_AC); in updateSettingsLocked()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java2053 if ((h.batteryPlugType&BatteryManager.BATTERY_PLUGGED_AC) != 0) { in buildStateInt()
2118 cur.batteryPlugType = BatteryManager.BATTERY_PLUGGED_AC; in readHistoryDelta()
/frameworks/base/api/
Dsystem-current.txt22945 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1
Dcurrent.txt21365 field public static final int BATTERY_PLUGGED_AC = 1; // 0x1