Searched defs:plugType (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/services/java/com/android/server/power/
H A DWirelessChargerDetector.java163 * @param plugType The current plug type.
168 public boolean update(boolean isPowered, int plugType, int batteryLevel) { argument
172 if (isPowered && plugType == BatteryManager.BATTERY_PLUGGED_WIRELESS) {
183 if (plugType != 0 && plugType != BatteryManager.BATTERY_PLUGGED_WIRELESS) {
/frameworks/base/services/java/com/android/server/am/
H A DBatteryStatsService.java445 public void setBatteryState(int status, int health, int plugType, int level, argument
448 mStats.setBatteryState(status, health, plugType, level, temp, volt);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java4585 public void setBatteryState(int status, int health, int plugType, int level, argument
4588 boolean onBattery = plugType == BATTERY_PLUGGED_NONE;
4613 mHistoryCur.batteryPlugType = (byte)plugType;
4631 if (mHistoryCur.batteryPlugType != plugType) {
4632 mHistoryCur.batteryPlugType = (byte)plugType;

Completed in 51 milliseconds