Home
last modified time | relevance | path

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

/frameworks/native/cmds/dumpstate/
DDumpPool.cpp149 int dir_fd = dirfd(dir_ptr.get()); in deleteTempFiles() local
150 if (dir_fd < 0) { in deleteTempFiles()
165 if (unlinkat(dir_fd, file_name.c_str(), 0)) { in deleteTempFiles()
/frameworks/base/core/jni/
Dfd_utils.cpp470 static int ParseFd(dirent* dir_entry, int dir_fd);
494 int dir_fd = dirfd(proc_fd_dir); in GetOpenFdsIgnoring() local
497 const int fd = ParseFd(dir_entry, dir_fd); in GetOpenFdsIgnoring()
622 static int ParseFd(dirent* dir_entry, int dir_fd) { in ParseFd() argument
631 if (fd <= STDERR_FILENO || fd == dir_fd) { in ParseFd()
/frameworks/native/cmds/installd/
Dutils.cpp1117 int32_t dir_fd = dirfd(d); in collect_profiles() local
1118 if (dir_fd < 0) { in collect_profiles()
1146 unique_fd subdir_fd(openat(dir_fd, name.c_str(), in collect_profiles()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp1693 int dir_fd = dirfd(dir_ptr.get()); in getTempFileCounts() local
1694 if (dir_fd < 0) { in getTempFileCounts()