Searched defs:child_fd (Results 1 - 3 of 3) sorted by relevance

/system/update_engine/common/
H A Dsubprocess_unittest.cc100 int child_fd,
107 // Verify that we can read the data from our end of |child_fd|.
108 int fd = subprocess->GetPipeFd(*pid, child_fd);
98 ExpectedDataOnPipe(const Subprocess* subprocess, pid_t* pid, int child_fd, const string& child_fd_data, int expected_return_code, int return_code, const string& ) argument
/system/core/init/
H A Dsubcontext.cpp242 int child_fd = dup(subcontext_socket); local
243 if (child_fd < 0) {
244 PLOG(FATAL) << "Could not dup child_fd";
252 auto child_fd_string = std::to_string(child_fd);
/system/core/adb/
H A Dshell_service.cpp420 int child_fd = adb_open(pts_name, O_RDWR | O_CLOEXEC); local
421 if (child_fd == -1) {
434 if (tcgetattr(child_fd, &tattr) == -1) {
442 if (tcsetattr(child_fd, TCSADRAIN, &tattr) == -1) {
450 return child_fd;

Completed in 65 milliseconds