Home
last modified time | relevance | path

Searched refs:on_ac (Results 1 – 11 of 11) sorted by relevance

/external/autotest/client/site_tests/power_CheckAC/
Dpower_CheckAC.py20 if power_on and not status.on_ac():
22 elif not power_on and status.on_ac():
/external/autotest/client/site_tests/power_Idle/
Dpower_Idle.py44 if not self.status.on_ac():
72 if self.status.on_ac():
/external/autotest/client/site_tests/power_BatteryCharge/
Dpower_BatteryCharge.py20 if not self.status.on_ac():
95 if not self.status.on_ac():
/external/autotest/client/cros/
Dpower_status.py439 def on_ac(self): member in SysStat
443 on_ac = False
445 on_ac |= linepower.online
450 on_ac &= (not self.battery_discharging())
451 return on_ac
475 if self.on_ac():
480 while self.on_ac():
482 (self.on_ac(), self.percent_current_charge(), tries))
/external/autotest/client/site_tests/power_Status/
Dpower_Status.py26 logging.info("linepower_online: %s" % status.on_ac())
/external/autotest/client/site_tests/power_Draw/
Dpower_Draw.py17 if status.on_ac():
/external/autotest/client/site_tests/power_ARMSettings/
Dpower_ARMSettings.py24 if status.on_ac():
/external/autotest/client/site_tests/hardware_MultiReaderPowerConsumption/
Dhardware_MultiReaderPowerConsumption.py21 if self.status.on_ac():
/external/autotest/client/site_tests/power_x86Settings/
Dpower_x86Settings.py116 if status.on_ac():
/external/autotest/client/site_tests/power_Consumption/
Dpower_Consumption.py55 self._tmp_keyvals['b_on_ac'] = self._power_status.on_ac()
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py90 self._tmp_keyvals['b_on_ac'] = self._power_status.on_ac()