Searched refs:Readlink (Results 1 – 18 of 18) sorted by relevance
/system/core/init/ |
D | devices.cpp | 46 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()
|
D | mount_handler.cpp | 63 if (std::string link; android::base::Readlink(fields[0], &link)) { in ParseMount()
|
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/vold/ |
D | Process.cpp | 75 if (android::base::Readlink(path, &res)) { in checkSymlink()
|
/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/adb/client/ |
D | main.cpp | 216 if (!android::base::Readlink("/proc/self/exe", &path)) { in adb_server_main()
|
/system/core/fs_mgr/libfiemap/ |
D | utility.cpp | 136 if (!::android::base::Readlink(sysfs_path, &sysfs_bdev)) { in BlockDeviceToName()
|
/system/core/debuggerd/libdebuggerd/ |
D | open_files_list.cpp | 58 if (android::base::Readlink(path, &target)) { in populate_open_files_list()
|
/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/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 118 if (!::android::base::Readlink(path, &target)) { in ReadDmaBufFdRefs()
|
/system/extras/simpleperf/ |
D | environment.cpp | 551 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/ |
D | postinstall_runner_action_unittest.cc | 116 test_utils::Readlink(base::StringPrintf( in SuspendRunningAction()
|
/system/core/fs_mgr/ |
D | fs_mgr_fstab.cpp | 44 using android::base::Readlink;
|
/system/apex/apexd/ |
D | apexservice_test.cpp | 2491 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/ |
D | file_sync_service.cpp | 465 if (!android::base::Readlink(path, &buf_link) || (buf_link != &buffer[0])) { in handle_send_link()
|