Lines Matching refs:host

30     def generate_labels(self, host):  argument
36 for label in host._afe_host.labels:
46 run_method=host.run)
63 def exists(self, host): argument
69 result = host.run(search_cmd, stdout_tee=None, stderr_tee=None,
80 def exists(self, host): argument
81 result = host.run('test -d /sys/class/bluetooth/hci0',
92 def exists(self, host): argument
108 ecinfo = host.run(command=cmd, ignore_status=True)
125 def exists(self, host): argument
127 rv = host.run('which ectool', ignore_status=True)
133 rv = host.run('ectool motionsense', ignore_status=True)
140 active = host.run('ectool motionsense active').stdout.split('\n')
154 def exists(self, host): argument
155 return host._chameleon_host is not None
163 def exists(self, host): argument
164 return host._chameleon_host is not None
167 def generate_labels(self, host): argument
168 return [host.chameleon.get_label()]
183 def exists(self, host): argument
184 return host._chameleon_host is not None
187 def generate_labels(self, host): argument
188 bt_hid_device = host.chameleon.get_bluetooh_hid_mouse()
197 def exists(self, host): argument
198 nodes_info = host.run(command=cras_utils.get_cras_nodes_cmd(),
224 def exists(self, host): argument
225 self.psu_cmd_result = host.run(command='mosys psu type',
230 def generate_labels(self, host): argument
260 def exists(self, host): argument
266 rootdev = host.run(command=rootdev_cmd, ignore_status=True)
282 type = host.run(command=type_cmd, ignore_status=True)
297 link = host.run(command=link_cmd, ignore_status=True)
308 rotate = host.run(command=rotate_cmd, ignore_status=True)
322 def generate_labels(self, host): argument
331 def exists(self, host): argument
337 servo_args, _ = servo_host._get_standard_servo_args(host)
359 def generate_labels(self, host): argument
360 result = host.run('/usr/local/bin/avtest_label_detect',
370 def _get_cts_abis(self, host): argument
376 return cts_abis.get(host.get_cpu_arch(), [])
379 def generate_labels(self, host): argument
380 return ['cts_abi_' + abi for abi in self._get_cts_abis(host)]
389 def exists(self, host): argument
390 return 0 == host.run('grep CHROMEOS_ARC_VERSION /etc/lsb-release',
399 def exists(self, host): argument
400 board = host.get_board().replace(ds_constants.BOARD_PREFIX, '')
410 def generate_labels(self, host): argument
415 return host.run(cmd).stdout
418 return host.run('cat %s' % remote_path).stdout
444 def exists(self, host): argument
445 board = host.get_board().replace(ds_constants.BOARD_PREFIX, '')
460 def generate_labels(self, host): argument
462 hwid = host.run_output('crossystem hwid').strip()