Home
last modified time | relevance | path

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

12

/external/autotest/server/hosts/
Dpdtester_host.py13 from autotest_lib.server.hosts import servo_host
35 class PDTesterHost(servo_host.ServoHost):
55 def create_pdtester_host(pdtester_args, servo_host): argument
81 PDTESTER_HOST_ATTR, servo_host.hostname)
82 pdtester_args[PDTESTER_HOST_ATTR] = servo_host.hostname
86 PDTESTER_PORT_ATTR, servo_host.servo_port)
87 pdtester_args[PDTESTER_PORT_ATTR] = servo_host.servo_port
91 if (pdtester_args[PDTESTER_HOST_ATTR] == servo_host.hostname and
92 pdtester_args[PDTESTER_PORT_ATTR] == servo_host.servo_port):
95 return servo_host
Dservo_host_unittest.py6 from autotest_lib.server.hosts import servo_host
18 class MockHost(servo_host.ServoHost):
42 self.assertEqual(host.get_servo_state(), servo_host.SERVO_STATE_BROKEN)
54 self.assertEqual(host.get_servo_state(), servo_host.SERVO_STATE_BROKEN)
60 self.assertEqual(host.get_servo_state(), servo_host.SERVO_STATE_WORKING)
72 self.assertEqual(host.get_servo_state(), servo_host.SERVO_STATE_BROKEN)
79 self.assertEqual(host.get_servo_state(), servo_host.SERVO_STATE_WORKING)
Dcros_host_unittest.py10 from autotest_lib.server.hosts import servo_host
31 SERVO_STATE_PREFIX = servo_host.SERVO_STATE_LABEL_PREFIX
106 servo_host.SERVO_HOST_ATTR: 'host',
109 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
D__init__.py19 from servo_host import ServoHost
Dcros_host.py34 from autotest_lib.server.hosts import servo_host
257 servo_attrs = (servo_host.SERVO_HOST_ATTR,
258 servo_host.SERVO_PORT_ATTR,
259 servo_host.SERVO_BOARD_ATTR,
260 servo_host.SERVO_MODEL_ATTR)
266 if servo_host.SERVO_HOST_ATTR in servo_args
267 and not servo_args[servo_host.SERVO_HOST_ATTR]
312 servo_host.create_servo_host(
950 host_info.set_version_label(servo_host.SERVO_STATE_LABEL_PREFIX, servo_state)
Dservo_host.py87 def _initialize(self, servo_host='localhost', argument
107 super(ServoHost, self)._initialize(hostname=servo_host,
145 servo_obj = servo.Servo(servo_host=self, servo_serial=self.servo_serial)
Dcros_label.py21 from autotest_lib.server.hosts import servo_host
634 servo_args = servo_host.get_servo_args_for_host(host)
636 servo_host_hostname = servo_args.get(servo_host.SERVO_HOST_ATTR)
638 and servo_host.servo_host_is_up(servo_host_hostname))
/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/site_utils/deployment/
Dinstall.py76 from autotest_lib.server.hosts import servo_host
243 afe.set_host_attribute(servo_host.SERVO_HOST_ATTR,
246 afe.set_host_attribute(servo_host.SERVO_PORT_ATTR,
250 afe.set_host_attribute(servo_host.SERVO_SERIAL_ATTR,
265 s_hostname = (host_attrs.get(servo_host.SERVO_HOST_ATTR) or
266 servo_host.make_servo_hostname(hostname))
267 s_port = (host_attrs.get(servo_host.SERVO_PORT_ATTR) or
268 str(servo_host.ServoHost.DEFAULT_PORT))
269 s_serial = host_attrs.get(servo_host.SERVO_SERIAL_ATTR)
671 attribute=servo_host.SERVO_HOST_ATTR, value=servo_hostname)
[all …]
Dcmdvalidate.py34 from autotest_lib.server.hosts import servo_host
473 host_attr_dict={servo_host.SERVO_HOST_ATTR: hostname_file_row[4],
474 servo_host.SERVO_SERIAL_ATTR: hostname_file_row[5]})
/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/site_utils/deployment/prepare/
Ddut.py25 from autotest_lib.server.hosts import servo_host
57 servo_host.SERVO_HOST_ATTR: servo_hostname,
58 servo_host.SERVO_PORT_ATTR: servo_port,
61 attributes[servo_host.SERVO_SERIAL_ATTR] = servo_serial
69 servohost = servo_host.ServoHost(
70 **servo_host.get_servo_args_for_host(host))
/external/autotest/server/site_tests/servo_USBMuxVerification/
Dservo_USBMuxVerification.py35 'servo': self.servo_host}
119 dev_dir = self.servo_host.run(cmd).stdout.strip()
128 elem = self.servo_host.run(cmd).stdout.strip()
140 self.servo_host = host._servo_host
/external/autotest/server/site_tests/servo_LabControlVerification/
Dservo_LabControlVerification.py13 from autotest_lib.server.hosts import servo_host
106 servo_args = {servo_host.SERVO_HOST_ATTR: host.hostname,
107 servo_host.SERVO_PORT_ATTR: 9999}
108 self.servo_host_proxy = servo_host.ServoHost(is_in_lab=False,
/external/autotest/contrib/
Dservo-stat71 local servo_host=$(get_afe_host_attr $host servo_host ${host}-servo)
72 echo ${servo_host}.cros
/external/autotest/server/site_tests/servo_LabstationVerification/
Dservo_LabstationVerification.py15 from autotest_lib.server.hosts import servo_host
279 servo_args = {servo_host.SERVO_HOST_ATTR: self.labstation_host.hostname,
280 servo_host.SERVO_PORT_ATTR: 9999,
284 self.labstation_host = servo_host.create_servo_host(None, servo_args)
/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/site_tests/power_ChargeControlWrapper/
Dcontrol22 --args 'servo_host=localhost servo_port=9999 test=power_Dummy'
26 servo_host: host of servod instance; required.
/external/autotest/server/site_tests/power_BatteryChargeControl/
Dcontrol.args23 --args 'servo_host=localhost servo_port=9999 percent_charge_to_add=100'
26 --args 'servo_host=localhost servo_port=9999 percent_target_charge=95'
/external/autotest/server/site_tests/power_ServodWrapper/
Dcontrol31 'test=power_LoadTest.fast servo_host=localhost servo_port=9999 \
37 servo_host: host of servod instance; required.
/external/autotest/server/site_tests/tast/
Dtast.py17 from autotest_lib.server.hosts import servo_host
236 host_args = servo_host.get_servo_args_for_host(self._host)
245 host_arg = merged_args.get(servo_host.SERVO_HOST_ATTR)
246 port_arg = merged_args.get(servo_host.SERVO_PORT_ATTR)
Dtast_unittest.py24 from autotest_lib.server.hosts import servo_host
502 '%s=%s' % (servo_host.SERVO_HOST_ATTR, SERVO_HOST),
503 '%s=%s' % (servo_host.SERVO_PORT_ATTR, SERVO_PORT),
518 servo_host.SERVO_HOST_ATTR: SERVO_HOST,
519 servo_host.SERVO_PORT_ATTR: SERVO_PORT,
/external/autotest/server/site_tests/power_PowerlogWrapper/
Dcontrol.charge_control38 'test=power_LoadTest.fast servo_host=localhost servo_port=9999 sweetberry_interval=1 sweetberry_con…
43 servo_host: host of servod instance; required.
/external/autotest/server/site_tests/power_Monitoring/
Dcontrol45 'suite=power_monitoring runtime_hr=20 servo_host=localhost servo_port=9999'
52 servo_host: host of servod instance.

12