Home
last modified time | relevance | path

Searched refs:vdex (Results 1 – 24 of 24) sorted by relevance

/art/runtime/
Dvdex_file_test.cc34 std::unique_ptr<VdexFile> vdex = VdexFile::Open(tmp.GetFd(), in TEST_F() local
41 EXPECT_TRUE(vdex == nullptr); in TEST_F()
43 vdex = VdexFile::Open( in TEST_F()
45 EXPECT_TRUE(vdex == nullptr); in TEST_F()
Dvdex_file.cc177 std::unique_ptr<VdexFile> vdex(new VdexFile(std::move(mmap))); in OpenAtAddress() local
178 if (!vdex->IsValid()) { in OpenAtAddress()
183 if (unquicken && vdex->HasDexSection()) { in OpenAtAddress()
185 if (!vdex->OpenAllDexFiles(&unique_ptr_dex_files, error_msg)) { in OpenAtAddress()
190 vdex->Unquicken(MakeNonOwningPointerVector(unique_ptr_dex_files), in OpenAtAddress()
193 size_t offset = vdex->GetDexSectionHeaderOffset(); in OpenAtAddress()
194 reinterpret_cast<DexSectionHeader*>(vdex->mmap_.Begin() + offset)->quickening_info_size_ = 0; in OpenAtAddress()
198 vdex->AllowWriting(false); in OpenAtAddress()
201 return vdex; in OpenAtAddress()
485 std::string vdex(reinterpret_cast<const char*>(data.data()), data.size()); in MatchesBootClassPathChecksums()
[all …]
Doat_file_assistant.cc407 VdexFile* vdex = file.GetVdexFile(); in GivenOatFileStatus() local
408 if (!DexChecksumUpToDate(*vdex, &error_msg)) { in GivenOatFileStatus()
751 std::unique_ptr<VdexFile> vdex; in Status() local
759 vdex = VdexFile::Open(vdex_fd_, in Status()
769 vdex = VdexFile::Open(vdex_filename, in Status()
775 if (vdex == nullptr) { in Status()
779 if (oat_file_assistant_->DexChecksumUpToDate(*vdex, &error_msg)) { in Status()
Doat_file.cc181 void SetVdex(VdexFile* vdex) { in SetVdex() argument
182 vdex_.reset(vdex); in SetVdex()
/art/test/634-vdex-duplicate/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex-filter speed --vdex "${@}"
/art/test/693-vdex-inmem-loader-evict/
Dinfo.txt2 of vdex files in the data folder. Least recently used vdex files should be unlinked.
/art/test/692-vdex-inmem-loader/
Dinfo.txt2 cached in a vdex file in the app's data folder. Subsequent loads should initialize an instance of
3 OatFile using the data in the vdex.
/art/openjdkjvmti/
Dfixed_up_dex_file.cc68 const art::VdexFile* vdex = GetVdex(original_dex_file); in DoDexUnquicken() local
69 if (vdex != nullptr) { in DoDexUnquicken()
70 vdex->UnquickenDexFile(new_dex_file, in DoDexUnquicken()
/art/test/629-vdex-speed/
Drun17 exec ${RUN} --vdex "${@}"
Dinfo.txt1 Regression test for vdex that used to not AOT compile
/art/test/628-vdex/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
/art/test/674-vdex-uncompress/
Drun17 exec ${RUN} -Xcompiler-option --compiler-filter=verify --vdex "${@}"
Dinfo.txt2 and where --input-vdex is passed.
/art/test/649-vdex-duplicate-method/
Dinfo.txt1 Regression test for unquickening a vdex that has duplicate methods.
/art/test/719-dm-verify-redefinition/
Dinfo.txt1 Verifies that the vdex file from a DexMetadata archive is discarded
Drun24 --vdex-arg \
/art/test/630-safecast-array/
Dinfo.txt1 Regression test for vdex, which used to crash in AddAssignability
/art/tools/golem/
Denv43 ALL_TARGETS=(art-interpreter art-opt art-jit art-jit-cc art-opt-cc art-opt-debuggable art-vdex)
/art/test/663-odd-dex-size/
Dinfo.txt1 Test for a dex file with an odd size in a vdex file.
/art/test/663-odd-dex-size2/
Dinfo.txt1 Test for two files with an odd size in a vdex file.
/art/dexlayout/
Ddexdiag.cc330 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_name, in DisplayMappingIfFromVdexFile() local
335 if (vdex == nullptr) { in DisplayMappingIfFromVdexFile()
345 if (!vdex->OpenAllDexFiles(&dex_files, &error_msg)) { in DisplayMappingIfFromVdexFile()
368 reinterpret_cast<uint64_t>(vdex->Begin()), in DisplayMappingIfFromVdexFile()
/art/test/
Drun-test496 run_args+=(--vdex)
504 run_args+=(--vdex-filter "$filter")
DAndroid.bp588 "692-vdex-inmem-loader/vdex_inmem_loader.cc",
/art/dex2oat/
Ddex2oat_test.cc1931 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location.c_str(), in TEST_F() local
1936 ASSERT_TRUE(vdex != nullptr); in TEST_F()
1937 EXPECT_FALSE(vdex->HasDexSection()) << output_; in TEST_F()
2069 std::unique_ptr<VdexFile> vdex(VdexFile::Open(vdex_location2.c_str(), in TEST_F() local
2075 bool result = vdex->OpenAllDexFiles(&dex_files, &error_msg); in TEST_F()