Searched refs:BATTERY_PLUGGED_NONE (Results 1 – 3 of 3) sorted by relevance
105 private static final int BATTERY_PLUGGED_NONE = 0; field in BatteryService242 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()
874 final boolean onBattery = plugType == BatteryStatsImpl.BATTERY_PLUGGED_NONE; in setBatteryState()
8351 public static final int BATTERY_PLUGGED_NONE = 0; field in BatteryStatsImpl8355 final boolean onBattery = plugType == BATTERY_PLUGGED_NONE; in setBatteryStateLocked()