Home
last modified time | relevance | path

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

/art/libartbase/base/metrics/
Dmetrics_common.cc111 os_ << " compilation_reason: " << CompilationReasonName(session_data_->compilation_reason) in BeginReport()
180 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kError)) ==
182 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kUnknown)) ==
184 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kFirstBoot)) ==
186 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kBootAfterOTA)) ==
188 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kPostBoot)) ==
190 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstall)) ==
192 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstallFast)) ==
194 static_assert(CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstallBulk)) ==
197 CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstallBulkSecondary)) ==
[all …]
Dmetrics_test.cc406 ASSERT_EQ(CompilationReasonName(CompilationReason::kUnknown), in TEST()
408 ASSERT_EQ(CompilationReasonName(CompilationReason::kFirstBoot), in TEST()
410 ASSERT_EQ(CompilationReasonName(CompilationReason::kBootAfterOTA), in TEST()
412 ASSERT_EQ(CompilationReasonName(CompilationReason::kPostBoot), in TEST()
414 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstall), in TEST()
416 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallFast), in TEST()
418 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallBulk), in TEST()
420 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallBulkSecondary), in TEST()
422 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallBulkDowngraded), in TEST()
424 ASSERT_EQ(CompilationReasonName(CompilationReason::kInstallBulkSecondaryDowngraded), in TEST()
[all …]
Dmetrics.h119 constexpr const char* CompilationReasonName(CompilationReason reason) { in CompilationReasonName() function