Searched refs:fds_to_ignore (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/jni/ |
D | fd_utils.cpp | 471 static std::unique_ptr<std::set<int>> GetOpenFdsIgnoring(const std::vector<int>& fds_to_ignore, 474 FileDescriptorTable* FileDescriptorTable::Create(const std::vector<int>& fds_to_ignore, in Create() argument 476 std::unique_ptr<std::set<int>> open_fds = GetOpenFdsIgnoring(fds_to_ignore, fail_fn); in Create() 484 static std::unique_ptr<std::set<int>> GetOpenFdsIgnoring(const std::vector<int>& fds_to_ignore, in GetOpenFdsIgnoring() argument 502 if (std::find(fds_to_ignore.begin(), fds_to_ignore.end(), fd) != fds_to_ignore.end()) { in GetOpenFdsIgnoring() 520 void FileDescriptorTable::Restat(const std::vector<int>& fds_to_ignore, fail_fn_t fail_fn) { in Restat() argument 521 std::unique_ptr<std::set<int>> open_fds = GetOpenFdsIgnoring(fds_to_ignore, fail_fn); in Restat()
|
D | fd_utils.h | 82 static FileDescriptorTable* Create(const std::vector<int>& fds_to_ignore, 93 void Restat(const std::vector<int>& fds_to_ignore, fail_fn_t fail_fn);
|
D | com_android_internal_os_Zygote.cpp | 2043 const std::vector<int>& fds_to_ignore, in ForkCommon() argument 2072 gOpenFdTable = FileDescriptorTable::Create(fds_to_ignore, fail_fn); in ForkCommon() 2074 gOpenFdTable->Restat(fds_to_ignore, fail_fn); in ForkCommon() 2145 std::vector<int> fds_to_ignore = in com_android_internal_os_Zygote_nativeForkAndSpecialize() local 2152 fds_to_ignore.insert(fds_to_ignore.end(), usap_pipes.begin(), usap_pipes.end()); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 2158 fds_to_ignore.push_back(gUsapPoolEventFD); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 2163 fds_to_ignore.push_back(gSystemServerSocketFd); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 2167 fds_to_ignore.insert(fds_to_ignore.end(), gPreloadFds->begin(), gPreloadFds->end()); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 2170 pid_t pid = zygote::ForkCommon(env, /* is_system_server= */ false, fds_to_close, fds_to_ignore, in com_android_internal_os_Zygote_nativeForkAndSpecialize() 2188 fds_to_ignore(fds_to_close); in com_android_internal_os_Zygote_nativeForkSystemServer() local [all …]
|
D | com_android_internal_os_Zygote.h | 35 const std::vector<int>& fds_to_ignore,
|