Home
last modified time | relevance | path

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

/system/core/debuggerd/
Ddebuggerd_test.cpp101 static void tombstoned_intercept(pid_t target_pid, unique_fd* intercept_fd, unique_fd* output_fd, in tombstoned_intercept() argument
103 intercept_fd->reset(socket_local_client(kTombstonedInterceptSocketName, in tombstoned_intercept()
105 if (intercept_fd->get() == -1) { in tombstoned_intercept()
137 ssize_t rc = SendFileDescriptors(intercept_fd->get(), &req, sizeof(req), output_pipe_write.get()); in tombstoned_intercept()
144 rc = TEMP_FAILURE_RETRY(read(intercept_fd->get(), &response, sizeof(response))); in tombstoned_intercept()
162 unique_fd intercept_fd; member in CrasherTest
201 tombstoned_intercept(crasher_pid, &this->intercept_fd, output_fd, &status, intercept_type); in StartIntercept()
208 ssize_t rc = TIMEOUT(30, read(intercept_fd.get(), &response, sizeof(response))); in FinishIntercept()
1213 unique_fd intercept_fd, output_fd; in TEST() local
1215 tombstoned_intercept(pid, &intercept_fd, &output_fd, &status, kDebuggerdTombstone); in TEST()
[all …]