Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/power_ProbeDriver/
Dpower_ProbeDriver.py20 ac_paths = []
34 ac_paths.append(path)
40 run(ac_paths, bat_paths)
44 def run_ac(self, ac_paths, bat_paths): argument
50 if not ac_paths:
54 if not any([self._online(ac_path) for ac_path in ac_paths]):
59 if any(self._is_discharging(bat_path, ac_paths)
64 def run_bat(self, ac_paths, bat_paths): argument
78 if all(not self._is_discharging(bat_path, ac_paths) for bat_path
82 if any(self._online(ac_path) for ac_path in ac_paths):
[all …]