Searched refs:getPlugType (Results 1 – 7 of 7) sorted by relevance
76 when(mBatteryManager.getPlugType()).thenReturn(OsProtoEnums.BATTERY_PLUGGED_NONE); in setUp()115 when(mBatteryManager.getPlugType()).thenReturn(OsProtoEnums.BATTERY_PLUGGED_NONE); in correctlyReportsCharging()142 when(mBatteryManager.getPlugType()).thenReturn(OsProtoEnums.BATTERY_PLUGGED_NONE); in correctlyTracksTimeOnBattery()
39 public abstract int getPlugType(); in getPlugType() method in BatteryManagerInternal
91 return batteryManager.getPlugType() != OsProtoEnums.BATTERY_PLUGGED_NONE; in queryIsCharging()
1258 public int getPlugType() { in getPlugType() method in BatteryService.LocalService
391 when(mBatteryManagerInternalMock.getPlugType()) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()400 when(mBatteryManagerInternalMock.getPlugType()).thenReturn(0); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
1744 mPlugType = mBatteryManagerInternal.getPlugType(); in updateIsPoweredLocked()
604 HSPLcom/android/server/BatteryService$LocalService;->getPlugType()I