Home
last modified time | relevance | path

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

/system/core/init/
Dmount_namespace.cpp70 if (!android::base::Readlink("/proc/self/ns/mnt", &ret)) { in GetMountNamespaceId()
Ddevices.cpp51 using android::base::Readlink;
399 Readlink(link, &link_path) && link_path != devpath) { in HandleDevice()
410 if (Readlink(link, &link_path) && link_path == devpath) { in HandleDevice()
Dmount_handler.cpp64 if (std::string link; android::base::Readlink(fields[0], &link)) { in ParseMount()
/system/core/base/include/android-base/
Dfile.h112 bool Readlink(const std::string& path, std::string* result);
/system/core/base/
Dfile_test.cpp168 TEST(file, Readlink) { in TEST() argument
189 ASSERT_TRUE(android::base::Readlink(min_path, &result)); in TEST()
193 ASSERT_TRUE(android::base::Readlink(max_path, &result)); in TEST()
Dfile.cpp361 bool Readlink(const std::string& path, std::string* result) { in Readlink() function
406 android::base::Readlink("/proc/self/exe", &path); in GetExecutablePath()
/system/vold/
DProcess.cpp75 if (android::base::Readlink(path, &res)) { in checkSymlink()
/system/core/adb/client/
Dmain.cpp201 if (!android::base::Readlink("/proc/self/exe", &path)) { in adb_server_main()
/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.cc98 string Readlink(const string& path) { in Readlink() function
/system/core/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp118 if (!::android::base::Readlink(path, &target)) { in ReadDmaBufFdRefs()
/system/update_engine/payload_consumer/
Dpostinstall_runner_action_unittest.cc113 test_utils::Readlink(base::StringPrintf( in SuspendRunningAction()
/system/extras/simpleperf/
Denvironment.cpp567 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile()
778 if (!android::base::Readlink("/proc/self/exe", &simpleperf_path_)) { in Prepare()
/system/core/adb/
Dfdevent.cpp494 if (!android::base::Readlink(fd_path, &path)) { in fdevent_check_spin()
/system/apex/apexd/
Dapexservice_test.cpp1857 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_apexd); in TEST()
1862 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_init); in TEST()
1885 bool res = android::base::Readlink("/proc/self/ns/mnt", &ns_apexd); in TEST()
1893 android::base::Readlink("/proc/self/ns/mnt", &ns_early_process); in TEST()
/system/core/adb/daemon/
Dfile_sync_service.cpp365 if (!android::base::Readlink(path, &buf_link) || (buf_link != &buffer[0])) { in handle_send_link()
/system/core/fs_mgr/libfiemap_writer/
Dfiemap_writer.cpp73 if (!::android::base::Readlink(sysfs_path, &sysfs_bdev)) { in BlockDeviceToName()