/art/libdexfile/dex/ |
D | dex_file_loader_test.cc | 220 const DexFileLoader dex_file_loader; in OpenDexFilesBase64() 254 const DexFileLoader dex_file_loader; in OpenDexFileInMemoryBase64() 356 const DexFileLoader dex_file_loader; in TEST_F() 375 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() 398 DexFileLoader::GetMultiDexLocation(1, dex_location)); in TEST_F() [all …]
|
D | dex_file_loader.cc | 152 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() 222 std::unique_ptr<const DexFile> DexFileLoader::Open( in Open() 246 std::unique_ptr<const DexFile> DexFileLoader::Open( in Open() [all …]
|
D | art_dex_file_loader_test.cc | 97 EXPECT_EQ(dexes[0]->GetLocation(), DexFileLoader::GetMultiDexLocation(0, multidex_file.c_str())); in TEST_F() 101 EXPECT_EQ(dexes[1]->GetLocation(), DexFileLoader::GetMultiDexLocation(1, multidex_file.c_str())); in TEST_F() 307 ASSERT_EQ(dex_location, DexFileLoader::GetDexCanonicalLocation(dex_location.c_str())); in TEST_F() 308 std::string multidex_location = DexFileLoader::GetMultiDexLocation(1, dex_location.c_str()); in TEST_F() 309 ASSERT_EQ(multidex_location, DexFileLoader::GetDexCanonicalLocation(multidex_location.c_str())); in TEST_F() 314 ASSERT_EQ(dex_location, DexFileLoader::GetDexCanonicalLocation(dex_location_sym.c_str())); in TEST_F() 316 std::string multidex_location_sym = DexFileLoader::GetMultiDexLocation( in TEST_F() 319 DexFileLoader::GetDexCanonicalLocation(multidex_location_sym.c_str())); in TEST_F()
|
D | compact_dex_file_test.cc | 41 EXPECT_EQ(valid_magic, DexFileLoader::IsMagicValid(header)); in TEST() 42 EXPECT_EQ(valid_magic && valid_version, DexFileLoader::IsVersionAndMagicValid(header)); in TEST()
|
D | dex_file_loader.h | 44 class DexFileLoader { 106 virtual ~DexFileLoader() { } in ~DexFileLoader()
|
D | standard_dex_file.h | 130 friend class DexFileLoader; variable
|
D | code_item_accessors_test.cc | 43 const DexFileLoader dex_file_loader; in CreateFakeDex()
|
D | art_dex_file_loader.h | 37 class ArtDexFileLoader : public DexFileLoader {
|
D | compact_dex_file.h | 317 friend class DexFileLoader; variable
|
D | test_dex_file_builder.h | 240 std::unique_ptr<const DexFile> dex_file(DexFileLoader::Open(
|
D | art_dex_file_loader.cc | 573 return DexFileLoader::OpenCommon(base, in OpenCommon()
|
/art/openjdkjvmti/ |
D | fixed_up_dex_file.cc | 78 const art::DexFileLoader dex_file_loader; in Create()
|
/art/runtime/ |
D | class_loader_context.cc | 527 canonical_locations.insert(DexFileLoader::GetDexCanonicalLocation(location.c_str())); in RemoveLocationsFromClassPaths() 541 DexFileLoader::GetDexCanonicalLocation(location.c_str())); in RemoveLocationsFromClassPaths() 585 const std::string base_location(DexFileLoader::GetBaseLocation(path)); in EncodeClassPathContexts() 682 DexFileLoader::GetBaseLocation(dex_file->GetLocation())).second; in EncodeContextInternal() 691 std::string base_dex_location = DexFileLoader::GetBaseLocation(location); in EncodeContextInternal() 694 location = it->second + DexFileLoader::GetMultiDexSuffix(location); in EncodeContextInternal() 1198 results.emplace(DexFileLoader::GetBaseLocation(dex_file->GetLocation()), in EncodeClassPathContextsForClassLoader()
|
D | oat_file.cc | 534 std::string canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location.c_str()); in Setup() 686 bool is_multidex = DexFileLoader::IsMultiDexLocation(dex_file_location.c_str()); in Setup() 717 dex_file_location[primary_location.size()] != DexFileLoader::kMultiDexSeparator)) { in Setup() 860 const bool valid_magic = DexFileLoader::IsMagicValid(dex_file_pointer); in Setup() 869 if (UNLIKELY(!DexFileLoader::IsVersionAndMagicValid(dex_file_pointer))) { in Setup() 985 DexFileLoader::GetDexCanonicalLocation(dex_file_name.c_str()), in Setup() 1684 if (UNLIKELY(!DexFileLoader::IsVersionAndMagicValid(dex_file_start))) { in Open() 1691 std::string location = DexFileLoader::GetMultiDexLocation(i, dex_location.c_str()); in Open() 1692 std::string canonical_location = DexFileLoader::GetDexCanonicalLocation(location.c_str()); in Open() 2039 std::string dex_canonical_location = DexFileLoader::GetDexCanonicalLocation(dex_location); in GetOatDexFile() [all …]
|
D | oat_file_assistant.cc | 301 std::string multidex_dex_location = DexFileLoader::GetMultiDexLocation(i, dex_location.c_str()); in LoadDexFiles() 355 std::string dex = DexFileLoader::GetMultiDexLocation(i, dex_location_.c_str()); in DexChecksumUpToDate() 385 std::string dex = DexFileLoader::GetMultiDexLocation(i, dex_location_.c_str()); in DexChecksumUpToDate()
|
D | oat_file_manager.cc | 109 if (DexFileLoader::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { in FindOpenedOatFileFromDexLocation() 500 DexFileLoader::GetMultiDexLocation(i, dex_location.c_str()), in OpenDexFilesFromOat_Impl()
|
D | vdex_file.cc | 211 std::string location = DexFileLoader::GetMultiDexLocation(i, kVdexLocation); in OpenAllDexFiles()
|
/art/runtime/native/ |
D | java_lang_VMClassLoader.cc | 146 const std::string location(DexFileLoader::GetBaseLocation(dex_file->GetLocation())); in VMClassLoader_getBootClassPathEntries()
|
/art/dexlist/ |
D | dexlist.cc | 171 const DexFileLoader dex_file_loader; in processFile()
|
/art/tools/dexanalyze/ |
D | dexanalyze.cc | 210 const DexFileLoader dex_file_loader; in Run()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 791 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), in TestZipFileInput() 798 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), in TestZipFileInput() 840 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(0, zip_file.GetFilename().c_str()), in TestZipFileInput() 847 ASSERT_EQ(DexFileLoader::GetMultiDexLocation(1, zip_file.GetFilename().c_str()), in TestZipFileInput()
|
D | oat_writer.cc | 496 const bool valid_standard_dex_magic = DexFileLoader::IsMagicValid(raw_header); in ValidateDexFileHeader() 501 if (!DexFileLoader::IsVersionAndMagicValid(raw_header)) { in ValidateDexFileHeader() 551 if (DexFileLoader::IsMagicValid(magic)) { in AddDexFileSource() 576 std::string entry_name = DexFileLoader::GetMultiDexClassesDexName(i); in AddDexFileSource() 582 zipped_dex_file_locations_.push_back(DexFileLoader::GetMultiDexLocation(i, location)); in AddDexFileSource() 615 if (!DexFileLoader::IsMagicValid(current_dex_data)) { in AddVdexDexFilesSource() 620 zipped_dex_file_locations_.push_back(DexFileLoader::GetMultiDexLocation(i, location)); in AddVdexDexFilesSource()
|
/art/libdexfile/external/ |
D | dex_file_ext.cc | 182 art::DexFileLoader loader; in ADexFile_create()
|
/art/tools/veridex/ |
D | veridex.cc | 304 const DexFileLoader dex_file_loader; in Load()
|
/art/runtime/gc/space/ |
D | image_space.cc | 3277 if (DexFileLoader::IsMultiDexLocation(dex_file_location.c_str())) { in ValidateOatFile() 3305 std::string multi_dex_location = DexFileLoader::GetMultiDexLocation( in ValidateOatFile() 3374 !DexFileLoader::IsMultiDexLocation(boot_class_path_tail.front()->GetLocation().c_str())); in GetBootClassPathChecksums() 3376 if (!DexFileLoader::IsMultiDexLocation(dex_file->GetLocation().c_str())) { in GetBootClassPathChecksums() 3571 CHECK(!DexFileLoader::IsMultiDexLocation(main_location.c_str())); in VerifyBootClassPathChecksums() 3574 if (DexFileLoader::IsMultiDexLocation( in VerifyBootClassPathChecksums()
|