Searched refs:read_fd (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Bluetooth/system/btif/test/ |
D | btif_core_test.cc | 850 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/ |
D | fd_server_helper.rs | 109 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/ |
D | clatd_test.cpp | 445 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/ |
D | incremental.h | 35 Result wait_for_installation(int read_fd);
|
D | incremental.cpp | 228 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/ |
D | fdevent_test.cpp | 39 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/ |
D | aidl.rs | 767 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/ |
D | crosvm.rs | 1223 let (read_fd, write_fd) = pipe2(OFlag::O_CLOEXEC)?; in create_pipe() 1224 Ok((read_fd.into(), write_fd.into())) in create_pipe()
|
D | aidl.rs | 1511 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()
|