Searched refs:bat_path (Results 1 – 2 of 2) sorted by relevance
/external/autotest/client/site_tests/power_ProbeDriver/ |
D | power_ProbeDriver.py | 59 if any(self._is_discharging(bat_path, ac_paths) 60 for bat_path in bat_paths 61 if self._present(bat_path)): 73 presented = [bat_path for bat_path in bat_paths 74 if self._present(bat_path)] 78 if all(not self._is_discharging(bat_path, ac_paths) for bat_path 92 def _has_property(self, bat_path, field): argument 103 return os.path.exists(os.path.join(bat_path, field)) 105 def _read_property(self, bat_path, field): argument 116 property_path = os.path.join(bat_path, field) [all …]
|
/external/markdown/ |
D | setup.py | 19 bat_path = os.path.join(self.install_dir, 'markdown.bat') 20 f = file(bat_path, 'w') 23 print 'Created:', bat_path 25 print 'ERROR: Unable to create %s: %s' % (bat_path, e)
|