Searched refs:usb_state (Results 1 – 11 of 11) sorted by relevance
591 self.enable_rec_mode_and_reboot(usb_state='dut')594 self._enable_rec_mode_force_mrc_and_reboot(usb_state='dut')702 def enable_rec_mode_and_reboot(self, usb_state=None): argument717 if usb_state:718 self.servo.switch_usbkey(usb_state)723 if usb_state == 'dut':727 def _enable_rec_mode_force_mrc_and_reboot(self, usb_state=None): argument742 if usb_state:743 self.servo.switch_usbkey(usb_state)747 def disable_rec_mode_and_reboot(self, usb_state=None): argument[all …]
1522 def switch_usbkey(self, usb_state): argument1537 if self.get_usbkey_state() == usb_state:1540 if usb_state == 'off':1543 elif usb_state == 'host':1545 elif usb_state == 'dut':1548 raise error.TestError('Unknown USB state request: %s' % usb_state)
73 self.switcher.enable_rec_mode_and_reboot(usb_state='host')
85 self.switcher.enable_rec_mode_and_reboot(usb_state='host')
238 self.switcher.enable_rec_mode_and_reboot(usb_state='host')
96 self.switcher.enable_rec_mode_and_reboot(usb_state='host')
779 usb_state = host_info.get_label_value(781 if usb_state and usb_state == audit_const.HW_STATE_NEED_REPLACEMENT:
1280 usb_state = self.get_servo_usb_state()1281 return usb_state in ('', audit_const.HW_STATE_ACCEPTABLE,
226 usb_state = host.get_servo_usb_state()229 usb_state)
3553 [ 4.860469] (0)[235:kworker/0:2][g_android]usb_state<DISCONNECTED>4187 [ 7.872687] (0)[174:kworker/0:1][g_android]usb_state<DISCONNECTED>5198 [ 10.876836] (0)[235:kworker/0:2][g_android]usb_state<CONFIGURED>
982 [ 3.427270] [SMB1357] usb_state: USB_IN