Home
last modified time | relevance | path

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

/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_wifi_test.cpp129 EXPECT_CALL(TcpWifiMock, CreateNewSessinConn).WillOnce(Return(conn));
179 EXPECT_CALL(TcpWifiMock, CreateNewSessinConn).WillOnce(Return(nullptr));
207 EXPECT_CALL(TcpWifiMock, CreateNewSessinConn).WillOnce(Return(conn));
233 EXPECT_CALL(TcpWifiMock, CreateNewSessinConn).WillOnce(Return(conn));
260 EXPECT_CALL(TcpWifiMock, CreateNewSessinConn).WillOnce(Return(conn));
289 EXPECT_CALL(TcpWifiMock, CreateNewSessinConn).WillOnce(Return(conn));
317 EXPECT_CALL(TcpWifiMock, CreateNewSessinConn).WillOnce(Return(conn));
H A Dtrans_server_tcp_direct_test.cpp96 g_conn = CreateNewSessinConn(DIRECT_CHANNEL_CLIENT, false); in TestAddTestSessionConn()
204 SessionConn *session = CreateNewSessinConn(DIRECT_CHANNEL_CLIENT, isServerSide); in TestAddSessionConn()
295 tmpSessionConn = CreateNewSessinConn(DIRECT_CHANNEL_CLIENT, false);
H A Dtrans_tcp_direct_p2p_mock_test.cpp875 EXPECT_CALL(TcpP2pDirectMock, CreateNewSessinConn).WillOnce(Return(nullptr));
879 EXPECT_CALL(TcpP2pDirectMock, CreateNewSessinConn).WillRepeatedly(Return(conn));
948 EXPECT_CALL(TcpP2pDirectMock, CreateNewSessinConn).WillRepeatedly(Return(nullptr));
958 EXPECT_CALL(TcpP2pDirectMock, CreateNewSessinConn).WillRepeatedly(Return(conn));
H A Dtrans_tcp_direct_message_test.cpp264 SessionConn *session = CreateNewSessinConn(AUTH_P2P, true);
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/
H A Dtrans_tcp_direct_wifi_test_mock.cpp39 SessionConn *CreateNewSessinConn(ListenerModule module, bool isServerSid) in CreateNewSessinConn() function
41 return GetTransTcpDirectWifiInterface()->CreateNewSessinConn(module, isServerSid); in CreateNewSessinConn()
H A Dtrans_tcp_direct_wifi_test_mock.h31 virtual SessionConn *CreateNewSessinConn(ListenerModule module, bool isServerSid) = 0;
45 MOCK_METHOD2(CreateNewSessinConn, SessionConn * (ListenerModule module, bool isServerSid));
H A Dtrans_tcp_direct_p2p_test_mock.cpp155 SessionConn *CreateNewSessinConn(ListenerModule module, bool isServerSid) in CreateNewSessinConn() function
157 return GetTransTcpDirectP2pInterface()->CreateNewSessinConn(module, isServerSid); in CreateNewSessinConn()
H A Dtrans_tcp_direct_p2p_test_mock.h58 virtual SessionConn *CreateNewSessinConn(ListenerModule module, bool isServerSid) = 0;
91 MOCK_METHOD2(CreateNewSessinConn, SessionConn *(ListenerModule module, bool isServerSid));
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/include/
H A Dtrans_tcp_direct_sessionconn.h95 SessionConn *CreateNewSessinConn(ListenerModule module, bool isServerSid);
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/
H A Dtrans_tcp_direct_wifi.c128 SessionConn *newConn = CreateNewSessinConn(module, false); in OpenTcpDirectChannel()
H A Dtrans_tcp_direct_sessionconn.c143 SessionConn *CreateNewSessinConn(ListenerModule module, bool isServerSid) in CreateNewSessinConn() function
H A Dtrans_tcp_direct_p2p.c986 *conn = CreateNewSessinConn(DIRECT_CHANNEL_SERVER_P2P, false); in BuildSessionConn()