Home
last modified time | relevance | path

Searched refs:vid_pid (Results 1 – 12 of 12) sorted by relevance

/external/autotest/client/common_lib/cros/manual/
Dget_usb_devices.py100 def extract_peri_device(usbdata, vid_pid): argument
107 for _vid_pid in vid_pid:
180 def is_usb_device_ok(usbdata, vid_pid): argument
190 vid = vid_pid[0:4]
191 pid = vid_pid[-4:]
195 compare_list = _data['intdriver'][0:len(INTERFACES_LIST[vid_pid])]
196 if cmp(compare_list, INTERFACES_LIST[vid_pid]) == 0:
304 def get_device_prod(vid_pid): argument
310 if _key == vid_pid:
313 if _key == vid_pid:
[all …]
/external/autotest/client/common_lib/cros/cfm/usb/
Dusb_device_spec.py26 self.__class__._all_specs[self.vid_pid] = self
29 def get_usb_device_spec(cls, vid_pid): argument
31 return cls._all_specs.get(vid_pid)
44 def vid_pid(self): member in UsbDeviceSpec
62 return "%s (%s)" % (self._product, self.vid_pid)
Dusb_device.py53 def vid_pid(self): member in UsbDevice
146 return "%s (%s)" % (self._product, self.vid_pid)
150 self._product, self.vid_pid, self._bus, self._port, self.parent)
Dusb_device_spec_unittest.py27 self.assertEqual(self._spec.vid_pid, 'vid:pid')
32 self._spec.vid_pid))
Dcfm_usb_devices.py135 def get_usb_device_spec(vid_pid): argument
140 return usb_device_spec.UsbDeviceSpec.get_usb_device_spec(vid_pid)
Dusb_device_unittest.py31 self.assertEqual(self._usb_device.vid_pid, 'vid:pid')
52 self.assertEquals(child.get_parent(1).vid_pid, 'vid:pid')
Dusb_device_collector.py131 spec_vid_pids = [spec.vid_pid for spec in specs]
133 if d.vid_pid in spec_vid_pids]
Dcfm_usb_devices_unittest.py12 self.assertEqual(cfm_usb_devices.get_usb_device_spec(device_spec.vid_pid),
/external/autotest/server/site_tests/enterprise_CFM_PeripheralQualification/
Dcontrol.power_cycle22 The test requires a vid_pid argument (e.g. 18d1:8001) that determines which
26 In Moblab, add vid_pid=<vid:pid> under Advanced Options -> Args.
30 --board=guado --args 'servo_host= vid_pid=18d1:8001' \
35 vid,pid = args_dict['vid_pid'].split(':')
Dcontrol.reboot_stress19 The test requires a vid_pid argument (e.g. 18d1:8001) that determines which
25 vid,pid = args_dict['vid_pid'].split(':')
/external/autotest/server/site_tests/enterprise_CFM_Aver520Updater/
Denterprise_CFM_Aver520Updater.py69 self.vid_pid = self.camera.vid_pid
70 self.usb_spec = self.camera.get_usb_device_spec(self.vid_pid)
/external/autotest/server/site_tests/enterprise_CFM_MimoSanity/
Denterprise_CFM_MimoSanity.py45 self._mimo.product, self._mimo.vid_pid)