Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dfd_utils.cpp484 static std::unique_ptr<std::set<int>> GetOpenFdsIgnoring(const std::vector<int>& fds_to_ignore,
487 FileDescriptorTable* FileDescriptorTable::Create(const std::vector<int>& fds_to_ignore, in Create() argument
489 std::unique_ptr<std::set<int>> open_fds = GetOpenFdsIgnoring(fds_to_ignore, fail_fn); in Create()
497 static std::unique_ptr<std::set<int>> GetOpenFdsIgnoring(const std::vector<int>& fds_to_ignore, in GetOpenFdsIgnoring() argument
515 if (std::find(fds_to_ignore.begin(), fds_to_ignore.end(), fd) != fds_to_ignore.end()) { in GetOpenFdsIgnoring()
533 void FileDescriptorTable::Restat(const std::vector<int>& fds_to_ignore, fail_fn_t fail_fn) { in Restat() argument
534 std::unique_ptr<std::set<int>> open_fds = GetOpenFdsIgnoring(fds_to_ignore, fail_fn); in Restat()
Dfd_utils.h83 static FileDescriptorTable* Create(const std::vector<int>& fds_to_ignore,
94 void Restat(const std::vector<int>& fds_to_ignore, fail_fn_t fail_fn);
Dcom_android_internal_os_Zygote.cpp2416 const std::vector<int>& fds_to_ignore, in ForkCommon() argument
2450 gOpenFdTable = FileDescriptorTable::Create(fds_to_ignore, fail_fn); in ForkCommon()
2452 gOpenFdTable->Restat(fds_to_ignore, fail_fn); in ForkCommon()
2538 std::vector<int> fds_to_ignore = in com_android_internal_os_Zygote_nativeForkAndSpecialize() local
2545 fds_to_ignore.insert(fds_to_ignore.end(), usap_pipes.begin(), usap_pipes.end()); in com_android_internal_os_Zygote_nativeForkAndSpecialize()
2551 fds_to_ignore.push_back(gUsapPoolEventFD); in com_android_internal_os_Zygote_nativeForkAndSpecialize()
2556 fds_to_ignore.push_back(gSystemServerSocketFd); in com_android_internal_os_Zygote_nativeForkAndSpecialize()
2560 fds_to_ignore.insert(fds_to_ignore.end(), gPreloadFds->begin(), gPreloadFds->end()); in com_android_internal_os_Zygote_nativeForkAndSpecialize()
2563 pid_t pid = zygote::ForkCommon(env, /* is_system_server= */ false, fds_to_close, fds_to_ignore, in com_android_internal_os_Zygote_nativeForkAndSpecialize()
2584 fds_to_ignore(fds_to_close); in com_android_internal_os_Zygote_nativeForkSystemServer() local
[all …]
Dcom_android_internal_os_Zygote.h43 const std::vector<int>& fds_to_ignore,