Home
last modified time | relevance | path

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

/external/autotest/site_utils/deployment/
Dinstall.py76 from autotest_lib.server.hosts import servo_host
317 host_attr_servo_host = host_attrs.get(servo_host.SERVO_HOST_ATTR)
318 host_attr_servo_port = host_attrs.get(servo_host.SERVO_PORT_ATTR)
319 host_attr_servo_serial = host_attrs.get(servo_host.SERVO_SERIAL_ATTR)
321 servo_host.make_servo_hostname(hostname))
323 str(servo_host.ServoHost.DEFAULT_PORT))
324 afe.set_host_attribute(servo_host.SERVO_HOST_ATTR,
327 afe.set_host_attribute(servo_host.SERVO_PORT_ATTR,
331 afe.set_host_attribute(servo_host.SERVO_SERIAL_ATTR,
634 attribute=servo_host.SERVO_HOST_ATTR, value=servo_hostname)
[all …]
Dcommandline.py36 from autotest_lib.server.hosts import servo_host
525 host_attr_dict={servo_host.SERVO_HOST_ATTR: hostname_file_row[4],
526 servo_host.SERVO_SERIAL_ATTR: hostname_file_row[5]})
/external/autotest/server/site_tests/provision_FactoryImage/
Dcontrol27 --args="image_name=<board>/<build> servo_host=<ip of servo_host>"
29 where servo_host is the ip of beagle board running servod. If a servo_host
38 servo_host = args_dict.get('servo_host')
41 '<build> servo_host=<ip of servo_host>" when '
/external/autotest/server/site_tests/factory_InstallServo/
Dfactory_InstallServo.py36 def _create_servo(self, servo_host, servo_port): argument
38 hosts.ServoHost(servo_host=servo_host, servo_port=servo_port))
92 def run_once(self, servo_host="localhost", servo_port=None, argument
97 servo_host,
/external/autotest/server/hosts/
Dservo_host.py77 def _initialize(self, servo_host='localhost', argument
93 super(ServoHost, self)._initialize(hostname=servo_host,
130 servo_obj = servo.Servo(servo_host=self, servo_serial=self.servo_serial)
744 servo_host = attrs[SERVO_HOST_ATTR]
745 if (is_ssp_moblab and servo_host in ['localhost', '127.0.0.1']):
746 servo_host = _CONFIG.get_config_value(
748 servo_args = {SERVO_HOST_ATTR: servo_host}
761 and utils.host_is_in_lab_zone(servo_host))
768 servo_host = make_servo_hostname(dut_host.hostname)
769 is_in_lab = utils.host_is_in_lab_zone(servo_host)
[all …]
Dcros_host_unittest.py9 from autotest_lib.server.hosts import servo_host
78 servo_host.SERVO_HOST_ATTR: 'host',
81 self.assertEqual(got, {servo_host.SERVO_HOST_ATTR: 'host'})
Dservo_afe_board_map_unittest.py10 from autotest_lib.server.hosts import servo_host
18 afe_map = servo_host._map_afe_board_to_servo_board
Dplankton_host.py11 from autotest_lib.server.hosts import servo_host
33 class PlanktonHost(servo_host.ServoHost):
Dcros_label.py21 from autotest_lib.server.hosts import servo_host
386 servo_args, _ = servo_host._get_standard_servo_args(host)
388 servo_host_hostname = servo_args.get(servo_host.SERVO_HOST_ATTR)
390 and servo_host.servo_host_is_up(servo_host_hostname))
D__init__.py21 from servo_host import ServoHost
Dcros_host.py43 from autotest_lib.server.hosts import servo_host
259 servo_attrs = (servo_host.SERVO_HOST_ATTR,
260 servo_host.SERVO_PORT_ATTR,
261 servo_host.SERVO_BOARD_ATTR)
267 if servo_host.SERVO_HOST_ATTR in servo_args
268 and not servo_args[servo_host.SERVO_HOST_ATTR]
315 self._servo_host = servo_host.create_servo_host(
/external/autotest/contrib/
Dhaveservo15 from autotest_lib.server.hosts import servo_host
18 servo_name = servo_host.make_servo_hostname(host.strip())
Dservo-stat71 local servo_host=$(get_afe_host_attr $host servo_host ${host}-servo)
72 echo ${servo_host}.cros
/external/autotest/server/site_tests/firmware_FWupdate/
Dcontrol17 test_that --board=BOARD --args 'servo_host=SERVO3_IP new_ec=/path/to/ec.bin new_bios=/path/to/bios.…
19 Remove servo_host param for V2 servo.
/external/autotest/server/cros/servo/
Dservo.py164 def __init__(self, servo_host, servo_serial=None): argument
174 self._servo_host = servo_host
176 self._server = servo_host.get_servod_server_proxy()
Dfirmware_programmer.py52 def __init__(self, servo, req_list, servo_host=None): argument
65 self._servo_host = servo_host
/external/autotest/server/site_tests/platform_CompromisedStatefulPartition/
Dcontrol27 test_that -b <board> --args "servo_host=<servo_ip>" <dut_ip> platform_CompromisedStatefulPartition
/external/autotest/server/
Dautoserv269 servo_host = hosts[0].attributes.get('servo_host', None)
271 if not servo_host in ['localhost', '127.0.0.1']:
Dautoserv.py269 servo_host = hosts[0].attributes.get('servo_host', None)
271 if not servo_host in ['localhost', '127.0.0.1']:
/external/autotest/site_utils/
Dlab_inventory.py68 from autotest_lib.server.hosts import servo_host
700 servo_name = servo_host.make_servo_hostname(h.host.hostname)
/external/autotest/docs/
Dbest-practices.md302 test_that --args=”servo_host=...” …
304 test_that --args=”servo_host=... servo_port=...” ...