Searched refs:getPlugType (Results 1 – 8 of 8) 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()
1289 public int getPlugType() { in getPlugType() method in BatteryService.LocalService
409 when(mBatteryManagerInternalMock.getPlugType()) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()418 when(mBatteryManagerInternalMock.getPlugType()).thenReturn(0); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
1762 mPlugType = mBatteryManagerInternal.getPlugType(); in updateIsPoweredLocked()
604 HSPLcom/android/server/BatteryService$LocalService;->getPlugType()I
48595 Landroid/os/BatteryManagerInternal;->getPlugType()I