Searched refs:fd_path (Results 1 – 6 of 6) sorted by relevance
/system/core/libcutils/ |
D | android_get_control_file.cpp | 92 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/ |
D | Process.cpp | 156 auto fd_path = path + "/fd"; in KillProcessesWithOpenFiles() local 157 auto fd_d = std::unique_ptr<DIR, int (*)(DIR*)>(opendir(fd_path.c_str()), closedir); in KillProcessesWithOpenFiles() 159 PLOG(WARNING) << "Failed to open " << fd_path; in KillProcessesWithOpenFiles() 164 found |= checkSymlink(fd_path + "/" + fd_de->d_name, prefix); in KillProcessesWithOpenFiles()
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo.cpp | 167 std::string fd_path = in ReadDmaBufFdRefs() local 171 if (stat(fd_path.c_str(), &sb) < 0) { in ReadDmaBufFdRefs() 175 PLOG(ERROR) << "Failed to stat: " << fd_path; in ReadDmaBufFdRefs()
|
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
D | writer_base.cpp | 42 const auto fd_path = "/proc/self/fd/" + std::to_string(fd.get()); in GetFdPath() local 44 const auto err = readlink(fd_path.c_str(), file_path.data(), file_path.size()); in GetFdPath()
|
/system/core/debuggerd/tombstoned/ |
D | tombstoned.cpp | 155 std::string fd_path = StringPrintf("/proc/self/fd/%d", result.fd.get()); in create_temporary_file() local 156 if (fchmodat(dir_fd_, fd_path.c_str(), 0664, 0) != 0) { in create_temporary_file() 423 std::string fd_path = StringPrintf("/proc/self/fd/%d", fd.get()); in rename_tombstone_fd() local 424 rc = linkat(AT_FDCWD, fd_path.c_str(), dirfd.get(), path.c_str(), AT_SYMLINK_FOLLOW); in rename_tombstone_fd()
|
/system/extras/simpleperf/ |
D | environment.cpp | 493 std::string fd_path = "/proc/" + std::to_string(pid) + "/fd/"; in HasOpenedAppApkFile() local 494 std::vector<std::string> files = GetEntriesInDir(fd_path); in HasOpenedAppApkFile() 497 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile()
|