Home
last modified time | relevance | path

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

/system/core/init/
Ddevices.cpp46 using android::base::Readlink;
399 if (Readlink(path, &link_path) && link_path == devpath) { in RemoveDeviceMapperLinks()
423 Readlink(link, &link_path) && link_path != devpath) { in HandleDevice()
437 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()
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/vold/
DProcess.cpp75 if (android::base::Readlink(path, &res)) { in checkSymlink()
/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/adb/client/
Dmain.cpp216 if (!android::base::Readlink("/proc/self/exe", &path)) { in adb_server_main()
/system/core/fs_mgr/libfiemap/
Dutility.cpp136 if (!::android::base::Readlink(sysfs_path, &sysfs_bdev)) { in BlockDeviceToName()
/system/core/debuggerd/libdebuggerd/
Dopen_files_list.cpp58 if (android::base::Readlink(path, &target)) { in populate_open_files_list()
/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/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp118 if (!::android::base::Readlink(path, &target)) { in ReadDmaBufFdRefs()
/system/extras/simpleperf/
Denvironment.cpp551 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile()
765 if (!android::base::Readlink("/proc/self/exe", &simpleperf_path_)) { in Prepare()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc116 test_utils::Readlink(base::StringPrintf( in SuspendRunningAction()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp44 using android::base::Readlink;
/system/apex/apexd/
Dapexservice_test.cpp2491 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_apexd); in TEST()
2496 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_init); in TEST()
2519 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_apexd); in TEST()
2527 android::base::Readlink("/proc/self/ns/mnt", &ns_early_process); in TEST()
/system/core/adb/daemon/
Dfile_sync_service.cpp465 if (!android::base::Readlink(path, &buf_link) || (buf_link != &buffer[0])) { in handle_send_link()