Searched refs:input_oat (Results 1 – 2 of 2) sorted by relevance
/art/patchoat/ |
D | patchoat.cc | 194 bool PatchOat::Patch(File* input_oat, const std::string& image_location, off_t delta, in Patch() argument 202 CHECK(input_oat != nullptr); in Patch() 204 CHECK_GE(input_oat->Fd(), 0); in Patch() 212 if (sizeof(elf_hdr) != input_oat->Read(reinterpret_cast<char*>(&elf_hdr), sizeof(elf_hdr), 0)) { in Patch() 274 std::unique_ptr<ElfFile> elf(ElfFile::Open(input_oat, in Patch() 277 LOG(ERROR) << "unable to open oat file " << input_oat->GetPath() << " : " << error_msg; in Patch() 288 if (!ReplaceOatFileWithSymlink(input_oat->GetPath(), in Patch() 305 LOG(ERROR) << "Failed to patch oat file " << input_oat->GetPath(); in Patch() 315 LOG(ERROR) << "Failed to write oat file " << input_oat->GetPath(); in Patch() 563 bool PatchOat::Patch(File* input_oat, off_t delta, File* output_oat, TimingLogger* timings, in Patch() argument [all …]
|
/art/runtime/ |
D | class_linker.cc | 1429 const OatFile* ClassLinker::PatchAndRetrieveOat(const std::string& input_oat, in PatchAndRetrieveOat() argument 1438 LOG(WARNING) << "Patching of oat file '" << input_oat << "' not attempted because we are " in PatchAndRetrieveOat() 1440 return GetInterpretedOnlyOat(input_oat, isa, error_msg); in PatchAndRetrieveOat() 1445 LOG(WARNING) << "Patching of oat file '" << input_oat << "' not attempted due to dex2oat being " in PatchAndRetrieveOat() 1447 return GetInterpretedOnlyOat(input_oat, isa, error_msg); in PatchAndRetrieveOat() 1455 input_oat_filename_arg += input_oat; in PatchAndRetrieveOat() 1481 input_oat.c_str(), output_oat.c_str(), error_msg->c_str()); in PatchAndRetrieveOat() 1485 input_oat.c_str(), output_oat.c_str(), error_msg->c_str()); in PatchAndRetrieveOat() 1490 LOG(WARNING) << "Patching of oat file '" << input_oat << "' failed. Attempting to use oat file " in PatchAndRetrieveOat() 1492 return GetInterpretedOnlyOat(input_oat, isa, error_msg); in PatchAndRetrieveOat() [all …]
|