Searched refs:vdex_filename (Results 1 - 8 of 8) sorted by relevance

/art/runtime/
H A Dvdex_file.cc57 std::unique_ptr<VdexFile> VdexFile::Open(const std::string& vdex_filename, argument
62 if (!OS::FileExists(vdex_filename.c_str())) {
63 *error_msg = "File " + vdex_filename + " does not exist.";
69 vdex_file.reset(OS::OpenFileReadWrite(vdex_filename.c_str()));
71 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str()));
74 *error_msg = "Could not open file " + vdex_filename +
81 *error_msg = "Could not read the length of file " + vdex_filename;
85 return Open(vdex_file->Fd(), vdex_length, vdex_filename, writable, low_4gb, unquicken, error_msg);
90 const std::string& vdex_filename,
102 vdex_filename
88 Open(int file_fd, size_t vdex_length, const std::string& vdex_filename, bool writable, bool low_4gb, bool unquicken, std::string* error_msg) argument
[all...]
H A Dvdex_file.h84 static std::unique_ptr<VdexFile> Open(const std::string& vdex_filename,
93 const std::string& vdex_filename,
H A Doat_file.cc94 static OatFileBase* OpenOatFile(const std::string& vdex_filename,
113 bool LoadVdex(const std::string& vdex_filename,
152 OatFileBase* OatFileBase::OpenOatFile(const std::string& vdex_filename, argument
166 if (kIsVdexEnabled && !ret->LoadVdex(vdex_filename, writable, low_4gb, error_msg)) {
192 bool OatFileBase::LoadVdex(const std::string& vdex_filename, argument
196 vdex_ = VdexFile::Open(vdex_filename, writable, low_4gb, /* unquicken*/ false, error_msg);
199 vdex_filename.c_str(),
1067 std::string vdex_filename = GetVdexFilename(oat_filename); local
1070 if (kIsVdexEnabled && !OS::FileExists(vdex_filename.c_str())) {
1071 *error_msg = StringPrintf("File %s does not exist.", vdex_filename
[all...]
H A Doat_file_assistant.cc966 std::string vdex_filename = GetVdexFilename(filename_); local
967 std::unique_ptr<VdexFile> vdex = VdexFile::Open(vdex_filename,
974 VLOG(oat) << "unable to open vdex file " << vdex_filename << ": " << error_msg;
H A Druntime.cc895 std::string vdex_filename = local
908 std::unique_ptr<VdexFile> vdex_file(VdexFile::Open(vdex_filename,
/art/compiler/
H A Dimage_test.cc187 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); local
188 vdex_files.push_back(ScratchFile(OS::CreateEmptyFile(vdex_filename.c_str())));
189 vdex_filenames.push_back(vdex_filename);
/art/dex2oat/
H A Ddex2oat.cc1301 std::string vdex_filename = output_vdex_.empty() local
1304 if (vdex_filename == input_vdex_ && output_vdex_.empty()) {
1306 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str()));
1309 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str()));
1311 PLOG(ERROR) << "Failed to open vdex file: " << vdex_filename;
1315 PLOG(ERROR) << "Failed to make vdex file world readable: " << vdex_filename;
/art/runtime/native/
H A Ddalvik_system_DexFile.cc693 std::string vdex_filename = GetVdexFilename(best_oat_file->GetLocation()); local
695 ScopedLocalRef<jstring> jvdexFilename(env, env->NewStringUTF(vdex_filename.c_str()));

Completed in 1005 milliseconds