/device/htc/flounder/sensor_hub/libsensors/ |
SensorBase.h | 35 const char* dev_name; member in class:SensorBase 55 const char* dev_name,
|
/hardware/akm/AK8975_FS/libsensors/ |
SensorBase.h | 32 const char* dev_name; member in class:SensorBase 54 const char* dev_name,
|
/development/host/windows/usb/api/ |
adb_helper_routines.cpp | 109 std::wstring dev_name;
local 111 if (GetUsbDeviceName(hardware_dev_info, &interface_data, &dev_name)) {
114 tmp.push_back(AdbInstanceEnumEntry(dev_name.c_str(),
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
media_v4l2_test.cc | 48 std::string dev_name = "/dev/video"; local 68 dev_name = strdup(optarg); 125 V4L2Device* device = new V4L2Device(dev_name.c_str(), io, buffers);
|
media_v4l2_unittest.cc | 25 void TestMultipleOpen(const char* dev_name, V4L2Device::IOMethod io) { 26 V4L2Device v4l2_dev1(dev_name, io, 4); 27 V4L2Device v4l2_dev2(dev_name, io, 4); 29 printf("[Error] Can not open device '%s' for the first time\n", dev_name); 32 printf("[Error] Can not open device '%s' for the second time\n", dev_name); 40 void TestMultipleInit(const char* dev_name, V4L2Device::IOMethod io) { 41 V4L2Device v4l2_dev1(dev_name, io, 4); 42 V4L2Device v4l2_dev2(dev_name, io, 4); 44 printf("[Error] Can not open device '%s' for the first time\n", dev_name); 47 printf("[Error] Can not open device '%s' for the second time\n", dev_name); 252 std::string dev_name = "\/dev\/video", io_name; local [all...] |
/external/libpcap/ |
pcap-bt-linux.c | 117 char dev_name[20], dev_descr[30]; local 119 snprintf(dev_name, 20, BT_IFACE"%d", dev_req->dev_id); 122 if (pcap_add_if(alldevsp, dev_name, 0,
|
pcap-canusb-linux.c | 123 char dev_name[30]; local 128 snprintf(dev_name, 30, CANUSB_IFACE"%s", sernum); 133 if (pcap_add_if(alldevsp, dev_name, 0, dev_descr, err_str) < 0)
|
/hardware/invensense/6515/libsensors_iio/ |
SensorBase.h | 71 const char *dev_name; member in class:SensorBase 87 SensorBase(const char* dev_name, const char* data_name);
|
/hardware/invensense/65xx/libsensors_iio/ |
SensorBase.h | 70 const char *dev_name; member in class:SensorBase 86 SensorBase(const char* dev_name, const char* data_name);
|
/hardware/qcom/audio/hal/audio_extn/ |
hwdep_cal.c | 69 char dev_name[256]; local 71 snprintf(dev_name, sizeof(dev_name), "/dev/snd/hwC%uD%u", 73 ALOGD("%s: Opening device %s\n", __func__, dev_name); 74 fd = open(dev_name, O_WRONLY); 76 ALOGE("%s: cannot open device '%s'\n", __func__, dev_name);
|
/system/connectivity/shill/net/ |
sockets.cc | 59 char dev_name[IFNAMSIZ]; local 60 CHECK_GT(sizeof(dev_name), device.length()); 61 memset(&dev_name, 0, sizeof(dev_name)); 62 snprintf(dev_name, sizeof(dev_name), "%s", device.c_str()); 63 return setsockopt(sockfd, SOL_SOCKET, SO_BINDTODEVICE, &dev_name, 64 sizeof(dev_name));
|
/system/core/libdiskconfig/ |
config_mbr.c | 325 char *dev_name = NULL; local 339 if (!(dev_name = malloc(MAX_NAME_LEN))) { 344 num = snprintf(dev_name, MAX_NAME_LEN, "%s%d", dinfo->device, num); 347 free(dev_name); 351 return dev_name;
|
/bootable/recovery/minui/ |
graphics_drm.cpp | 352 char *dev_name; local 360 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i); 364 drm_fd = open(dev_name, O_RDWR, 0); 365 free(dev_name);
|
/device/google/dragon/sensor_hub/ |
sensors.cpp | 430 char dev_name[IIO_MAX_NAME_LENGTH + 1]; local 431 if (cros_ec_sysfs_get_attr(path_device, "name", dev_name)) 446 if (!strcmp(cros_ec_sensor_names[i], dev_name)) { 523 if (!strcmp(cros_ec_sensor_names[CROS_EC_RING], dev_name)) { 530 if (!strncmp(trigger_name, dev_name, strlen(trigger_name))) { 531 *ring_trigger_name = strdup(dev_name);
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
gbmtest.c | 131 char* dev_name; local 135 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i); 139 fd = open(dev_name, O_RDWR, 0); 140 free(dev_name);
|
/external/toybox/toys/pending/ |
fsck.c | 58 char *prog_name, *dev_name; member in struct:child_list 235 child->dev_name = xstrdup(finfo->device); 286 temp->prog_name, temp->dev_name, status); 292 free(temp->dev_name);
|
/external/wpa_supplicant_8/src/wps/ |
wps_er.h | 27 char *dev_name; member in struct:wps_er_sta
|
/system/core/trusty/libtrusty/tipc-test/ |
tipc_test.c | 29 static const char *dev_name = NULL; variable 114 dev_name = strdup(optarg); 162 echo_fd = tipc_connect(dev_name, echo_name); 167 dsink_fd = tipc_connect(dev_name, datasink_name); 198 fd = tipc_connect(dev_name, "foo"); 224 fd = tipc_connect(dev_name, closer1_name); 253 fd = tipc_connect(dev_name, closer2_name); 287 fd[j] = tipc_connect(dev_name, closer3_name); 353 echo_fd = tipc_connect(dev_name, echo_name); 417 fd = tipc_connect(dev_name, datasink_name) [all...] |
/device/huawei/angler/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 250 char dev_name[MM_CAMERA_DEV_NAME_LEN]; local 283 snprintf(dev_name, sizeof(dev_name), "/dev/%s", 285 sscanf(dev_name, "/dev/video%d", &cam_idx); 286 CDBG("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); 291 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); 298 ALOGE("%s: Failed to open %s: %s(%d).", __func__, dev_name, 310 __func__, dev_name, strerror(errno)); 335 __func__, dev_name, strerror(errno)); [all...] |
mm_camera_interface.c | 108 char *dev_name = NULL; local 111 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; 113 return dev_name; 1390 char dev_name[32]; local 1549 char dev_name[32]; local 1615 char dev_name[32]; local [all...] |
/device/lge/bullhead/camera/QCamera2/stack/mm-camera-interface/src/ |
mm_camera.c | 250 char dev_name[MM_CAMERA_DEV_NAME_LEN]; local 283 snprintf(dev_name, sizeof(dev_name), "/dev/%s", 285 sscanf(dev_name, "/dev/video%d", &cam_idx); 286 CDBG("%s: dev name = %s, cam_idx = %d", __func__, dev_name, cam_idx); 291 my_obj->ctrl_fd = open(dev_name, O_RDWR | O_NONBLOCK); 298 ALOGE("%s: Failed to open %s: %s(%d).", __func__, dev_name, 310 __func__, dev_name, strerror(errno)); 335 __func__, dev_name, strerror(errno)); [all...] |
mm_camera_interface.c | 108 char *dev_name = NULL; local 111 dev_name = g_cam_ctrl.video_dev_name[cam_idx]; 113 return dev_name; 1390 char dev_name[32]; local 1549 char dev_name[32]; local 1615 char dev_name[32]; local [all...] |
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/inc/ |
QCameraUsbPriv.h | 101 camHal->fd = open(camHal->dev_name, O_RDWR | O_NONBLOCK, 0);\ 155 char dev_name[FILENAME_LENGTH]; member in struct:android::__anon4380
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_interface.c | 80 char *dev_name = NULL; local 82 dev_name = g_cam_ctrl.camera[cam_idx].video_dev_name; 83 return dev_name; 1112 char dev_name[32]; local [all...] |
mm_camera_stream.c | 417 char dev_name[MM_CAMERA_DEV_NAME_LEN]; local 431 snprintf(dev_name, sizeof(dev_name), "/dev/%s", 434 my_obj->fd = open(dev_name, O_RDWR | O_NONBLOCK); [all...] |