HomeSort by relevance Sort by last modified time
    Searched refs:vid (Results 1 - 25 of 259) sorted by null

1 2 3 4 5 6 7 8 91011

  /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/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
video_file_frame_generator_unittest.py 28 vid = os.path.join(util.GetUnittestDataDir(), 'screen_3_frames.mov')
29 fg = self.VideoFileFrameGenerator(vid)
59 vid = os.path.join(util.GetUnittestDataDir(), 'screen_3_frames.mov')
60 fg = self.VideoFileFrameGenerator(vid, 2)
73 vid = os.path.join(util.GetUnittestDataDir(), 'screen_3_frames.mov')
75 self.VideoFileFrameGenerator(vid, 4)
video_unittest.py 29 vid = os.path.join(util.GetUnittestDataDir(), 'vid.mp4')
41 video_obj = video.Video(vid)
45 for i, timestamp_bitmap in enumerate(video_obj._FramesFromMp4(vid)):
  /external/iproute2/bridge/
vlan.c 20 fprintf(stderr, "Usage: bridge vlan { add | del } vid VLAN_ID dev DEV [ pvid] [ untagged ]\n");
34 short vid = -1; local
52 } else if (strcmp(*argv, "vid") == 0) {
59 vid = atoi(*argv);
63 vid = atoi(*argv);
81 if (d == NULL || vid == -1) {
92 if (vid >= 4096) {
93 fprintf(stderr, "Invalid VLAN ID \"%hu\"\n", vid);
98 if (vid_end == -1 || vid_end >= 4096 || vid >= vid_end) {
100 vid, vid_end)
    [all...]
  /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/car-usb-handler/src/android/car/usb/handler/
UsbDeviceSettings.java 36 UsbDeviceSettings(String serialNumber, int vid, int pid) {
40 mVid = vid;
90 return "UsbDeviceSettings{serial=" + mSerialNumber + ", vid=" + mVid + ", pid=" + mPid
127 public static UsbDeviceSettings constructSettings(String serialNumber, int vid, int pid,
129 UsbDeviceSettings settings = new UsbDeviceSettings(serialNumber, vid, pid);
UsbSettingsStorage.java 37 private static final String COLUMN_VID = "vid";
95 public void deleteSettings(String serialNumber, int vid, int pid) {
101 new String[]{serialNumber, Integer.toString(vid), Integer.toString(pid)});
104 + " vid: " + vid + " pid: " + pid);
108 + serialNumber + " vid: " + vid + " pid: " + pid);
  /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...]
  /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);
  /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
  /toolchain/binutils/binutils-2.25/binutils/
windmc.h 55 rc_uint_type vid; member in struct:mc_node_lang
68 rc_uint_type vid; member in struct:mc_node
windmc.c 301 mc_add_node_lang (mc_node *root, const mc_keyword *lang, rc_uint_type vid)
310 ret->vid = vid;
322 if (h->vid > vid)
324 if (h->vid == vid)
325 fatal ("double defined message id %ld.\n", (long) vid);
370 write_header_define (FILE *fp, const unichar *sym_name, rc_uint_type vid, const unichar *typecast, mc_node_lang *nl)
380 fprintf (fp, "//\n// MessageId: 0x%lu\n//\n", (unsigned long) vid);
    [all...]
  /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
nattraversal.c 82 * check if the given vid is NAT-T.
85 natt_vendorid (int vid)
89 vid == VENDORID_NATT_00 ||
92 vid == VENDORID_NATT_01 ||
95 vid == VENDORID_NATT_02 ||
96 vid == VENDORID_NATT_02_N ||
99 vid == VENDORID_NATT_03 ||
102 vid == VENDORID_NATT_04 ||
105 vid == VENDORID_NATT_05 ||
108 vid == VENDORID_NATT_06 |
    [all...]
  /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...]
  /frameworks/base/cmds/hid/jni/
com_android_commands_hid_Device.h 40 static Device* open(int32_t id, const char* name, int32_t vid, int32_t pid,
  /frameworks/base/cmds/hid/src/com/android/commands/hid/
Device.java 55 private static native long nativeOpenDevice(String name, int id, int vid, int pid,
60 public Device(int id, String name, int vid, int pid, byte[] descriptor, byte[] report) {
67 args.argi2 = vid;
72 args.arg1 = id + ":" + vid + ":" + pid;

Completed in 355 milliseconds

1 2 3 4 5 6 7 8 91011