Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_wifi_test.cpp130 EXPECT_CALL(TcpWifiMock, ConnOpenClientSocket).WillOnce(Return(NORMAL_FD));
234 EXPECT_CALL(TcpWifiMock, ConnOpenClientSocket).WillOnce(Return(SOFTBUS_NO_INIT));
261 EXPECT_CALL(TcpWifiMock, ConnOpenClientSocket).WillRepeatedly(Return(NORMAL_FD));
290 EXPECT_CALL(TcpWifiMock, ConnOpenClientSocket).WillRepeatedly(Return(NORMAL_FD));
318 EXPECT_CALL(TcpWifiMock, ConnOpenClientSocket).WillRepeatedly(Return(NORMAL_FD));
H A Dtrans_tcp_direct_p2p_mock_test.cpp498 EXPECT_CALL(TcpP2pDirectMock, ConnOpenClientSocket).WillOnce(Return(SOFTBUS_NO_INIT));
502 EXPECT_CALL(TcpP2pDirectMock, ConnOpenClientSocket).WillOnce(Return(SOFTBUS_OK));
580 EXPECT_CALL(TcpP2pDirectMock, ConnOpenClientSocket).WillOnce(Return(SOFTBUS_NO_INIT));
590 EXPECT_CALL(TcpP2pDirectMock, ConnOpenClientSocket).WillRepeatedly(Return(1));
627 EXPECT_CALL(TcpP2pDirectMock, ConnOpenClientSocket).WillRepeatedly(Return(1));
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/
H A Dtrans_tcp_direct_wifi_test_mock.cpp69 int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNonBlock) in ConnOpenClientSocket() function
71 return GetTransTcpDirectWifiInterface()->ConnOpenClientSocket(option, bindAddr, isNonBlock); in ConnOpenClientSocket()
H A Dtrans_tcp_direct_wifi_test_mock.h37 …virtual int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNon…
52 …MOCK_METHOD3(ConnOpenClientSocket, int32_t (const ConnectOption *option, const char *bindAddr, boo…
H A Dtrans_tcp_direct_p2p_test_mock.cpp115 int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNonBlock) in ConnOpenClientSocket() function
117 return GetTransTcpDirectP2pInterface()->ConnOpenClientSocket(option, bindAddr, isNonBlock); in ConnOpenClientSocket()
H A Dtrans_tcp_direct_p2p_test_mock.h50 …virtual int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNon…
83 …MOCK_METHOD3(ConnOpenClientSocket, int32_t (const ConnectOption *option, const char *bindAddr, boo…
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Dlnn_socket_mock.cpp38 int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNonBlock) in ConnOpenClientSocket() function
40 return GetSocketMockInterface()->ConnOpenClientSocket(option, bindAddr, isNonBlock); in ConnOpenClientSocket()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/
H A Dlnn_socket_mock.h30 …virtual int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNon…
49 MOCK_METHOD3(ConnOpenClientSocket, int32_t (const ConnectOption *, const char *, bool));
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_test_enhance.cpp179 ON_CALL(socketMock, ConnOpenClientSocket(_, _, _)).WillByDefault(Return(SOFTBUS_OK));
210 ON_CALL(socketMock, ConnOpenClientSocket(_, _, _)).WillByDefault(Return(2));
246 ON_CALL(socketMock, ConnOpenClientSocket(_, _, _)).WillByDefault(Return(SOFTBUS_OK));
280 ON_CALL(socketMock, ConnOpenClientSocket(_, _, _)).WillByDefault(Return(SOFTBUS_OK));
H A Dauth_test_mock.cpp161 …ON_CALL(*mockInterface->socketMock, ConnOpenClientSocket(_, _, _)).WillByDefault(Return(SOFTBUS_OK… in ClientFSMCreate()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_lane_deps_mock.cpp53 ON_CALL(*this, ConnOpenClientSocket).WillByDefault(Return(SOFTBUS_OK)); in SetDefaultResult()
373 int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNonBlock) in ConnOpenClientSocket() function
375 return GetLaneDepsInterface()->ConnOpenClientSocket(option, bindAddr, isNonBlock); in ConnOpenClientSocket()
H A Dlnn_lane_test.cpp411 EXPECT_CALL(mock, ConnOpenClientSocket).WillRepeatedly(Return(SOFTBUS_CONN_FAIL));
2205 EXPECT_CALL(mock, ConnOpenClientSocket).WillRepeatedly(Return(SOFTBUS_OK));
2256 EXPECT_CALL(mock, ConnOpenClientSocket).WillRepeatedly(Return(SOFTBUS_OK));
2312 EXPECT_CALL(mock, ConnOpenClientSocket)
2351 EXPECT_CALL(mock, ConnOpenClientSocket)
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_socket.h73 int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNonBlock);
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/include/
H A Dlnn_lane_deps_mock.h97 …virtual int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNon…
162 …MOCK_METHOD3(ConnOpenClientSocket, int32_t (const ConnectOption *option, const char *bindAddr, boo…
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_reliability.c94 fd = ConnOpenClientSocket(&option, BIND_ADDR_ALL, true); in ClientConnectTcp()
96 fd = ConnOpenClientSocket(&option, localIp, true); in ClientConnectTcp()
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_wifi.c159 int32_t fd = ConnOpenClientSocket(connInfo, newConn->appInfo.myData.addr, true); in OpenTcpDirectChannel()
H A Dtrans_tcp_direct_p2p.c677 return ConnOpenClientSocket(&options, myIp, true); in ConnectTcpDirectPeer()
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_tcp_connection.c392 int32_t ret = ConnOpenClientSocket(&option, localIp, !isBlockMode); in SocketConnectInner()
440 int32_t ret = ConnOpenClientSocket(&option, localIp, !isBlockMode); in SocketConnectDevice()
489 int32_t fd = ConnOpenClientSocket(&option, BIND_ADDR_ALL, !isBlockMode); in NipSocketConnectDevice()
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c126 int32_t ConnOpenClientSocket(const ConnectOption *option, const char *bindAddr, bool isNonBlock) in ConnOpenClientSocket() function
/ohos5.0/foundation/communication/dsoftbus/core/connection/tcp/src/
H A Dsoftbus_tcp_connect_manager.c523 int32_t fd = ConnOpenClientSocket(option, BIND_ADDR_ALL, true); in TcpConnectDevice()