Searched refs:odex_file (Results 1 – 7 of 7) sorted by relevance
/art/runtime/ |
D | oat_file_test.cc | 43 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local 50 ASSERT_TRUE(odex_file.get() != nullptr); in TEST_F() 53 EXPECT_EQ(odex_file->GetVdexFile()->Begin(), odex_file->VdexBegin()); in TEST_F() 69 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local 76 ASSERT_TRUE(odex_file != nullptr); in TEST_F() 77 ASSERT_EQ(2u, odex_file->GetOatDexFiles().size()); in TEST_F() 84 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local 91 EXPECT_TRUE(odex_file == nullptr); in TEST_F()
|
D | dexopt_test.cc | 134 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOatForTest() local 141 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in GenerateOatForTest() 142 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GenerateOatForTest() 145 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOatForTest()
|
D | module_exclusion_test.cc | 173 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local 180 ASSERT_TRUE(odex_file != nullptr) << error_msg; in TEST_F() 182 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in TEST_F()
|
D | oat_file_assistant.cc | 588 const OatFile* odex_file = odex_.GetFile(); in GetRequiredDexChecksums() local 589 if (odex_file != nullptr) { in GetRequiredDexChecksums() 591 for (size_t i = 0; i < odex_file->GetOatHeader().GetDexFileCount(); i++) { in GetRequiredDexChecksums() 593 const OatDexFile* odex_dex_file = odex_file->GetOatDexFile(dex.c_str(), nullptr); in GetRequiredDexChecksums()
|
D | oat_file_assistant_test.cc | 559 ScratchFile odex_file(odex_location.c_str()); in TEST_F() local 1344 std::string odex_file; in TEST() local 1347 "/foo/bar/baz.jar", InstructionSet::kArm, &odex_file, &error_msg)) << error_msg; in TEST() 1348 EXPECT_EQ("/foo/bar/oat/arm/baz.odex", odex_file); in TEST() 1351 "/foo/bar/baz.funnyext", InstructionSet::kArm, &odex_file, &error_msg)) << error_msg; in TEST() 1352 EXPECT_EQ("/foo/bar/oat/arm/baz.odex", odex_file); in TEST() 1355 "nopath.jar", InstructionSet::kArm, &odex_file, &error_msg)); in TEST() 1357 "/foo/bar/baz_noext", InstructionSet::kArm, &odex_file, &error_msg)); in TEST()
|
/art/dex2oat/ |
D | dex2oat_test.cc | 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() [all …]
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 203 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local 210 ASSERT_TRUE(odex_file != nullptr) << error_msg; in TEST_F() 215 odex_file.get(), in TEST_F()
|