Searched refs:power_method (Results 1 – 2 of 2) sorted by relevance
/external/autotest/server/site_tests/power_DarkResumeShutdownServer/ |
D | power_DarkResumeShutdownServer.py | 26 def initialize(self, host, power_method=None): argument 27 self._power_method = power_method 86 host.power_on(power_method=self._power_method) 94 host.power_off(power_method=self._power_method) 109 host.power_on(power_method=self._power_method) 118 host.power_on(power_method=self._power_method)
|
/external/autotest/server/hosts/ |
D | cros_host.py | 1478 def _set_power(self, state, power_method): argument 1493 if power_method == self.POWER_CONTROL_SERVO: 1497 elif power_method == self.POWER_CONTROL_MANUAL: 1508 def power_off(self, power_method=POWER_CONTROL_RPM): argument 1516 self._set_power('OFF', power_method) 1519 def power_on(self, power_method=POWER_CONTROL_RPM): argument 1527 self._set_power('ON', power_method) 1530 def power_cycle(self, power_method=POWER_CONTROL_RPM): argument 1538 if power_method in (self.POWER_CONTROL_SERVO, 1540 self.power_off(power_method=power_method) [all …]
|