Home
last modified time | relevance | path

Searched refs:SocketInterface (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/
H A Dlnn_socket_mock.h28 virtual const SocketInterface* GetSocketInterface(ProtocolType protocolType) = 0;
29 virtual int32_t RegistSocketProtocol(const SocketInterface* interface) = 0;
47 MOCK_METHOD1(GetSocketInterface, const SocketInterface*(ProtocolType));
48 MOCK_METHOD1(RegistSocketProtocol, int32_t (const SocketInterface*));
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/
H A Dsoftbus_socket.h57 typedef struct SocketInterface { struct
64 } SocketInterface; argument
69 const SocketInterface *GetSocketInterface(ProtocolType protocolType);
71 int32_t RegistSocketProtocol(const SocketInterface *interface);
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Dlnn_socket_mock.cpp43 const SocketInterface* GetSocketInterface(ProtocolType protocolType) in GetSocketInterface()
48 int32_t RegistSocketProtocol(const SocketInterface* interface) in RegistSocketProtocol()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/tcp/
H A Dtcp_manager_test.cpp840 const SocketInterface *tcp = GetTcpProtocol();
875 const SocketInterface *tcp = GetTcpProtocol();
909 const SocketInterface *tcp = GetTcpProtocol();
940 const SocketInterface *tcp = GetTcpProtocol();
976 const SocketInterface *tcp = GetTcpProtocol();
1016 const SocketInterface *tcp = GetTcpProtocol();
1302 const SocketInterface *tcp = GetTcpProtocol();
1328 const SocketInterface *tcp = GetTcpProtocol();
1351 const SocketInterface *tcp = GetTcpProtocol();
1391 const SocketInterface *tcp = GetTcpProtocol();
[all …]
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_socket.c37 static const SocketInterface *g_socketInterfaces[MAX_SOCKET_TYPE] = { 0 };
40 int32_t RegistSocketProtocol(const SocketInterface *interface) in RegistSocketProtocol()
68 const SocketInterface *GetSocketInterface(ProtocolType protocolType) in GetSocketInterface()
75 const SocketInterface *result = NULL; in GetSocketInterface()
131 const SocketInterface *socketInterface = GetSocketInterface(option->socketOption.protocol); in ConnOpenClientSocket()
313 const SocketInterface *socketInterface = GetSocketInterface(LNN_PROTOCOL_IP); in ConnGetLocalSocketPort()
H A Dsoftbus_tcp_socket.c439 const SocketInterface *GetTcpProtocol(void) in GetTcpProtocol()
441 static SocketInterface tcpSocketIntf = { in GetTcpProtocol()
H A Dsoftbus_base_listener.c71 const SocketInterface *socketIf;
372 const SocketInterface *socketIf = GetSocketInterface(protocol); in StartServerListenUnsafe()
838 const SocketInterface *socketIf, const SoftbusBaseListener *listener, int32_t wakeupTrace) in ProcessSpecifiedServerAcceptEvent()
977 const SocketInterface *socketIf = node->socketIf; in ProcessSpecifiedListenerNodeEvent()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/common/unittest/
H A Dsoftbus_conn_common_test.cpp379 const SocketInterface *tcp = GetTcpProtocol();
419 const SocketInterface *tcp = GetTcpProtocol();
456 const SocketInterface *tcp = GetTcpProtocol();
472 const SocketInterface *tcp = GetTcpProtocol();
491 const SocketInterface *tcp = GetTcpProtocol();
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/include/
H A Dsoftbus_tcp_socket.h34 const SocketInterface *GetTcpProtocol(void);
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/file/src/
H A Dfile_adapter.c148 const SocketInterface *interface = GetSocketInterface(LNN_PROTOCOL_IP); in CreateServerSocket()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_test.cpp2155 const SocketInterface *tcp = GetTcpProtocol();