Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dcom_android_internal_os_ZygoteCommandBuffer.cpp378 int session_socket = n_buffer->getFd(); in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly() local
379 std::vector<int> session_socket_fds {session_socket}; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
392 fd_structs[SESSION_IDX].fd = session_socket; in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
397 if (getsockopt(session_socket, SOL_SOCKET, SO_RCVTIMEO, &timeout, &timeout_size) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
429 int res = TEMP_FAILURE_RETRY(write(session_socket, pid_buf, 5)); in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
453 close(session_socket); in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
458 if (new_fd != session_socket) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
461 if (TEMP_FAILURE_RETRY(dup2(new_fd, session_socket)) != session_socket) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
463 new_fd, session_socket, strerror(errno))); in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
469 if (setsockopt(session_socket, SOL_SOCKET, SO_RCVTIMEO, &timeout, timeout_size) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
[all …]