Home
last modified time | relevance | path

Searched refs:vid (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CameraITS/tools/
Drotation_rig.py36 def cmd_send(vid, pid, cmd_str): argument
44 hw_list = hw.Device(ROT_RIG_DEVICE, vid, pid, '1', '0')
57 print 'Port %s:%s is not open' % (vid, pid)
61 def set_relay_channel_state(vid, pid, channel, relay_state): argument
73 cmd_send(vid, pid, RELAY_SET_CMD + channel + '.' + relay_state + '\r\n')
90 vid = '0x' + rotator_ids[0]
97 vid = '0x' + ROT_RIG_VID
104 vid = '0x' + ROT_RIG_VID
118 set_relay_channel_state(vid, pid, ch, 'ON')
120 set_relay_channel_state(vid, pid, ch, 'OFF')
Dhardware.py56 def __init__(self, name, vid, pid, cfg, inf): argument
59 self._build_device(name, vid, pid, cfg, inf)
77 def _build_device(self, name, vid, pid, cfg, inf): argument
92 entry[self.KEY_VID] = int(vid, 16)
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAoapInterface.java124 final int vid = device.getVendorId(); in isDeviceInAoapMode() local
126 return vid == USB_ACCESSORY_VENDOR_ID in isDeviceInAoapMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DAoapInterface.java129 final int vid = device.getVendorId(); in isDeviceInAoapMode() local
131 return vid == USB_ACCESSORY_VENDOR_ID in isDeviceInAoapMode()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTest.java580 ArrayList<Integer> vid = new ArrayList<Integer>(); in testTrackSelection() local
593 vid.add(n1); in testTrackSelection()
614 assertEquals(vid.size(), idx); in testTrackSelection()
617 assertEquals(vid.get(idx++).intValue(), n1); in testTrackSelection()
655 assertEquals(vid.size(), idx); in testTrackSelection()
658 assertEquals(vid.get(idx++).intValue(), n1); in testTrackSelection()
687 assertEquals(vid.size(), vididx); in testTrackSelection()
695 assertEquals(vid.get(vididx++).intValue(), n1); in testTrackSelection()
720 assertEquals(vid.size(), vididx); in testTrackSelection()
726 assertEquals(vid.get(vididx++).intValue(), n1); in testTrackSelection()