Home
last modified time | relevance | path

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

/system/core/debuggerd/
Ddebuggerd_test.cpp118 static void tombstoned_intercept(pid_t target_pid, unique_fd* intercept_fd, unique_fd* output_fd, in tombstoned_intercept() argument
120 intercept_fd->reset(socket_local_client(kTombstonedInterceptSocketName, in tombstoned_intercept()
122 if (intercept_fd->get() == -1) { in tombstoned_intercept()
154 ssize_t rc = SendFileDescriptors(intercept_fd->get(), &req, sizeof(req), output_pipe_write.get()); in tombstoned_intercept()
160 rc = TEMP_FAILURE_RETRY(read(intercept_fd->get(), response, sizeof(*response))); in tombstoned_intercept()
184 unique_fd intercept_fd; member in CrasherTest
228 tombstoned_intercept(crasher_pid, &this->intercept_fd, output_fd, &response, intercept_type); in StartIntercept()
236 ssize_t rc = TIMEOUT(30, read(intercept_fd.get(), &response, sizeof(response))); in FinishIntercept()
2023 unique_fd intercept_fd, output_fd; in TEST() local
2025 tombstoned_intercept(pid, &intercept_fd, &output_fd, &response, kDebuggerdTombstone); in TEST()
[all …]