Home
last modified time | relevance | path

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

/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp54 void engrave_tombstone_ucontext(int tombstone_fd, int proto_fd, uint64_t abort_msg_address, in engrave_tombstone_ucontext() argument
120 engrave_tombstone(unique_fd(dup(tombstone_fd)), unique_fd(dup(proto_fd)), &unwinder, threads, in engrave_tombstone_ucontext()
124 void engrave_tombstone(unique_fd output_fd, unique_fd proto_fd, in engrave_tombstone() argument
133 if (proto_fd != -1) { in engrave_tombstone()
134 if (!tombstone.SerializeToFileDescriptor(proto_fd.get())) { in engrave_tombstone()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp85 static void debuggerd_fallback_tombstone(int output_fd, int proto_fd, ucontext_t* ucontext, in debuggerd_fallback_tombstone() argument
92 engrave_tombstone_ucontext(output_fd, proto_fd, reinterpret_cast<uintptr_t>(abort_message), in debuggerd_fallback_tombstone()
295 unique_fd tombstone_socket, output_fd, proto_fd; in crash_handler() local
296 bool tombstoned_connected = tombstoned_connect(getpid(), &tombstone_socket, &output_fd, &proto_fd, in crash_handler()
298 debuggerd_fallback_tombstone(output_fd.get(), proto_fd.get(), ucontext, info, abort_message); in crash_handler()
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dtombstone.h53 void engrave_tombstone(android::base::unique_fd output_fd, android::base::unique_fd proto_fd,
59 void engrave_tombstone_ucontext(int tombstone_fd, int proto_fd, uint64_t abort_msg_address,
/system/core/debuggerd/
Ddebuggerd_test.cpp2099 unique_fd tombstoned_socket, text_fd, proto_fd; in TEST() local
2101 tombstoned_connect(self, &tombstoned_socket, &text_fd, &proto_fd, kDebuggerdTombstoneProto)); in TEST()
2106 ASSERT_NE(-1, proto_fd.get()); in TEST()
2142 ASSERT_EQ(0, fstat(proto_fd.get(), &proto_fd_st)); in TEST()
2157 unique_fd tombstoned_socket, text_fd, proto_fd; in TEST() local
2159 tombstoned_connect(self, &tombstoned_socket, &text_fd, &proto_fd, kDebuggerdTombstoneProto)); in TEST()