Home
last modified time | relevance | path

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

/art/libartbase/base/metrics/
Dmetrics_common.cc293 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)) ==
310 CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstallBulkSecondary)) ==
313 CompilationReasonFromName(CompilationReasonName(CompilationReason::kInstallBulkDowngraded)) ==
[all …]
Dmetrics_test.cc700 ASSERT_EQ(CompilationReasonFromName("unknown"), CompilationReason::kUnknown); in TEST()
701 ASSERT_EQ(CompilationReasonFromName("first-boot"), CompilationReason::kFirstBoot); in TEST()
702 ASSERT_EQ(CompilationReasonFromName("boot-after-ota"), CompilationReason::kBootAfterOTA); in TEST()
703 ASSERT_EQ(CompilationReasonFromName("post-boot"), CompilationReason::kPostBoot); in TEST()
704 ASSERT_EQ(CompilationReasonFromName("install"), CompilationReason::kInstall); in TEST()
705 ASSERT_EQ(CompilationReasonFromName("install-fast"), CompilationReason::kInstallFast); in TEST()
706 ASSERT_EQ(CompilationReasonFromName("install-bulk"), CompilationReason::kInstallBulk); in TEST()
707 ASSERT_EQ(CompilationReasonFromName("install-bulk-secondary"), in TEST()
709 ASSERT_EQ(CompilationReasonFromName("install-bulk-downgraded"), in TEST()
711 ASSERT_EQ(CompilationReasonFromName("install-bulk-secondary-downgraded"), in TEST()
[all …]
Dmetrics.h173 constexpr CompilationReason CompilationReasonFromName(std::string_view name) { in CompilationReasonFromName() function
/art/runtime/metrics/
Dreporter.cc97 CompilationReasonFromName(compilation_reason), in NotifyAppInfoUpdated()