Home
last modified time | relevance | path

Searched refs:dex2 (Results 1 – 5 of 5) sorted by relevance

/art/test/936-search-onload/
Dsearch_onload.cc47 std::string dex2 = android::base::StringPrintf("%s/936-search-onload-ex.jar", dex_loc); in OnLoad() local
55 result = jvmti_env->AddToSystemClassLoaderSearch(dex2.c_str()); in OnLoad()
/art/libprofile/profile/
Dprofile_compilation_info_test.cc54 dex2 = fake_dex_storage.AddFakeDex("location2", /* checksum= */ 2, /* num_method_ids= */ 10002); in SetUp()
132 TypeReference(dex2, dex::TypeIndex(1)), in GetTestInlineCaches()
184 ASSERT_TRUE(AddMethod(&saved_info, dex2, /* method_idx= */ i)); in TestProfileLoadFromZip()
282 const DexFile* dex2; member in art::ProfileCompilationInfoTest
306 ASSERT_TRUE(AddMethod(&saved_info, dex2, /* method_idx= */ i)); in TEST_F()
320 ASSERT_TRUE(AddMethod(&saved_info, dex2, /* method_idx= */ i)); in TEST_F()
384 ASSERT_TRUE(AddClass(&saved_info, dex2, dex::TypeIndex(i))); in TEST_F()
640 ASSERT_FALSE(AddMethod(&info, dex2, /* method_idx= */ 0, inline_caches2)); in TEST_F()
655 TypeReference(dex2, dex::TypeIndex(1))}; in TEST_F()
662 TypeReference(dex2, dex::TypeIndex(1)), in TEST_F()
[all …]
/art/runtime/gc/space/
Dimage_space_test.cc227 std::string dex2 = GetScratchDir() + "/Dex2.jar"; in TEST_F() local
232 Copy(GetDexSrc2(), dex2); in TEST_F()
238 args.push_back("--dex-file=" + dex2); in TEST_F()
252 std::vector<std::string> dex_filenames{ dex1, multidex1, dex2 }; in TEST_F()
284 Copy(GetDexSrc1(), dex2); in TEST_F()
288 Copy(GetDexSrc2(), dex2); in TEST_F()
308 EXPECT_EQ(0, unlink(dex2.c_str())); in TEST_F()
312 Copy(GetDexSrc2(), dex2); in TEST_F()
/art/profman/
Dprofile_assistant_test.cc49 dex2 = fake_dex_storage.AddFakeDex("location2", /* checksum= */ 2, /* num_method_ids= */ 10002); in PostRuntimeCreate()
395 SetupProfile(dex1, dex2, 0, classes_in_cur_profile, profile, &info1); in CheckCompilationClassPercentChange()
397 SetupProfile(dex1, dex2, 0, classes_in_ref_profile, reference_profile, &info2); in CheckCompilationClassPercentChange()
404 const DexFile* dex2; member in art::ProfileAssistantTest
423 SetupProfile(dex1, dex2, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1); in TEST_F()
456 SetupProfile(dex1, dex2, 0, kNumberOfClassesToEnableCompilation, profile1, &info1); in TEST_F()
487 SetupProfile(dex1, dex2, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1); in TEST_F()
495 SetupProfile(dex1, dex2, kNumberOfMethodsAlreadyCompiled, 0, reference_profile, in TEST_F()
530 SetupProfile(dex1, dex2, kNumberOfMethodsToSkipCompilation, 0, profile1, &info1); in TEST_F()
606 SetupProfile(dex1, dex2, kNumberOfMethodsToEnableCompilation, 0, profile1, &info1); in TEST_F()
[all …]
/art/runtime/
Dclass_loader_context_test.cc1091 std::vector<std::unique_ptr<const DexFile>> dex2 = OpenTestDexFiles("MyClass"); in TEST_F() local
1094 CreateClassPathWithChecksums(dex2) + "]"; in TEST_F()
1106 std::vector<std::unique_ptr<const DexFile>> dex2 = OpenTestDexFiles("MyClass"); in TEST_F() local
1107 ASSERT_EQ(dex2.size(), 1u); in TEST_F()
1110 std::string expected_encoding = "IMC[<unknown>*" + std::to_string(dex2[0]->GetLocationChecksum()) in TEST_F()