Home
last modified time | relevance | path

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

/system/core/debuggerd/
Ddebuggerd_test.cpp96 static void tombstoned_intercept(pid_t target_pid, unique_fd* intercept_fd, unique_fd* output_fd, in tombstoned_intercept() argument
98 intercept_fd->reset(socket_local_client(kTombstonedInterceptSocketName, in tombstoned_intercept()
100 if (intercept_fd->get() == -1) { in tombstoned_intercept()
129 ssize_t rc = SendFileDescriptors(intercept_fd->get(), &req, sizeof(req), output_pipe_write.get()); in tombstoned_intercept()
136 rc = TEMP_FAILURE_RETRY(read(intercept_fd->get(), &response, sizeof(response))); in tombstoned_intercept()
154 unique_fd intercept_fd; member in CrasherTest
191 tombstoned_intercept(crasher_pid, &this->intercept_fd, output_fd, &status, intercept_type); in StartIntercept()
199 ssize_t rc = TIMEOUT(20, read(intercept_fd.get(), &response, sizeof(response))); in FinishIntercept()
906 unique_fd intercept_fd, output_fd; in TEST() local
908 tombstoned_intercept(pid, &intercept_fd, &output_fd, &status, kDebuggerdTombstone); in TEST()
[all …]