Home
last modified time | relevance | path

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

/frameworks/base/docs/html-intl/intl/zh-cn/training/monitoring-device-state/
Dbattery-monitoring.jd54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
/frameworks/base/docs/html-intl/intl/ru/training/monitoring-device-state/
Dbattery-monitoring.jd54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
/frameworks/base/docs/html-intl/intl/ja/training/monitoring-device-state/
Dbattery-monitoring.jd54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
/frameworks/base/docs/html-intl/intl/ko/training/monitoring-device-state/
Dbattery-monitoring.jd54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
/frameworks/base/core/java/android/os/
DBatteryManager.java76 public static final String EXTRA_PLUGGED = "plugged"; field in BatteryManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java80 mPluggedIn = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in onReceive()
/frameworks/base/docs/html/training/monitoring-device-state/
Dbattery-monitoring.jd68 int chargePlug = batteryStatus.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
107 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
/frameworks/base/docs/html-intl/intl/es/training/monitoring-device-state/
Dbattery-monitoring.jd54 int chargePlug = battery.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
83 int chargePlug = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, -1);
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java161 mPlugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 1); in onReceive()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java141 mCharging = (intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0);
DBatteryService.java501 intent.putExtra(BatteryManager.EXTRA_PLUGGED, mPlugType); in sendIntentLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBatteryMeterView.java481 plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); in onReceive()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardUpdateMonitor.java37 import static android.os.BatteryManager.EXTRA_PLUGGED;
561 final int plugged = intent.getIntExtra(EXTRA_PLUGGED, 0);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java319 mIsDevicePlugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0;
676 mIsDevicePlugged = batteryStatus.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0) != 0; in RIL()
/frameworks/base/api/
Dcurrent.txt22614 field public static final java.lang.String EXTRA_PLUGGED = "plugged";
Dsystem-current.txt24558 field public static final java.lang.String EXTRA_PLUGGED = "plugged";