Home
last modified time | relevance | path

Searched refs:fd_path (Results 1 – 6 of 6) 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.cpp156 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/
Ddmabufinfo.cpp168 std::string fd_path = in ReadDmaBufFdRefs() local
172 if (stat(fd_path.c_str(), &sb) < 0) { in ReadDmaBufFdRefs()
176 PLOG(ERROR) << "Failed to stat: " << fd_path; in ReadDmaBufFdRefs()
/system/iorap/src/prefetcher/
Dsession.cc340 const char* fd_path = SessionDescription().c_str(); in ProcessFd() local
346 serialize::ProtobufIO::Open(fd, fd_path); in ProcessFd()
349 LOG(ERROR) << "SessionDirect::ProcessFd failed, corrupted protobuf format? " << fd_path; in ProcessFd()
/system/core/debuggerd/tombstoned/
Dtombstoned.cpp422 std::string fd_path = StringPrintf("/proc/self/fd/%d", fd.get()); in rename_tombstone_fd() local
423 rc = linkat(AT_FDCWD, fd_path.c_str(), dirfd.get(), path.c_str(), AT_SYMLINK_FOLLOW); in rename_tombstone_fd()
/system/extras/simpleperf/
Denvironment.cpp468 std::string fd_path = "/proc/" + std::to_string(pid) + "/fd/"; in HasOpenedAppApkFile() local
469 std::vector<std::string> files = GetEntriesInDir(fd_path); in HasOpenedAppApkFile()
472 if (!android::base::Readlink(fd_path + file, &real_path)) { in HasOpenedAppApkFile()