Searched refs:GetBatteryInfo (Results 1 – 5 of 5) sorted by relevance
/external/chromium-trace/catapult/devil/devil/android/ |
D | battery_utils_test.py | 252 (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 …]
|
D | battery_utils.py | 285 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/ |
D | android_fuelgauge_power_monitor.py | 36 voltage = self._ParseVoltage(self._battery.GetBatteryInfo().get('voltage'))
|
D | pm_mock.py | 51 def GetBatteryInfo(self): member in MockBattery
|
D | android_dumpsys_power_monitor.py | 49 voltage = self._ParseVoltage(self._battery.GetBatteryInfo().get('voltage'))
|