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.cc155 std::unique_ptr<OatFile> odex_file(OatFile::Open(/*zip_fd=*/ -1, in GenerateOatForTest() local
162 ASSERT_TRUE(odex_file.get() != nullptr) << error_msg; in GenerateOatForTest()
163 EXPECT_EQ(filter, odex_file->GetCompilerFilter()); in GenerateOatForTest()
166 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_test.cc630 ScratchFile odex_file(odex_location.c_str()); in TEST_F() local
1387 std::string odex_file; in TEST() local
1390 "/foo/bar/baz.jar", InstructionSet::kArm, &odex_file, &error_msg)) << error_msg; in TEST()
1391 EXPECT_EQ("/foo/bar/oat/arm/baz.odex", odex_file); in TEST()
1394 "/foo/bar/baz.funnyext", InstructionSet::kArm, &odex_file, &error_msg)) << error_msg; in TEST()
1395 EXPECT_EQ("/foo/bar/oat/arm/baz.odex", odex_file); in TEST()
1398 "nopath.jar", InstructionSet::kArm, &odex_file, &error_msg)); in TEST()
1400 "/foo/bar/baz_noext", InstructionSet::kArm, &odex_file, &error_msg)); in TEST()
/art/dex2oat/
Ddex2oat_test.cc164 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()
[all …]
/art/tools/
Dcompile-jar.py237 if args.odex_file is not None:
238 extra.append("--oat-file={}".format(args.odex_file))
/art/runtime/gc/space/
Dimage_space_test.cc203 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()