HomeSort by relevance Sort by last modified time
    Searched refs:plugType (Results 1 - 7 of 7) sorted by null

  /frameworks/base/services/java/com/android/server/power/
WirelessChargerDetector.java 177 * @param plugType The current plug type.
182 public boolean update(boolean isPowered, int plugType, int batteryLevel) {
186 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) {
197 if (plugType != 0 && plugType != BatteryManager.BATTERY_PLUGGED_WIRELESS) {
  /frameworks/base/core/java/com/android/internal/app/
IBatteryStats.aidl 77 void setBatteryState(int status, int health, int plugType, int level, int temp, int volt);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
BatteryMeterView.java 77 int plugType;
96 plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0);
97 plugged = plugType != 0;
115 int savePlugged = plugType;
  /packages/apps/Settings/src/com/android/settings/
BatteryInfo.java 85 int plugType = intent.getIntExtra("plugged", 0);
97 switch (plugType) {
Utils.java 402 int plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0);
408 if (plugType > 0) {
410 if (plugType == BatteryManager.BATTERY_PLUGGED_AC) {
412 } else if (plugType == BatteryManager.BATTERY_PLUGGED_USB) {
  /frameworks/base/services/java/com/android/server/am/
BatteryStatsService.java 470 public void setBatteryState(int status, int health, int plugType, int level,
473 mStats.setBatteryState(status, health, plugType, level, temp, volt);
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java     [all...]

Completed in 196 milliseconds