Home
last modified time | relevance | path

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

1234567891011

/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')
82 psc = self.servo.get_power_state_controller()
92 self.servo.enter_key(press_secs=0)
98 self.servo.ctrl_d()
104 self.servo.ctrl_d()
108 self.servo.toggle_recovery_switch()
[all …]
/external/autotest/server/cros/servo/
Dfirmware_programmer.py52 def __init__(self, servo, req_list, servo_host=None): argument
60 self._servo = servo
121 def __init__(self, servo, keep_ro=False): argument
127 super(FlashromProgrammer, self).__init__(servo, ['flashrom',])
243 def __init__(self, servo, host=None, ec_chip=None): argument
257 super(FlashECProgrammer, self).__init__(servo, ['flash_ec'], host)
260 self._ec_chip = servo.get('ec_chip')
281 def __init__(self, servo): argument
282 self._servo = servo
341 def _get_flashrom_programmer(self, servo): argument
[all …]
Dchrome_base_ec.py9 from autotest_lib.server.cros.servo import chrome_ec
25 def __init__(self, servo, board): argument
34 super(ChromeBaseEC, self).__init__(servo, console_prefix)
105 def create_base_ec(servo): argument
114 base_board = servo.get_base_board()
116 return ChromeBaseEC(servo, base_board)
/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/faft/
Dfirmware_test.py22 from autotest_lib.server.cros.servo import chrome_base_ec
23 from autotest_lib.server.cros.servo import chrome_cr50
24 from autotest_lib.server.cros.servo import chrome_ec
39 self.servo = host.servo
40 self.servo.initialize_dut()
143 self.ec = chrome_ec.ChromeEC(self.servo)
146 self.usbpd = chrome_ec.ChromeUSBPD(self.servo)
155 self.base_ec = chrome_base_ec.create_base_ec(self.servo)
211 system_info['cr50_version'] = self.servo.get('cr50_version')
232 if self.servo.get_usbkey_direction() == 'dut':
[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/site_tests/firmware_Cr50OpenWhileAPOff/
Dfirmware_Cr50OpenWhileAPOff.py36 if 'servo_v4_with_servo_micro' != self.servo.get_servo_version():
42 self.servo.set('cold_reset', 'on')
44 self.servo.set('cold_reset', 'off')
64 self.servo.set('cold_reset', 'on')
70 self.servo.set('cold_reset', 'off')
87 self.servo.set_nocheck('servo_v4_dts_mode', 'off')
89 self.servo.set_nocheck('servo_v4_dts_mode', 'on')
99 self.servo.set('cold_reset', 'on')
/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()
61 self.servo.switch_usbkey('host')
62 usb_dev = self.servo.probe_host_usb_dev()
93 pre_power_action=self.servo.lid_open,
108 pre_power_action=self.servo.lid_open,
123 pre_power_action=self.servo.lid_open,
139 pre_power_action=self.servo.lid_open,
[all …]
/external/autotest/server/site_tests/network_WiFi_SuspendStress/
Dnetwork_WiFi_SuspendStress.py68 self._host.servo.lid_close()
69 self._host.servo.lid_open()
82 if not self._host.servo and try_servo:
87 self._host.servo.get('lid_open') == 'not_applicable'):
90 self._host.servo.lid_close()
92 self._host.servo.lid_open()
119 if not self._host.servo:
127 if self._host.servo.get('cold_reset') == 'on':
163 if self._host.servo and self._host.servo.get('cold_reset') == 'off':
164 self._host.servo.get_power_state_controller().reset()
/external/autotest/server/site_tests/firmware_ECWakeSource/
Dfirmware_ECWakeSource.py29 self.servo.set('lid_open', 'yes')
39 self.servo.power_short_press()
57 self.servo.power_normal_press()
63 self.servo.set('lid_open', 'no')
65 self.servo.set('lid_open', 'yes')
69 self.servo.set('lid_open', 'no')
73 self.servo.set('lid_open', 'yes')
80 use_ccd = 'ccd_cr50' in self.servo.get_servo_version()
/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/firmware_StandbyPowerConsumption/
Dfirmware_StandbyPowerConsumption.py58 self.host.servo.switch_usbkey('host')
59 self.host.servo.set('usb_mux_sel3', 'servo_sees_usbkey')
60 self.host.servo.set('dut_hub1_rst1', 'off')
62 self.host.servo.switch_usbkey('dut')
63 self.host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
64 self.host.servo.set('dut_hub1_rst1', 'on')
89 self.servo.power_short_press()
98 self.servo.power_short_press()
/external/autotest/server/site_tests/power_USBHotplugInSuspend/
Dpower_USBHotplugInSuspend.py27 self._host.servo.set('prtctl4_pwren', 'on')
29 self._host.servo.set('prtctl4_pwren', 'off')
30 time.sleep(self._host.servo.USB_POWEROFF_DELAY)
102 self._host.servo.switch_usbkey(self._init_usbkey_direction)
111 self._init_usbkey_power = self._host.servo.get('prtctl4_pwren')
112 self._init_usbkey_direction = self._host.servo.get_usbkey_direction()
115 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/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')
64 self.servo.switch_usbkey('dut')
/external/autotest/server/site_tests/platform_ServoPowerStateController/
Dplatform_ServoPowerStateController.py29 self.host.servo.switch_usbkey('off')
75 self.host.servo.switch_usbkey('off')
79 self.host.servo.switch_usbkey('dut')
89 self.host.servo.switch_usbkey('off')
97 self.host.servo.switch_usbkey('dut')
100 self.host.servo.switch_usbkey('off')
116 self.host.servo.switch_usbkey('off')
164 self.controller = host.servo.get_power_state_controller()
/external/autotest/server/site_tests/firmware_FlashServoKeyboardMap/
Dfirmware_FlashServoKeyboardMap.py20 servo = host.servo
27 servo.set_get_all(['at_hwb:off',
53 servo.set_get_all(['atmega_rst:on',
69 servo.set('usb_mux_sel4', 'off')
/external/autotest/contrib/
Dservo-stat20 HDCTOOLS=$(readlink -f $REPO/chroot/usr/lib/python2.7/site-packages/servo)
44 local servo=$2
46 timeout "${timeout}" ssh "${ssh_opts[@]}" "root@${servo}" "$@"
50 local servo=$1
52 _ssh 90 $servo dut-control "$@"
71 local servo_host=$(get_afe_host_attr $host servo_host ${host}-servo)
/external/autotest/server/site_tests/platform_ExternalUsbPeripherals/
Dplatform_ExternalUsbPeripherals.py53 self.host.servo.set(self.plug_port, switch)
131 self.host.servo.lid_close()
140 self.host.servo.lid_open()
274 self.host.servo.switch_usbkey('dut')
275 self.host.servo.set('dut_hub1_rst1','off')
278 self.host.servo.set(port, 'dut_sees_usbkey')
280 self.host.servo.set(_UPPER_USB_PORT, 'servo_sees_usbkey')
281 self.host.servo.set('usb_mux_oe2', 'off')
282 self.host.servo.set('usb_mux_oe4', 'off')
290 self.host.servo.set('dut_hub1_rst1','on')
/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'))
232 servo_cpu_temp = int(self.servo.get('cpu_temp'))
293 fan_speed = self.servo.get('fan_actual_rpm')
297 cpu_temp_before = int(self.servo.get('cpu_temp'))
302 cpu_temp_after = int(self.servo.get('cpu_temp'))
407 fan_rpm = int(self.servo.get('fan_target_rpm'))
/external/autotest/server/site_tests/platform_SuspendResumeTiming/
Dplatform_SuspendResumeTiming.py32 self.host.servo.set('dut_hub1_rst1', 'on')
33 self.host.servo.set('usb_mux_sel3', 'servo_sees_usbkey')
113 self.host.servo.set('dut_hub1_rst1', 'on')
126 self.host.servo.switch_usbkey('dut')
127 self.host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
128 self.host.servo.set('dut_hub1_rst1', 'off')
/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()
63 self.servo.switch_usbkey('host')
64 usb_dev = self.servo.probe_host_usb_dev()

1234567891011