Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DCachedDeviceStateService.java47 OsProtoEnums.BATTERY_PLUGGED_NONE)
48 != OsProtoEnums.BATTERY_PLUGGED_NONE);
91 return batteryManager.getPlugType() != OsProtoEnums.BATTERY_PLUGGED_NONE; in queryIsCharging()
DBatteryService.java138 private static final int BATTERY_PLUGGED_NONE = OsProtoEnums.BATTERY_PLUGGED_NONE; // = 0 field in BatteryService
350 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()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCachedDeviceStateServiceTest.java76 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()
/frameworks/base/core/proto/android/os/
Denums.proto39 BATTERY_PLUGGED_NONE = 0; enumerator
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java12219 public static final int BATTERY_PLUGGED_NONE = OsProtoEnums.BATTERY_PLUGGED_NONE; // = 0 field in BatteryStatsImpl
12432 return plugType == BATTERY_PLUGGED_NONE && status != BatteryManager.BATTERY_STATUS_UNKNOWN; in isOnBattery()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt51666 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_NONE:I
88484 Lcom/android/internal/os/BatteryStatsImpl;->BATTERY_PLUGGED_NONE:I