Home
last modified time | relevance | path

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

/art/runtime/
Doat_file_test.cc144 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
152 ASSERT_TRUE(odex_file.get() != nullptr); in TEST_F()
155 EXPECT_EQ(odex_file->GetVdexFile()->Begin(), odex_file->VdexBegin()); in TEST_F()
171 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
179 ASSERT_TRUE(odex_file != nullptr); in TEST_F()
180 ASSERT_EQ(2u, odex_file->GetOatDexFiles().size()); in TEST_F()
187 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in TEST_F() local
195 EXPECT_TRUE(odex_file == nullptr); in TEST_F()
Ddexopt_test.cc111 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOatForTest() local
119 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in GenerateOatForTest()
120 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GenerateOatForTest()
130 const OatHeader& oat_header = odex_file->GetOatHeader(); in GenerateOatForTest()
Doat_file_assistant.cc584 const OatFile* odex_file = odex_.GetFile(); in GetRequiredDexChecksums() local
585 if (odex_file != nullptr) { in GetRequiredDexChecksums()
587 for (size_t i = 0; i < odex_file->GetOatHeader().GetDexFileCount(); i++) { in GetRequiredDexChecksums()
589 const OatDexFile* odex_dex_file = odex_file->GetOatDexFile(dex.c_str(), nullptr); in GetRequiredDexChecksums()
Doat_file_assistant_test.cc532 ScratchFile odex_file(odex_location.c_str()); in TEST_F() local
1317 std::string odex_file; in TEST() local
1320 "/foo/bar/baz.jar", InstructionSet::kArm, &odex_file, &error_msg)) << error_msg; in TEST()
1321 EXPECT_EQ("/foo/bar/oat/arm/baz.odex", odex_file); in TEST()
1324 "/foo/bar/baz.funnyext", InstructionSet::kArm, &odex_file, &error_msg)) << error_msg; in TEST()
1325 EXPECT_EQ("/foo/bar/oat/arm/baz.odex", odex_file); in TEST()
1328 "nopath.jar", InstructionSet::kArm, &odex_file, &error_msg)); in TEST()
1330 "/foo/bar/baz_noext", InstructionSet::kArm, &odex_file, &error_msg)); in TEST()
/art/dex2oat/
Ddex2oat_test.cc151 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() local
159 if (odex_file == nullptr) { in GenerateOdexForTest()
163 CheckFilter(filter, odex_file->GetCompilerFilter()); in GenerateOdexForTest()
164 check_oat(*(odex_file.get())); in GenerateOdexForTest()
174 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOdexForTest() local
182 if (odex_file != nullptr) { in GenerateOdexForTest()
516 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in CheckResult() local
524 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in CheckResult()
534 for (const OatDexFile* oat_dex_file : odex_file->GetOatDexFiles()) { in CheckResult()
547 EXPECT_EQ(odex_file->GetCompilerFilter(), filter); in CheckResult()
[all …]