Searched refs:BATTERY_PLUGGED_NONE (Results 1 – 5 of 5) sorted by relevance
38 static final int BATTERY_PLUGGED_NONE = 0; field in BatteryNotLowTracker67 int plugged = intent.getIntExtra(BatteryManager.EXTRA_PLUGGED, BATTERY_PLUGGED_NONE); in getInitialState()73 return (plugged != BATTERY_PLUGGED_NONE in getInitialState()
136 private static final int BATTERY_PLUGGED_NONE = OsProtoEnums.BATTERY_PLUGGED_NONE; // = 0 field in BatteryService345 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()346 final boolean oldPlugged = mLastPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()449 mPlugType = BATTERY_PLUGGED_NONE; in processValuesLocked()485 if (mLastPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()507 } else if (mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()543 mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()552 if (mPlugType == BATTERY_PLUGGED_NONE in processValuesLocked()560 if (mPlugType != BATTERY_PLUGGED_NONE) { in processValuesLocked()1009 int batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_NONE; in dumpProto()
48 private static final int NOT_PLUGGED_IN = BatteryNotLowTracker.BATTERY_PLUGGED_NONE;
39 BATTERY_PLUGGED_NONE = 0; enumerator
12532 public static final int BATTERY_PLUGGED_NONE = OsProtoEnums.BATTERY_PLUGGED_NONE; // = 0 field in BatteryStatsImpl12736 return plugType == BATTERY_PLUGGED_NONE && status != BatteryManager.BATTERY_STATUS_UNKNOWN; in isOnBattery()