Home
last modified time | relevance | path

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

12345678910>>...12

/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.py27 self.servo = faft_framework.servo
77 self.servo.ctrl_d()
86 self.servo.ctrl_u()
91 self.servo.switch_usbkey('host')
93 self.servo.switch_usbkey('dut')
98 psc = self.servo.get_power_state_controller()
108 self.servo.enter_key(press_secs=0)
114 self.servo.ctrl_d()
118 self.servo.toggle_recovery_switch()
121 self.servo.enter_key()
[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.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')
283 def __init__(self, servo): argument
284 self._servo = servo
343 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/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()
147 self.ec = chrome_ec.ChromeEC(self.servo)
150 self.usbpd = chrome_ec.ChromeUSBPD(self.servo)
159 self.base_ec = chrome_base_ec.create_base_ec(self.servo)
215 'servo_type': self.servo.get_servo_version()
220 system_info['servo_micro_version'] = self.servo.get(
[all …]
/external/autotest/server/site_tests/firmware_FlashServoKeyboardMap/
Dfirmware_FlashServoKeyboardMap.py20 servo = host.servo
27 servo.set_get_all(['at_hwb:off',
33 if 'servo_v4' not in servo.get_servo_version():
34 servo.set('usb_mux_sel4', 'on')
56 servo.set_get_all(['atmega_rst:on',
73 if 'servo_v4' not in servo.get_servo_version():
74 servo.set('usb_mux_sel4', 'on')
/external/autotest/server/site_tests/platform_StageAndRecover/
Dplatform_StageAndRecover.py20 self.host.servo.switch_usbkey('host')
27 self.host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
28 self.host.servo.set('dut_hub1_rst1','on')
31 self.host.servo.set('usb_mux_sel1', 'dut_sees_usbkey')
32 self.host.servo.set('usb_mux_sel1', 'servo_sees_usbkey')
39 self.host.servo.set('usb_mux_sel3', 'servo_sees_usbkey')
40 self.host.servo.set('dut_hub1_rst1','off')
57 self.host.servo.image_to_servo_usb(image_path,
62 self.host.servo.boot_in_recovery_mode()
/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_Cr50DeferredECReset/
Dfirmware_Cr50DeferredECReset.py42 self.servo.set('servo_v4_role', 'snk')
51 self.servo.set('servo_v4_role', 'src')
60 self.servo.set('pwr_button', 'press')
61 self.servo.set('pwr_button', 'release')
118 self.servo.set('servo_v4_role', 'snk')
132 self.servo.set_nocheck('pwr_button', power_button_setval)
135 self.servo.set_nocheck('servo_v4_dts_mode',
140 self.servo.set('servo_v4_role', 'src')
152 self.servo.set('pwr_button', 'release')
159 if self.servo.get('servo_v4_dts_mode') == 'off':
/external/autotest/server/site_tests/firmware_ECWakeSource/
Dfirmware_ECWakeSource.py26 self.servo.set('lid_open', 'yes')
35 self.servo.power_short_press()
53 self.servo.power_normal_press()
59 self.servo.set('lid_open', 'no')
61 self.servo.set('lid_open', 'yes')
65 self.servo.set('lid_open', 'no')
69 self.servo.set('lid_open', 'yes')
76 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/firmware_FwScreenCloseLid/
Dfirmware_FwScreenCloseLid.py28 self.servo.lid_close()
43 self.servo.switch_usbkey('dut')
53 usb_dev = self.servo.probe_host_usb_dev()
62 self.servo.switch_usbkey('host')
63 usb_dev = self.servo.probe_host_usb_dev()
100 pre_power_action=self.servo.lid_open,
115 pre_power_action=self.servo.lid_open,
130 pre_power_action=self.servo.lid_open,
146 pre_power_action=self.servo.lid_open,
169 pre_power_action=self.servo.lid_open,
/external/autotest/server/site_tests/firmware_DevMode/
Dfirmware_DevMode.py9 from autotest_lib.server.cros.servo import chrome_ec
33 self.servo.set_nocheck('volume_up_hold', 100)
35 self.servo.set_nocheck('volume_up_hold', 100)
37 self.servo.set_nocheck('volume_up_hold', 100)
41 self.servo.power_short_press()
45 self.servo.power_short_press()
88 self.servo.get_power_state_controller().power_off()
90 self.servo.power_short_press()
/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/site_utils/deployment/prepare/
Ddut.py76 host.servo.uart_logs_dir = logs_dir
89 host.servo.image_to_servo_usb(host.stage_image_for_servo(build))
129 servo = host.servo
133 servo.get_power_state_controller().power_off()
134 servo.switch_usbkey('dut')
135 servo.get_power_state_controller().power_on()
139 servo.ctrl_u()
/external/autotest/server/site_tests/platform_ServoPowerStateController/
Dplatform_ServoPowerStateController.py120 self.host.servo.switch_usbkey('off')
166 self.host.servo.switch_usbkey('off')
170 self.host.servo.switch_usbkey('dut')
180 self.host.servo.switch_usbkey('off')
188 self.host.servo.switch_usbkey('dut')
191 self.host.servo.switch_usbkey('off')
207 self.host.servo.switch_usbkey('off')
246 self.controller = host.servo.get_power_state_controller()
/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_Cr50U2fCommands/
Dfirmware_Cr50U2fCommands.py240 self.servo.power_short_press()
256 self.servo.power_short_press()
265 self.servo.power_short_press()
293 self.servo.power_short_press()
307 self.servo.power_short_press()
326 self.servo.power_short_press()
338 self.servo.power_short_press()
370 self.servo.power_short_press()
391 self.servo.power_short_press()
467 self.servo.power_short_press()
[all …]
/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')
/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()
33 self.servo.switch_usbkey('host')
34 usb_dev = self.servo.probe_host_usb_dev()
38 self.servo.switch_usbkey('dut')
72 self.servo.switch_usbkey('dut')
/external/autotest/server/site_tests/firmware_Cr50OpenWhileAPOff/
Dfirmware_Cr50OpenWhileAPOff.py41 if 'servo_v4_with_servo_micro' != self.servo.get_servo_version():
136 self.servo.set(self.reset_signal, 'off')
142 self.servo.set_nocheck('power_state', 'off')
150 self.servo.set(self.reset_signal, 'on' if state == 'off' else 'off')
155 self.servo.power_short_press()
178 self.servo.set_nocheck('servo_v4_dts_mode', 'off')
180 self.servo.set_nocheck('servo_v4_dts_mode', 'on')
/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)

12345678910>>...12