Searched refs:BATTERY_PLUGGED_NONE (Results 1 – 6 of 6) sorted by relevance
47 OsProtoEnums.BATTERY_PLUGGED_NONE)48 != OsProtoEnums.BATTERY_PLUGGED_NONE);91 return batteryManager.getPlugType() != OsProtoEnums.BATTERY_PLUGGED_NONE; in queryIsCharging()
138 private static final int BATTERY_PLUGGED_NONE = OsProtoEnums.BATTERY_PLUGGED_NONE; // = 0 field in BatteryService350 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()351 final boolean oldPlugged = mLastPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()482 mPlugType = BATTERY_PLUGGED_NONE; in processValuesLocked()519 if (mLastPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()541 } else if (mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()577 mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()586 if (mPlugType == BATTERY_PLUGGED_NONE in processValuesLocked()594 if (mPlugType != BATTERY_PLUGGED_NONE) { in processValuesLocked()1044 int batteryPluggedValue = OsProtoEnums.BATTERY_PLUGGED_NONE; in dumpProto()
76 when(mBatteryManager.getPlugType()).thenReturn(OsProtoEnums.BATTERY_PLUGGED_NONE); in setUp()115 when(mBatteryManager.getPlugType()).thenReturn(OsProtoEnums.BATTERY_PLUGGED_NONE); in correctlyReportsCharging()134 intentUnplugged.putExtra(BatteryManager.EXTRA_PLUGGED, OsProtoEnums.BATTERY_PLUGGED_NONE); in correctlyReportsCharging()142 when(mBatteryManager.getPlugType()).thenReturn(OsProtoEnums.BATTERY_PLUGGED_NONE); in correctlyTracksTimeOnBattery()
39 BATTERY_PLUGGED_NONE = 0; enumerator
12219 public static final int BATTERY_PLUGGED_NONE = OsProtoEnums.BATTERY_PLUGGED_NONE; // = 0 field in BatteryStatsImpl12432 return plugType == BATTERY_PLUGGED_NONE && status != BatteryManager.BATTERY_STATUS_UNKNOWN; in isOnBattery()
51666 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_NONE:I88484 Lcom/android/internal/os/BatteryStatsImpl;->BATTERY_PLUGGED_NONE:I