Home
last modified time | relevance | path

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

/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dtombstone.h54 void engrave_tombstone(android::base::unique_fd output_fd, android::base::unique_fd proto_fd,
60 void engrave_tombstone_ucontext(int tombstone_fd, int proto_fd, uint64_t abort_msg_address,
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp101 static void debuggerd_fallback_tombstone(int output_fd, int proto_fd, ucontext_t* ucontext, in debuggerd_fallback_tombstone() argument
108 engrave_tombstone_ucontext(output_fd, proto_fd, reinterpret_cast<uintptr_t>(abort_message), in debuggerd_fallback_tombstone()
335 unique_fd tombstone_socket, output_fd, proto_fd; in crash_handler() local
336 bool tombstoned_connected = tombstoned_connect(getpid(), &tombstone_socket, &output_fd, &proto_fd, in crash_handler()
338 debuggerd_fallback_tombstone(output_fd.get(), proto_fd.get(), ucontext, info, abort_message); in crash_handler()
/system/core/debuggerd/libdebuggerd/
Dtombstone.cpp562 void engrave_tombstone_ucontext(int tombstone_fd, int proto_fd, uint64_t abort_msg_address, in engrave_tombstone_ucontext() argument
605 engrave_tombstone(unique_fd(dup(tombstone_fd)), unique_fd(dup(proto_fd)), &unwinder, threads, tid, in engrave_tombstone_ucontext()
609 void engrave_tombstone(unique_fd output_fd, unique_fd proto_fd, unwindstack::Unwinder* unwinder, in engrave_tombstone() argument
617 if (proto_fd != -1) { in engrave_tombstone()
618 if (!tombstone.SerializeToFileDescriptor(proto_fd.get())) { in engrave_tombstone()
/system/core/debuggerd/
Ddebuggerd_test.cpp1758 unique_fd tombstoned_socket, text_fd, proto_fd; in TEST() local
1760 tombstoned_connect(self, &tombstoned_socket, &text_fd, &proto_fd, kDebuggerdTombstoneProto)); in TEST()
1765 ASSERT_NE(-1, proto_fd.get()); in TEST()
1801 ASSERT_EQ(0, fstat(proto_fd.get(), &proto_fd_st)); in TEST()
1816 unique_fd tombstoned_socket, text_fd, proto_fd; in TEST() local
1818 tombstoned_connect(self, &tombstoned_socket, &text_fd, &proto_fd, kDebuggerdTombstoneProto)); in TEST()