Home
last modified time | relevance | path

Searched refs:read_fd (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc850 static int read_fd = fds[1]; in TEST_F() local
860 int bytes_read = read(read_fd, line_buf, 1024); in TEST_F()
871 close(read_fd); in TEST_F()
1010 static int read_fd = read_fd_; in TEST_F() local
1020 int bytes_read = read(read_fd, line_buf, 1024); in TEST_F()
1043 static int read_fd = read_fd_; in TEST_F() local
1058 int bytes_read = read(read_fd, line_buf, 1024); in TEST_F()
1083 static int read_fd = read_fd_; in TEST_F() local
1095 int bytes_read = read(read_fd, line_buf, 1024); in TEST_F()
1120 static int read_fd = read_fd_; in TEST_F() local
[all …]
/packages/modules/Virtualization/compos/composd/src/
Dfd_server_helper.rs109 let (read_fd, write_fd) = pipe2(OFlag::O_CLOEXEC)?; in create_pipe()
110 Ok((read_fd.into(), write_fd.into())) in create_pipe()
/packages/modules/Connectivity/clatd/
Dclatd_test.cpp445 int read_fd, write_fd; in do_translate_packet() local
451 read_fd = fds[1]; in do_translate_packet()
456 read_fd = fds[0]; in do_translate_packet()
475 int len = readv(read_fd, iov, 2); in do_translate_packet()
487 *outlen = read(read_fd, out, *outlen); in do_translate_packet()
/packages/modules/adb/client/
Dincremental.h35 Result wait_for_installation(int read_fd);
Dincremental.cpp228 Result wait_for_installation(int read_fd) { in wait_for_installation() argument
234 while ((bytes_read = adb_read(read_fd, child_stdout.data() + buf_size, in wait_for_installation()
/packages/modules/adb/fdevent/
Dfdevent_test.cpp39 FdHandler(int read_fd, int write_fd, bool use_new_callback) in FdHandler() argument
40 : read_fd_(read_fd), write_fd_(write_fd) { in FdHandler()
/packages/modules/Virtualization/virtualizationservice/src/
Daidl.rs767 let read_fd = File::open(&path).context("Failed to open VM DTBO file")?; in get_dtbo_file() localVariable
769 read_fd.try_clone().context("Failed to clone VM DTBO file descriptor")?; in get_dtbo_file()
770 *file = Some(read_fd); in get_dtbo_file()
/packages/modules/Virtualization/virtualizationmanager/src/
Dcrosvm.rs1223 let (read_fd, write_fd) = pipe2(OFlag::O_CLOEXEC)?; in create_pipe()
1224 Ok((read_fd.into(), write_fd.into())) in create_pipe()
Daidl.rs1511 let (read_fd, write_fd) = in clone_or_prepare_logger_fd()
1514 let mut reader = BufReader::new(File::from(read_fd)); in clone_or_prepare_logger_fd()