Home
last modified time | relevance | path

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

/art/runtime/
Doat_file_test.cc43 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()
Ddexopt_test.cc134 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()
Dmodule_exclusion_test.cc173 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()
Doat_file_assistant.cc581 const OatFile* odex_file = odex_.GetFile(); in GetRequiredDexChecksums() local
582 if (odex_file != nullptr) { in GetRequiredDexChecksums()
584 for (size_t i = 0; i < odex_file->GetOatHeader().GetDexFileCount(); i++) { in GetRequiredDexChecksums()
586 const OatDexFile* odex_dex_file = odex_file->GetOatDexFile(dex.c_str(), nullptr); in GetRequiredDexChecksums()
Doat_file_assistant_test.cc559 ScratchFile odex_file(odex_location.c_str()); in TEST_F() local
1241 std::string odex_file; in TEST() local
1244 "/foo/bar/baz.jar", InstructionSet::kArm, &odex_file, &error_msg)) << error_msg; in TEST()
1245 EXPECT_EQ("/foo/bar/oat/arm/baz.odex", odex_file); in TEST()
1248 "/foo/bar/baz.funnyext", InstructionSet::kArm, &odex_file, &error_msg)) << error_msg; in TEST()
1249 EXPECT_EQ("/foo/bar/oat/arm/baz.odex", odex_file); in TEST()
1252 "nopath.jar", InstructionSet::kArm, &odex_file, &error_msg)); in TEST()
1254 "/foo/bar/baz_noext", InstructionSet::kArm, &odex_file, &error_msg)); in TEST()
/art/dex2oat/
Ddex2oat_test.cc167 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/
Dimage_space_test.cc207 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
214 ASSERT_TRUE(odex_file != nullptr) << error_msg; in TEST_F()
219 odex_file.get(), in TEST_F()