Searched defs:plugType (Results 1 - 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/power/ |
H A D | WirelessChargerDetector.java | 177 * @param plugType The current plug type. 182 public boolean update(boolean isPowered, int plugType, int batteryLevel) { argument 186 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) { 197 if (plugType != 0 && plugType != BatteryManager.BATTERY_PLUGGED_WIRELESS) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | BatteryMeterView.java | 462 int plugType; field in class:BatteryMeterView.BatteryTracker 481 plugType = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, 0); 482 plugged = plugType != 0; 500 int savePlugged = plugType;
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BatteryStatsService.java | 864 public void setBatteryState(final int status, final int health, final int plugType, argument 874 final boolean onBattery = plugType == BatteryStatsImpl.BATTERY_PLUGGED_NONE; 878 mStats.setBatteryStateLocked(status, health, plugType, level, temp, volt); 887 mStats.setBatteryStateLocked(status, health, plugType, level, temp, volt);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 1978 int plugType = 0; 1980 plugType = 1; 1982 plugType = 2; 1984 plugType = 3; 1988 | ((plugType&STATE_BATTERY_PLUG_MASK)<<STATE_BATTERY_PLUG_SHIFT) 8353 public void setBatteryStateLocked(int status, int health, int plugType, int level, argument 8355 final boolean onBattery = plugType == BATTERY_PLUGGED_NONE; 8402 mHistoryCur.batteryPlugType = (byte)plugType; 8424 if (mHistoryCur.batteryPlugType != plugType) { 8425 mHistoryCur.batteryPlugType = (byte)plugType; [all...] |
Completed in 202 milliseconds