Home
last modified time | relevance | path

Searched refs:DexFileLoader (Results 1 – 25 of 33) sorted by relevance

12

/art/libdexfile/dex/
Ddex_file_loader_test.cc219 const DexFileLoader dex_file_loader; in OpenDexFilesBase64()
250 const DexFileLoader dex_file_loader; in OpenDexFileInMemoryBase64()
342 const DexFileLoader dex_file_loader; in TEST_F()
359 const DexFileLoader dex_file_loader; in TEST_F()
376 const DexFileLoader dex_file_loader; in TEST_F()
387 ASSERT_EQ("classes.dex", DexFileLoader::GetMultiDexClassesDexName(0)); in TEST_F()
388 ASSERT_EQ("classes2.dex", DexFileLoader::GetMultiDexClassesDexName(1)); in TEST_F()
389 ASSERT_EQ("classes3.dex", DexFileLoader::GetMultiDexClassesDexName(2)); in TEST_F()
390 ASSERT_EQ("classes100.dex", DexFileLoader::GetMultiDexClassesDexName(99)); in TEST_F()
396 ASSERT_EQ("/system/app/framework.jar", DexFileLoader::GetMultiDexLocation(0, dex_location)); in TEST_F()
[all …]
Ddex_file_loader.cc156 bool DexFileLoader::IsMagicValid(uint32_t magic) { in IsMagicValid()
160 bool DexFileLoader::IsMagicValid(const uint8_t* magic) { in IsMagicValid()
165 bool DexFileLoader::IsVersionAndMagicValid(const uint8_t* magic) { in IsVersionAndMagicValid()
175 bool DexFileLoader::IsMultiDexLocation(const char* location) { in IsMultiDexLocation()
179 std::string DexFileLoader::GetMultiDexClassesDexName(size_t index) { in GetMultiDexClassesDexName()
183 std::string DexFileLoader::GetMultiDexLocation(size_t index, const char* dex_location) { in GetMultiDexLocation()
189 std::string DexFileLoader::GetDexCanonicalLocation(const char* dex_location) { in GetDexCanonicalLocation()
209 bool DexFileLoader::GetMultiDexChecksums( in GetMultiDexChecksums()
219 std::unique_ptr<const DexFile> DexFileLoader::Open(const uint8_t* base, in Open()
241 std::unique_ptr<const DexFile> DexFileLoader::OpenWithDataSection( in OpenWithDataSection()
[all …]
Dcompact_dex_file_test.cc41 EXPECT_EQ(valid_magic, DexFileLoader::IsMagicValid(header)); in TEST()
42 EXPECT_EQ(valid_magic && valid_version, DexFileLoader::IsVersionAndMagicValid(header)); in TEST()
Ddex_file_loader.h35 class DexFileLoader {
97 virtual ~DexFileLoader() { } in ~DexFileLoader()
Dstandard_dex_file.h107 friend class DexFileLoader; variable
Dcode_item_accessors_test.cc43 const DexFileLoader dex_file_loader; in CreateFakeDex()
Dcompact_dex_file.h299 friend class DexFileLoader; variable
Dtest_dex_file_builder.h235 const DexFileLoader dex_file_loader; in Build()
/art/runtime/dex/
Dart_dex_file_loader_test.cc89 EXPECT_EQ(dexes[0]->GetLocation(), DexFileLoader::GetMultiDexLocation(0, multidex_file.c_str())); in TEST_F()
92 EXPECT_EQ(dexes[1]->GetLocation(), DexFileLoader::GetMultiDexLocation(1, multidex_file.c_str())); in TEST_F()
298 ASSERT_EQ(dex_location, DexFileLoader::GetDexCanonicalLocation(dex_location.c_str())); in TEST_F()
299 std::string multidex_location = DexFileLoader::GetMultiDexLocation(1, dex_location.c_str()); in TEST_F()
300 ASSERT_EQ(multidex_location, DexFileLoader::GetDexCanonicalLocation(multidex_location.c_str())); in TEST_F()
305 ASSERT_EQ(dex_location, DexFileLoader::GetDexCanonicalLocation(dex_location_sym.c_str())); in TEST_F()
307 std::string multidex_location_sym = DexFileLoader::GetMultiDexLocation( in TEST_F()
310 DexFileLoader::GetDexCanonicalLocation(multidex_location_sym.c_str())); in TEST_F()
Dart_dex_file_loader.h37 class ArtDexFileLoader : public DexFileLoader {
Dart_dex_file_loader.cc521 std::unique_ptr<DexFile> dex_file = DexFileLoader::OpenCommon(base, in OpenCommon()
539 std::string path = DexFileLoader::GetDexCanonicalLocation(location.c_str()); in OpenCommon()
/art/runtime/
Dclass_loader_context.cc277 canonical_locations.insert(DexFileLoader::GetDexCanonicalLocation(location.c_str())); in RemoveLocationsFromClassPaths()
287 DexFileLoader::GetDexCanonicalLocation(location.c_str())); in RemoveLocationsFromClassPaths()
351 DexFileLoader::GetBaseLocation(dex_file->GetLocation())).second; in EncodeContext()
359 std::string base_dex_location = DexFileLoader::GetBaseLocation(location); in EncodeContext()
362 location = it->second + DexFileLoader::GetMultiDexSuffix(location); in EncodeContext()
Doat_file.cc718 const bool valid_magic = DexFileLoader::IsMagicValid(dex_file_pointer); in Setup()
728 if (UNLIKELY(!DexFileLoader::IsVersionAndMagicValid(dex_file_pointer))) { in Setup()
842 DexFileLoader::GetDexCanonicalLocation(dex_file_location.c_str()); in Setup()
1373 std::string base = DexFileLoader::GetBaseLocation(rel_dex_location); in ResolveRelativeEncodedDexLocation()
1374 std::string multidex_suffix = DexFileLoader::GetMultiDexSuffix(rel_dex_location); in ResolveRelativeEncodedDexLocation()
1648 std::string dex_canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location); in GetOatDexFile()
1666 std::string dex_canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location); in GetOatDexFile()
1676 std::string dex_canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location); in GetOatDexFile()
Doat_file_assistant.cc373 std::string multidex_dex_location = DexFileLoader::GetMultiDexLocation(i, dex_location.c_str()); in LoadDexFiles()
425 std::string dex = DexFileLoader::GetMultiDexLocation(i, dex_location_.c_str()); in DexChecksumUpToDate()
454 std::string dex = DexFileLoader::GetMultiDexLocation(i, dex_location_.c_str()); in DexChecksumUpToDate()
916 std::string dex = DexFileLoader::GetMultiDexLocation(i, dex_location_.c_str()); in GetRequiredDexChecksums()
Dvdex_file.cc210 std::string location = DexFileLoader::GetMultiDexLocation(i, kVdexLocation); in OpenAllDexFiles()
Doat_file_manager.cc97 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { in FindOpenedOatFileFromDexLocation()
/art/openjdkjvmti/
Dfixed_up_dex_file.cc115 const art::DexFileLoader dex_file_loader; in Create()
/art/runtime/native/
Djava_lang_VMClassLoader.cc140 const std::string location(DexFileLoader::GetBaseLocation(dex_file->GetLocation())); in VMClassLoader_getBootClassPathEntries()
/art/dexlist/
Ddexlist.cc184 const DexFileLoader dex_file_loader; in processFile()
/art/runtime/jit/
Dprofile_saver.cc431 const std::string base_location = DexFileLoader::GetBaseLocation(dex_file->GetLocation()); in FetchAndCacheResolvedClassesAndMethods()
445 const std::string base_location = DexFileLoader::GetBaseLocation(dex_file->GetLocation()); in FetchAndCacheResolvedClassesAndMethods()
456 const std::string base_location = DexFileLoader::GetBaseLocation(dex_file->GetLocation()); in FetchAndCacheResolvedClassesAndMethods()
Dprofile_compilation_info_test.cc1063 std::string base_location = DexFileLoader::GetBaseLocation(dex->GetLocation()); in TEST_F()
1064 std::string multidex_suffix = DexFileLoader::GetMultiDexSuffix(dex->GetLocation()); in TEST_F()
1120 std::string base_location = DexFileLoader::GetBaseLocation(dex->GetLocation()); in TEST_F()
1121 std::string multidex_suffix = DexFileLoader::GetMultiDexSuffix(dex->GetLocation()); in TEST_F()
/art/dex2oat/linker/
Doat_writer_test.cc787 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), in TestZipFileInput()
794 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), in TestZipFileInput()
837 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), in TestZipFileInput()
844 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), in TestZipFileInput()
Doat_writer.cc451 const bool valid_standard_dex_magic = DexFileLoader::IsMagicValid(raw_header); in ValidateDexFileHeader()
456 if (!DexFileLoader::IsVersionAndMagicValid(raw_header)) { in ValidateDexFileHeader()
495 } else if (DexFileLoader::IsMagicValid(magic)) { in AddDexFileSource()
535 std::string entry_name = DexFileLoader::GetMultiDexClassesDexName(i); in AddZippedDexFilesSource()
541 zipped_dex_file_locations_.push_back(DexFileLoader::GetMultiDexLocation(i, location)); in AddZippedDexFilesSource()
572 if (!DexFileLoader::IsMagicValid(current_dex_data)) { in AddVdexDexFilesSource()
577 zipped_dex_file_locations_.push_back(DexFileLoader::GetMultiDexLocation(i, location)); in AddVdexDexFilesSource()
/art/runtime/base/
Dfile_utils.cc280 cache_file += DexFileLoader::kClassesDex; in GetDalvikCacheFilename()
/art/tools/veridex/
Dveridex.cc271 const DexFileLoader dex_file_loader; in Load()

12