Home
last modified time | relevance | path

Searched defs:path (Results 1 – 25 of 83) sorted by relevance

1234

/art/artd/
Dfile_utils_test.cc54 void CheckContent(const std::string& path, const std::string& expected_content) { in CheckContent()
63 static Result<std::unique_ptr<UnkeepableFile>> Create(const std::string& path, in Create()
96 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F() local
110 std::string path = scratch_dir_->GetPath() + "/non_existent_dir/file.tmp"; in TEST_F() local
118 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F() local
127 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F() local
141 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F() local
350 std::string path = scratch_dir_->GetPath() + "/foo"; in TEST_F() local
357 std::string path = scratch_dir_->GetPath() + "/foo"; in TEST_F() local
Dfile_utils.cc50 void UnlinkIfExists(std::string_view path) { in UnlinkIfExists()
60 Result<std::unique_ptr<NewFile>> NewFile::Create(const std::string& path, in Create()
254 Result<std::unique_ptr<File>> OpenFileForReading(const std::string& path) { in OpenFileForReading()
271 Result<void> Chown(const std::string& path, const FsPermission& fs_permission) { in Chown()
Dartd_test.cc143 void CheckContent(const std::string& path, const std::string& expected_content) { in CheckContent()
149 void CheckOtherReadable(const std::string& path, bool expected_value) { in CheckOtherReadable()
226 char path[PATH_MAX]; variable
495 std::filesystem::path path(filename); in CreateFile() local
503 std::filesystem::path path(filename); in CreateZipWithSingleEntry() local
565 std::string path = OR_FATAL(BuildProfileOrDmPath(profile_path_.value())); in InitFilesBeforeDexopt() local
1721 const std::string& path) { in TestGetVisibilityOtherReadable()
1734 const std::string& path) { in TestGetVisibilityNotOtherReadable()
1754 const std::string& path) { in TestGetVisibilityPermissionDenied()
2177 void CreateGcRemovedFile(const std::string& path) { in CreateGcRemovedFile()
[all …]
Dfile_utils.h103 NewFile(const std::string& path, in NewFile()
Dartd.cc151 std::optional<int64_t> GetSize(std::string_view path) { in GetSize()
164 bool DeleteFile(const std::string& path) { in DeleteFile()
176 int64_t GetSizeAndDeleteFile(const std::string& path) { in GetSizeAndDeleteFile()
231 Result<bool> CreateDir(const std::string& path) { in CreateDir()
240 Result<void> PrepareArtifactsDir(const std::string& path, const FsPermission& fs_permission) { in PrepareArtifactsDir()
456 std::string path = ART_FORMAT("/proc/self/fd/{}", memfd.Fd()); in ExtractEmbeddedProfileToFd() local
526 const std::string& path, in Restorecon()
556 RawArtifactsPath path = OR_RETURN_FATAL(BuildArtifactsPath(in_artifactsPath)); in deleteArtifacts() local
1198 for (std::string_view path : files_to_delete) { in dexopt() local
1270 RawArtifactsPath path = OR_RETURN_FATAL(BuildArtifactsPath(artifacts)); in cleanup() local
[all …]
/art/odrefresh/
Dodr_fs_utils.cc85 std::string path; in EnsureDirectoryExists() local
99 bool GetFreeSpace(const std::string& path, uint64_t* bytes) { in GetFreeSpace()
109 bool GetUsedSpace(const std::string& path, uint64_t* bytes) { in GetUsedSpace()
Dodr_metrics.cc112 int32_t OdrMetrics::GetFreeSpaceMiB(const std::string& path) { in GetFreeSpaceMiB()
167 void OdrMetrics::WriteToFile(const std::string& path, const OdrMetrics* metrics) { in WriteToFile()
Dodrefresh.cc254 std::string RewriteParentDirectoryIfNeeded(const std::string& path) { in RewriteParentDirectoryIfNeeded()
326 const std::function<T(const std::string& path, uint64_t size, const std::string& checksum)>& in GenerateComponents()
330 for (const std::string& path : jars) { in GenerateComponents() local
363 jars, [](const std::string& path, uint64_t size, const std::string& checksum) { in GenerateComponents()
378 for (const char* path : paths) { in ArtifactsExist() local
390 for (const char* path : paths) { in ArtifactsExist() local
475 for (const std::string& path : profile_paths) { in AddDex2OatProfile() local
606 std::string GetStagingLocation(const std::string& staging_dir, const std::string& path) { in GetStagingLocation()
884 [&](const std::string& path, uint64_t size, const std::string& checksum) { in GenerateSystemServerComponents()
1042 std::string path = GetPrimaryBootImagePath(on_system, minimal, isa); in PrimaryBootImageExist() local
[all …]
/art/libarttools/
Dtools.cc99 const std::filesystem::path& path, in FullMatchRecursive()
125 bool FullMatch(const std::filesystem::path& pattern, const std::filesystem::path& path) { in FullMatch()
179 bool PathStartsWith(std::string_view path, std::string_view prefix) { in PathStartsWith()
209 Result<std::vector<FstabEntry>> GetProcMountsAncestorsOfPath(std::string_view path) { in GetProcMountsAncestorsOfPath()
214 Result<std::vector<FstabEntry>> GetProcMountsDescendantsOfPath(std::string_view path) { in GetProcMountsDescendantsOfPath()
/art/libnativeloader/test/src/android/test/vendorsharedlib/
DVendorSharedLib.java24 public static void load(String path) { in load()
/art/libnativeloader/test/src/android/test/productsharedlib/
DProductSharedLib.java24 public static void load(String path) { in load()
/art/libnativeloader/test/src/android/test/systemsharedlib/
DSystemSharedLib.java24 public static void load(String path) { in load()
/art/libnativeloader/test/src/android/test/systemextsharedlib/
DSystemExtSharedLib.java24 public static void load(String path) { in load()
/art/libartbase/base/
Dfile_utils.h227 inline bool IsAbsoluteLocation(const std::string& path) { return !path.empty() && path[0] == '/'; } in IsAbsoluteLocation()
Dscoped_flock.h71 LockedFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in LockedFile()
Dscoped_flock.cc103 ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, in DupOf()
/art/test/odsign/jni/
Dandroid_tests_odsign_ArtifactsSignedTest.cc36 ScopedUtfChars path(env, filePath); in Java_com_android_tests_odsign_ArtifactsSignedTest_hasFsverityNative() local
/art/tools/ahat/src/main/com/android/ahat/
DSitePrinter.java28 List<Site> path = new ArrayList<Site>(); in printSite() local
/art/build/apex/
Dart_apex_test.py106 def get(self, path): argument
148 def get(self, path): argument
223 def is_file(self, path): argument
233 def is_dir(self, path): argument
241 def check_file(self, path): argument
248 def check_dir(self, path): argument
255 def check_optional_file(self, path): argument
280 def arch_dirs_for_path(self, path, multilib=None): argument
817 def print_list_rec(path): argument
861 def print_tree_rec(path): argument
/art/runtime/
Dprebuilt_tools_test.cc33 std::string path = GetAndroidTool(tool, isa); in CheckToolsExist() local
/art/test/odsign/src/com/android/tests/odsign/
DArtifactsSignedTest.java56 private static native boolean hasFsverityNative(@NonNull String path); in hasFsverityNative()
/art/tools/checker/
Dchecker.py72 def find_checker_files(path): argument
/art/libnativeloader/
Dnative_loader_lazy.cpp55 void* OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* path, in OpenNativeLibrary()
84 void* OpenNativeLibraryInNamespace(struct NativeLoaderNamespace* ns, const char* path, in OpenNativeLibraryInNamespace()
/art/test/164-resolution-trampoline-dex-cache/src/
DMain.java48 String path = location + "/" + TEST_NAME + (ex ? "-ex.jar" : ".jar"); in getClassLoaderFor() local
/art/libartbase/base/unix_file/
Dfd_file.h46 FdFile(const std::string& path, int flags, bool check_usage) in FdFile()

1234