Home
last modified time | relevance | path

Searched refs:oat_filename (Results 1 – 9 of 9) sorted by relevance

/art/dex2oat/linker/
Dimage_test.h199 std::string oat_filename = ReplaceFileExtension(image_filename, "oat"); in DoCompile() local
200 out_helper.oat_files.push_back(ScratchFile(OS::CreateEmptyFile(oat_filename.c_str()))); in DoCompile()
201 oat_filenames.push_back(oat_filename); in DoCompile()
353 const char* oat_filename = oat_filenames[i].c_str(); in DoCompile() local
354 std::unique_ptr<File> oat_file(OS::OpenFileReadWrite(oat_filename)); in DoCompile()
359 << oat_filename; in DoCompile()
/art/libartbase/base/
Dfile_utils.h88 std::string GetVdexFilename(const std::string& oat_filename);
/art/runtime/
Doat_file_assistant.h245 std::string* oat_filename,
Doat_file.cc123 const std::string& oat_filename,
1607 const std::string& oat_filename, in Open() argument
1615 CHECK(!oat_filename.empty()) << oat_location; in Open()
1618 std::string vdex_filename = GetVdexFilename(oat_filename); in Open()
1624 } else if (!OS::FileExists(oat_filename.c_str())) { in Open()
1625 *error_msg = StringPrintf("File %s does not exist.", oat_filename.c_str()); in Open()
1633 oat_filename, in Open()
1645 LOG(ERROR) << "Failed to dlopen: " << oat_filename << " with error " << *error_msg; in Open()
1662 oat_filename, in Open()
Doat_file_assistant.cc543 std::string* oat_filename, in DexLocationToOatFilename() argument
545 CHECK(oat_filename != nullptr); in DexLocationToOatFilename()
564 return GetDalvikCacheFilename(location.c_str(), cache_dir.c_str(), oat_filename, error_msg); in DexLocationToOatFilename()
/art/dex2oat/
Ddex2oat_test.cc1420 const std::string oat_filename = dir + "/base.oat"; in TEST_F() local
1425 oat_filename, in TEST_F()
1433 oat_filename.c_str(), in TEST_F()
1434 oat_filename.c_str(), in TEST_F()
1528 const std::string oat_filename = dir + "/base.oat"; in TEST_F() local
1534 oat_filename, in TEST_F()
1541 oat_filename.c_str(), in TEST_F()
1542 oat_filename.c_str(), in TEST_F()
1789 const std::string oat_filename = out_dir + "/base.oat"; in TEST_F() local
1792 oat_filename, in TEST_F()
[all …]
Ddex2oat.cc1451 for (const std::string& oat_filename : oat_filenames_) { in OpenFile() local
1452 std::unique_ptr<File> oat_file(OS::CreateEmptyFile(oat_filename.c_str())); in OpenFile()
1454 PLOG(ERROR) << "Failed to create oat file: " << oat_filename; in OpenFile()
1458 PLOG(ERROR) << "Failed to make oat file world readable: " << oat_filename; in OpenFile()
1475 ? ReplaceFileExtension(oat_filename, "vdex") in OpenFile()
/art/oatdump/
Doatdump.cc2887 const char* oat_filename, in DumpOat() argument
2900 oat_filename, in DumpOat()
2901 oat_filename, in DumpOat()
2908 LOG(ERROR) << "Failed to open oat file from '" << oat_filename << "': " << error_msg; in DumpOat()
2919 static int SymbolizeOat(const char* oat_filename, in SymbolizeOat() argument
2928 oat_filename, in SymbolizeOat()
2929 oat_filename, in SymbolizeOat()
2936 LOG(ERROR) << "Failed to open oat file from '" << oat_filename << "': " << error_msg; in SymbolizeOat()
2963 const char* oat_filename, in Dump() argument
2972 if (oat_filename != nullptr) { in Dump()
[all …]
/art/runtime/native/
Ddalvik_system_DexFile.cc841 std::string oat_filename = best_oat_file->GetLocation(); in DexFile_getDexFileOutputPaths() local
848 ScopedLocalRef<jstring> joatFilename(env, env->NewStringUTF(oat_filename.c_str())); in DexFile_getDexFileOutputPaths()