Home
last modified time | relevance | path

Searched refs:socketType (Results 1 - 25 of 33) sorted by relevance

12

/foundation/communication/bluetooth/frameworks/inner/c_adapter/
H A Dohos_bt_spp.cpp55 btsocketPara.socketType = BluetoothSocketType(socketPara->socketType); in SppServerCreate()
106 btsocketPara.socketType = BluetoothSocketType(socketPara->socketType); in SppConnect()
H A Dohos_bt_socket.cpp80 if (socketPara->socketType == OHOS_SOCKET_SPP_RFCOMM) { in GetSocketUuidPara()
91 } else if (socketPara->socketType == OHOS_SOCKET_L2CAP_LE) { in GetSocketUuidPara()
94 HILOGE("param socketType invalid. socketType: %{public}d", socketPara->socketType); in GetSocketUuidPara()
115 if (socketPara->socketType == OHOS_SOCKET_L2CAP_LE) { in SocketServerCreate()
128 BtSocketType(socketPara->socketType), socketPara->isEncrypt); in SocketServerCreate()
137 HILOGI("success, serverId: %{public}d, socketType: %{public}d, isEncrypt: %{public}d", serverId, in SocketServerCreate()
138 socketPara->socketType, socketPara->isEncrypt); in SocketServerCreate()
248 BtSocketType(socketPara->socketType), socketPar in SocketConnect()
[all...]
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnet_diag_wrapper_test.cpp371 NetDiagProtocolType socketType = NetDiagProtocolType::PROTOCOL_TYPE_ALL; in HWTEST_F() local
372 auto ret = netDiagWrapper->GetSocketsInfo(socketType, socketInfo); in HWTEST_F()
376 socketType = NetDiagProtocolType::PROTOCOL_TYPE_TCP; in HWTEST_F()
377 ret = netDiagWrapper->GetSocketsInfo(socketType, socketInfo); in HWTEST_F()
381 socketType = NetDiagProtocolType::PROTOCOL_TYPE_UDP; in HWTEST_F()
382 ret = netDiagWrapper->GetSocketsInfo(socketType, socketInfo); in HWTEST_F()
386 socketType = NetDiagProtocolType::PROTOCOL_TYPE_UNIX; in HWTEST_F()
387 ret = netDiagWrapper->GetSocketsInfo(socketType, socketInfo); in HWTEST_F()
391 socketType = NetDiagProtocolType::PROTOCOL_TYPE_RAW; in HWTEST_F()
392 ret = netDiagWrapper->GetSocketsInfo(socketType, socketInf in HWTEST_F()
[all...]
H A Dnetsys_controller_test.cpp782 OHOS::NetsysNative::NetDiagProtocolType socketType = OHOS::NetsysNative::NetDiagProtocolType::PROTOCOL_TYPE_ALL; in HWTEST_F() local
784 auto ret = NetsysController::GetInstance().NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
790 socketType = OHOS::NetsysNative::NetDiagProtocolType::PROTOCOL_TYPE_RAW; in HWTEST_F()
791 ret = NetsysController::GetInstance().NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
797 socketType = OHOS::NetsysNative::NetDiagProtocolType::PROTOCOL_TYPE_TCP; in HWTEST_F()
798 ret = NetsysController::GetInstance().NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
804 socketType = OHOS::NetsysNative::NetDiagProtocolType::PROTOCOL_TYPE_UDP; in HWTEST_F()
805 ret = NetsysController::GetInstance().NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
811 socketType = OHOS::NetsysNative::NetDiagProtocolType::PROTOCOL_TYPE_UNIX; in HWTEST_F()
812 ret = NetsysController::GetInstance().NetDiagGetSocketsInfo(socketType, socketsInf in HWTEST_F()
928 OHOS::NetsysNative::NetDiagProtocolType socketType = OHOS::NetsysNative::NetDiagProtocolType::PROTOCOL_TYPE_ALL; HWTEST_F() local
[all...]
H A Dnetsys_native_service_test.cpp696 NetDiagProtocolType socketType = NetDiagProtocolType::PROTOCOL_TYPE_ALL; in HWTEST_F() local
698 ret = instance_->NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
726 NetDiagProtocolType socketType = NetDiagProtocolType::PROTOCOL_TYPE_ALL; in HWTEST_F() local
728 ret = instance_->NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
H A Dnetsys_controller_service_impl_test.cpp621 OHOS::NetsysNative::NetDiagProtocolType socketType = OHOS::NetsysNative::NetDiagProtocolType::PROTOCOL_TYPE_ALL; in HWTEST_F() local
623 int32_t ret = instance_->NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/include/
H A Dsocket_exec_common.h85 static int MakeLocalSocket(int socketType, bool needNonblock = true) in MakeLocalSocket() argument
87 int sock = socket(AF_UNIX, socketType, 0); in MakeLocalSocket()
/foundation/CastEngine/castengine_wifi_display/services/network/socket/
H A Dsocket_utils.cpp112 bool SocketUtils::CreateSocket(int32_t socketType, int32_t &fd) in CreateSocket() argument
116 if (socketType != SOCK_STREAM && socketType != SOCK_DGRAM) { in CreateSocket()
117 SHARING_LOGE("type error: %{public}d!", socketType); in CreateSocket()
120 fd = socket(AF_INET, socketType, (socketType == SOCK_STREAM ? IPPROTO_TCP : IPPROTO_UDP)); in CreateSocket()
H A Dsocket_utils.h30 static bool CreateSocket(int32_t socketType, int32_t &fd);
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/
H A Dohos_bt_spp.h37 BtSppSocketType socketType; member
H A Dohos_bt_socket.h44 BluetoothSocketType socketType; member
/foundation/communication/dsoftbus/core/adapter/br/mock/
H A Dwrapper_br_interface.c46 socketPara.socketType = OHOS_SPP_SOCKET_RFCOMM; in OpenSppServer()
66 socketPara.socketType = OHOS_SOCKET_SPP_RFCOMM; in ConnectByPort()
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/include/
H A Ddsoftbus_adapter_impl.h94 int32_t InitSocket(SocketInfo info, int32_t socketType, int32_t &socket);
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dnet_diag_wrapper.h45 int32_t GetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo);
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter_impl.cpp353 int32_t DSoftbusAdapterImpl::InitSocket(SocketInfo info, int32_t socketType, int32_t &socket) in InitSocket() argument
373 if (socketType == SOCKET_SERVER) { in InitSocket()
378 } else if (socketType == SOCKET_CLIENT) { in InitSocket()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/
H A Dsockets.h131 FILLP_INT socketType; // get from SockSocket member
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnet_diag_wrapper.cpp143 int32_t NetDiagWrapper::GetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) in GetSocketsInfo() argument
146 switch (socketType) { in GetSocketsInfo()
163 NETNATIVE_LOGE("Unknown protocol type: %{public}d", socketType); in GetSocketsInfo()
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Di_netsys_service.h158 virtual int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) = 0;
H A Dnetsys_native_service_proxy.h123 int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) override;
/foundation/communication/netmanager_base/services/netmanagernative/include/
H A Dnetsys_native_service.h147 int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) override;
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/
H A Dnetsys_native_service_stub_test.cpp437 int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) override
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dnetsys_controller_service_impl.h767 * @param socketType Network protocol.
771 int32_t NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType,
H A Di_netsys_controller_service.h796 * @param socketType Network protocol.
800 virtual int32_t NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType,
H A Dnetsys_controller.h782 * @param socketType Network protocol.
786 int32_t NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType,
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_controller.cpp1209 int32_t NetsysController::NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType, in NetDiagGetSocketsInfo() argument
1218 return netsysService_->NetDiagGetSocketsInfo(socketType, socketsInfo); in NetDiagGetSocketsInfo()

Completed in 20 milliseconds

12