Searched refs:dex_location (Results 1 – 8 of 8) sorted by relevance
/art/runtime/ |
D | dex_file_test.cc | 353 const char* dex_location = dex_location_str.c_str(); in TEST_F() local 354 ASSERT_EQ("/system/app/framework.jar", DexFile::GetMultiDexClassesDexName(0, dex_location)); in TEST_F() 355 …_EQ("/system/app/framework.jar:classes2.dex", DexFile::GetMultiDexClassesDexName(1, dex_location)); in TEST_F() 356 …"/system/app/framework.jar:classes101.dex", DexFile::GetMultiDexClassesDexName(100, dex_location)); in TEST_F() 362 std::string dex_location(dex_location_real.get()); in TEST_F() local 364 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location.c_str())); in TEST_F() 365 std::string multidex_location = DexFile::GetMultiDexClassesDexName(1, dex_location.c_str()); in TEST_F() 368 std::string dex_location_sym = dex_location + "symlink"; in TEST_F() 369 ASSERT_EQ(0, symlink(dex_location.c_str(), dex_location_sym.c_str())); in TEST_F() 371 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location_sym.c_str())); in TEST_F()
|
D | oat_file.cc | 368 const OatFile::OatDexFile* OatFile::GetOatDexFile(const char* dex_location, in GetOatDexFile() argument 380 StringPiece key(dex_location); in GetOatDexFile() 397 std::string dex_canonical_location = DexFile::GetDexCanonicalLocation(dex_location); in GetOatDexFile() 398 if (dex_canonical_location != dex_location) { in GetOatDexFile() 419 std::string dex_canonical_location = DexFile::GetDexCanonicalLocation(dex_location); in GetOatDexFile() 424 LOG(WARNING) << "Failed to find OatDexFile for DexFile " << dex_location in GetOatDexFile()
|
D | class_linker.h | 283 bool OpenDexFilesFromOat(const char* dex_location, const char* oat_location, 296 const char* dex_location, 588 const char* dex_location, 600 const OatFile* OpenOatFileFromDexLocation(const std::string& dex_location, 620 const OatFile* FindOatFileInOatLocationForDexFile(const char* dex_location, 628 const OatFile* CreateOatFileForDexLocation(const char* dex_location, 638 const OatFile* FindOatFileContainingDexFileFromDexLocation(const char* dex_location, 655 bool VerifyOatWithDexFile(const OatFile* oat_file, const char* dex_location,
|
D | class_linker.cc | 697 const char* dex_location = dex_file.GetLocation().c_str(); in FindOpenedOatDexFileForDexFile() local 699 return FindOpenedOatDexFile(nullptr, dex_location, &dex_location_checksum); in FindOpenedOatDexFileForDexFile() 703 const char* dex_location, in FindOpenedOatDexFile() argument 715 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location, in FindOpenedOatDexFile() 736 const char* dex_location, in LoadMultiDexFilesFromOatFile() argument 749 std::string next_name_str = DexFile::GetMultiDexClassesDexName(i, dex_location); in LoadMultiDexFilesFromOatFile() 755 if ((i == 0) && (strcmp(next_name, dex_location) == 0)) { in LoadMultiDexFilesFromOatFile() 774 " file'%s'", dex_location, next_location_checksum, in LoadMultiDexFilesFromOatFile() 827 bool ClassLinker::OpenDexFilesFromOat(const char* dex_location, const char* oat_location, in OpenDexFilesFromOat() argument 836 if (!DexFile::GetChecksum(dex_location, dex_location_checksum_pointer, &checksum_error_msg)) { in OpenDexFilesFromOat() [all …]
|
D | dex_file.cc | 960 std::string DexFile::GetMultiDexClassesDexName(size_t number, const char* dex_location) { in GetMultiDexClassesDexName() argument 962 return dex_location; in GetMultiDexClassesDexName() 964 return StringPrintf("%s" kMultiDexSeparatorString "classes%zu.dex", dex_location, number + 1); in GetMultiDexClassesDexName() 968 std::string DexFile::GetDexCanonicalLocation(const char* dex_location) { in GetDexCanonicalLocation() argument 969 CHECK_NE(dex_location, static_cast<const char*>(nullptr)); in GetDexCanonicalLocation() 970 std::string base_location = GetBaseLocation(dex_location); in GetDexCanonicalLocation() 971 const char* suffix = dex_location + base_location.size(); in GetDexCanonicalLocation() 979 return dex_location; in GetDexCanonicalLocation()
|
D | oat_file.h | 276 const OatDexFile* GetOatDexFile(const char* dex_location,
|
D | dex_file.h | 877 static std::string GetMultiDexClassesDexName(size_t number, const char* dex_location); 892 static std::string GetDexCanonicalLocation(const char* dex_location);
|
/art/dex2oat/ |
D | dex2oat.cc | 600 const char* dex_location = dex_locations[i]; in OpenDexFiles() local 607 if (!DexFile::Open(dex_filename, dex_location, &error_msg, &dex_files)) { in OpenDexFiles()
|