Home
last modified time | relevance | path

Searched refs:fd_path (Results 1 – 4 of 4) sorted by relevance

/system/core/libcutils/
Dandroid_get_control_file.cpp92 std::string fd_path; in android_get_control_file() local
93 if (!android::base::Realpath(proc, &fd_path)) return -1; in android_get_control_file()
95 if (given_path != fd_path) return -1; in android_get_control_file()
/system/vold/
DProcess.cpp108 auto fd_path = path + "/fd"; in KillProcessesWithOpenFiles() local
109 auto fd_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(fd_path.c_str()), closedir); in KillProcessesWithOpenFiles()
111 PLOG(WARNING) << "Failed to open " << fd_path; in KillProcessesWithOpenFiles()
116 found |= checkSymlink(fd_path + "/" + fd_de->d_name, prefix); in KillProcessesWithOpenFiles()
/system/core/debuggerd/tombstoned/
Dtombstoned.cpp365 std::string fd_path = StringPrintf("/proc/self/fd/%d", crash->crash_tombstone_fd.get()); in crash_completed_cb() local
375 rc = linkat(AT_FDCWD, fd_path.c_str(), AT_FDCWD, tombstone_path.c_str(), AT_SYMLINK_FOLLOW); in crash_completed_cb()
/system/extras/simpleperf/
Denvironment.cpp547 std::string fd_path = "/proc/" + std::to_string(pid) + "/fd/"; in HasOpenedAppApkFile() local
548 std::vector<std::string> files = GetEntriesInDir(fd_path); in HasOpenedAppApkFile()
551 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile()