Home
last modified time | relevance | path

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 Dlnn_socket_mock.cpp63 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 Dlnn_socket_mock.h33 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 Dauth_tcp_connection.c277 …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 Dsoftbus_socket.h79 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 Dsoftbus_tcp_connect_manager.c225 if (ConnSetTcpKeepalive( in TcpOnConnectEvent()
529 if (ConnSetTcpKeepalive( in TcpConnectDevice()
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_tcp_socket.c348 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 Dclient_trans_tcp_direct_manager.c308 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 Dauth_test_enhance.cpp211 ON_CALL(socketMock, ConnSetTcpKeepalive(_, _, _, _)).WillByDefault(Return(SOFTBUS_OK));
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/tcp/
H A Dtcp_manager_test.cpp1556 …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…