Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_socket_test.cc47 fds[1] = write_fd; in InitializeCommunicationsSuccess()
71 EXPECT_CALL(mock, Close(Eq(write_fd))); in InitializeCommunicationsSuccess()
72 EXPECT_CALL(mock, FDClr(Eq(write_fd), _)); in InitializeCommunicationsSuccess()
79 const int write_fd = 99; member in testing::SnoopLoggerSocketModuleTest
367 fds[1] = write_fd; in TEST_F()
379 EXPECT_CALL(mock, Close(Eq(write_fd))); in TEST_F()
380 EXPECT_CALL(mock, FDClr(Eq(write_fd), _)); in TEST_F()
505 EXPECT_CALL(mock, Write(write_fd, _, _)).Times(1); in TEST_F()
525 EXPECT_CALL(mock, Write(write_fd, _, _)).Times(intr_count + 1); in TEST_F()
535 EXPECT_CALL(mock, Write(write_fd, _, _)); in TEST_F()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc849 static int write_fd = fds[0]; in TEST_F() local
855 BindOnce([]() { bluetooth::bqr::DebugDump(write_fd); })); in TEST_F()
870 close(write_fd); in TEST_F()
1009 static int write_fd = write_fd_; in TEST_F() local
1015 BindOnce([]() { bluetooth::bqr::DebugDump(write_fd); })); in TEST_F()
1047 static int write_fd = write_fd_; in TEST_F() local
1049 bluetooth::bqr::testing::set_lmp_trace_log_fd(write_fd); in TEST_F()
1082 static int write_fd = write_fd_; in TEST_F() local
1088 BindOnce([]() { bluetooth::bqr::DebugDump(write_fd); })); in TEST_F()
1119 static int write_fd = write_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
452 write_fd = fds[0]; in do_translate_packet()
457 write_fd = fds[1]; in do_translate_packet()
464 translate_packet(write_fd, (version == 4), original, original_len); in do_translate_packet()
/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/adb/client/
Dcommandline.cpp476 int stdin_fd, write_fd; member
584 if (!WriteFdExactly(args->write_fd, buffer_ptr, r)) { in stdin_read_thread_loop()
650 args->write_fd = fd; in RemoteShell()
654 args->protocol = std::make_unique<ShellProtocol>(args->write_fd); in RemoteShell()
/packages/modules/Virtualization/virtualizationservice/src/
Daidl.rs763 let write_fd = File::create(&path).context("Failed to create VM DTBO file")?; in get_dtbo_file() localVariable
764 VFIO_SERVICE.writeVmDtbo(&ParcelFileDescriptor::new(write_fd))?; in get_dtbo_file()
/packages/modules/Virtualization/virtualizationmanager/src/
Daidl.rs1511 let (read_fd, write_fd) = in clone_or_prepare_logger_fd()
1515 let write_fd = File::from(write_fd); in clone_or_prepare_logger_fd() localVariable
1537 Ok(Some(write_fd)) in clone_or_prepare_logger_fd()
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()