Home
last modified time | relevance | path

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

12345

/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/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()
346 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F() local
355 &dex_files)); in TEST_F()
365 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F() local
374 &dex_files)); in TEST_F()
[all …]
Dart_dex_file_loader.h82 std::vector<std::unique_ptr<const DexFile>>* dex_files) const;
88 std::vector<std::unique_ptr<const DexFile>>* dex_files) const;
104 std::vector<std::unique_ptr<const DexFile>>* dex_files) const;
113 std::vector<std::unique_ptr<const DexFile>>* dex_files) const;
128 std::vector<std::unique_ptr<const DexFile>>* dex_files) const;
/art/dex2oat/driver/
Dcompiler_driver.h97 void SetClasspathDexFiles(const std::vector<const DexFile*>& dex_files);
105 const std::vector<const DexFile*>& dex_files,
111 const std::vector<const DexFile*>& dex_files,
237 const std::vector<const DexFile*>& dex_files,
242 const std::vector<const DexFile*>& dex_files,
251 const std::vector<const DexFile*>& dex_files,
256 const std::vector<const DexFile*>& dex_files,
262 const std::vector<const DexFile*>& dex_files,
269 const std::vector<const DexFile*>& dex_files,
273 const std::vector<const DexFile*>& dex_files,
[all …]
/art/runtime/
Dhidden_api_test.cc402 /* out */ std::vector<std::unique_ptr<const DexFile>>* dex_files, in LoadDexFiles() argument
410 dex_files)) { in LoadDexFiles()
421 MakeNonOwningPointerVector(*dex_files), in LoadDexFiles()
425 for (const auto& dex_file : *dex_files) { in LoadDexFiles()
434 const std::vector<std::unique_ptr<const DexFile>>& dex_files, in CheckAllDexFilesInDomain() argument
438 for (const auto& dex_file : dex_files) { in CheckAllDexFilesInDomain()
467 std::vector<std::unique_ptr<const DexFile>> dex_files; in TEST_F() local
472 ASSERT_TRUE(LoadDexFiles(data_location_path, soa, &dex_files, &class_loader, &error_msg)) in TEST_F()
474 ASSERT_GE(dex_files.size(), 1u); in TEST_F()
476 dex_files, in TEST_F()
[all …]
Doat_file_manager.cc266 /*out*/std::vector<const DexFile*>* dex_files, in AddDexFilesFromOat() argument
274 dex_files->push_back(dex_file.get()); in AddDexFilesFromOat()
535 std::vector<std::unique_ptr<const DexFile>> dex_files; in OpenDexFilesFromOat() local
576 /*out*/&dex_files, in OpenDexFilesFromOat()
585 for (const auto& dex_file : dex_files) { in OpenDexFilesFromOat()
590 dex_files.clear(); in OpenDexFilesFromOat()
605 DCHECK(dex_files.empty()); in OpenDexFilesFromOat()
606 dex_files = oat_file_assistant.LoadDexFiles(*source_oat_file, dex_location); in OpenDexFilesFromOat()
609 for (const auto& dex_file : dex_files) { in OpenDexFilesFromOat()
613 if (dex_files.empty()) { in OpenDexFilesFromOat()
[all …]
/art/libartbase/base/
Dcommon_art_test.cc270 std::vector<std::unique_ptr<const DexFile>> dex_files; in LoadExpectSingleDexFile() local
276 location, location, /* verify= */ true, kVerifyChecksum, &error_msg, &dex_files)) { in LoadExpectSingleDexFile()
280 CHECK_EQ(1U, dex_files.size()) << "Expected only one dex file in " << location; in LoadExpectSingleDexFile()
281 return std::move(dex_files[0]); in LoadExpectSingleDexFile()
443 std::vector<std::unique_ptr<const DexFile>> dex_files; in OpenDexFiles() local
449 &dex_files); in OpenDexFiles()
451 for (auto& dex_file : dex_files) { in OpenDexFiles()
455 return dex_files; in OpenDexFiles()
459 std::vector<std::unique_ptr<const DexFile>> dex_files(OpenDexFiles(filename)); in OpenDexFile() local
460 CHECK_EQ(dex_files.size(), 1u) << "Expected only one dex file"; in OpenDexFile()
[all …]
/art/tools/dexanalyze/
Ddexanalyze.cc165 bool ProcessDexFiles(const std::vector<std::unique_ptr<const DexFile>>& dex_files) { in ProcessDexFiles() argument
167 experiment->ProcessDexFiles(dex_files); in ProcessDexFiles()
169 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in ProcessDexFiles()
172 dex_count_ += dex_files.size(); in ProcessDexFiles()
209 std::vector<std::unique_ptr<const DexFile>> dex_files; in Run() local
218 &dex_files)) { in Run()
224 if (!current.ProcessDexFiles(dex_files)) { in Run()
231 cumulative.ProcessDexFiles(dex_files); in Run()
/art/profman/
Dprofman.cc417 bool OpenApkFilesFromLocations(std::vector<std::unique_ptr<const DexFile>>* dex_files) { in OpenApkFilesFromLocations() argument
418 auto process_fn = [dex_files](std::unique_ptr<const DexFile>&& dex_file) { in OpenApkFilesFromLocations()
419 dex_files->emplace_back(std::move(dex_file)); in OpenApkFilesFromLocations()
539 const std::vector<std::unique_ptr<const DexFile>>* dex_files, in DumpOneProfile() argument
546 *dump += banner + "\n" + info->DumpInfo(MakeNonOwningPointerVector(*dex_files)) + "\n"; in DumpOneProfile()
561 std::vector<std::unique_ptr<const DexFile>> dex_files; in DumpProfileInfo() local
562 OpenApkFilesFromLocations(&dex_files); in DumpProfileInfo()
569 for (const std::unique_ptr<const DexFile>& dex_file : dex_files) { in DumpProfileInfo()
582 &dex_files, in DumpProfileInfo()
590 int ret = DumpOneProfile(kOrdinaryProfile, profile_file, kInvalidFd, &dex_files, &dump); in DumpProfileInfo()
[all …]
/art/compiler/debug/
Ddebug_info.h36 std::map<uint32_t, const DexFile*> dex_files; // Offset in section -> dex file content. member
39 return compiled_methods.empty() && dex_files.empty(); in Empty()
/art/runtime/native/
Ddalvik_system_DexFile.cc62 /*out*/ std::vector<const DexFile*>& dex_files, in ConvertJavaArrayToDexFiles() argument
80 dex_files.reserve(array_size - 1); in ConvertJavaArrayToDexFiles()
82 dex_files.push_back(reinterpret_cast64<const DexFile*>(long_data[i])); in ConvertJavaArrayToDexFiles()
170 std::vector<std::unique_ptr<const DexFile>>& dex_files, in CreateCookieFromOatFileManagerResult() argument
174 if (dex_files.empty()) { in CreateCookieFromOatFileManagerResult()
187 jlongArray array = ConvertDexFilesToJavaArray(env, oat_file, dex_files); in CreateCookieFromOatFileManagerResult()
190 for (auto& dex_file : dex_files) { in CreateCookieFromOatFileManagerResult()
294 std::vector<std::unique_ptr<const DexFile>> dex_files = in DexFile_openInMemoryDexFilesNative() local
300 return CreateCookieFromOatFileManagerResult(env, dex_files, oat_file, error_msgs); in DexFile_openInMemoryDexFilesNative()
318 std::vector<std::unique_ptr<const DexFile>> dex_files = in DexFile_openDexFileNative() local
[all …]
/art/test/950-redefine-intrinsic/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/917-fields-transformation/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/1956-pop-frame-jit-calling/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/930-hello-retransform/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/932-transform-saves/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/1947-breakpoint-redefine-deopt/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/1958-transform-try-jit/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/1954-pop-frame-jit/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/916-obsolete-jit/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/1910-transform-with-default/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/919-obsolete-fields/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/943-private-recursive-jit/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/1957-error-ext/src/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()
/art/test/998-redefine-use-after-free/src-ex/art/
DRedefinition.java61 ArrayList<byte[]> dex_files = new ArrayList<>(); in doMultiClassRedefinition() local
66 dex_files.add(d.dex_file_bytes); in doMultiClassRedefinition()
70 dex_files.toArray(new byte[0][])); in doMultiClassRedefinition()

12345