Home
last modified time | relevance | path

Searched refs:dex_files (Results 1 – 25 of 175) sorted by relevance

1234567

/art/libprofile/profile/
Dprofile_boot_info_test.cc38 std::vector<const DexFile*> dex_files; in TEST_F() local
42 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files)); in TEST_F()
49 std::vector<const DexFile*> dex_files = { dex.get() }; in TEST_F() local
57 ASSERT_TRUE(loaded_info.Load(profile.GetFd(), dex_files)); in TEST_F()
67 std::vector<std::unique_ptr<const DexFile>> dex_files = OpenTestDexFiles("MultiDex"); in TEST_F() local
69 for (const std::unique_ptr<const DexFile>& file : dex_files) { in TEST_F()
74 saved_info.Add(dex_files[0].get(), 42); in TEST_F()
75 saved_info.Add(dex_files[1].get(), 108); in TEST_F()
76 saved_info.Add(dex_files[1].get(), 54); in TEST_F()
84 dex_files[0]->GetLocation().c_str()); in TEST_F()
[all …]
/art/dex2oat/
Dcommon_compiler_driver_test.cc34 const std::vector<const DexFile*>& dex_files, in CompileAll() argument
37 SetDexFilesForOatFile(dex_files); in CompileAll()
42 dex_files, in CompileAll()
51 compiler_driver_->CompileAll(class_loader, dex_files, timings); in CompileAll()
59 void CommonCompilerDriverTest::SetDexFilesForOatFile(const std::vector<const DexFile*>& dex_files) { in SetDexFilesForOatFile() argument
60 compiler_options_->dex_files_for_oat_file_ = dex_files; in SetDexFilesForOatFile()
61 compiler_driver_->compiled_classes_.AddDexFiles(dex_files); in SetDexFilesForOatFile()
62 compiler_driver_->dex_to_dex_compiler_.SetDexFiles(dex_files); in SetDexFilesForOatFile()
/art/runtime/
Dhidden_api_test.cc508 /* out */ std::vector<std::unique_ptr<const DexFile>>* dex_files, in LoadDexFiles() argument
516 dex_files)) { in LoadDexFiles()
527 MakeNonOwningPointerVector(*dex_files), in LoadDexFiles()
531 for (const auto& dex_file : *dex_files) { in LoadDexFiles()
548 const std::vector<std::unique_ptr<const DexFile>>& dex_files, in CheckAllDexFilesInDomain() argument
552 for (const auto& dex_file : dex_files) { in CheckAllDexFilesInDomain()
581 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F() local
586 ASSERT_TRUE(LoadDexFiles(data_location_path, soa, &dex_files, &class_loader, &error_msg)) in TEST_F()
588 ASSERT_GE(dex_files.size(), 1u); in TEST_F()
590 dex_files, in TEST_F()
[all …]
/art/libdexfile/dex/
Ddex_file_loader_test.cc212 std::vector<std::unique_ptr<const DexFile>>* dex_files, in OpenDexFilesBase64() argument
228 dex_files); in OpenDexFilesBase64()
238 std::vector<std::unique_ptr<const DexFile>> dex_files; in OpenDexFileBase64() local
239 bool success = OpenDexFilesBase64(base64, location, dex_bytes, &dex_files, &error_code, in OpenDexFileBase64()
242 EXPECT_EQ(1U, dex_files.size()); in OpenDexFileBase64()
243 return std::move(dex_files[0]); in OpenDexFileBase64()
355 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F() local
364 &dex_files)); in TEST_F()
374 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F() local
383 &dex_files)); in TEST_F()
[all …]
/art/test/2036-structural-subclass-shadow/src-art/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/946-obsolete-throw/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/942-private-recursive/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/1979-threaded-structural-transformation/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/950-redefine-intrinsic/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/949-in-memory-transform/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/1989-transform-bad-monitor/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/1986-structural-redefine-multi-thread-stack-scope/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/938-load-transform-bcp/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/935-non-retransformable/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/2004-double-virtual-structural-abstract/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/944-transform-classloaders/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/926-multi-obsolescence/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/943-private-recursive-jit/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/934-load-transform/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/1984-structural-redefine-field-trace/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/1963-add-to-dex-classloader-in-memory/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/939-hello-transformation-bcp/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/1997-structural-shadow-method/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/1978-regular-obsolete-then-structural-obsolescence/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()
/art/test/1956-pop-frame-jit-calling/src/art/
DRedefinition.java68 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
73 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
77 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
102 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiStructuralClassRedefinition() local
106 dex_files.add(d.dex_file_bytes); in doMultiStructuralClassRedefinition()
109 dex_files.toArray(new byte[0][])); in doMultiStructuralClassRedefinition()

1234567