Searched refs:ConnSetTcpKeepalive (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/ |
H A D | lnn_socket_mock.cpp | 63 int32_t ConnSetTcpKeepalive(int32_t fd, int32_t seconds, int32_t keepAliveIntvl, int32_t keepAliveC… in ConnSetTcpKeepalive() function 65 … return GetSocketMockInterface()->ConnSetTcpKeepalive(fd, seconds, keepAliveIntvl, keepAliveCount); in ConnSetTcpKeepalive()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/ |
H A D | lnn_socket_mock.h | 33 virtual int32_t ConnSetTcpKeepalive( 52 MOCK_METHOD4(ConnSetTcpKeepalive, int32_t (int32_t, int32_t, int32_t, int32_t));
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_tcp_connection.c | 277 …if (ConnSetTcpKeepalive(cfd, (int32_t)DEFAULT_FREQ_CYCLE, TCP_KEEPALIVE_INTERVAL, TCP_KEEPALIVE_DE… in OnConnectEvent() 404 …if (ConnSetTcpKeepalive(fd, (int32_t)DEFAULT_FREQ_CYCLE, TCP_KEEPALIVE_INTERVAL, TCP_KEEPALIVE_DEF… in SocketConnectInner() 452 …if (ConnSetTcpKeepalive(fd, (int32_t)DEFAULT_FREQ_CYCLE, TCP_KEEPALIVE_INTERVAL, TCP_KEEPALIVE_DEF… in SocketConnectDevice() 500 …if (ConnSetTcpKeepalive(fd, (int32_t)DEFAULT_FREQ_CYCLE, TCP_KEEPALIVE_INTERVAL, TCP_KEEPALIVE_DEF… in NipSocketConnectDevice() 748 if (ConnSetTcpKeepalive(fd, tcpKeepaliveOption.keepaliveIdle, tcpKeepaliveOption.keepaliveIntvl, in AuthSetTcpKeepaliveOption()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/ |
H A D | softbus_socket.h | 79 int32_t ConnSetTcpKeepalive(int32_t fd, int32_t seconds, int32_t keepAliveIntvl, int32_t keepAliveC…
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/tcp/src/ |
H A D | softbus_tcp_connect_manager.c | 225 if (ConnSetTcpKeepalive( in TcpOnConnectEvent() 529 if (ConnSetTcpKeepalive( in TcpConnectDevice()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_tcp_socket.c | 348 int32_t ConnSetTcpKeepalive(int32_t fd, int32_t seconds, int32_t keepAliveIntvl, int32_t keepAliveC… in ConnSetTcpKeepalive() function
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/ |
H A D | client_trans_tcp_direct_manager.c | 308 int32_t ret = ConnSetTcpKeepalive(fd, HEART_TIME, TCP_KEEPALIVE_INTERVAL, TCP_KEEPALIVE_COUNT); in ClientTransSetTcpOption()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/ |
H A D | auth_test_enhance.cpp | 211 ON_CALL(socketMock, ConnSetTcpKeepalive(_, _, _, _)).WillByDefault(Return(SOFTBUS_OK));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/tcp/ |
H A D | tcp_manager_test.cpp | 1556 …EXPECT_EQ(ConnSetTcpKeepalive(INVALID_FD, KEEPALIVE_IDLE_MAX, KEEPALIVE_INTERVAL, KEEPALIVE_COUNT), 1581 …EXPECT_EQ(ConnSetTcpKeepalive(fd, KEEPALIVE_IDLE, KEEPALIVE_INTERVAL, KEEPALIVE_COUNT), SOFTBUS_OK…
|