Searched refs:vdex_filename (Results 1 – 8 of 8) sorted by relevance
/art/runtime/ |
D | vdex_file.cc | 57 std::unique_ptr<VdexFile> VdexFile::Open(const std::string& vdex_filename, in Open() argument 62 if (!OS::FileExists(vdex_filename.c_str())) { in Open() 63 *error_msg = "File " + vdex_filename + " does not exist."; in Open() 69 vdex_file.reset(OS::OpenFileReadWrite(vdex_filename.c_str())); in Open() 71 vdex_file.reset(OS::OpenFileForReading(vdex_filename.c_str())); in Open() 74 *error_msg = "Could not open file " + vdex_filename + in Open() 81 *error_msg = "Could not read the length of file " + vdex_filename; in Open() 85 return Open(vdex_file->Fd(), vdex_length, vdex_filename, writable, low_4gb, unquicken, error_msg); in Open() 90 const std::string& vdex_filename, in Open() argument 102 vdex_filename.c_str(), in Open() [all …]
|
D | vdex_file.h | 84 static std::unique_ptr<VdexFile> Open(const std::string& vdex_filename, 93 const std::string& vdex_filename,
|
D | oat_file.cc | 94 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, in OpenOatFile() argument 166 if (kIsVdexEnabled && !ret->LoadVdex(vdex_filename, writable, low_4gb, error_msg)) { in OpenOatFile() 192 bool OatFileBase::LoadVdex(const std::string& vdex_filename, in LoadVdex() argument 196 vdex_ = VdexFile::Open(vdex_filename, writable, low_4gb, /* unquicken*/ false, error_msg); in LoadVdex() 199 vdex_filename.c_str(), in LoadVdex() 1067 std::string vdex_filename = GetVdexFilename(oat_filename); in Open() local 1070 if (kIsVdexEnabled && !OS::FileExists(vdex_filename.c_str())) { in Open() 1071 *error_msg = StringPrintf("File %s does not exist.", vdex_filename.c_str()); in Open() [all …]
|
D | oat_file_assistant.cc | 966 std::string vdex_filename = GetVdexFilename(filename_); in Status() local 967 std::unique_ptr<VdexFile> vdex = VdexFile::Open(vdex_filename, in Status() 974 VLOG(oat) << "unable to open vdex file " << vdex_filename << ": " << error_msg; in Status()
|
D | runtime.cc | 895 std::string vdex_filename = in OpenDexFilesFromImage() local 908 std::unique_ptr<VdexFile> vdex_file(VdexFile::Open(vdex_filename, in OpenDexFilesFromImage()
|
/art/compiler/ |
D | image_test.cc | 187 std::string vdex_filename = ReplaceFileExtension(image_filename, "vdex"); in Compile() local 188 vdex_files.push_back(ScratchFile(OS::CreateEmptyFile(vdex_filename.c_str()))); in Compile() 189 vdex_filenames.push_back(vdex_filename); in Compile()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 693 std::string vdex_filename = GetVdexFilename(best_oat_file->GetLocation()); in DexFile_getDexFileOutputPaths() local 695 ScopedLocalRef<jstring> jvdexFilename(env, env->NewStringUTF(vdex_filename.c_str())); in DexFile_getDexFileOutputPaths()
|
/art/dex2oat/ |
D | dex2oat.cc | 1301 std::string vdex_filename = output_vdex_.empty() in OpenFile() local 1304 if (vdex_filename == input_vdex_ && output_vdex_.empty()) { in OpenFile() 1306 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenFile() 1309 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile() 1311 PLOG(ERROR) << "Failed to open vdex file: " << vdex_filename; in OpenFile() 1315 PLOG(ERROR) << "Failed to make vdex file world readable: " << vdex_filename; in OpenFile()
|