Searched refs:getsockopt (Results 1 – 10 of 10) sorted by relevance
110 TEST_F(SyscallsTest, getsockopt) { in TEST_F() argument119 EXPECT_CALL(mSyscalls, getsockopt(kFd, kLevel, kOptname, &expected, &optLen)) in TEST_F()121 EXPECT_EQ(status::ok, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F()125 EXPECT_CALL(mSyscalls, getsockopt(kFd, kLevel, kOptname, &expected, &optLen)) in TEST_F()127 EXPECT_EQ(kError, sys.getsockopt(kFd, kLevel, kOptname, &expected, &optLen)); in TEST_F()
68 Status getsockopt(Fd sock, int level, int optname, void* optval, in getsockopt() function in android::netdutils::RealSyscalls70 auto rv = ::getsockopt(sock.get(), level, optname, optval, optlen); in getsockopt()
52 virtual Status getsockopt(Fd sock, int level, int optname, void *optval,125 Status getsockopt(Fd sock, int level, int optname, void* optval, socklen_t* optlen) const { in getsockopt() function126 return getsockopt(sock, level, optname, optval, optlen); in getsockopt()
40 MOCK_CONST_METHOD5(getsockopt, Status(Fd sock, int level, int optname, void* optval,
45 if (getsockopt(sockFd, SOL_SOCKET, SO_COOKIE, &sock_cookie, &cookie_len)) { in getSocketCookie()
411 if (getsockopt(session_socket, SOL_SOCKET, SO_RCVTIMEO, &timeout, &timeout_size) != 0) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()417 if (getsockopt(n_buffer->getFd(), SOL_SOCKET, SO_PEERCRED, &credentials, &cred_size) == -1 in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()492 if (getsockopt(session_socket, SOL_SOCKET, SO_PEERCRED, &credentials, &cred_size) == -1) { in com_android_internal_os_ZygoteCommandBuffer_nativeForkRepeatedly()
399 err = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, &creds, &szCreds); in socket_get_peer_credentials()
385 CHECK_EQ(getsockopt(mSocket, SOL_SOCKET, SO_ERROR, &err, &optionLen), 0); in onCompleteConnection()
639 int ret = getsockopt(transportFd.fd.get(), SOL_SOCKET, SO_ERROR, &connErrno, in setupOneSocketConnection()
1196 int ret = getsockopt(connectFd.get(), SOL_SOCKET, SO_ERROR, &connectErrno, in testSupportVsockLoopback()