Home
last modified time | relevance | path

Searched refs:GetBatteryInfo (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/
Dbattery_utils_test.py252 (self.call.battery.GetBatteryInfo(), {'level': '50'}),
253 (self.call.battery.GetBatteryInfo(), {'level': '100'})):
260 (self.call.battery.GetBatteryInfo(), {'level': '50'}),
261 (self.call.battery.GetBatteryInfo(), {'level': '50'}),
263 (self.call.battery.GetBatteryInfo(), {'level': '50'})):
276 (self.call.battery.GetBatteryInfo(), {'level': '50'}),
277 (self.call.battery.GetBatteryInfo(), {'level': '49'}),
278 (self.call.battery.GetBatteryInfo(), {'level': '48'})):
293 (self.call.battery.GetBatteryInfo(), {'level': '100'}),
296 (self.call.battery.GetBatteryInfo(), {'level': '99'})):
[all …]
Dbattery_utils.py285 def GetBatteryInfo(self, timeout=None, retries=None): member in BatteryUtils
320 battery_info = self.GetBatteryInfo()
413 battery_level = int(self.GetBatteryInfo().get('level'))
430 current_level = int(self.GetBatteryInfo().get('level'))
454 battery_level = self.GetBatteryInfo().get('level')
485 temp = self.GetBatteryInfo().get('temperature')
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/power_monitor/
Dandroid_fuelgauge_power_monitor.py36 voltage = self._ParseVoltage(self._battery.GetBatteryInfo().get('voltage'))
Dpm_mock.py51 def GetBatteryInfo(self): member in MockBattery
Dandroid_dumpsys_power_monitor.py49 voltage = self._ParseVoltage(self._battery.GetBatteryInfo().get('voltage'))