Home
last modified time | relevance | path

Searched refs:oat_dir (Results 1 – 2 of 2) sorted by relevance

/art/artd/
Dartd_test.cc590 std::string oat_dir = scratch_path_ + "/a/oat/arm64"; in TEST_F() local
591 std::filesystem::create_directories(oat_dir); in TEST_F()
592 ASSERT_TRUE(WriteStringToFile("abcd", oat_dir + "/b.odex")); // 4 bytes. in TEST_F()
593 ASSERT_TRUE(WriteStringToFile("ab", oat_dir + "/b.vdex")); // 2 bytes. in TEST_F()
594 ASSERT_TRUE(WriteStringToFile("a", oat_dir + "/b.art")); // 1 byte. in TEST_F()
600 EXPECT_FALSE(std::filesystem::exists(oat_dir + "/b.odex")); in TEST_F()
601 EXPECT_FALSE(std::filesystem::exists(oat_dir + "/b.vdex")); in TEST_F()
602 EXPECT_FALSE(std::filesystem::exists(oat_dir + "/b.art")); in TEST_F()
607 std::string oat_dir = android_data_ + "/dalvik-cache/arm64"; in TEST_F() local
608 std::filesystem::create_directories(oat_dir); in TEST_F()
[all …]
Dartd.cc268 std::filesystem::path oat_dir = isa_dir.parent_path(); in PrepareArtifactsDirs() local
269 DCHECK_EQ(oat_dir.filename(), "oat"); in PrepareArtifactsDirs()
271 OR_RETURN(PrepareArtifactsDir(oat_dir, output_artifacts.permissionSettings.dirFsPermission)); in PrepareArtifactsDirs()
273 *oat_dir_path = oat_dir; in PrepareArtifactsDirs()