Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp914 const std::vector<int>& fds_to_ignore) { in ForkCommon() argument
937 gOpenFdTable = FileDescriptorTable::Create(fds_to_ignore, fail_fn); in ForkCommon()
939 gOpenFdTable->Restat(fds_to_ignore, fail_fn); in ForkCommon()
1367 std::vector<int> fds_to_ignore = in com_android_internal_os_Zygote_nativeForkAndSpecialize() local
1374 fds_to_ignore.insert(fds_to_ignore.end(), usap_pipes.begin(), usap_pipes.end()); in com_android_internal_os_Zygote_nativeForkAndSpecialize()
1380 fds_to_ignore.push_back(gUsapPoolEventFD); in com_android_internal_os_Zygote_nativeForkAndSpecialize()
1383 pid_t pid = ForkCommon(env, false, fds_to_close, fds_to_ignore); in com_android_internal_os_Zygote_nativeForkAndSpecialize()
1399 fds_to_ignore(fds_to_close); in com_android_internal_os_Zygote_nativeForkSystemServer() local
1405 fds_to_ignore.push_back(gUsapPoolEventFD); in com_android_internal_os_Zygote_nativeForkSystemServer()
1410 fds_to_ignore); in com_android_internal_os_Zygote_nativeForkSystemServer()
[all …]
Dfd_utils.cpp451 FileDescriptorTable* FileDescriptorTable::Create(const std::vector<int>& fds_to_ignore, in Create() argument
468 if (std::find(fds_to_ignore.begin(), fds_to_ignore.end(), fd) != fds_to_ignore.end()) { in Create()
482 void FileDescriptorTable::Restat(const std::vector<int>& fds_to_ignore, fail_fn_t fail_fn) { in Restat() argument
501 if (std::find(fds_to_ignore.begin(), fds_to_ignore.end(), fd) != fds_to_ignore.end()) { in Restat()
Dfd_utils.h81 static FileDescriptorTable* Create(const std::vector<int>& fds_to_ignore,
84 void Restat(const std::vector<int>& fds_to_ignore, fail_fn_t fail_fn);