HomeSort by relevance Sort by last modified time
    Searched full:dev_name (Results 1 - 25 of 153) sorted by null

1 2 3 4 5 6 7

  /external/autotest/client/site_tests/camera_V4L2/src/
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...]
  /device/htc/flounder/sensor_hub/libsensors/
SensorBase.cpp 37 const char* dev_name,
39 : dev_name(dev_name)
56 if (dev_fd<0 && dev_name) {
57 dev_fd = open(dev_name, O_RDONLY);
58 ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
SensorBase.h 35 const char* dev_name; member in class:SensorBase
55 const char* dev_name,
  /system/core/trusty/libtrusty/
trusty.c 30 int tipc_connect(const char *dev_name, const char *srv_name)
35 fd = open(dev_name, O_RDWR);
39 __func__, dev_name, strerror(errno));
  /hardware/qcom/msm8994/original-kernel-headers/linux/
rmnet_data.h 84 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
93 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
102 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
112 * char[] dev_name: Null terminated ASCII string, max length: 15
121 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
131 * char[] dev_name: Null terminated ASCII string, max length: 15
140 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
149 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
161 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
171 * Args: char[] dev_name: Null terminated ASCII string, max length: 1
    [all...]
  /hardware/qcom/msm8996/original-kernel-headers/linux/
rmnet_data.h 86 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
95 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
104 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
114 * char[] dev_name: Null terminated ASCII string, max length: 15
123 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
133 * char[] dev_name: Null terminated ASCII string, max length: 15
142 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
151 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
163 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
173 * Args: char[] dev_name: Null terminated ASCII string, max length: 1
    [all...]
  /hardware/qcom/msm8x26/original-kernel-headers/linux/
rmnet_data.h 83 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
92 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
101 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
111 * char[] dev_name: Null terminated ASCII string, max length: 15
120 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
130 * char[] dev_name: Null terminated ASCII string, max length: 15
139 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
148 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
160 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
170 * Args: char[] dev_name: Null terminated ASCII string, max length: 1
    [all...]
  /hardware/qcom/msm8x84/original-kernel-headers/linux/
rmnet_data.h 82 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
91 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
100 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
110 * char[] dev_name: Null terminated ASCII string, max length: 15
119 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
129 * char[] dev_name: Null terminated ASCII string, max length: 15
138 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
147 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
159 * Args: char[] dev_name: Null terminated ASCII string, max length: 15
169 * Args: char[] dev_name: Null terminated ASCII string, max length: 1
    [all...]
  /hardware/akm/AK8975_FS/libsensors/
SensorBase.cpp 35 const char* dev_name,
37 : dev_name(dev_name), data_name(data_name),
55 if (dev_fd<0 && dev_name) {
56 dev_fd = open(dev_name, O_RDONLY);
57 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
54 const char* dev_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/core/init/
watchdogd.cpp 28 #define DEV_NAME "/dev/watchdog"
43 int fd = open(DEV_NAME, O_RDWR|O_CLOEXEC);
45 ERROR("Failed to open %s: %s\n", DEV_NAME, strerror(errno));
  /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;
  /device/huawei/angler/dataservices/rmnetctl/cli/
rmnetcli.c 95 printf("rmnetcli assocnetdev <dev_name> Registers the RmNet");
97 printf(_5TABS" device.dev_name cannot");
101 printf("rmnetcli unassocnetdev <dev_name> Unregisters the");
103 printf(_5TABS" device. dev_name cannot");
107 printf("rmnetcli getnetdevassoc <dev_name> Get if the RmNet");
110 printf(_5TABS" dev_name cannot be");
118 printf(_2TABS" <agg_count> dev_name cannot be larger");
119 printf(_2TABS" <dev_name> than 15 characters.");
121 printf("rmnetcli getledf <dev_name> Gets the egress data");
123 printf(_5TABS" dev_name cannot be larger")
    [all...]
  /device/lge/bullhead/dataservices/rmnetctl/cli/
rmnetcli.c 95 printf("rmnetcli assocnetdev <dev_name> Registers the RmNet");
97 printf(_5TABS" device.dev_name cannot");
101 printf("rmnetcli unassocnetdev <dev_name> Unregisters the");
103 printf(_5TABS" device. dev_name cannot");
107 printf("rmnetcli getnetdevassoc <dev_name> Get if the RmNet");
110 printf(_5TABS" dev_name cannot be");
118 printf(_2TABS" <agg_count> dev_name cannot be larger");
119 printf(_2TABS" <dev_name> than 15 characters.");
121 printf("rmnetcli getledf <dev_name> Gets the egress data");
123 printf(_5TABS" dev_name cannot be larger")
    [all...]
  /device/moto/shamu/dataservices/rmnetctl/cli/
rmnetcli.c 95 printf("rmnetcli assocnetdev <dev_name> Registers the RmNet");
97 printf(_5TABS" device.dev_name cannot");
101 printf("rmnetcli unassocnetdev <dev_name> Unregisters the");
103 printf(_5TABS" device. dev_name cannot");
107 printf("rmnetcli getnetdevassoc <dev_name> Get if the RmNet");
110 printf(_5TABS" dev_name cannot be");
118 printf(_2TABS" <agg_count> dev_name cannot be larger");
119 printf(_2TABS" <dev_name> than 15 characters.");
121 printf("rmnetcli getledf <dev_name> Gets the egress data");
123 printf(_5TABS" dev_name cannot be larger")
    [all...]
  /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));
  /device/huawei/angler/dataservices/rmnetctl/src/
