/external/autotest/client/common_lib/cros/cfm/usb/ |
cfm_usb_devices.py | 14 UsbDeviceSpec (mapping is done using vid:pid), but due to bugs that might 22 vid='2bd9', variable 29 vid='046d', variable 36 vid='046d', variable 43 vid='046d', variable 50 vid='046d', variable 58 vid='18d1', variable 65 vid='0b0e', variable 73 vid='17e9', variable 85 vid='17e9' variable 95 vid='266e', variable [all...] |
usb_device_unittest.py | 13 vid='vid', 22 self.assertEqual(self._usb_device.vendor_id, 'vid') 31 self.assertEqual(self._usb_device.vid_pid, 'vid:pid') 44 vid='vid1', 52 self.assertEquals(child.get_parent(1).vid_pid, 'vid:pid') 59 vid='vid',
|
usb_device_spec.py | 13 def __init__(self, vid, pid, product, interfaces): 17 @param vid: Vendor ID. String. 22 self._vid = vid
|
/cts/apps/CameraITS/tools/ |
rotation_rig.py | 36 def cmd_send(vid, pid, cmd_str): 40 vid: str; vendor ID 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): 65 vid: str; vendor ID 73 cmd_send(vid, pid, RELAY_SET_CMD + channel + '.' + relay_state + '\r\n') 81 expected rotator string is vid:pid:ch. 82 vid:pid can be found through lsusb on the host. 90 vid = '0x' + rotator_ids[0 [all...] |
/external/toybox/toys/other/ |
lsusb.c | 22 int busnum = 0, devnum = 0, pid = 0, vid = 0; local 35 || sscanf(toybuf, "PRODUCT=%x/%x/", &pid, &vid)) count++; 38 printf("Bus %03d Device %03d: ID %04x:%04x\n", busnum, devnum, pid, vid);
|
/external/webrtc/talk/media/devices/ |
win32deviceinfo.cc | 33 // Both PID and VID are 4 characters. 35 const char vid[] = "vid_"; // Also contains '\0'. local 36 const size_t vid_location = device.id.find(vid); 38 vid_location + sizeof(vid) - 1 + id_size > device.id.size()) { 47 std::string id_vendor = device.id.substr(vid_location + sizeof(vid) - 1,
|
/external/wpa_supplicant_8/src/ap/ |
vlan_util.h | 16 int vlan_add(const char *if_name, int vid, const char *vlan_if_name);
|
vlan_ioctl.c | 55 Add a vlan interface with VLAN ID 'vid' and tagged interface 62 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) 67 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d)", 68 if_name, vid); 88 vid); 93 if_request.u.VID == vid) { 111 if_request.u.VID = vid;
|
vlan_util.c | 17 * Add a vlan interface with name 'vlan_if_name', VLAN ID 'vid' and 24 int vlan_add(const char *if_name, int vid, const char *vlan_if_name) 31 wpa_printf(MSG_DEBUG, "VLAN: vlan_add(if_name=%s, vid=%d, " 32 "vlan_if_name=%s)", if_name, vid, vlan_if_name); 97 err = rtnl_link_vlan_set_id(rlink, vid); 108 vlan_if_name, vid, if_name, if_idx,
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/ |
UsbDeviceSettings.java | 36 UsbDeviceSettings(String serialNumber, int vid, int pid) { 40 mVid = vid; 82 return "UsbDeviceSettings{serial=" + getSerialNumber() + ", vid=" + mVid + "pid=" + mPid 121 public static UsbDeviceSettings constructSettings(String serialNumber, int vid, int pid, 123 UsbDeviceSettings settings = new UsbDeviceSettings(serialNumber, vid, pid);
|
UsbSettingsStorage.java | 38 private static final String COLUMN_VID = "vid"; 54 public UsbDeviceSettings getSettings(String serialNumber, int vid, int pid) { 60 new String[]{serialNumber, Integer.toString(vid), Integer.toString(pid)}, 66 + " vid: " + vid + " pid: " + pid + " returned " 71 + " vid: " + vid + " pid: " + pid); 97 public void deleteSettings(String serialNumber, int vid, int pid) { 103 new String[]{serialNumber, Integer.toString(vid), Integer.toString(pid)}); 106 + " vid: " + vid + " pid: " + pid) [all...] |
/external/autotest/client/common_lib/cros/manual/ |
get_usb_devices.py | 108 vid = _vid_pid.split(':')[0] 111 if vid == _data['Vendor'] and pid == _data['ProdID']: 183 @vid_pid: VID, PID combination for each type of USB device 190 vid = vid_pid[0:4] 193 if vid == _data['Vendor'] and pid == _data['ProdID']: 210 vid = _speaker.split(':')[0] 214 if _data['Vendor'] == vid and _data['ProdID'] == pid: 241 vid = _camera.split(':')[0] 245 if _data['Vendor'] == vid and _data['ProdID'] == pid: 258 vid = _display.split(':')[0 [all...] |
/external/iproute2/bridge/ |
vlan.c | 25 "Usage: bridge vlan { add | del } vid VLAN_ID dev DEV [ pvid ] [ untagged ]\n" 27 " bridge vlan { show } [ dev DEV ] [ vid VLAN_ID ]\n"); 44 short vid = -1; local 54 } else if (strcmp(*argv, "vid") == 0) { 62 vid = atoi(*argv); 66 vid = atoi(*argv); 83 if (d == NULL || vid == -1) { 94 if (vid >= 4096) { 95 fprintf(stderr, "Invalid VLAN ID \"%hu\"\n", vid); 100 if (vid_end == -1 || vid_end >= 4096 || vid >= vid_end) [all...] |
/frameworks/native/opengl/tests/swapinterval/ |
swapinterval.cpp | 64 EGLint r,g,b,a, vid; local 69 eglGetConfigAttrib(dpy, config, EGL_NATIVE_VISUAL_ID, &vid); 75 EGLUtils::strerror(err), config, r,g,b,a, vid); 80 config, r,g,b,a, vid);
|
/hardware/google/interfaces/pixelstats/1.0/ |
IPixelStats.hal | 38 * Reports the connection, along with VID, PID, of any USB device attached 40 * @param vid USB Vendor ID 43 reportUsbAudioConnected(int32_t vid, int32_t pid); 46 * Reports the disconnection, along with VID, PID, and connection duration, 48 * @param vid USB Vendor ID 52 reportUsbAudioDisconnected(int32_t vid, int32_t pid, int32_t durationMillis);
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
UsbDeviceSettings.java | 35 UsbDeviceSettings(String serialNumber, int vid, int pid) { 37 mVid = vid; 87 return "UsbDeviceSettings{serial=" + mSerialNumber + ", vid=" + mVid + ", pid=" + mPid 132 public static UsbDeviceSettings constructSettings(String serialNumber, int vid, int pid, 134 UsbDeviceSettings settings = new UsbDeviceSettings(serialNumber, vid, pid);
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_vs_exec.c | 131 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID]; local 132 assert(vid < ARRAY_SIZE(machine->SystemValue)); 133 machine->SystemValue[vid].xyzw[0].i[j] = i + j; 137 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_BASEVERTEX]; local 138 assert(vid < ARRAY_SIZE(machine->SystemValue)); 139 machine->SystemValue[vid].xyzw[0].i[j] = 0; 143 unsigned vid = machine->SysSemanticToIndex[TGSI_SEMANTIC_VERTEXID_NOBASE]; local 144 assert(vid < ARRAY_SIZE(machine->SystemValue)); 145 machine->SystemValue[vid].xyzw[0].i[j] = i + j;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
AoapInterface.java | 129 final int vid = device.getVendorId(); local 131 return vid == USB_ACCESSORY_VENDOR_ID
|
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/ |
AoapInterface.java | 124 final int vid = device.getVendorId(); local 126 return vid == USB_ACCESSORY_VENDOR_ID
|
/frameworks/base/tests/UsbHostExternalManagmentTest/UsbHostExternalManagmentTestApp/src/com/android/hardware/usb/externalmanagementtest/ |
AoapInterface.java | 129 final int vid = device.getVendorId(); local 131 return vid == USB_ACCESSORY_VENDOR_ID
|
/hardware/google/interfaces/pixelstats/1.0/default/ |
PixelStats.h | 47 Return<void> reportUsbAudioConnected(int32_t vid, int32_t pid) override; 48 Return<void> reportUsbAudioDisconnected(int32_t vid, int32_t pid,
|
/toolchain/binutils/binutils-2.27/binutils/ |
windmc.h | 55 rc_uint_type vid; member in struct:mc_node_lang 68 rc_uint_type vid; member in struct:mc_node
|
/external/autotest/server/site_tests/kernel_ExternalUsbPeripheralsDetectionTest/ |
kernel_ExternalUsbPeripheralsDetectionTest.py | 135 for vid in vendor_id_dict_control_file.keys(): 136 peripheral = vendor_id_dict_control_file[vid] 137 if vid not in vendor_ids.keys(): 143 self.host.run('ls -1 %s' % vendor_ids[vid], 152 driver_path = os.path.join(vendor_ids[vid],
|
/external/ipsec-tools/src/racoon/ |
vendorid.c | 149 vchar_t vid; local 157 "unable to get memory for VID hash\n"); 165 vid.v = (char *) all_vendor_ids[i].string; 166 vid.l = strlen(vid.v); 168 all_vendor_ids[i].hash = eay_md5_one(&vid); 188 vchar_t vid, *new; local 206 * of the VID that could be free'd after use. 220 vchar_t vid, *vidhash; local
|
/external/libusb/examples/ |
fxload.c | 68 fprintf(stderr, "\nUsage: fxload [-v] [-V] [-t type] [-d vid:pid] [-p bus,addr] [-s loader] -i firmware\n"); 72 fprintf(stderr, " -d <vid:pid> -- Target device, as an USB VID:PID\n"); 94 unsigned vid = 0, pid = 0; local 105 if (sscanf(device_id, "%x:%x" , &vid, &pid) != 2 ) { 106 fputs ("please specify VID & PID as \"vid:pid\" in hexadecimal format\n", stderr); 204 if ((desc.idVendor == known_device[j].vid) 208 // vid:pid was specified and we have a match 209 ((type == NULL) && (device_id != NULL) && (vid == desc.idVendor) && (pid == desc.idProduct)) | [all...] |