Home
last modified time | relevance | path

Searched refs:odex_file (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Doat_file_assistant.cc147 const OatFile* odex_file = GetOdexFile(); in OdexFileCompilerFilterIsOkay() local
148 if (odex_file != nullptr) { in OdexFileCompilerFilterIsOkay()
149 CompilerFilter::Filter current = odex_file->GetCompilerFilter(); in OdexFileCompilerFilterIsOkay()
349 const OatFile* odex_file = GetOdexFile(); in OdexFileIsOutOfDate() local
350 if (odex_file == nullptr) { in OdexFileIsOutOfDate()
353 cached_odex_file_is_out_of_date_ = GivenOatFileIsOutOfDate(*odex_file); in OdexFileIsOutOfDate()
366 const OatFile* odex_file = GetOdexFile(); in OdexFileIsUpToDate() local
367 if (odex_file == nullptr) { in OdexFileIsUpToDate()
370 cached_odex_file_is_up_to_date_ = GivenOatFileIsUpToDate(*odex_file); in OdexFileIsUpToDate()
377 const OatFile* odex_file = GetOdexFile(); in OdexFileCompilerFilter() local
[all …]
Doat_file_assistant_test.cc223 std::unique_ptr<OatFile> odex_file(OatFile::Open(odex_location.c_str(), in GenerateOdexForTest() local
231 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in GenerateOdexForTest()
232 EXPECT_FALSE(odex_file->IsPic()); in GenerateOdexForTest()
233 EXPECT_TRUE(odex_file->HasPatchInfo()); in GenerateOdexForTest()
234 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GenerateOdexForTest()
241 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOdexForTest()
269 std::unique_ptr<OatFile> odex_file(OatFile::Open(odex_location.c_str(), in GeneratePicOdexForTest() local
277 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in GeneratePicOdexForTest()
278 EXPECT_TRUE(odex_file->IsPic()); in GeneratePicOdexForTest()
279 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GeneratePicOdexForTest()
[all …]