Lines Matching refs:host

27 def _parse_lsb_output(host):  argument
34 run_method=host.run)
45 def generate_labels(self, host): argument
51 board = host.host_info_store.get().board
54 for label in host._afe_host.labels:
58 return [_parse_lsb_output(host).board]
66 def generate_labels(self, host): argument
69 model = host.host_info_store.get().model
72 for label in host._afe_host.labels:
76 lsb_output = _parse_lsb_output(host)
81 result = host.run(command=test_label_cmd, ignore_status=True)
86 result = host.run(command=mosys_cmd, ignore_status=True)
111 def exists(self, host): argument
117 result = host.run(search_cmd, stdout_tee=None, stderr_tee=None,
128 def exists(self, host): argument
129 result = host.run('test -d /sys/class/bluetooth/hci0',
140 def exists(self, host): argument
156 ecinfo = host.run(command=cmd, ignore_status=True)
177 def exists(self, host): argument
179 self.ver = host.run('gsctool -a -f', ignore_status=True)
183 def generate_labels(self, host): argument
196 def exists(self, host): argument
198 rv = host.run('which ectool', ignore_status=True)
204 rv = host.run('ectool motionsense', ignore_status=True)
211 active = host.run('ectool motionsense active').stdout.split('\n')
225 def exists(self, host): argument
226 return host._chameleon_host is not None
234 def exists(self, host): argument
235 return host._chameleon_host is not None
238 def generate_labels(self, host): argument
239 return [host.chameleon.get_label()]
254 def exists(self, host): argument
255 return host._chameleon_host is not None
258 def generate_labels(self, host): argument
259 bt_hid_device = host.chameleon.get_bluetooth_hid_mouse()
268 def exists(self, host): argument
269 nodes_info = host.run(command=cras_utils.get_cras_nodes_cmd(),
295 def exists(self, host): argument
296 self.psu_cmd_result = host.run(command='mosys psu type',
301 def generate_labels(self, host): argument
333 def exists(self, host): argument
339 rootdev = host.run(command=rootdev_cmd, ignore_status=True)
355 type = host.run(command=type_cmd, ignore_status=True)
370 link = host.run(command=link_cmd, ignore_status=True)
384 rotate = host.run(command=rotate_cmd, ignore_status=True)
403 def generate_labels(self, host): argument
412 def exists(self, host): argument
419 servo_args = servo_host.get_servo_args_for_host(host)
432 def exists(self, host): argument
433 return 0 == host.run(
460 def generate_labels(self, host): argument
461 cpu_arch = host.get_cpu_arch()
472 def exists(self, host): argument
473 board = host.get_board().replace(ds_constants.BOARD_PREFIX, '')
483 def generate_labels(self, host): argument
488 return host.run(cmd).stdout
491 return host.run('cat %s' % remote_path).stdout
517 def exists(self, host): argument
518 board = host.get_board().replace(ds_constants.BOARD_PREFIX, '')
533 def generate_labels(self, host): argument
535 hwid = host.run_output('crossystem hwid').strip()
575 def exists(self, host): argument
576 return host.run('which hammerd', ignore_status=True).exit_status == 0
584 def exists(self, host): argument
585 return host.run('test -c /dev/cros_fp',
597 def exists(self, host): argument
598 self.response = host.run('mosys platform family', ignore_status=True)
601 def generate_labels(self, host): argument
602 if self.exists(host):