Home
last modified time | relevance | path

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

12345

/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.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/e2fsprogs/resize/
Dmain.c39 static char *device_name, *io_options; variable
235 device_name = argv[optind++]; in main()
241 io_options = strchr(device_name, '?'); in main()
255 retval = ext2fs_check_mount_point(device_name, &mount_flags, in main()
260 device_name); in main()
269 fd = ext2fs_open_file(device_name, O_RDWR, 0); in main()
272 device_name); in main()
280 device_name); in main()
289 device_name); in main()
312 retval = ext2fs_open2(device_name, io_options, io_flags, in main()
[all …]
/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/misc/
De2freefrag.c215 static void close_device(char *device_name, ext2_filsys fs) in close_device() argument
220 com_err(device_name, retval, "while closing the filesystem.\n"); in close_device()
227 fprintf(f, "Device: %s\n", fs->device_name); in collect_info()
232 com_err(fs->device_name, retval, "while reading block bitmap"); in collect_info()
233 close_device(fs->device_name, fs); in collect_info()
241 com_err(fs->device_name, retval, "while collecting chunk info"); in collect_info()
242 close_device(fs->device_name, fs); in collect_info()
248 static void open_device(char *device_name, ext2_filsys *fs) in open_device() argument
253 retval = ext2fs_open(device_name, flag, 0, 0, unix_io_manager, fs); in open_device()
255 com_err(device_name, retval, "while opening filesystem"); in open_device()
[all …]
De2undo.c129 char *device_name, *tdb_file; in main() local
156 device_name = argv[optind+1]; in main()
166 retval = ext2fs_check_if_mounted(device_name, &mount_flags); in main()
169 "%s is mounted.\n"), device_name); in main()
179 retval = manager->open(device_name, in main()
183 _("Failed to open %s\n"), device_name); in main()
/external/e2fsprogs/e2fsck/
Discan.c30 const char * device_name = NULL; variable
74 device_name = argv[optind]; in PRS()
76 int fd = open(device_name, O_RDONLY, 0); in PRS()
80 _("while opening %s for flushing"), device_name); in PRS()
85 _("while trying to flush %s"), device_name); in PRS()
106 retval = ext2fs_open(device_name, 0, in main()
110 device_name); in main()
Dscantest.c37 const char * device_name = NULL; variable
99 device_name = "/dev/hda3"; in main()
103 retval = ext2fs_open(device_name, 0, in main()
107 device_name); in main()
/external/vulkan-validation-layers/libs/vkjson/
Dvkjson_info.cc43 std::string device_name; member
69 options->device_name = arg2; in ParseOptions()
79 !options->device_name.empty())) { in ParseOptions()
84 if (options->device_index != unsignedNegOne && !options->device_name.empty()) { in ParseOptions()
95 options->device_index == unsignedNegOne && options->device_name.empty()) { in ParseOptions()
115 } else if (!options.device_name.empty()) { in Dump()
117 if (device.properties.deviceName == options.device_name) { in Dump()
122 std::cerr << "Error: device '" << options.device_name in Dump()
169 !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.c61 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); in low_read()
67 wprintw (command_win,"Error - Failed to read from offset %ld in device %s\n",offset,device_name); in low_read()
117 wprintw (command_win,"Error - Failed to seek to offset %ld in device %s\n",offset,device_name); in low_write()
123 wprintw (command_win,"Error - Failed to write to offset %ld in device %s\n",offset,device_name); in low_write()
155 fprintf (fp,"Time: %s\nDevice: %s\n",ctime ((time_t *) &current_time),device_name); in log_changes()
/external/e2fsprogs/lib/ext2fs/
Ddupfs.c34 fs->device_name = 0; in ext2fs_dup_handle()
50 retval = ext2fs_get_mem(strlen(src->device_name)+1, &fs->device_name); in ext2fs_dup_handle()
53 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/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/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/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/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/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/ec2/autoscale/
Dlaunchconfig.py72 def __init__(self, connection=None, device_name=None, virtual_name=None, argument
75 self.device_name = device_name
81 return 'BlockDeviceMapping(%s, %s)' % (self.device_name,
91 self.device_name = value
/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()
/external/autotest/client/common_lib/cros/network/
Dinterface.py84 for device_name in ['eth%d' % i for i in range(5)]:
85 ethernet_if = Interface(device_name)
172 device_name = DEVICE_NAME_LOOKUP[driver_info]
173 logging.debug('Device is %s', device_name)
177 device_name = NAME_UNKNOWN
191 return DeviceDescription(device_name, module_path)

12345