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.py255 (self.call.battery.GetBatteryInfo(), {'level': '50'}),
256 (self.call.battery.GetBatteryInfo(), {'level': '100'})):
263 (self.call.battery.GetBatteryInfo(), {'level': '50'}),
264 (self.call.battery.GetBatteryInfo(), {'level': '50'}),
266 (self.call.battery.GetBatteryInfo(), {'level': '50'})):
279 (self.call.battery.GetBatteryInfo(), {'level': '50'}),
280 (self.call.battery.GetBatteryInfo(), {'level': '49'}),
281 (self.call.battery.GetBatteryInfo(), {'level': '48'})):
296 (self.call.battery.GetBatteryInfo(), {'level': '100'}),
299 (self.call.battery.GetBatteryInfo(), {'level': '99'})):
[all …]
Dbattery_utils.py343 def GetBatteryInfo(self, timeout=None, retries=None): member in BatteryUtils
380 return self.GetBatteryInfo()
476 battery_level = int(self.GetBatteryInfo().get('level'))
493 current_level = int(self.GetBatteryInfo().get('level'))
517 battery_level = self.GetBatteryInfo().get('level')
548 temp = self.GetBatteryInfo().get('temperature')
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_monitor_test.py59 self.battery.GetBatteryInfo = mock.MagicMock(
101 broken_battery_info.GetBatteryInfo = mock.MagicMock(
Ddevice_monitor.py83 battery_info = battery.GetBatteryInfo()
Ddevice_status.py43 battery_info = battery.GetBatteryInfo(timeout=5)