Home
last modified time | relevance | path

Searched refs:CodeType (Results 1 – 7 of 7) sorted by relevance

/art/runtime/
Dapp_info.cc32 AppInfo::CodeType AppInfo::FromVMRuntimeConstants(uint32_t code_type) { in FromVMRuntimeConstants()
34 case kVMRuntimePrimaryApk : return CodeType::kPrimaryApk; in FromVMRuntimeConstants()
35 case kVMRuntimeSplitApk : return CodeType::kPrimaryApk; in FromVMRuntimeConstants()
36 case kVMRuntimeSecondaryDex : return CodeType::kSecondaryDex; in FromVMRuntimeConstants()
39 return CodeType::kUnknown; in FromVMRuntimeConstants()
43 static const char* CodeTypeName(AppInfo::CodeType code_type) { in CodeTypeName()
45 case AppInfo::CodeType::kPrimaryApk : return "primary-apk"; in CodeTypeName()
46 case AppInfo::CodeType::kSplitApk : return "split-apk"; in CodeTypeName()
47 case AppInfo::CodeType::kSecondaryDex : return "secondary-dex"; in CodeTypeName()
48 case AppInfo::CodeType::kUnknown : return "unknown"; in CodeTypeName()
[all …]
Dapp_info_test.cc28 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kUnknown); in TEST()
35 AppInfo::CodeType::kPrimaryApk); in TEST()
37 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kPrimaryApk); in TEST()
55 AppInfo::CodeType::kPrimaryApk); in TEST()
56 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kPrimaryApk); in TEST()
62 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kPrimaryApk); in TEST()
91 AppInfo::CodeType::kPrimaryApk); in TEST()
93 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location"), AppInfo::CodeType::kPrimaryApk); in TEST()
94 EXPECT_EQ(app_info.GetRegisteredCodeType("code_location2"), AppInfo::CodeType::kUnknown); in TEST()
119 AppInfo::CodeType::kSplitApk); in TEST()
[all …]
Dapp_info.h47 enum class CodeType { enum
55 static CodeType FromVMRuntimeConstants(uint32_t code_type);
64 CodeType code_type);
100 CodeType GetRegisteredCodeType(const std::string& code_path);
106 CodeType code_type{CodeType::kUnknown};
Druntime_image.cc1715 AppInfo::CodeType::kPrimaryApk) { in FindDexCaches()
Druntime.cc1247 AppInfo::CodeType::kPrimaryApk); in InitNonZygoteOrPostFork()
/art/runtime/oat/
Doat_file_manager.cc247 const AppInfo::CodeType code_type = in OpenDexFilesFromOat()
253 code_type == AppInfo::CodeType::kPrimaryApk || in OpenDexFilesFromOat()
254 code_type == AppInfo::CodeType::kSplitApk; in OpenDexFilesFromOat()
/art/runtime/metrics/
Dreporter_test.cc389 AppInfo::CodeType::kPrimaryApk); in TEST_F()