Searched refs:GetBatteryInfo (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/catapult/devil/devil/android/ |
D | battery_utils_test.py | 255 (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 …]
|
D | battery_utils.py | 343 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/ |
D | device_monitor_test.py | 59 self.battery.GetBatteryInfo = mock.MagicMock( 101 broken_battery_info.GetBatteryInfo = mock.MagicMock(
|
D | device_monitor.py | 83 battery_info = battery.GetBatteryInfo()
|
D | device_status.py | 43 battery_info = battery.GetBatteryInfo(timeout=5)
|