Home
last modified time | relevance | path

Searched refs:BATTERY_PLUGGED_NONE (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DBatteryService.java105 private static final int BATTERY_PLUGGED_NONE = 0; field in BatteryService
242 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()
243 final boolean oldPlugged = mLastPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()
318 mPlugType = BATTERY_PLUGGED_NONE; in processValuesLocked()
359 if (mLastPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()
372 } else if (mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()
393 mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()
402 if (mPlugType == BATTERY_PLUGGED_NONE in processValuesLocked()
408 if (mPlugType != BATTERY_PLUGGED_NONE) { in processValuesLocked()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java874 final boolean onBattery = plugType == BatteryStatsImpl.BATTERY_PLUGGED_NONE; in setBatteryState()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8351 public static final int BATTERY_PLUGGED_NONE = 0; field in BatteryStatsImpl
8355 final boolean onBattery = plugType == BATTERY_PLUGGED_NONE; in setBatteryStateLocked()