Searched refs:device_name (Results 1 - 25 of 147) 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.py98 device_name, module_path = device_description
100 device_name, module_path)
101 if not device_name in self.EXPECTED_DRIVER:
103 device_name)
105 if not base_revision in self.EXPECTED_DRIVER[device_name]:
108 (base_revision, device_name))
110 expected_driver = self.EXPECTED_DRIVER[device_name][base_revision]
114 (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.c31 const char * device_name = NULL; variable
75 device_name = argv[optind];
77 int fd = open(device_name, O_RDONLY, 0);
81 _("while opening %s for flushing"), device_name);
86 _("while trying to flush %s"), device_name);
107 retval = ext2fs_open(device_name, 0,
111 device_name);
H A Dscantest.c38 const char * device_name = NULL; variable
100 device_name = "/dev/hda3";
104 retval = ext2fs_open(device_name, 0,
108 device_name);
/external/autotest/client/cros/multimedia/
H A Dinput_facade_native.py28 def initialize_input_recorder(self, device_name):
31 @param device_name: the name of the input device to record.
34 self.recorder = input_event_recorder.InputEventRecorder(device_name)
36 self.recorder.device_name, self.recorder.device_node)
/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/autotest/server/cros/multimedia/
H A Dinput_facade_adapter.py36 def initialize_input_recorder(self, device_name):
39 @param device_name: the name of the input device to record.
42 self._input_proxy.initialize_input_recorder(device_name)
/external/e2fsprogs/misc/
H A Dmke2fs.h27 extern errcode_t mk_hugefiles(ext2_filsys fs, const char *device_name);
H A De2freefrag.c36 "device_name\n", prog);
216 static void close_device(char *device_name, ext2_filsys fs) argument
221 com_err(device_name, retval, "while closing the filesystem.\n");
228 fprintf(f, "Device: %s\n", fs->device_name);
233 com_err(fs->device_name, retval, "while reading block bitmap");
234 close_device(fs->device_name, fs);
242 com_err(fs->device_name, retval, "while collecting chunk info");
243 close_device(fs->device_name, fs);
249 static void open_device(char *device_name, ext2_filsys *fs) argument
254 retval = ext2fs_open(device_name, fla
282 char *device_name; local
[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.cc36 std::string device_name; member in struct:Options
62 options->device_name = arg2;
72 !options->device_name.empty())) {
77 if (options->device_index != unsignedNegOne && !options->device_name.empty()) {
88 options->device_index == unsignedNegOne && options->device_name.empty()) {
108 } else if (!options.device_name.empty()) {
110 if (device.properties.deviceName == options.device_name) {
115 std::cerr << "Error: device '" << options.device_name
162 !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.c62 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name);
68 wprintw (command_win,"Error - Failed to read from offset %ld in device %s\n",offset,device_name);
118 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name);
124 wprintw (command_win,"Error - Failed to write to offset %ld in device %s\n",offset,device_name);
156 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) &current_time),device_name);
/external/e2fsprogs/lib/ext2fs/
H A Ddupfs.c35 fs->device_name = 0;
51 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name);
54 strcpy(fs->device_name, src->device_name);
/external/e2fsprogs/resize/
H A Dmain.c45 static char *device_name, *io_options; variable
329 device_name = argv[optind++];
335 io_options = strchr(device_name, '?');
349 retval = ext2fs_check_mount_point(device_name, &mount_flags,
354 device_name);
363 fd = ext2fs_open_file(device_name, O_RDWR, 0);
366 device_name);
374 device_name);
383 device_name);
406 retval = resize2fs_setup_tdb(device_name, undo_fil
[all...]
/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/debugfs/
H A De2freefrag.c36 "device_name\n", prog);
216 static void close_device(char *device_name, ext2_filsys fs) argument
221 com_err(device_name, retval, "while closing the filesystem.\n");
228 fprintf(f, "Device: %s\n", fs->device_name);
233 com_err(fs->device_name, retval, "while reading block bitmap");
234 close_device(fs->device_name, fs);
242 com_err(fs->device_name, retval, "while collecting chunk info");
243 close_device(fs->device_name, fs);
249 static void open_device(char *device_name, ext2_filsys *fs) argument
254 retval = ext2fs_open(device_name, fla
282 char *device_name; local
[all...]
/external/autotest/client/bin/input/
H A Dinput_event_recorder.py147 def __init__(self, device_name):
150 @param device_name: the device name of the input device node to record.
153 self.device_name = device_name
154 self.device_node = self.get_device_node_by_name(device_name)
156 err_msg = 'Failed to find the device node of %s' % device_name
164 def get_device_node_by_name(self, device_name):
181 @param device_name: the device name of the target input device node.
188 device_pattern = re.compile('N: Name=.*%s' % device_name, re.I)
309 device_name
[all...]
/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)) {

Completed in 702 milliseconds

123456