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

  /frameworks/base/services/core/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 113 void setBatteryState(int status, int health, int plugType, int level, int temp, int volt);
  /packages/apps/Settings/src/com/android/settings/
BatteryInfo.java 85 int plugType = intent.getIntExtra("plugged", 0);
97 switch (plugType) {
Utils.java 359 int plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0);
365 if (plugType == BatteryManager.BATTERY_PLUGGED_AC) {
367 } else if (plugType == BatteryManager.BATTERY_PLUGGED_USB) {
369 } else if (plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
BatteryMeterView.java 85 int plugType;
104 plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0);
105 plugged = plugType != 0;
123 int savePlugged = plugType;
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryHistoryChart.java 521 int plugType = mBatteryBroadcast.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0);
523 if (plugType == BatteryManager.BATTERY_PLUGGED_AC) {
525 } else if (plugType == BatteryManager.BATTERY_PLUGGED_USB) {
527 } else if (plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java 675 public void setBatteryState(int status, int health, int plugType, int level,
678 mStats.setBatteryState(status, health, plugType, level, temp, volt);
  /frameworks/base/core/java/com/android/internal/os/
BatteryStatsImpl.java     [all...]

Completed in 331 milliseconds