Home
last modified time | relevance | path

Searched refs:Readlink (Results 1 – 18 of 18) sorted by relevance

/system/vold/
DProcess.cpp77 if (android::base::Readlink(path, &res)) { in checkSymlink()
183 android::base::Readlink(StringPrintf("/proc/%d/exe", pid), &exe); in KillProcessesWithOpenFiles()
/system/core/init/
Ddevices.cpp47 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()
Dmount_handler.cpp63 if (std::string link; android::base::Readlink(fields[0], &link)) { in ParseMount()
Dsnapuserd_transition.cpp113 if (android::base::Readlink(link, &path)) { in RelabelLink()
Dmount_namespace.cpp73 if (!android::base::Readlink("/proc/self/ns/mnt", &ret)) { in GetMountNamespaceId()
/system/libbase/include/android-base/
Dfile.h113 bool Readlink(const std::string& path, std::string* result);
/system/libbase/
Dfile_test.cpp258 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()
Dfile.cpp399 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/
Dopen_files_list.cpp58 if (android::base::Readlink(path, &target)) { in populate_open_files_list()
/system/core/fs_mgr/libfiemap/
Dutility.cpp136 if (!::android::base::Readlink(sysfs_path, &sysfs_bdev)) { in BlockDeviceToName()
/system/update_engine/common/
Dtest_utils.h77 std::string Readlink(const std::string& path);
Dtest_utils.cc93 string Readlink(const string& path) { in Readlink() function
/system/iorap/src/inode2filename/
Dout_of_process_inode_resolver.cc49 CHECK(::android::base::Readlink("/proc/self/exe", /*out*/&self_path)); in GetCommandFileName()
/system/apex/apexd/
Dapexd_test_utils.h185 if (!android::base::Readlink("/proc/self/ns/mnt", &result)) { in GetCurrentMountNamespace()
Dapexservice_test.cpp2585 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/
Dpostinstall_runner_action_unittest.cc121 test_utils::Readlink(base::StringPrintf( in SuspendRunningAction()
/system/extras/simpleperf/
Denvironment.cpp472 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/
Dfs_mgr_fstab.cpp45 using android::base::Readlink;