/system/core/libusbhost/ |
usbhost.c | 79 char dev_name[64]; member in struct:usb_device 320 struct usb_device *usb_device_open(const char *dev_name) 324 D("usb_device_open %s\n", dev_name); 327 fd = open(dev_name, O_RDWR); 330 fd = open(dev_name, O_RDONLY); 342 D("[ usb open read-only %s fd = %d]\n", dev_name, fd); 345 struct usb_device* result = usb_device_new(dev_name, fd); 357 struct usb_device *usb_device_new(const char *dev_name, int fd) 362 D("usb_device_new %s fd: %d\n", dev_name, fd); 371 strncpy(device->dev_name, dev_name, sizeof(device->dev_name) - 1) [all...] |
/device/huawei/angler/dataservices/rmnetctl/inc/ |
librmnetctl.h | 202 * @param dev_name Device on which to register the RmNet driver 213 const char *dev_name, 222 * @param dev_name Device on which to check if the RmNet driver is registered 233 const char *dev_name, 244 * @param dev_name Device on which to set the egress data format 256 const char *dev_name, 263 * @param dev_name Device on which to get the egress data format 274 const char *dev_name, 286 * @param dev_name Device on which to set the ingress data format 297 const char *dev_name, [all...] |
/device/lge/bullhead/dataservices/rmnetctl/inc/ |
librmnetctl.h | 202 * @param dev_name Device on which to register the RmNet driver 213 const char *dev_name, 222 * @param dev_name Device on which to check if the RmNet driver is registered 233 const char *dev_name, 244 * @param dev_name Device on which to set the egress data format 256 const char *dev_name, 263 * @param dev_name Device on which to get the egress data format 274 const char *dev_name, 286 * @param dev_name Device on which to set the ingress data format 297 const char *dev_name, [all...] |
/device/moto/shamu/dataservices/rmnetctl/inc/ |
librmnetctl.h | 158 * @param dev_name Device on which to register the RmNet driver 169 const char *dev_name, 178 * @param dev_name Device on which to check if the RmNet driver is registered 189 const char *dev_name, 200 * @param dev_name Device on which to set the egress data format 212 const char *dev_name, 219 * @param dev_name Device on which to get the egress data format 230 const char *dev_name, 242 * @param dev_name Device on which to set the ingress data format 253 const char *dev_name, [all...] |
/system/core/adb/ |
usb_linux.cpp | 87 static int is_known_device(const char* dev_name) { 90 if (usb->path == dev_name) { 147 std::string dev_name = bus_name + "/" + de->d_name; local 148 if (is_known_device(dev_name.c_str())) { 152 int fd = unix_open(dev_name.c_str(), O_RDONLY | O_CLOEXEC); 177 DBGX("[ %s is V:%04x P:%04x ]\n", dev_name.c_str(), vid, pid); 281 register_device_callback(dev_name.c_str(), devpath, 501 static void register_device(const char* dev_name, const char* dev_path, 505 // Since Linux will not reassign the device ID (and dev_name) as long as the 515 if (usb->path == dev_name) { [all...] |
usb_windows.cpp | 79 int known_device(const wchar_t* dev_name); 83 int known_device_locked(const wchar_t* dev_name); 123 int known_device_locked(const wchar_t* dev_name) { 126 if (NULL != dev_name) { 131 (0 == wcsicmp(usb->interface_name, dev_name))) { 140 int known_device(const wchar_t* dev_name) { 143 if (NULL != dev_name) { 145 ret = known_device_locked(dev_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.
|
/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);
|
/external/autotest/client/cros/faft/utils/ |
cgpt_handler.py | 50 def read_device_info(self, dev_name): 54 dev_name: a string the Linux storage device name, (i.e. '/dev/sda') 58 'cgpt show %s' % dev_name) 84 self.devices[dev_name] = device_data
|
/external/autotest/client/site_tests/camera_V4L2/src/ |
media_v4l2_device.h | 33 V4L2Device(const char* dev_name,
|
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);
|
/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/wpa_supplicant_8/src/wps/ |
wps_er.h | 27 char *dev_name; member in struct:wps_er_sta
|
wps_attr_parse.h | 65 const u8 *dev_name; member in struct:wps_parse_attr
|
/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/ |
blockdevicemapping.py | 135 for dev_name in self: 137 params['%s.DeviceName' % pre] = dev_name 138 block_dev = self[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;
|
/external/toybox/toys/pending/ |
route.c | 310 static void get_next_params_inet6(char **argv, struct sockaddr_in6 *sock_in6, struct in6_rtmsg *rt, char **dev_name) 329 if (!*dev_name) *dev_name = *argv; 340 char *targetip, *dev_name = 0; local 359 get_next_params_inet6(argv, &sock_in6, &rt, (char **)&dev_name); 362 if (dev_name) { 365 xstrncpy(ifre->ifr_name, dev_name, IFNAMSIZ);
|
/system/connectivity/shill/cellular/ |
modem_unittest.cc | 220 string dev_name( 226 dev_name, 238 ConstructCellular(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);
|
/external/autotest/client/site_tests/usbpd_GFU/ |
usbpd_GFU.py | 221 for dev_name in fw_dict.keys(): 222 if flash_info['dev_major'] == self.DEV_MAJOR[dev_name]: 223 for old_rw in sorted(fw_dict[dev_name], reverse=True)[1:]: 225 port.index, dev_name, old_rw)
|
/external/libpcap/ |
pcap-dos.c | 110 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf); 621 open_driver (const char *dev_name, char *ebuf, int promisc) 629 if (strcmp (dev_name,dev->name)) 638 sprintf (ebuf, "failed to detect device `%s'", dev_name); 660 sprintf (ebuf, "failed to activate device `%s'", dev_name); 678 /* 'dev_name' not matched in 'dev_base' list. 682 sprintf (ebuf, "device `%s' not supported", dev_name); 689 sprintf (ebuf, "device `%s' not probed", dev_name); 924 static int init_watt32 (struct pcap *pcap, const char *dev_name, char *err_buf) 949 if (dev_name && strncmp(dev_name,"pkt",3) [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::__anon5087
|
/hardware/qcom/camera/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::__anon32356
|