Home
last modified time | relevance | path

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

12

/art/libdexfile/dex/
Ddex_file_loader_test.cc220 const DexFileLoader dex_file_loader; in OpenDexFilesBase64()
254 const DexFileLoader dex_file_loader; in OpenDexFileInMemoryBase64()
347 const DexFileLoader dex_file_loader; in TEST_F()
366 const DexFileLoader dex_file_loader; in TEST_F()
385 const DexFileLoader dex_file_loader; in TEST_F()
397 ASSERT_EQ("classes.dex", DexFileLoader::GetMultiDexClassesDexName(0)); in TEST_F()
398 ASSERT_EQ("classes2.dex", DexFileLoader::GetMultiDexClassesDexName(1)); in TEST_F()
399 ASSERT_EQ("classes3.dex", DexFileLoader::GetMultiDexClassesDexName(2)); in TEST_F()
400 ASSERT_EQ("classes100.dex", DexFileLoader::GetMultiDexClassesDexName(99)); in TEST_F()
406 ASSERT_EQ("/system/app/framework.jar", DexFileLoader::GetMultiDexLocation(0, dex_location)); in TEST_F()
[all …]
Ddex_file_loader.cc152 bool DexFileLoader::IsMagicValid(uint32_t magic) { in IsMagicValid()
156 bool DexFileLoader::IsMagicValid(const uint8_t* magic) { in IsMagicValid()
161 bool DexFileLoader::IsVersionAndMagicValid(const uint8_t* magic) { in IsVersionAndMagicValid()
171 bool DexFileLoader::IsMultiDexLocation(const char* location) { in IsMultiDexLocation()
175 std::string DexFileLoader::GetMultiDexClassesDexName(size_t index) { in GetMultiDexClassesDexName()
179 std::string DexFileLoader::GetMultiDexLocation(size_t index, const char* dex_location) { in GetMultiDexLocation()
185 std::string DexFileLoader::GetDexCanonicalLocation(const char* dex_location) { in GetDexCanonicalLocation()
211 bool DexFileLoader::GetMultiDexChecksums( in GetMultiDexChecksums()
221 std::unique_ptr<const DexFile> DexFileLoader::Open( in Open()
245 std::unique_ptr<const DexFile> DexFileLoader::OpenWithDataSection( in OpenWithDataSection()
[all …]
Dart_dex_file_loader_test.cc90 EXPECT_EQ(dexes[0]->GetLocation(), DexFileLoader::GetMultiDexLocation(0, multidex_file.c_str())); in TEST_F()
93 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()
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.h44 class DexFileLoader {
106 virtual ~DexFileLoader() { } in ~DexFileLoader()
Dstandard_dex_file.h110 friend class DexFileLoader; variable
Dcode_item_accessors_test.cc43 const DexFileLoader dex_file_loader; in CreateFakeDex()
Dart_dex_file_loader.h37 class ArtDexFileLoader : public DexFileLoader {
Dcompact_dex_file.h299 friend class DexFileLoader; variable
Dart_dex_file_loader.cc555 return DexFileLoader::OpenCommon(base, in OpenCommon()
/art/openjdkjvmti/
Dfixed_up_dex_file.cc101 const art::DexFileLoader dex_file_loader; in Create()
/art/libdexfile/external/
Ddex_file_ext.cc186 art::DexFileLoader loader; in ExtDexFileOpenFromMemory()
268 art::DexFileLoader loader; in ExtDexFileOpenFromFd()
/art/runtime/
Doat_file_assistant.cc290 std::string multidex_dex_location = DexFileLoader::GetMultiDexLocation(i, dex_location.c_str()); in LoadDexFiles()
342 std::string dex = DexFileLoader::GetMultiDexLocation(i, dex_location_.c_str()); in DexChecksumUpToDate()
371 std::string dex = DexFileLoader::GetMultiDexLocation(i, dex_location_.c_str()); in DexChecksumUpToDate()
588 std::string dex = DexFileLoader::GetMultiDexLocation(i, dex_location_.c_str()); in GetRequiredDexChecksums()
Doat_file.cc457 std::string canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location.c_str()); in Setup()
707 const bool valid_magic = DexFileLoader::IsMagicValid(dex_file_pointer); in Setup()
717 if (UNLIKELY(!DexFileLoader::IsVersionAndMagicValid(dex_file_pointer))) { in Setup()
828 DexFileLoader::GetDexCanonicalLocation(dex_file_name.c_str()), in Setup()
1502 std::string target_suffix = "/" + DexFileLoader::GetBaseLocation(rel_dex_location); in IsLocationSuffix()
1517 ? std::string(abs_dex_location) + DexFileLoader::GetMultiDexSuffix(rel_dex_location) in MaybeResolveDexPath()
1821 std::string dex_canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location); in GetOatDexFile()
1839 std::string dex_canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location); in GetOatDexFile()
1849 std::string dex_canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location); in GetOatDexFile()
Dclass_loader_context.cc536 canonical_locations.insert(DexFileLoader::GetDexCanonicalLocation(location.c_str())); in RemoveLocationsFromClassPaths()
550 DexFileLoader::GetDexCanonicalLocation(location.c_str())); in RemoveLocationsFromClassPaths()
622 DexFileLoader::GetBaseLocation(dex_file->GetLocation())).second; in EncodeContextInternal()
630 std::string base_dex_location = DexFileLoader::GetBaseLocation(location); in EncodeContextInternal()
633 location = it->second + DexFileLoader::GetMultiDexSuffix(location); in EncodeContextInternal()
Dvdex_file.cc220 std::string location = DexFileLoader::GetMultiDexLocation(i, kVdexLocation); in OpenAllDexFiles()
Doat_file_manager.cc104 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { in FindOpenedOatFileFromDexLocation()
754 DexFileLoader::GetMultiDexLocation(i, dex_location.c_str()), in OpenDexFilesFromOat_Impl()
/art/runtime/native/
Djava_lang_VMClassLoader.cc146 const std::string location(DexFileLoader::GetBaseLocation(dex_file->GetLocation())); in VMClassLoader_getBootClassPathEntries()
/art/dexlist/
Ddexlist.cc171 const DexFileLoader dex_file_loader; in processFile()
/art/dex2oat/linker/
Doat_writer_test.cc755 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), in TestZipFileInput()
762 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), in TestZipFileInput()
805 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), in TestZipFileInput()
812 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), in TestZipFileInput()
Doat_writer.cc467 const bool valid_standard_dex_magic = DexFileLoader::IsMagicValid(raw_header); in ValidateDexFileHeader()
472 if (!DexFileLoader::IsVersionAndMagicValid(raw_header)) { in ValidateDexFileHeader()
511 } else if (DexFileLoader::IsMagicValid(magic)) { in AddDexFileSource()
551 std::string entry_name = DexFileLoader::GetMultiDexClassesDexName(i); in AddZippedDexFilesSource()
557 zipped_dex_file_locations_.push_back(DexFileLoader::GetMultiDexLocation(i, location)); in AddZippedDexFilesSource()
588 if (!DexFileLoader::IsMagicValid(current_dex_data)) { in AddVdexDexFilesSource()
593 zipped_dex_file_locations_.push_back(DexFileLoader::GetMultiDexLocation(i, location)); in AddVdexDexFilesSource()
/art/tools/dexanalyze/
Ddexanalyze.cc210 const DexFileLoader dex_file_loader; in Run()
/art/runtime/jit/
Dprofile_saver.cc451 const std::string base_location = DexFileLoader::GetBaseLocation(dex_file->GetLocation()); in FetchAndCacheResolvedClassesAndMethods()
469 const std::string base_location = DexFileLoader::GetBaseLocation(dex_file->GetLocation()); in FetchAndCacheResolvedClassesAndMethods()
483 const std::string base_location = DexFileLoader::GetBaseLocation(dex_file->GetLocation()); in FetchAndCacheResolvedClassesAndMethods()
/art/libprofile/profile/
Dprofile_compilation_info_test.cc832 std::string base_location = DexFileLoader::GetBaseLocation(dex->GetLocation()); in TEST_F()
833 std::string multidex_suffix = DexFileLoader::GetMultiDexSuffix(dex->GetLocation()); in TEST_F()
889 std::string base_location = DexFileLoader::GetBaseLocation(dex->GetLocation()); in TEST_F()
890 std::string multidex_suffix = DexFileLoader::GetMultiDexSuffix(dex->GetLocation()); in TEST_F()
/art/tools/veridex/
Dveridex.cc281 const DexFileLoader dex_file_loader; in Load()

12