Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 25 of 26) sorted by relevance

12

/foundation/communication/bluetooth_service/services/bluetooth/server/src/
Dbluetooth_socket_server.cpp34 …IProfileSocket *socket = (IProfileSocket *)IProfileManager::GetInstance()->GetProfileService(PROFI… in Connect() local
49 …IProfileSocket *socket = (IProfileSocket *)IProfileManager::GetInstance()->GetProfileService(PROFI… in Listen() local
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/core/
Dnstackx_socket.c29 void CloseSocket(Socket *socket) in CloseSocket()
298 Socket *socket = calloc(1, sizeof(Socket)); in ClientSocketWithTargetDev() local
343 Socket *socket = calloc(1, sizeof(Socket)); in ServerSocket() local
462 static int32_t SocketSendUdp(const Socket *socket, const uint8_t *buffer, size_t length) in SocketSendUdp()
473 int32_t SocketSend(const Socket *socket, const uint8_t *buffer, size_t length) in SocketSend()
493 static int32_t SocketRecvTcp(const Socket *socket, uint8_t *buffer, size_t length, struct sockaddr_… in SocketRecvTcp()
503 static int32_t SocketRecvUdp(const Socket *socket, uint8_t *buffer, size_t length, struct sockaddr_… in SocketRecvUdp()
522 int32_t SocketRecv(Socket *socket, uint8_t *buffer, size_t length, struct sockaddr_in *srcAddr, in SocketRecv()
/foundation/communication/bluetooth_service/services/bluetooth/service/src/sock/
Dsocket_service.cpp104 auto socket = std::make_unique<Socket>(); in Connect() local
123 auto socket = std::make_unique<Socket>(); in Listen() local
180 Socket *socket = static_cast<Socket *>(msg.arg2_); in ProcessMessage() local
220 void SocketService::CleanupClientSocket(Socket *socket) in CleanupClientSocket()
Dsocket.cpp136 DataTransportObserverImplement(Socket &socket) : socket_(socket) in DataTransportObserverImplement()
145 void Socket::impl::OnConnectIncomingNative(Socket &socket, RawAddress addr, uint8_t port) in OnConnectIncomingNative()
159 void Socket::impl::OnConnectedNative(Socket &socket, DataTransport *transport, uint16_t sendMTU, ui… in OnConnectedNative()
179 void Socket::impl::OnDisconnectedNative(Socket &socket, DataTransport *transport) in OnDisconnectedNative()
186 void Socket::impl::OnDisconnectSuccessNative(Socket &socket, DataTransport *transport) in OnDisconnectSuccessNative()
193 void Socket::impl::OnDataAvailableNative(Socket &socket, DataTransport *transport) in OnDataAvailableNative()
249 void Socket::impl::OnTransportErrorNative(Socket &socket, DataTransport *transport, int errType) in OnTransportErrorNative()
268 void Socket::impl::SockRfcConnectFail(Socket &socket, DataTransport *transport) in SockRfcConnectFail()
284 void Socket::impl::SockRfcDisconnectFail(Socket &socket, DataTransport *transport) in SockRfcDisconnectFail()
302 void Socket::impl::SockRfcFcOn(Socket &socket, DataTransport *transport) in SockRfcFcOn()
[all …]
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/test/
Dnetlink_listener_mock.h25 explicit NetlinkListenerMock(int32_t socket) : NetlinkListener(socket) {} in NetlinkListenerMock()
Dnetlink_listener_test.cpp49 int32_t socket = -1; variable
70 int32_t socket = 0; variable
Dnetlink_handler_test.cpp49 int32_t socket = -1; variable
71 int32_t socket = 0; variable
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/
Ddata_receiver.cpp31 …listener_ = std::make_unique<WrapperListener>(socketFd, [this](int32_t socket) { this->StartReceiv… in DataReceiver()
49 void DataReceiver::StartReceive(int32_t socket) in StartReceive()
Dwrapper_listener.cpp36 WrapperListener::WrapperListener(int32_t socket, std::function<void(int32_t)> recvFunc) in WrapperListener()
Dwrapper_distributor.cpp31 WrapperDistributor::WrapperDistributor(int32_t socket, const int32_t format) in WrapperDistributor()
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/src/
Dnetlink_handler.cpp25 NetlinkHandler::NetlinkHandler(int32_t socket) : NetlinkListener(socket) {} in NetlinkHandler()
Dnetlink_listener.cpp34 ssize_t UeventKernelMulticastRecv(int32_t socket, char *buffer, size_t length) in UeventKernelMulticastRecv()
210 NetlinkListener::NetlinkListener(int32_t socket) in NetlinkListener()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/
Dwrapper_listener_test.cpp26 WrapperListener::RecvFunc g_func = [](int32_t socket) { std::cout << "Socket :" << socket << std::e… in __anon3861a99f0202()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
Dnstackx_dfile_send.c84 static int32_t TcpSendFileDataFrame(Socket *socket, PeerInfo *peerInfo, List *p, BlockFrame *block,… in TcpSendFileDataFrame()
132 Socket *socket = session->socket[0]; in SendFileDataFrame() local
320 Socket *socket = NULL; in SendControlFrame() local
408 Socket *socket = session->socket[0]; in TcpSocketRecv() local
Dnstackx_dfile.c1024 Socket *socket = ServerSocket(protocol, sockAddr); in DFileRecverInit() local
1211 Socket *socket = ClientSocketWithTargetDev(protocol, sockAddr, localInterface); in DFileSenderInitWithTargetDev() local
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/
Dsoftbus_session_test.cpp99 int32_t socket = g_session->GetHandle(); variable
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/coap_discover/
Dcoap_app.c109 coap_socket_t *socket = task->ptr; in CoAPEpollReadHandle() local
133 coap_socket_t *socket = task->ptr; in CoAPEpollWriteHandle() local
152 coap_socket_t *socket = task->ptr; in CoAPEpollErrorHandle() local
189 coap_socket_t *socket = task->ptr; in CoAPEpollErrorHandle() local
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
Dfwmark_network.cpp47 void CloseSocket(int32_t *socket, int32_t ret, int32_t errorCode) in CloseSocket()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/
Dcoap_app.c163 static int32_t CoapSocketSend(const SocketInfo *socket, const uint8_t *buffer, size_t length) in CoapSocketSend()
194 SocketInfo socket = {0}; in CoapSendMsg() local
/foundation/ability/ability_runtime/test/fuzztest/appmgrrest_fuzzer/
Dappmgrrest_fuzzer.cpp95 std::shared_ptr<AppSpawnSocket> socket; in DoSomethingInterestingWithMyAPI() local
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
Dfwmark_network_test.cpp161 int32_t socket = 32; variable
/foundation/ability/ability_runtime/services/appmgr/src/
Dapp_spawn_client.cpp280 void AppSpawnClient::SetSocket(const std::shared_ptr<AppSpawnSocket> socket) in SetSocket()
/foundation/communication/netstack/interfaces/kits/js/
D@ohos.net.socket.d.ts26 declare namespace socket { namespace
/foundation/communication/dsoftbus/core/authentication/src/
Dauth_tcp_connection.c454 SocketAddr socket; in SocketGetConnInfo() local
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/include/
Dnstackx_dfile_session.h77 Socket *socket[NSTACKX_MULTI_PATH_NUM]; member

12