librmnetctl.c 210 * @param dev_name Name of the device
214 static inline int _rmnetctl_check_dev_name(const char *dev_name) {
217 if (!dev_name)
219 if (strlen(dev_name) >= RMNET_MAX_STR_LEN)
380 const char *dev_name,
388 if ((!hndl) || (!error_code) || _rmnetctl_check_dev_name(dev_name) ||
401 str_len = strlcpy((char *)(request.data), dev_name, (size_t)RMNET_MAX_STR_LEN);
416 const char *dev_name,
424 _rmnetctl_check_dev_name(dev_name)) {
432 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN)
    [all...]
  /device/lge/bullhead/dataservices/rmnetctl/src/
librmnetctl.c 211 * @param dev_name Name of the device
215 static inline int _rmnetctl_check_dev_name(const char *dev_name) {
218 if (!dev_name)
220 if (strlen(dev_name) >= RMNET_MAX_STR_LEN)
381 const char *dev_name,
389 if ((!hndl) || (!error_code) || _rmnetctl_check_dev_name(dev_name) ||
402 str_len = strlcpy((char *)(request.data), dev_name, (size_t)RMNET_MAX_STR_LEN);
417 const char *dev_name,
425 _rmnetctl_check_dev_name(dev_name)) {
433 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN)
    [all...]
  /device/moto/shamu/dataservices/rmnetctl/src/
librmnetctl.c 193 * @param dev_name Name of the device
197 static inline int _rmnetctl_check_dev_name(const char *dev_name) {
200 if (!dev_name)
202 if (strlen(dev_name) >= RMNET_MAX_STR_LEN)
359 const char *dev_name,
366 if ((!hndl) || (!error_code) || _rmnetctl_check_dev_name(dev_name) ||
379 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN);
394 const char *dev_name,
401 _rmnetctl_check_dev_name(dev_name)) {
409 str_len = strlcpy((char *)(request.data), dev_name, RMNET_MAX_STR_LEN)
    [all...]
  /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...]
  /system/core/trusty/libtrusty/include/trusty/
tipc.h 24 int tipc_connect(const char *dev_name, const char *srv_name);
  /hardware/intel/common/libva/va/android/
va_android.cpp 46 static int open_device (char *dev_name)
51 if (-1 == stat (dev_name, &st))
54 dev_name, errno, strerror (errno));
60 printf ("%s is no device\n", dev_name);
64 fd = open (dev_name, O_RDWR);
69 dev_name, errno, strerror (errno));
  /hardware/invensense/6515/libsensors_iio/
SensorBase.cpp 48 SensorBase::SensorBase(const char* dev_name,
50 : dev_name(dev_name),
110 if (dev_fd<0 && dev_name) {
111 dev_fd = open(dev_name, O_RDONLY);
112 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));
  /hardware/invensense/65xx/libsensors_iio/
SensorBase.cpp 46 SensorBase::SensorBase(const char* dev_name,
48 : dev_name(dev_name),
104 if (dev_fd<0 && dev_name) {
105 dev_fd = open(dev_name, O_RDONLY);
106 LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno));

Completed in 284 milliseconds

1 2 3 4 5 6 7