Searched refs:Readlink (Results 1 – 18 of 18) sorted by relevance
/system/vold/ |
D | Process.cpp | 77 if (android::base::Readlink(path, &res)) { in checkSymlink() 183 android::base::Readlink(StringPrintf("/proc/%d/exe", pid), &exe); in KillProcessesWithOpenFiles()
|
/system/core/init/ |
D | devices.cpp | 47 using android::base::Readlink; 407 if (Readlink(path, &link_path) && link_path == devpath) { in RemoveDeviceMapperLinks() 431 Readlink(link, &link_path) && link_path != devpath) { in HandleDevice() 445 if (Readlink(link, &link_path) && link_path == devpath) { in HandleDevice()
|
D | mount_handler.cpp | 63 if (std::string link; android::base::Readlink(fields[0], &link)) { in ParseMount()
|
D | snapuserd_transition.cpp | 113 if (android::base::Readlink(link, &path)) { in RelabelLink()
|
D | mount_namespace.cpp | 73 if (!android::base::Readlink("/proc/self/ns/mnt", &ret)) { in GetMountNamespaceId()
|
/system/libbase/include/android-base/ |
D | file.h | 113 bool Readlink(const std::string& path, std::string* result);
|
/system/libbase/ |
D | file_test.cpp | 258 TEST(file, Readlink) { in TEST() argument 279 ASSERT_TRUE(android::base::Readlink(min_path, &result)); in TEST() 283 ASSERT_TRUE(android::base::Readlink(max_path, &result)); in TEST()
|
D | file.cpp | 399 bool Readlink(const std::string& path, std::string* result) { in Readlink() function 444 android::base::Readlink("/proc/self/exe", &path); in GetExecutablePath()
|
/system/core/debuggerd/libdebuggerd/ |
D | open_files_list.cpp | 58 if (android::base::Readlink(path, &target)) { in populate_open_files_list()
|
/system/core/fs_mgr/libfiemap/ |
D | utility.cpp | 136 if (!::android::base::Readlink(sysfs_path, &sysfs_bdev)) { in BlockDeviceToName()
|
/system/update_engine/common/ |
D | test_utils.h | 77 std::string Readlink(const std::string& path);
|
D | test_utils.cc | 93 string Readlink(const string& path) { in Readlink() function
|
/system/iorap/src/inode2filename/ |
D | out_of_process_inode_resolver.cc | 49 CHECK(::android::base::Readlink("/proc/self/exe", /*out*/&self_path)); in GetCommandFileName()
|
/system/apex/apexd/ |
D | apexd_test_utils.h | 185 if (!android::base::Readlink("/proc/self/ns/mnt", &result)) { in GetCurrentMountNamespace()
|
D | apexservice_test.cpp | 2585 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_apexd); in TEST() 2590 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_init); in TEST() 2613 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_apexd); in TEST() 2621 android::base::Readlink("/proc/self/ns/mnt", &ns_early_process); in TEST()
|
/system/update_engine/payload_consumer/ |
D | postinstall_runner_action_unittest.cc | 121 test_utils::Readlink(base::StringPrintf( in SuspendRunningAction()
|
/system/extras/simpleperf/ |
D | environment.cpp | 472 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile() 701 if (!android::base::Readlink("/proc/self/exe", &simpleperf_path_)) { in Prepare()
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 45 using android::base::Readlink;
|