Home
last modified time | relevance | path

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

12345678910

/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/
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',])
236 def __init__(self, servo): argument
238 super(FlashECProgrammer, self).__init__(servo, ['flash_ec',])
239 self._servo = servo
258 def __init__(self, servo): argument
259 self._servo = servo
318 def _get_flashrom_programmer(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.py22 from autotest_lib.server.cros.servo import chrome_cr50, chrome_ec
37 self.servo = host.servo
38 self.servo.initialize_dut()
138 self.ec = chrome_ec.ChromeEC(self.servo)
141 self.usbpd = chrome_ec.ChromeUSBPD(self.servo)
203 system_info['cr50_version'] = self.servo.get('cr50_version')
224 if self.servo.get_usbkey_direction() == 'dut':
227 self.servo.switch_usbkey('dut')
312 self.servo.switch_usbkey('host')
355 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,
104 pre_power_action=self.servo.lid_open,
119 pre_power_action=self.servo.lid_open,
135 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/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/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/firmware_ECLidShutdown/
Dfirmware_ECLidShutdown.py39 if self.servo.get('lid_open') == 'no':
40 self.servo.set('lid_open', 'yes')
58 self.servo.set('ec_uart_regexp', 'None')
72 self.servo.set('lid_open', 'no')
77 self.servo.set('lid_open', 'yes')
99 self.servo.set('lid_open', 'no')
104 self.servo.set('lid_open', 'yes')
/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/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')
94 self.host.servo.switch_usbkey('dut')
97 self.host.servo.switch_usbkey('off')
113 self.host.servo.switch_usbkey('off')
152 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/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_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/server/site_tests/firmware_ECWakeSource/
Dfirmware_ECWakeSource.py33 self.servo.power_short_press()
43 self.servo.power_normal_press()
49 self.servo.set('lid_open', 'no')
51 self.servo.set('lid_open', 'yes')
/external/autotest/server/site_tests/enterprise_CFM_MeetAppSanity/
Denterprise_CFM_MeetAppSanity.py36 if self.client.servo:
37 self.client.servo.switch_usbkey('dut')
38 self.client.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
40 self.client.servo.set('dut_hub1_rst1', 'off')
/external/autotest/server/site_tests/platform_ExternalUsbPeripherals/
Dplatform_ExternalUsbPeripherals.py56 self.host.servo.set('dut_hub1_rst1', reset)
134 self.host.servo.lid_close()
143 self.host.servo.lid_open()
266 self.host.servo.set('usb_mux_sel3', 'servo_sees_usbkey')
285 self.host.servo.switch_usbkey('dut')
288 self.host.servo.set('usb_mux_sel1', 'dut_sees_usbkey')
290 self.host.servo.set('usb_mux_sel1', 'servo_sees_usbkey')
291 self.host.servo.set('usb_mux_oe2', 'off')
292 self.host.servo.set('usb_mux_oe4', 'off')
293 self.host.servo.set('usb_mux_sel3', 'dut_sees_usbkey')
/external/autotest/server/site_tests/firmware_Cr50Uart/
Dcontrol13 DEPENDENCIES = "servo"
16 Verify cr50 handles enabling/disabling the uart if servo is
19 This must be done using servo instead of CCD, because we need to be able to
20 simulate servo disconnect.
/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')

12345678910