/system/core/adb/ |
usb_linux.c | 85 static int known_device(const char *dev_name) 91 if(!strcmp(usb->fname, dev_name)) { 119 static void register_device(const char *dev_name, const char *devpath, 560 static void register_device(const char *dev_name, const char *devpath, 568 /* Since Linux will not reassign the device ID (and dev_name) 578 if(!strcmp(usb->fname, dev_name)) { 586 dev_name, ep_in, ep_out, interface); 588 strcpy(usb->fname, dev_name);
|
/external/libpcap/ |
pcap-dos.c | 111 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf); 599 open_driver (const char *dev_name, char *ebuf, int promisc) 607 if (strcmp (dev_name,dev->name)) 616 sprintf (ebuf, "failed to detect device `%s'", dev_name); 638 sprintf (ebuf, "failed to activate device `%s'", dev_name); 656 /* 'dev_name' not matched in 'dev_base' list. 660 sprintf (ebuf, "device `%s' not supported", dev_name); 667 sprintf (ebuf, "device `%s' not probed", dev_name); 902 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf) 927 if (dev_name && strncmp(dev_name,"pkt",3) [all...] |
/external/bluetooth/bluedroid/btif/co/ |
bta_hh_co.c | 399 void bta_hh_co_send_hid_info(btif_hh_device_t *p_dev, char *dev_name, UINT16 vendor_id, 412 p_dev->fd, dev_name, dscp_len); 421 strncpy((char*)ev.u.create.name, dev_name, sizeof(ev.u.create.name) - 1);
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_build.c | 195 nlen = p2p->cfg->dev_name ? os_strlen(p2p->cfg->dev_name) : 0; 198 wpabuf_put_data(buf, p2p->cfg->dev_name, nlen); 400 p2p_add_wps_string(buf, ATTR_DEV_NAME, p2p->cfg->dev_name);
|
p2p_parse.c | 330 if (attr.dev_name && attr.dev_name_len < sizeof(msg->device_name) && 332 os_memcpy(msg->device_name, attr.dev_name, attr.dev_name_len); 525 cli->dev_name = (const char *) t; 587 os_memcpy(name, cli->dev_name, cli->dev_name_len); 596 ret = os_snprintf(pos, end - pos, " dev_name='%s'\n", name);
|
p2p.h | 325 * dev_name - Device Name 327 char *dev_name; member in struct:p2p_config 634 * @dev_name: Device Name 646 const char *dev_name, u16 supp_config_methods, 817 int p2p_set_dev_name(struct p2p_data *p2p, const char *dev_name); [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps_attr_parse.h | 70 const u8 *dev_name; member in struct:wps_parse_attr
|
wps_validate.c | 383 static int wps_validate_dev_name(const u8 *dev_name, size_t len, 386 if (dev_name == NULL) { 394 if (len > 0 && dev_name[len - 1] == 0) { 396 "attribute value", dev_name, len); 1157 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, probe) || 1212 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, wps2) || 1318 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) || 1373 wps_validate_dev_name(attr.dev_name, attr.dev_name_len, 1) || [all...] |
wps.c | 613 if (attr.dev_name) { 619 if (attr.dev_name[i] < 32) 622 str[i] = attr.dev_name[i];
|
wps.h | 328 * @dev_name: Device Name (if available) 333 const char *dev_name); 494 const u8 *dev_name; member in struct:wps_event_data::wps_event_m2d 545 const char *dev_name; member in struct:wps_event_data::wps_event_er_enrollee
|
/hardware/invensense/65xx/libsensors_iio/ |
CompassSensor.IIO.primary.cpp | 57 if(!strcmp(dev_name, "USE_SYSFS")) { 68 /* for YAS53x compasses, dev_name is just a prefix, 70 if (fill_dev_full_name_by_prefix(dev_name, 73 "magnetometer will likely not work.", dev_name); 78 strncpy(dev_full_name, dev_name,
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 239 char dev_name[MM_CAMERA_DEV_NAME_LEN]; local 247 snprintf(dev_name, sizeof(dev_name), "/dev/%s", 249 sscanf(dev_name, "/dev/video%u", &cam_idx); 250 CDBG_ERROR("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); 254 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); 267 __func__, dev_name, strerror(errno)); 289 __func__, dev_name, strerror(errno)); [all...] |
mm_camera_interface.c | 103 char *dev_name = NULL; local 106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; 108 return dev_name; 1257 char dev_name[32]; local [all...] |
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 240 char dev_name[MM_CAMERA_DEV_NAME_LEN]; local 248 snprintf(dev_name, sizeof(dev_name), "/dev/%s", 250 sscanf(dev_name, "/dev/video%u", &cam_idx); 251 CDBG_ERROR("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); 255 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); 268 __func__, dev_name, strerror(errno)); 290 __func__, dev_name, strerror(errno)); [all...] |
mm_camera_interface.c | 103 char *dev_name = NULL; local 106 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; 108 return dev_name; 1257 char dev_name[32]; local [all...] |
/system/core/fs_mgr/ |
fs_mgr_verity.c | 260 static int get_verity_device_name(struct dm_ioctl *io, char *name, int fd, char **dev_name) 268 if (asprintf(dev_name, "/dev/block/dm-%u", dev_num) < 0) {
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 73 char *dev_name = NULL; local 75 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; 76 return dev_name; 759 char dev_name[32]; local 760 snprintf(dev_name, sizeof(dev_name), "/dev/media%d", num_media_devices); 761 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK);
|
/hardware/qcom/display/msm8960/liboverlay/ |
overlayUtils.h | 794 char dev_name[64] = {0}; local 795 snprintf(dev_name, sizeof(dev_name), dev, fbnum); 796 return fd.open(dev_name, flags);
|
/hardware/qcom/display/msm8974/liboverlay/ |
overlayUtils.h | 772 char dev_name[64] = {0}; local 773 snprintf(dev_name, sizeof(dev_name), dev, fbnum); 774 return fd.open(dev_name, flags);
|
/hardware/qcom/display/msm8x26/liboverlay/ |
overlayUtils.h | 794 char dev_name[64] = {0}; local 795 snprintf(dev_name, sizeof(dev_name), dev, fbnum); 796 return fd.open(dev_name, flags);
|
/device/lge/mako/camera/mm-camera-interface/ |
mm_camera_stream.c | 593 char dev_name[MM_CAMERA_DEV_NAME_LEN]; local 597 snprintf(dev_name, sizeof(dev_name), "/dev/%s", mm_camera_util_get_dev_name(my_obj)); 599 __func__, dev_name, *((mm_camera_stream_type_t *)val)); 600 stream->fd = open(dev_name, O_RDWR | O_NONBLOCK);
|
mm_camera_interface2.c | 604 char dev_name[32]; local 605 snprintf(dev_name, sizeof(dev_name), "/dev/media%d", num_media_devices); 606 dev_fd = open(dev_name, O_RDWR | O_NONBLOCK);
|
/external/yaffs2/yaffs2/ |
yaffs_fs.c | [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
msm8960_use_cases.h | 313 static int snd_ucm_extract_dev_name(char *buf, char **dev_name);
|
/hardware/qcom/msm8960/kernel-headers/linux/ |
msm_audio.h | 286 char dev_name[64]; member in struct:msm_snd_device_info
|