/hardware/invensense/libsensors/ |
SensorBase.cpp | 34 const char* dev_name, 36 : dev_name(dev_name), data_name(data_name), 54 if (dev_fd<0 && dev_name) { 55 dev_fd = open(dev_name, O_RDONLY); 56 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
|
SensorBase.h | 32 const char* dev_name; member in class:SensorBase 51 const char* dev_name,
|
/hardware/invensense/libsensors_iio/ |
SensorBase.cpp | 31 SensorBase::SensorBase(const char* dev_name,
32 const char* data_name) : dev_name(dev_name),
54 if (dev_fd<0 && dev_name) {
55 dev_fd = open(dev_name, O_RDONLY);
56 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
|
SensorBase.h | 36 const char *dev_name; member in class:SensorBase 48 SensorBase(const char* dev_name, const char* data_name);
|
/development/host/windows/usb/api/ |
adb_api_private_defines.h | 44 AdbInstanceEnumEntry(const wchar_t* dev_name, GUID cls_id, DWORD flgs) {
45 Set(dev_name, cls_id, flgs);
60 void Set(const wchar_t* dev_name, GUID cls_id, DWORD flgs) {
61 device_name_ = dev_name;
|
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(),
|
/system/core/toolbox/ |
lsusb.c | 148 static int lsusb_device_added(const char *dev_name, void *client_data) 150 struct usb_device *dev = usb_device_open(dev_name); 153 fprintf(stderr, "can't open device %s: %s\n", dev_name, strerror(errno)); 161 printf("%s:\n", dev_name); 178 printf("%s: %04x:%04x %s %s %s\n", dev_name, vid, pid, 191 static int lsusb_device_removed(const char *dev_name, void *client_data)
|
/device/samsung/manta/libsensors/ |
IioSensorBase.h | 52 IioSensorBase(const char* dev_name,
|
SensorBase.h | 43 SensorBase(const char* dev_name,
|
SensorBase.cpp | 39 const char* dev_name, 41 : mDevName(dev_name), mDataName(data_name), 44 ALOGV("%s(): dev_name=%s", __func__, dev_name);
|
IioSensorBase.cpp | 41 IioSensorBase::IioSensorBase(const char *dev_name, 46 : SensorBase(dev_name, data_name), 54 ALOGV("%s(): dev_name=%s", __func__, dev_name);
|
/device/samsung/tuna/libsensors/ |
SamsungSensorBase.h | 50 SamsungSensorBase(const char* dev_name,
|
SamsungSensorBase.cpp | 57 SamsungSensorBase::SamsungSensorBase(const char *dev_name, 60 : SensorBase(dev_name, data_name),
|
/system/core/include/usbhost/ |
usbhost.h | 57 typedef int (* usb_device_added_cb)(const char *dev_name, void *client_data); 62 typedef int (* usb_device_removed_cb)(const char *dev_name, void *client_data); 104 struct usb_device *usb_device_open(const char *dev_name); 110 struct usb_device *usb_device_new(const char *dev_name, int fd); 116 * the dev_name passed to usb_device_open() 121 *Currently this is generated from the dev_name path.
|
/external/linux-tools-perf/scripts/python/ |
netdev-times.py | 255 def napi__napi_poll(name, context, cpu, sec, nsec, pid, comm, napi, dev_name): 257 napi, dev_name) 261 skblen, dev_name): 263 skbaddr, skblen, dev_name) 267 skblen, dev_name): 269 skbaddr, skblen, dev_name) 273 skbaddr, skblen, dev_name): 275 skbaddr, skblen, dev_name) 279 skbaddr, skblen, rc, dev_name): 281 skbaddr, skblen, rc ,dev_name) [all...] |
/system/core/adb/ |
usb_windows.c | 69 int known_device(const char* dev_name); 73 int known_device_locked(const char* dev_name); 116 int known_device_locked(const char* dev_name) { 119 if (NULL != dev_name) { 124 (0 == stricmp(usb->interface_name, dev_name))) { 133 int known_device(const char* dev_name) { 136 if (NULL != dev_name) { 138 ret = known_device_locked(dev_name);
|
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);
|
/system/core/libusbhost/ |
usbhost.c | 74 char dev_name[64]; member in struct:usb_device 303 struct usb_device *usb_device_open(const char *dev_name) 307 D("usb_device_open %s\n", dev_name); 310 fd = open(dev_name, O_RDWR); 313 fd = open(dev_name, O_RDONLY); 325 D("[ usb open read-only %s fd = %d]\n", dev_name, fd); 328 struct usb_device* result = usb_device_new(dev_name, fd); 340 struct usb_device *usb_device_new(const char *dev_name, int fd) 345 D("usb_device_new %s fd: %d\n", dev_name, fd); 354 strncpy(device->dev_name, dev_name, sizeof(device->dev_name) - 1) [all...] |
/system/core/libdiskconfig/ |
config_mbr.c | 298 char *dev_name = NULL; local 312 if (!(dev_name = malloc(MAX_NAME_LEN))) { 317 num = snprintf(dev_name, MAX_NAME_LEN, "%s%d", dinfo->device, num); 320 free(dev_name); 324 return dev_name;
|
/external/kernel-headers/original/linux/usb/ |
functionfs.h | 193 static int functionfs_check_dev_callback(const char *dev_name)
|
/external/wpa_supplicant_8/src/wps/ |
wps_er.h | 27 char *dev_name; member in struct:wps_er_sta
|
wps_attr_parse.h | 70 const u8 *dev_name; member in struct:wps_parse_attr
|
/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 | 398 void bta_hh_co_send_hid_info(btif_hh_device_t *p_dev, char *dev_name, UINT16 vendor_id, 411 p_dev->fd, dev_name, dscp_len); 420 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);
|