Searched refs:CodeType (Results 1 – 7 of 7) sorted by relevance
32 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 …]
28 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 …]
47 enum class CodeType { enum55 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};
1715 AppInfo::CodeType::kPrimaryApk) { in FindDexCaches()
1247 AppInfo::CodeType::kPrimaryApk); in InitNonZygoteOrPostFork()
247 const AppInfo::CodeType code_type = in OpenDexFilesFromOat()253 code_type == AppInfo::CodeType::kPrimaryApk || in OpenDexFilesFromOat()254 code_type == AppInfo::CodeType::kSplitApk; in OpenDexFilesFromOat()
389 AppInfo::CodeType::kPrimaryApk); in TEST_F()