Searched defs:dex_location (Results 1 - 5 of 5) sorted by relevance

/art/runtime/
H A Ddex_file_test.cc350 const char* dex_location = dex_location_str.c_str(); local
351 ASSERT_EQ("/system/app/framework.jar", DexFile::GetMultiDexClassesDexName(0, dex_location));
352 ASSERT_EQ("/system/app/framework.jar:classes2.dex", DexFile::GetMultiDexClassesDexName(1, dex_location));
353 ASSERT_EQ("/system/app/framework.jar:classes101.dex", DexFile::GetMultiDexClassesDexName(100, dex_location));
359 std::string dex_location(dex_location_real.get());
361 ASSERT_EQ(dex_location, DexFile::GetDexCanonicalLocation(dex_location.c_str()));
362 std::string multidex_location = DexFile::GetMultiDexClassesDexName(1, dex_location.c_str());
365 std::string dex_location_sym = dex_location + "symlink";
366 ASSERT_EQ(0, symlink(dex_location
[all...]
H A Doat_file.cc361 const OatFile::OatDexFile* OatFile::GetOatDexFile(const char* dex_location, argument
364 // NOTE: We assume here that the canonical location for a given dex_location never
373 StringPiece key(dex_location);
381 // This dex_location is not one of the dex locations directly mentioned in the
389 // We haven't seen this dex_location before, we must check the canonical location.
390 std::string dex_canonical_location = DexFile::GetDexCanonicalLocation(dex_location);
391 if (dex_canonical_location != dex_location) {
412 std::string dex_canonical_location = DexFile::GetDexCanonicalLocation(dex_location);
417 LOG(WARNING) << "Failed to find OatDexFile for DexFile " << dex_location
H A Ddex_file.cc953 std::string DexFile::GetMultiDexClassesDexName(size_t number, const char* dex_location) { argument
955 return dex_location;
957 return StringPrintf("%s" kMultiDexSeparatorString "classes%zu.dex", dex_location, number + 1);
961 std::string DexFile::GetDexCanonicalLocation(const char* dex_location) { argument
962 CHECK_NE(dex_location, static_cast<const char*>(nullptr));
963 std::string base_location = GetBaseLocation(dex_location);
964 const char* suffix = dex_location + base_location.size();
972 return dex_location;
H A Dclass_linker.cc681 const char* dex_location = dex_file.GetLocation().c_str(); local
683 return FindOpenedOatDexFile(nullptr, dex_location, &dex_location_checksum);
687 const char* dex_location,
699 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location,
714 // dex_location - the dex location used to generate the oat file
715 // dex_location_checksum - the checksum of the dex_location (may be null for pre-opted files)
720 const char* dex_location,
733 std::string next_name_str = DexFile::GetMultiDexClassesDexName(i, dex_location);
739 if ((i == 0) && (strcmp(next_name, dex_location) == 0)) {
758 " file'%s'", dex_location, next_location_checksu
686 FindOpenedOatDexFile(const char* oat_location, const char* dex_location, const uint32_t* dex_location_checksum) argument
719 LoadMultiDexFilesFromOatFile(const OatFile* oat_file, const char* dex_location, const uint32_t* dex_location_checksum, bool generated, std::vector<std::string>* error_msgs, std::vector<const DexFile*>* dex_files) argument
811 OpenDexFilesFromOat(const char* dex_location, const char* oat_location, std::vector<std::string>* error_msgs, std::vector<const DexFile*>* dex_files) argument
963 FindOatFileInOatLocationForDexFile(const char* dex_location, uint32_t dex_location_checksum, const char* oat_location, std::string* error_msg) argument
1028 CreateOatFileForDexLocation(const char* dex_location, int fd, const char* oat_location, std::vector<std::string>* error_msgs) argument
1032 VLOG(class_linker) << "Generating oat file " << oat_location << " for " << dex_location; local
1114 VerifyOatAndDexFileChecksums(const OatFile* oat_file, const char* dex_location, uint32_t dex_location_checksum, const InstructionSet instruction_set, std::string* error_msg) argument
1147 VerifyOatWithDexFile(const OatFile* oat_file, const char* dex_location, const uint32_t* dex_location_checksum, std::string* error_msg) argument
1178 FindOatFileContainingDexFileFromDexLocation( const char* dex_location, const uint32_t* dex_location_checksum, InstructionSet isa, std::vector<std::string>* error_msgs, bool* obsolete_file_cleanup_failed) argument
1227 OpenOatFileFromDexLocation(const std::string& dex_location, InstructionSet isa, bool *already_opened, bool *obsolete_file_cleanup_failed, std::vector<std::string>* error_msgs) argument
[all...]
/art/dex2oat/
H A Ddex2oat.cc568 const char* dex_location = dex_locations[i]; local
575 if (!DexFile::Open(dex_filename, dex_location, &error_msg, &dex_files)) {

Completed in 224 milliseconds