Home
last modified time | relevance | path

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

/aosp12/system/libbase/
H A Dlogging.cpp198 static AbortFunction& Aborter() { in Aborter()
199 static auto& aborter = *new AbortFunction(DefaultAborter); in Aborter()
337 void InitLogging(char* argv[], LogFunction&& logger, AbortFunction&& aborter) { in InitLogging()
339 SetAborter(std::forward<AbortFunction>(aborter)); in InitLogging()
411 AbortFunction SetAborter(AbortFunction&& aborter) { in SetAborter()
412 AbortFunction old_aborter = std::move(Aborter()); in SetAborter()
H A Dlogging_test.cpp624 android::base::AbortFunction old_aborter; in TEST()
/aosp12/art/libartbase/base/
H A Dlogging.h33 using AbortFunction = void(const char*); variable
76 extern void InitLogging(char* argv[], AbortFunction& default_aborter);
H A Dlogging.cc59 void InitLogging(char* argv[], AbortFunction& abort_function) { in InitLogging()
112 std::move<AbortFunction>(abort_function)); in InitLogging()
/aosp12/system/libbase/include/android-base/
H A Dlogging.h109 using AbortFunction = std::function<void(const char* /*abort_message*/)>; variable
157 AbortFunction&& aborter = DefaultAborter);
164 AbortFunction SetAborter(AbortFunction&& aborter);