Lines Matching refs:odex_file
164 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() local
171 if (odex_file == nullptr) { in GenerateOdexForTest()
175 CheckFilter(filter, odex_file->GetCompilerFilter()); in GenerateOdexForTest()
176 check_oat(*(odex_file.get())); in GenerateOdexForTest()
186 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() local
193 if (odex_file != nullptr) { in GenerateOdexForTest()
500 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() local
507 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
517 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult()
530 EXPECT_EQ(odex_file->GetCompilerFilter(), expected_filter); in CheckResult()
538 EXPECT_EQ(odex_file->GetCompilerFilter(), expected_filter); in CheckResult()
727 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckCompilerFilter() local
734 EXPECT_EQ(odex_file->GetCompilerFilter(), expected_filter); in CheckCompilerFilter()
780 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() local
787 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
797 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult()
813 EXPECT_EQ(odex_file->GetCompilerFilter(), CompilerFilter::kSpeedProfile); in CheckResult()
1213 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1220 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1221 std::vector<const OatDexFile*> oat_dex_files = odex_file->GetOatDexFiles(); in TEST_F()
1321 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1328 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1329 std::vector<const OatDexFile*> oat_dex_files = odex_file->GetOatDexFiles(); in TEST_F()
1600 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1607 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1608 std::vector<const OatDexFile*> oat_dex_files = odex_file->GetOatDexFiles(); in TEST_F()
1676 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1683 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1684 ASSERT_STREQ("install", odex_file->GetCompilationReason()); in TEST_F()
1700 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1707 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1708 ASSERT_EQ(nullptr, odex_file->GetCompilationReason()); in TEST_F()
1736 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1743 ASSERT_TRUE(odex_file != nullptr) << dex_location; in TEST_F()
1744 std::vector<const OatDexFile*> oat_dex_files = odex_file->GetOatDexFiles(); in TEST_F()
1902 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1908 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1995 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
2001 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
2115 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
2121 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
2127 odex_file.get(), in TEST_F()
2291 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
2298 ASSERT_TRUE(odex_file != nullptr) << error_msg; in TEST_F()
2368 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
2375 ASSERT_FALSE(odex_file != nullptr); in TEST_F()