Home
last modified time | relevance | path

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

/art/libartbase/base/metrics/
Dmetrics_common.cc147 os_ << " compilation_reason: " << CompilationReasonName(session_data->compilation_reason) in FormatBeginReport()
207 ->SetText(CompilationReasonName(session_data->compilation_reason)); in FormatBeginReport()
293 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kError)) ==
295 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kUnknown)) ==
297 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kFirstBoot)) ==
299 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kBootAfterOTA)) ==
301 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kPostBoot)) ==
303 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstall)) ==
305 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstallFast)) ==
307 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstallBulk)) ==
[all …]
Dmetrics_test.cc728 ASSERT_EQ(CompilationReasonName(CompilationReason::kUnknown), "unknown"); in TEST()
729 ASSERT_EQ(CompilationReasonName(CompilationReason::kFirstBoot), "first-boot"); in TEST()
730 ASSERT_EQ(CompilationReasonName(CompilationReason::kBootAfterOTA), "boot-after-ota"); in TEST()
731 ASSERT_EQ(CompilationReasonName(CompilationReason::kPostBoot), "post-boot"); in TEST()
732 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstall), "install"); in TEST()
733 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallFast), "install-fast"); in TEST()
734 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallBulk), "install-bulk"); in TEST()
735 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallBulkSecondary), in TEST()
737 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallBulkDowngraded), in TEST()
739 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallBulkSecondaryDowngraded), in TEST()
[all …]
Dmetrics.h167 constexpr const char* CompilationReasonName(CompilationReason reason) { in CompilationReasonName() function