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/provider/src/android/provider/cts/
DMediaStore_Video_ThumbnailsTest.java113 long vid = c.getLong(2); in testGetThumbnail() local
114 assertEquals(videoId, vid); in testGetThumbnail()