Searched refs:CompilationReasonName (Results 1 – 3 of 3) sorted by relevance
/art/libartbase/base/metrics/ |
D | metrics_common.cc | 147 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 …]
|
D | metrics_test.cc | 728 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 …]
|
D | metrics.h | 167 constexpr const char* CompilationReasonName(CompilationReason reason) { in CompilationReasonName() function
|