/art/artd/ |
D | file_utils_test.cc | 54 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
|
D | file_utils.cc | 50 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()
|
D | artd_test.cc | 143 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 …]
|
D | file_utils.h | 103 NewFile(const std::string& path, in NewFile()
|
D | artd.cc | 151 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/ |
D | odr_fs_utils.cc | 85 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()
|
D | odr_metrics.cc | 112 int32_t OdrMetrics::GetFreeSpaceMiB(const std::string& path) { in GetFreeSpaceMiB() 167 void OdrMetrics::WriteToFile(const std::string& path, const OdrMetrics* metrics) { in WriteToFile()
|
D | odrefresh.cc | 254 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/ |
D | tools.cc | 99 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/ |
D | VendorSharedLib.java | 24 public static void load(String path) { in load()
|
/art/libnativeloader/test/src/android/test/productsharedlib/ |
D | ProductSharedLib.java | 24 public static void load(String path) { in load()
|
/art/libnativeloader/test/src/android/test/systemsharedlib/ |
D | SystemSharedLib.java | 24 public static void load(String path) { in load()
|
/art/libnativeloader/test/src/android/test/systemextsharedlib/ |
D | SystemExtSharedLib.java | 24 public static void load(String path) { in load()
|
/art/libartbase/base/ |
D | file_utils.h | 227 inline bool IsAbsoluteLocation(const std::string& path) { return !path.empty() && path[0] == '/'; } in IsAbsoluteLocation()
|
D | scoped_flock.h | 71 LockedFile(int fd, const std::string& path, bool check_usage, bool read_only_mode) in LockedFile()
|
D | scoped_flock.cc | 103 ScopedFlock LockedFile::DupOf(const int fd, const std::string& path, in DupOf()
|
/art/test/odsign/jni/ |
D | android_tests_odsign_ArtifactsSignedTest.cc | 36 ScopedUtfChars path(env, filePath); in Java_com_android_tests_odsign_ArtifactsSignedTest_hasFsverityNative() local
|
/art/tools/ahat/src/main/com/android/ahat/ |
D | SitePrinter.java | 28 List<Site> path = new ArrayList<Site>(); in printSite() local
|
/art/build/apex/ |
D | art_apex_test.py | 106 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/ |
D | prebuilt_tools_test.cc | 33 std::string path = GetAndroidTool(tool, isa); in CheckToolsExist() local
|
/art/test/odsign/src/com/android/tests/odsign/ |
D | ArtifactsSignedTest.java | 56 private static native boolean hasFsverityNative(@NonNull String path); in hasFsverityNative()
|
/art/tools/checker/ |
D | checker.py | 72 def find_checker_files(path): argument
|
/art/libnativeloader/ |
D | native_loader_lazy.cpp | 55 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/ |
D | Main.java | 48 String path = location + "/" + TEST_NAME + (ex ? "-ex.jar" : ".jar"); in getClassLoaderFor() local
|
/art/libartbase/base/unix_file/ |
D | fd_file.h | 46 FdFile(const std::string& path, int flags, bool check_usage) in FdFile()
|