Searched refs:write_fd (Results 1 – 7 of 7) sorted by relevance
/system/connectivity/wificond/tests/ |
D | shell_utils.cpp | 65 unique_fd write_fd(fds[1]); in RunShellCommand() local 75 dup2(write_fd.get(), 1); // Replace existing stdout with the pipe. in RunShellCommand() 77 write_fd.reset(); in RunShellCommand() 84 write_fd.reset(); // Close this or we never get HUP from child. in RunShellCommand()
|
/system/tools/aidl/tests/ |
D | aidl_test_client_file_descriptors.cpp | 113 unique_fd write_fd; in ConfirmFileDescriptors() local 115 if (!DoPipe(&read_fd, &write_fd)) { in ConfirmFileDescriptors() 119 status = s->RepeatFileDescriptor(write_fd, &return_fd); in ConfirmFileDescriptors()
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 55 int write_fd = open(test_file_, O_CREAT | O_WRONLY, 0666); in verify_write() local 56 ASSERT_TRUE(write_fd); in verify_write() 57 ASSERT_EQ(write(write_fd, "TEST", 4), 4); in verify_write() 58 close(write_fd); in verify_write()
|
/system/libhwbinder/vts/performance/ |
D | PerfTest.h | 62 Pipe(int read_fd, int write_fd) : fd_read_{read_fd}, fd_write_{write_fd} {} in Pipe() argument
|
/system/core/adb/ |
D | fdevent_test.cpp | 32 FdHandler(int read_fd, int write_fd) : read_fd_(read_fd), write_fd_(write_fd) { in FdHandler() argument
|
D | commandline.cpp | 450 int stdin_fd, write_fd; member 558 if (!WriteFdExactly(args->write_fd, buffer_ptr, r)) { in stdin_read_thread_loop() 629 args->write_fd = fd; in RemoteShell() 633 args->protocol.reset(new ShellProtocol(args->write_fd)); in RemoteShell()
|
/system/extras/simpleperf/ |
D | cmd_record_test.cpp | 429 int write_fd = pipefd[1]; in TEST() local 433 exit(RunRecordCmd({"--start_profiling_fd", std::to_string(write_fd)}) ? 0 : 1); in TEST() 436 close(write_fd); in TEST()
|