Home
last modified time | relevance | path

Searched refs:usb_dev (Results 1 – 10 of 10) sorted by relevance

/external/autotest/server/site_tests/firmware_InvalidUSB/
Dfirmware_InvalidUSB.py28 usb_dev = self.servo.probe_host_usb_dev()
29 self.restore_usb_kernel(usb_dev)
36 usb_dev = self.servo.probe_host_usb_dev()
37 self.assert_test_image_in_usb_disk(usb_dev)
38 self.corrupt_usb_kernel(usb_dev)
/external/autotest/server/site_tests/firmware_SelfSignedBoot/
Dfirmware_SelfSignedBoot.py36 self.usb_dev = self.get_usbdisk_path_on_dut()
37 if not self.usb_dev:
54 (self.KERNEL_MAP['a'], self.usb_dev))
60 % (self.KERNEL_MAP['a'], self.usb_dev))
/external/autotest/server/site_tests/firmware_FwScreenPressPower/
Dfirmware_FwScreenPressPower.py56 usb_dev = self.servo.probe_host_usb_dev()
59 self.corrupt_usb_kernel(usb_dev)
65 usb_dev = self.servo.probe_host_usb_dev()
67 self.restore_usb_kernel(usb_dev)
/external/autotest/server/site_tests/firmware_FwScreenCloseLid/
Dfirmware_FwScreenCloseLid.py54 usb_dev = self.servo.probe_host_usb_dev()
57 self.corrupt_usb_kernel(usb_dev)
64 usb_dev = self.servo.probe_host_usb_dev()
66 self.restore_usb_kernel(usb_dev)
/external/libiio/src/
Dusb.c768 libusb_device *usb_dev; in usb_create_context() local
815 usb_dev = NULL; in usb_create_context()
822 usb_dev = dev; in usb_create_context()
824 ret = libusb_open(usb_dev, &hdl); in usb_create_context()
835 usb_dev = NULL; in usb_create_context()
845 if (!usb_dev) { in usb_create_context()
868 ret = libusb_get_active_config_descriptor(usb_dev, &conf_desc); in usb_create_context()
967 ret = usb_populate_context_attrs(ctx, usb_dev, hdl); in usb_create_context()
/external/autotest/server/cros/faft/
Dfirmware_test.py556 def assert_test_image_in_usb_disk(self, usb_dev=None): argument
565 if usb_dev:
569 usb_dev = self.servo.probe_host_usb_dev()
570 if not usb_dev:
575 rootfs = '%s%s' % (usb_dev, self._ROOTFS_PARTITION_NUMBER)
576 logging.info('usb dev is %s', usb_dev)
1578 def _modify_usb_kernel(self, usb_dev, from_magic, to_magic): argument
1592 kernel_part = self._join_part(usb_dev, self.KERNEL_MAP['a'])
1610 def corrupt_usb_kernel(self, usb_dev): argument
1615 self._modify_usb_kernel(usb_dev, self.CHROMEOS_MAGIC,
[all …]
/external/autotest/server/hosts/
Dservo_host.py498 usb_dev = self._servo.probe_host_usb_dev()
507 if usb_dev:
510 validate_cmd = 'fdisk -l %s' % usb_dev
514 return usb_dev
516 ' but not detected by fdisk!', usb_dev)
557 usb_dev = self._probe_and_validate_usb_dev()
558 if usb_dev:
559 return self.get_image_name_from_usbkey(usb_dev)
Dcros_repair.py764 usb_dev = ''
766 usb_dev = host._servo_host._probe_and_validate_usb_dev()
771 if not usb_dev:
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi45060 …<var-decl name="usb_dev" type-id="fa0b179b" visibility="default" filepath="include/linux/usb.h" li…
66170 …<var-decl name="usb_dev" type-id="fa0b179b" visibility="default" filepath="include/linux/usb.h" li…
Dtest-PR27569-v0.abi45031 …<var-decl name="usb_dev" type-id="fa0b179b" visibility="default" filepath="include/linux/usb.h" li…
66156 …<var-decl name="usb_dev" type-id="fa0b179b" visibility="default" filepath="include/linux/usb.h" li…