Home
last modified time | relevance | path

Searched refs:servo (Results 1 – 25 of 181) sorted by relevance

12345678

/external/autotest/site_utils/rpm_control_system/
Dservo_interface_mapping.csv1 chromeos1-row1-rack10-host1-servo,chromeos1-poe-switch5,fa1
2 chromeos1-row1-rack10-host2-servo,chromeos1-poe-switch5,fa25
3 chromeos1-row1-rack10-host3-servo,chromeos1-poe-switch5,fa26
4 chromeos1-row1-rack10-host4-servo,chromeos1-poe-switch5,fa27
5 chromeos1-row1-rack10-host5-servo,chromeos1-poe-switch5,fa29
6 chromeos1-row1-rack10-host6-servo,chromeos1-poe-switch5,fa30
7 chromeos1-row1-rack11-host1-servo,chromeos1-poe-switch5,fa7
8 chromeos1-row1-rack11-host2-servo,chromeos1-poe-switch5,fa8
9 chromeos1-row1-rack11-host3-servo,chromeos1-poe-switch5,fa33
10 chromeos1-row1-rack11-host4-servo,chromeos1-poe-switch5,fa34
[all …]
/external/autotest/server/cros/faft/utils/
Dmode_switcher.py23 self.servo = faft_framework.servo
64 self.servo.ctrl_d()
70 self.servo.ctrl_u()
75 self.servo.switch_usbkey('host')
77 self.servo.switch_usbkey('dut')
80 psc = self.servo.get_power_state_controller()
90 self.servo.enter_key(press_secs=0)
96 self.servo.ctrl_d()
102 self.servo.ctrl_d()
106 self.servo.toggle_recovery_switch()
[all …]
/external/autotest/server/cros/
Dusb_mux_controller.py82 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S0)
83 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S1)
84 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_S2)
85 self.host.servo.system(UNEXPORT_GPIO_PIN % MUX_EN)
97 if 'gpio' + pin not in self.host.servo.system_output(LS_GPIO_DIRECTORY):
98 self.host.servo.system(EXPORT_GPIO_PIN % pin)
99 self.host.servo.system(SET_GPIO_DIRECTION % pin)
114 self.host.servo.system(SET_GPIO_VALUE % (port[0], MUX_S2))
115 self.host.servo.system(SET_GPIO_VALUE % (port[1], MUX_S1))
116 self.host.servo.system(SET_GPIO_VALUE % (port[2], MUX_S0))
[all …]
/external/autotest/server/cros/servo/
Dfirmware_programmer.py51 def __init__(self, servo, req_list): argument
57 self._servo = servo
114 def __init__(self, servo, keep_ro=False): argument
120 super(FlashromProgrammer, self).__init__(servo, ['flashrom',])
220 def __init__(self, servo): argument
222 super(FlashECProgrammer, self).__init__(servo, ['flash_ec',])
223 self._servo = servo
240 def __init__(self, servo): argument
241 self._servo = servo
300 def _factory_bios(self, servo): argument
[all …]
/external/autotest/server/site_tests/platform_CloseOpenLid/
Dplatform_CloseOpenLid.py19 host.servo.lid_close()
22 host.servo.lid_open()
23 host.servo.pass_devmode()
28 host.servo.power_long_press()
32 host.servo.lid_close()
33 host.servo.lid_open()
34 host.servo.pass_devmode()
/external/autotest/server/site_tests/factory_InstallServo/
Dfactory_InstallServo.py26 from autotest_lib.server.cros.servo import servo
37 self.servo = servo.Servo(
40 del self.servo
42 self.servo.initialize_dut(cold_reset=True)
44 self.servo.enable_usb_hub()
45 self.servo_usb_disk = self.servo.probe_host_usb_dev()
66 self.servo.install_recovery_image(image_path=shim_image)
/external/autotest/server/cros/faft/
Dfirmware_test.py23 from autotest_lib.server.cros.servo import chrome_ec
24 from autotest_lib.server.cros.servo import chrome_usbpd
39 self.servo = host.servo
40 self.servo.initialize_dut()
140 self.ec = chrome_ec.ChromeEC(self.servo)
143 self.usbpd = chrome_usbpd.ChromeUSBPD(self.servo)
222 if self.servo.get_usbkey_direction() == 'dut':
225 self.servo.switch_usbkey('dut')
310 self.servo.switch_usbkey('host')
353 assert self.servo.get_usbkey_direction() == 'host'
[all …]
/external/autotest/server/site_tests/firmware_FwScreenCloseLid/
Dfirmware_FwScreenCloseLid.py28 self.servo.lid_close()
43 self.servo.switch_usbkey('dut')
52 self.servo.switch_usbkey('host')
53 usb_dev = self.servo.probe_host_usb_dev()
60 self.servo.switch_usbkey('host')
61 usb_dev = self.servo.probe_host_usb_dev()
89 pre_power_action=self.servo.lid_open,
103 pre_power_action=self.servo.lid_open,
117 pre_power_action=self.servo.lid_open,
132 pre_power_action=self.servo.lid_open,
[all …]
/external/autotest/server/site_tests/platform_ExternalUSBBootStress/
Dplatform_ExternalUSBBootStress.py9 from autotest_lib.server.cros.servo import servo
48 host.servo.set('dut_hub1_rst1', reset)
63 host.servo.switch_usbkey('dut')
64 host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
99 host.servo.get_power_state_controller().reset()
100 host.servo.power_short_press()
101 time.sleep(servo.Servo.BOOT_DELAY)
102 host.servo.ctrl_d()
/external/autotest/server/site_tests/platform_ExternalUSBStress/
Dplatform_ExternalUSBStress.py22 if host.servo.get('lid_open') == 'not_applicable':
26 host.servo.lid_open()
27 if host.servo.get('lid_open') != 'yes':
72 host.servo.set('dut_hub1_rst1', reset)
111 host.servo.lid_close()
124 host.servo.lid_open()
126 host.servo.power_key(_WAKE_PRESS_IN_SEC)
171 host.servo.switch_usbkey('dut')
172 host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
/external/autotest/server/site_tests/network_WiFi_SuspendStress/
Dnetwork_WiFi_SuspendStress.py60 if self._host.servo.get('lid_open') == 'not_applicable':
63 self._host.servo.lid_close()
65 self._host.servo.lid_open()
81 if not self._host.servo:
88 if self._host.servo.get('cold_reset') == 'on':
124 if self._host.servo and self._host.servo.get('cold_reset') == 'off':
125 self._host.servo.get_power_state_controller().reset()
Dcontrol.24HT409 DEPENDENCIES = 'servo, wificell'
14 This test uses servo to simulate lid close and open events and checks that the
29 # We probably failed to connect to the servo. That's probably
30 # because the cell doesn't have a servo.
34 # without servo, and let the network_WiFi_SuspendStress
Dcontrol.5HT409 DEPENDENCIES = 'servo, wificell'
14 This test uses servo to simulate lid close and open events and checks that the
29 # We probably failed to connect to the servo. That's probably
30 # because the cell doesn't have a servo.
34 # without servo, and let the network_WiFi_SuspendStress
Dcontrol.11a11 DEPENDENCIES = 'servo, wificell'
15 This test uses servo to simulate lid close and open events and checks that the
30 # We probably failed to connect to the servo. That's probably
31 # because the cell doesn't have a servo.
35 # without servo, and let the network_WiFi_SuspendStress
Dcontrol.11b9 DEPENDENCIES = 'servo, wificell'
14 This test uses servo to simulate lid close and open events and checks that the
30 # We probably failed to connect to the servo. That's probably
31 # because the cell doesn't have a servo.
35 # without servo, and let the network_WiFi_SuspendStress
Dcontrol.11g9 DEPENDENCIES = 'servo, wificell'
14 This test uses servo to simulate lid close and open events and checks that the
30 # We probably failed to connect to the servo. That's probably
31 # because the cell doesn't have a servo.
35 # without servo, and let the network_WiFi_SuspendStress
/external/autotest/server/site_tests/firmware_InvalidUSB/
Dfirmware_InvalidUSB.py26 self.servo.switch_usbkey('host')
27 usb_dev = self.servo.probe_host_usb_dev()
32 self.servo.switch_usbkey('host')
33 usb_dev = self.servo.probe_host_usb_dev()
37 self.servo.switch_usbkey('dut')
61 self.servo.switch_usbkey('dut')
/external/autotest/server/site_tests/power_USBHotplugInSuspend/
Dpower_USBHotplugInSuspend.py23 self._host.servo.set('prtctl4_pwren', 'on')
25 self._host.servo.set('prtctl4_pwren', 'off')
26 time.sleep(self._host.servo.USB_POWEROFF_DELAY)
98 self._host.servo.switch_usbkey(self._init_usbkey_direction)
107 self._init_usbkey_power = self._host.servo.get('prtctl4_pwren')
108 self._init_usbkey_direction = self._host.servo.get_usbkey_direction()
111 self._host.servo.switch_usbkey('dut')
/external/autotest/server/site_tests/firmware_ECLidShutdown/
Dfirmware_ECLidShutdown.py41 if self.servo.get('lid_open') == 'no':
42 self.servo.set('lid_open', 'yes')
60 self.servo.set('ec_uart_regexp', 'None')
74 self.servo.set('lid_open', 'no')
79 self.servo.set('lid_open', 'yes')
101 self.servo.set('lid_open', 'no')
106 self.servo.set('lid_open', 'yes')
/external/autotest/server/site_tests/platform_ServoPowerStateController/
Dplatform_ServoPowerStateController.py26 self.host.servo.switch_usbkey('off')
72 self.host.servo.switch_usbkey('off')
76 self.host.servo.switch_usbkey('dut')
86 self.host.servo.switch_usbkey('off')
95 self.host.servo.switch_usbkey('dut')
98 self.host.servo.switch_usbkey('off')
114 self.host.servo.switch_usbkey('off')
153 self.controller = host.servo.get_power_state_controller()
/external/autotest/server/site_tests/platform_PowerStatusStress/
Dplatform_PowerStatusStress.py64 self.host.servo.lid_close()
73 self.host.servo.lid_open()
75 self.host.servo.power_key(_WAKE_PRESS_IN_SEC)
82 self.host.servo.lid_open()
134 if self.host.servo.get('lid_open') == 'not_applicable':
138 self.host.servo.lid_open()
139 if self.host.servo.get('lid_open') != 'yes':
/external/autotest/server/site_tests/firmware_ECThermal/
Dfirmware_ECThermal.py47 self.servo.set_nocheck('fan_target_rpm', 'auto')
54 self.servo.set_nocheck('fan_target_rpm', 'max')
59 self.servo.set('fan_target_rpm', 'off')
111 self.servo.set_nocheck('fan_target_rpm', "%d" % self._fan_steps[i])
112 self._fan_steps[i] = int(self.servo.get('fan_target_rpm'))
229 servo_cpu_temp = int(self.servo.get('cpu_temp'))
290 fan_speed = self.servo.get('fan_actual_rpm')
294 cpu_temp_before = int(self.servo.get('cpu_temp'))
299 cpu_temp_after = int(self.servo.get('cpu_temp'))
404 fan_rpm = int(self.servo.get('fan_target_rpm'))
/external/autotest/server/site_tests/firmware_FwScreenPressPower/
Dfirmware_FwScreenPressPower.py32 self.servo.power_normal_press()
47 self.servo.switch_usbkey('dut')
55 self.servo.switch_usbkey('host')
56 usb_dev = self.servo.probe_host_usb_dev()
62 self.servo.switch_usbkey('host')
63 usb_dev = self.servo.probe_host_usb_dev()
/external/autotest/site_utils/deployment/
Dinstall.py229 host.servo = host._servo_host.get_servo()
230 host.servo.initialize_dut()
231 if not host.servo.probe_host_usb_dev():
310 servo = host.servo
314 servo.get_power_state_controller().power_off()
315 servo.switch_usbkey('dut')
316 servo.get_power_state_controller().power_on()
320 servo.ctrl_u()
354 host.servo.image_to_servo_usb(
/external/autotest/server/site_tests/audio_AudioRoutingUSB/
Daudio_AudioRoutingUSB.py30 host.servo.set('dut_usb2_prtctl', 'on')
33 host.servo.set('usb_mux_oe2', 'off')
38 host.servo.set('usb_mux_oe2', 'on')
43 host.servo.set('usb_mux_oe2', 'off')

12345678