Lines Matching refs:odex_file

167       std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1,  in GenerateOdexForTest()  local
174 if (odex_file == nullptr) { in GenerateOdexForTest()
178 CheckFilter(filter, odex_file->GetCompilerFilter()); in GenerateOdexForTest()
179 check_oat(*(odex_file.get())); in GenerateOdexForTest()
189 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() local
196 if (odex_file != nullptr) { in GenerateOdexForTest()
531 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() local
538 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
548 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult()
561 EXPECT_EQ(odex_file->GetCompilerFilter(), filter); in CheckResult()
569 EXPECT_EQ(odex_file->GetCompilerFilter(), filter); in CheckResult()
800 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() local
807 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
817 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult()
833 EXPECT_EQ(odex_file->GetCompilerFilter(), CompilerFilter::kSpeedProfile); in CheckResult()
969 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() local
976 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
977 ASSERT_GE(odex_file->GetOatDexFiles().size(), 1u); in CheckResult()
980 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult()
996 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GetDexFileChecksums() local
1003 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in GetDexFileChecksums()
1004 ASSERT_GE(odex_file->GetOatDexFiles().size(), 1u); in GetDexFileChecksums()
1005 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in GetDexFileChecksums()
1421 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1428 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1429 std::vector<const OatDexFile*> oat_dex_files = odex_file->GetOatDexFiles(); in TEST_F()
1529 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1536 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1537 std::vector<const OatDexFile*> oat_dex_files = odex_file->GetOatDexFiles(); in TEST_F()
1792 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1799 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1800 std::vector<const OatDexFile*> oat_dex_files = odex_file->GetOatDexFiles(); in TEST_F()
1868 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1875 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1876 ASSERT_STREQ("install", odex_file->GetCompilationReason()); in TEST_F()
1892 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1899 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
1900 ASSERT_EQ(nullptr, odex_file->GetCompilationReason()); in TEST_F()
1928 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
1935 ASSERT_TRUE(odex_file != nullptr) << dex_location; in TEST_F()
1936 std::vector<const OatDexFile*> oat_dex_files = odex_file->GetOatDexFiles(); in TEST_F()
2170 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
2176 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
2260 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
2266 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
2380 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
2386 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
2392 odex_file.get(), in TEST_F()