Searched refs:device_name (Results 1 - 25 of 131) sorted by relevance

123456

/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
H A Dhardware_before_streaming_test.cc38 char device_name[128] = {0}; local
43 -1, device_name, guid_name));
44 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage;
45 device_name[0] = '\0';
48 -1, device_name, guid_name));
49 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage;
53 0, device_name, guid_name));
54 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage;
55 device_name[0] = '\0';
58 0, device_name, guid_nam
76 char device_name[128] = {0}; local
97 char device_name[128] = {0}; local
[all...]
H A Dhardware_test.cc48 char device_name[128] = {0}; local
51 0, device_name, guid_name));
53 0, device_name, guid_name));
/external/autotest/client/site_tests/network_WlanDriver/
H A Dnetwork_WlanDriver.py85 device_name, module_path = device_description
87 device_name, module_path)
88 if not device_name in self.EXPECTED_DRIVER:
90 device_name)
92 if not base_revision in self.EXPECTED_DRIVER[device_name]:
95 (base_revision, device_name))
97 expected_driver = self.EXPECTED_DRIVER[device_name][base_revision]
101 (base_revision, device_name,
/external/webrtc/webrtc/sound/
H A Dsounddevicelocator.h32 const std::string &device_name() const { return device_name_; } function in class:rtc::SoundDeviceLocator
39 const std::string &device_name)
40 : name_(name), device_name_(device_name) {}
38 SoundDeviceLocator(const std::string &name, const std::string &device_name) argument
/external/e2fsprogs/e2fsck/
H A Discan.c30 const char * device_name = NULL; variable
74 device_name = argv[optind];
76 int fd = open(device_name, O_RDONLY, 0);
80 _("while opening %s for flushing"), device_name);
85 _("while trying to flush %s"), device_name);
106 retval = ext2fs_open(device_name, 0,
110 device_name);
H A Dscantest.c37 const char * device_name = NULL; variable
99 device_name = "/dev/hda3";
103 retval = ext2fs_open(device_name, 0,
107 device_name);
H A Dbadblocks.c78 fs->device_name, ext2fs_blocks_count(fs->super)-1);
100 printf("%s: Updating bad block inode.\n", ctx->device_name);
/external/mesa3d/src/gbm/main/
H A Dcommon.c66 char *device_name = NULL; local
76 device_name = strdup(const_device_name);
82 return device_name;
/external/e2fsprogs/resize/
H A Dmain.c39 static char *device_name, *io_options; variable
235 device_name = argv[optind++];
241 io_options = strchr(device_name, '?');
255 retval = ext2fs_check_mount_point(device_name, &mount_flags,
260 device_name);
269 fd = ext2fs_open_file(device_name, O_RDWR, 0);
272 device_name);
280 device_name);
289 device_name);
312 retval = ext2fs_open2(device_name, io_option
[all...]
/external/toybox/toys/pending/
H A Dmdev.c37 char *device_name = 0, *s, *temp; local
68 device_name = getenv("DEVNAME");
70 if (!device_name)
71 device_name = strrchr(path, '/') + 1;
74 while ((temp = strchr(device_name, '!'))) {
117 result=regexec(&match, device_name, 1, &off, 0);
123 || off.rm_eo!=strlen(device_name))
184 sprintf(toybuf, "/dev/%s", device_name);
191 if (strchr(device_name, '/'))
/external/vulkan-validation-layers/libs/vkjson/
H A Dvkjson_info.cc43 std::string device_name; member in struct:Options
69 options->device_name = arg2;
79 !options->device_name.empty())) {
84 if (options->device_index != unsignedNegOne && !options->device_name.empty()) {
95 options->device_index == unsignedNegOne && options->device_name.empty()) {
115 } else if (!options.device_name.empty()) {
117 if (device.properties.deviceName == options.device_name) {
122 std::cerr << "Error: device '" << options.device_name
169 !options.device_name.empty()) {
/external/webrtc/talk/media/devices/
H A Dlinuxdevicemanager.cc144 std::string device_name = devdir + filename; local
147 V4LLookup::IsV4L2Device(device_name)) {
148 devices->push_back(Device(device_name, device_name));
156 std::string device_name; local
162 if (device_meta_stream->ReadLine(&device_name) != rtc::SR_SUCCESS) {
168 return device_name;
209 std::string device_name; local
216 device_name = GetVideoDeviceNameK2_6(meta_file_path);
218 if (device_name
236 LOG(LS_INFO) << "Name for " << device_file_name << " is " << device_name; local
[all...]
/external/autotest/client/deps/gfxtest/src/
H A Dgetfb.c16 const char* device_name = "/dev/fb0"; local
31 fd = open(device_name, O_RDONLY);
33 fprintf(stderr, "Cannot open framebuffer device %s\n", device_name);
/external/toybox/toys/other/
H A Deject.c62 char *device_name = "/dev/cdrom"; local
64 if (*toys.optargs) device_name = *toys.optargs;
66 fd = xopen(device_name, O_RDONLY | O_NONBLOCK);
/external/e2fsprogs/ext2ed/
H A Ddisk.c61 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name);
67 wprintw (command_win,"Error - Failed to read from offset %ld in device %s\n",offset,device_name);
117 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name);
123 wprintw (command_win,"Error - Failed to write to offset %ld in device %s\n",offset,device_name);
155 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) &current_time),device_name);
/external/e2fsprogs/lib/ext2fs/
H A Ddupfs.c34 fs->device_name = 0;
50 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name);
53 strcpy(fs->device_name, src->device_name);
/external/mesa3d/src/gallium/state_trackers/egl/drm/
H A Dnative_drm.c135 if (drmdpy->device_name)
136 FREE(drmdpy->device_name);
156 char *device_name = NULL; local
179 device_name = strdup(tmp);
186 return device_name;
216 drmdpy->device_name,
278 drmdpy->device_name = drm_get_device_name(drmdpy->fd);
297 if (drmdpy->device_name)
317 const char *device_name="/dev/dri/card0"; local
319 fd = open(device_name, O_RDW
[all...]
/external/e2fsprogs/misc/
H A De2freefrag.c35 "device_name\n", prog);
215 static void close_device(char *device_name, ext2_filsys fs) argument
220 com_err(device_name, retval, "while closing the filesystem.\n");
227 fprintf(f, "Device: %s\n", fs->device_name);
232 com_err(fs->device_name, retval, "while reading block bitmap");
233 close_device(fs->device_name, fs);
241 com_err(fs->device_name, retval, "while collecting chunk info");
242 close_device(fs->device_name, fs);
248 static void open_device(char *device_name, ext2_filsys *fs) argument
253 retval = ext2fs_open(device_name, fla
[all...]
H A Dfindsuper.c123 const char * device_name; local
149 device_name = argv[optind++];
178 fd = open(device_name, O_RDONLY);
180 perror(device_name);
/external/webrtc/webrtc/test/
H A Dvcm_capturer.cc27 char device_name[256]; local
29 if (device_info->GetDeviceName(0, device_name, sizeof(device_name),
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
H A Dnative_drm.c59 char *device_name; member in struct:wayland_drm_display
76 if (drmdpy->device_name)
77 FREE(drmdpy->device_name);
133 drmdpy->device_name = strdup(device);
134 if (!drmdpy->device_name)
138 drmdpy->fd = open(drmdpy->device_name, O_RDWR | O_CLOEXEC);
142 drmdpy->fd = open(drmdpy->device_name, O_RDWR);
148 drmdpy->device_name, strerror(errno));
275 wayland_drm_init(wl_dpy, drmdpy->device_name,
/external/webrtc/talk/app/webrtc/objc/
H A DRTCVideoCapturer.mm42 const std::string& device_name = std::string([deviceName UTF8String]);
48 if (!device_manager->GetVideoCaptureDevice(device_name, &device)) {
/external/webrtc/talk/media/webrtc/
H A Dfakewebrtcdeviceinfo.h47 void AddDevice(const std::string& device_name, const std::string& device_id) { argument
48 devices_.push_back(Device(device_name, device_id));
61 char* device_name,
69 rtc::strcpyn(reinterpret_cast<char*>(device_name), device_name_len,
60 GetDeviceName(uint32_t device_num, char* device_name, uint32_t device_name_len, char* device_id, uint32_t device_id_len, char* product_id, uint32_t product_id_len) argument
/external/mesa3d/src/egl/drivers/dri2/
H A Dcommon.c72 char *device_name = NULL; local
82 device_name = strdup(const_device_name);
88 return device_name;
/external/webrtc/webrtc/tools/e2e_quality/audio/
H A Daudio_e2e_harness.cc72 char device_name[128] = {0}; local
77 ASSERT_EQ(0, hardware->GetPlayoutDeviceName(device_index, device_name,
79 if (FLAGS_render.compare(device_name) == 0) {

Completed in 1221 milliseconds

123456