Searched refs:fds_to_ignore (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/jni/ |
D | com_android_internal_os_Zygote.cpp | 906 const std::vector<int>& fds_to_ignore) { in ForkCommon() argument 929 gOpenFdTable = FileDescriptorTable::Create(fds_to_ignore, fail_fn); in ForkCommon() 931 gOpenFdTable->Restat(fds_to_ignore, fail_fn); in ForkCommon() 1359 std::vector<int> fds_to_ignore = in com_android_internal_os_Zygote_nativeForkAndSpecialize() local 1366 fds_to_ignore.insert(fds_to_ignore.end(), usap_pipes.begin(), usap_pipes.end()); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 1372 fds_to_ignore.push_back(gUsapPoolEventFD); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 1375 pid_t pid = ForkCommon(env, false, fds_to_close, fds_to_ignore); in com_android_internal_os_Zygote_nativeForkAndSpecialize() 1391 fds_to_ignore(fds_to_close); in com_android_internal_os_Zygote_nativeForkSystemServer() local 1397 fds_to_ignore.push_back(gUsapPoolEventFD); in com_android_internal_os_Zygote_nativeForkSystemServer() 1402 fds_to_ignore); in com_android_internal_os_Zygote_nativeForkSystemServer() [all …]
|
D | fd_utils.h | 81 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);
|
D | fd_utils.cpp | 451 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()
|