Home
last modified time | relevance | path

Searched refs:device_name (Results 1 – 25 of 129) sorted by relevance

123456

/external/webrtc/webrtc/voice_engine/test/auto_test/standard/
Dhardware_before_streaming_test.cc38 char device_name[128] = {0}; in TEST_F() local
43 -1, device_name, guid_name)); in TEST_F()
44 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage; in TEST_F()
45 device_name[0] = '\0'; in TEST_F()
48 -1, device_name, guid_name)); in TEST_F()
49 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage; in TEST_F()
53 0, device_name, guid_name)); in TEST_F()
54 EXPECT_GT(strlen(device_name), 0u) << kNoDevicesErrorMessage; in TEST_F()
55 device_name[0] = '\0'; in TEST_F()
58 0, device_name, guid_name)); in TEST_F()
[all …]
Dhardware_test.cc48 char device_name[128] = {0}; in TEST_F() local
51 0, device_name, guid_name)); in TEST_F()
53 0, device_name, guid_name)); in TEST_F()
/external/autotest/client/site_tests/network_WlanDriver/
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/talk/media/devices/
Dlinuxdevicemanager.cc144 std::string device_name = devdir + filename; in ScanDeviceDirectory() local
147 V4LLookup::IsV4L2Device(device_name)) { in ScanDeviceDirectory()
148 devices->push_back(Device(device_name, device_name)); in ScanDeviceDirectory()
156 std::string device_name; in GetVideoDeviceNameK2_6() local
162 if (device_meta_stream->ReadLine(&device_name) != rtc::SR_SUCCESS) { in GetVideoDeviceNameK2_6()
168 return device_name; in GetVideoDeviceNameK2_6()
209 std::string device_name; in GetVideoDeviceName() local
216 device_name = GetVideoDeviceNameK2_6(meta_file_path); in GetVideoDeviceName()
218 if (device_name.empty()) { in GetVideoDeviceName()
222 device_name = GetVideoDeviceNameK2_6(meta_file_path); in GetVideoDeviceName()
[all …]
/external/e2fsprogs/resize/
Dmain.c45 static char *device_name, *io_options; variable
329 device_name = argv[optind++]; in main()
335 io_options = strchr(device_name, '?'); in main()
349 retval = ext2fs_check_mount_point(device_name, &mount_flags, in main()
354 device_name); in main()
363 fd = ext2fs_open_file(device_name, O_RDWR, 0); in main()
366 device_name); in main()
374 device_name); in main()
383 device_name); in main()
406 retval = resize2fs_setup_tdb(device_name, undo_file, &io_ptr); in main()
[all …]
/external/e2fsprogs/misc/
De2freefrag.c216 static void close_device(char *device_name, ext2_filsys fs) in close_device() argument
221 com_err(device_name, retval, "while closing the filesystem.\n"); in close_device()
228 fprintf(f, "Device: %s\n", fs->device_name); in collect_info()
233 com_err(fs->device_name, retval, "while reading block bitmap"); in collect_info()
234 close_device(fs->device_name, fs); in collect_info()
242 com_err(fs->device_name, retval, "while collecting chunk info"); in collect_info()
243 close_device(fs->device_name, fs); in collect_info()
249 static void open_device(char *device_name, ext2_filsys *fs) in open_device() argument
254 retval = ext2fs_open(device_name, flag, 0, 0, unix_io_manager, fs); in open_device()
256 com_err(device_name, retval, "while opening filesystem"); in open_device()
[all …]
/external/e2fsprogs/debugfs/
De2freefrag.c216 static void close_device(char *device_name, ext2_filsys fs) in close_device() argument
221 com_err(device_name, retval, "while closing the filesystem.\n"); in close_device()
228 fprintf(f, "Device: %s\n", fs->device_name); in collect_info()
233 com_err(fs->device_name, retval, "while reading block bitmap"); in collect_info()
234 close_device(fs->device_name, fs); in collect_info()
242 com_err(fs->device_name, retval, "while collecting chunk info"); in collect_info()
243 close_device(fs->device_name, fs); in collect_info()
249 static void open_device(char *device_name, ext2_filsys *fs) in open_device() argument
254 retval = ext2fs_open(device_name, flag, 0, 0, unix_io_manager, fs); in open_device()
256 com_err(device_name, retval, "while opening filesystem"); in open_device()
[all …]
/external/autotest/client/bin/input/
Dinput_event_recorder.py147 def __init__(self, device_name): argument
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): argument
188 device_pattern = re.compile('N: Name=.*%s' % device_name, re.I)
309 device_name = 'Atmel maXTouch Touchpad'
310 recorder = InputEventRecorder(device_name)
311 print 'Samus touchpad device name:', recorder.device_name
/external/e2fsprogs/e2fsck/
Discan.c31 const char * device_name = NULL; variable
75 device_name = argv[optind]; in PRS()
77 int fd = open(device_name, O_RDONLY, 0); in PRS()
81 _("while opening %s for flushing"), device_name); in PRS()
86 _("while trying to flush %s"), device_name); in PRS()
107 retval = ext2fs_open(device_name, 0, in main()
111 device_name); in main()
Dscantest.c38 const char * device_name = NULL; variable
100 device_name = "/dev/hda3"; in main()
104 retval = ext2fs_open(device_name, 0, in main()
108 device_name); in main()
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson_info.cc36 std::string device_name; member
62 options->device_name = arg2; in ParseOptions()
72 !options->device_name.empty())) { in ParseOptions()
77 if (options->device_index != unsignedNegOne && !options->device_name.empty()) { in ParseOptions()
88 options->device_index == unsignedNegOne && options->device_name.empty()) { in ParseOptions()
108 } else if (!options.device_name.empty()) { in Dump()
110 if (device.properties.deviceName == options.device_name) { in Dump()
115 std::cerr << "Error: device '" << options.device_name in Dump()
162 !options.device_name.empty()) { in main()
/external/toybox/toys/pending/
Dmdev.c37 char *device_name = 0, *s, *temp; in make_device() local
68 device_name = getenv("DEVNAME"); in make_device()
70 if (!device_name) in make_device()
71 device_name = strrchr(path, '/') + 1; in make_device()
74 while ((temp = strchr(device_name, '!'))) { in make_device()
117 result=regexec(&match, device_name, 1, &off, 0); in make_device()
123 || off.rm_eo!=strlen(device_name)) in make_device()
184 sprintf(toybuf, "/dev/%s", device_name); in make_device()
191 if (strchr(device_name, '/')) in make_device()
/external/mesa3d/src/gallium/state_trackers/egl/drm/
Dnative_drm.c135 if (drmdpy->device_name) in drm_display_destroy()
136 FREE(drmdpy->device_name); in drm_display_destroy()
156 char *device_name = NULL; in drm_get_device_name() local
179 device_name = strdup(tmp); in drm_get_device_name()
186 return device_name; in drm_get_device_name()
216 drmdpy->device_name, in drm_display_bind_wayland_display()
278 drmdpy->device_name = drm_get_device_name(drmdpy->fd); in drm_create_display()
297 if (drmdpy->device_name) in drm_create_display()
317 const char *device_name="/dev/dri/card0"; in native_create_display() local
319 fd = open(device_name, O_RDWR | O_CLOEXEC); in native_create_display()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/wayland/
Dnative_drm.c59 char *device_name; member
76 if (drmdpy->device_name) in wayland_drm_display_destroy()
77 FREE(drmdpy->device_name); in wayland_drm_display_destroy()
133 drmdpy->device_name = strdup(device); in drm_handle_device()
134 if (!drmdpy->device_name) in drm_handle_device()
138 drmdpy->fd = open(drmdpy->device_name, O_RDWR | O_CLOEXEC); in drm_handle_device()
142 drmdpy->fd = open(drmdpy->device_name, O_RDWR); in drm_handle_device()
148 drmdpy->device_name, strerror(errno)); in drm_handle_device()
275 wayland_drm_init(wl_dpy, drmdpy->device_name, in wayland_drm_display_bind_wayland_display()
/external/e2fsprogs/ext2ed/
Ddisk.c62 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); in low_read()
68 wprintw (command_win,"Error - Failed to read from offset %ld in device %s\n",offset,device_name); in low_read()
118 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); in low_write()
124 wprintw (command_win,"Error - Failed to write to offset %ld in device %s\n",offset,device_name); in low_write()
156 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) &current_time),device_name); in log_changes()
/external/e2fsprogs/lib/ext2fs/
Ddupfs.c35 fs->device_name = 0; in ext2fs_dup_handle()
51 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name); in ext2fs_dup_handle()
54 strcpy(fs->device_name, src->device_name); in ext2fs_dup_handle()
/external/webrtc/webrtc/sound/
Dsounddevicelocator.h32 const std::string &device_name() const { return device_name_; } in device_name() function
39 const std::string &device_name) in SoundDeviceLocator() argument
40 : name_(name), device_name_(device_name) {} in SoundDeviceLocator()
/external/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c43 char *device_name; member
194 wl_resource_post_event(resource, WL_DRM_DEVICE, drm->device_name); in bind_drm()
210 wayland_drm_init(struct wl_display *display, char *device_name, in wayland_drm_init() argument
218 drm->device_name = strdup(device_name); in wayland_drm_init()
230 free(drm->device_name); in wayland_drm_uninit()
/external/mesa3d/src/gbm/main/
Dcommon.c66 char *device_name = NULL; in _gbm_fd_get_device_name() local
76 device_name = strdup(const_device_name); in _gbm_fd_get_device_name()
82 return device_name; in _gbm_fd_get_device_name()
/external/wpa_supplicant_8/src/wps/
Dwps_dev_attr.c163 len = dev->device_name ? os_strlen(dev->device_name) : 0; in wps_build_dev_name()
177 wpabuf_put_data(msg, dev->device_name, len); in wps_build_dev_name()
331 os_free(dev->device_name); in wps_process_dev_name()
332 dev->device_name = dup_binstr(str, str_len); in wps_process_dev_name()
333 if (dev->device_name == NULL) in wps_process_dev_name()
409 os_free(dev->device_name); in wps_device_data_free()
410 dev->device_name = NULL; in wps_device_data_free()
/external/autotest/client/cros/multimedia/
Dinput_facade_native.py28 def initialize_input_recorder(self, device_name): argument
34 self.recorder = input_event_recorder.InputEventRecorder(device_name)
36 self.recorder.device_name, self.recorder.device_node)
/external/webrtc/talk/media/webrtc/
Dfakewebrtcdeviceinfo.h47 void AddDevice(const std::string& device_name, const std::string& device_id) { in AddDevice() argument
48 devices_.push_back(Device(device_name, device_id)); in AddDevice()
61 char* device_name, in GetDeviceName() argument
69 rtc::strcpyn(reinterpret_cast<char*>(device_name), device_name_len, in GetDeviceName()
/external/autotest/client/deps/gfxtest/src/
Dgetfb.c16 const char* device_name = "/dev/fb0"; in main() local
31 fd = open(device_name, O_RDONLY); in main()
33 fprintf(stderr, "Cannot open framebuffer device %s\n", device_name); in main()
/external/toybox/toys/other/
Deject.c62 char *device_name = "/dev/cdrom"; in eject_main() local
64 if (*toys.optargs) device_name = *toys.optargs; in eject_main()
66 fd = xopen(device_name, O_RDONLY | O_NONBLOCK); in eject_main()
/external/webrtc/webrtc/test/
Dvcm_capturer.cc27 char device_name[256]; in Init() local
29 if (device_info->GetDeviceName(0, device_name, sizeof(device_name), in Init()

123456