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.java136 private static final int BATTERY_PLUGGED_NONE = OsProtoEnums.BATTERY_PLUGGED_NONE; // = 0 field in BatteryService
345 final boolean plugged = mPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()
346 final boolean oldPlugged = mLastPlugType != BATTERY_PLUGGED_NONE; in shouldSendBatteryLowLocked()
472 mPlugType = BATTERY_PLUGGED_NONE; in processValuesLocked()
508 if (mLastPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()
530 } else if (mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()
566 mPlugType == BATTERY_PLUGGED_NONE) { in processValuesLocked()
575 if (mPlugType == BATTERY_PLUGGED_NONE in processValuesLocked()
583 if (mPlugType != BATTERY_PLUGGED_NONE) { in processValuesLocked()
1033 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.java12213 public static final int BATTERY_PLUGGED_NONE = OsProtoEnums.BATTERY_PLUGGED_NONE; // = 0 field in BatteryStatsImpl
12424 return plugType == BATTERY_PLUGGED_NONE && status != BatteryManager.BATTERY_STATUS_UNKNOWN; in isOnBattery()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt55392 Landroid/os/OsProtoEnums;->BATTERY_PLUGGED_NONE:I
94851 Lcom/android/internal/os/BatteryStatsImpl;->BATTERY_PLUGGED_NONE:I