Lines Matching refs:filesystem

75     std::filesystem::remove_all(path_);  in ~ScratchDir()
161 std::filesystem::perms old_perms = std::filesystem::status(path).permissions(); in ScopedInaccessible()
162 std::filesystem::permissions(path, std::filesystem::perms::none); in ScopedInaccessible()
163 return android::base::make_scope_guard([=]() { std::filesystem::permissions(path, old_perms); }); in ScopedInaccessible()
174 std::filesystem::path path(argv.substr(0, argv.find('\0'))); in GetAndroidBuildTop()
175 path = std::filesystem::absolute(path); in GetAndroidBuildTop()
179 if (path.filename() == std::filesystem::path("linux-x86")) { in GetAndroidBuildTop()
185 if (path.filename() == std::filesystem::path("testcases") || in GetAndroidBuildTop()
196 android_build_top = std::filesystem::path(android_build_top).string(); in GetAndroidBuildTop()
199 if (std::filesystem::weakly_canonical(android_build_top).string() != in GetAndroidBuildTop()
200 std::filesystem::weakly_canonical(android_build_top_from_env).string()) { in GetAndroidBuildTop()
227 android_host_out = (std::filesystem::path(android_out_dir) / "host" / "linux-x86").string(); in GetAndroidHostOut()
230 (std::filesystem::path(GetAndroidBuildTop()) / android_out_dir / "host" / "linux-x86") in GetAndroidHostOut()
233 std::filesystem::path expected(android_host_out); in GetAndroidHostOut()
235 std::filesystem::path from_env(std::filesystem::weakly_canonical(android_host_out_from_env)); in GetAndroidHostOut()
236 if (std::filesystem::weakly_canonical(expected).string() != from_env.string()) { in GetAndroidHostOut()