/foundation/communication/bluetooth/frameworks/inner/c_adapter/ |
H A D | ohos_bt_spp.cpp | 55 btsocketPara.socketType = BluetoothSocketType(socketPara->socketType); in SppServerCreate() 106 btsocketPara.socketType = BluetoothSocketType(socketPara->socketType); in SppConnect()
|
H A D | ohos_bt_socket.cpp | 80 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 D | net_diag_wrapper_test.cpp | 371 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 D | netsys_controller_test.cpp | 782 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 D | netsys_native_service_test.cpp | 696 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 D | netsys_controller_service_impl_test.cpp | 621 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 D | socket_exec_common.h | 85 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 D | socket_utils.cpp | 112 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 D | socket_utils.h | 30 static bool CreateSocket(int32_t socketType, int32_t &fd);
|
/foundation/communication/bluetooth/interfaces/inner_api/include/c_header/ |
H A D | ohos_bt_spp.h | 37 BtSppSocketType socketType; member
|
H A D | ohos_bt_socket.h | 44 BluetoothSocketType socketType; member
|
/foundation/communication/dsoftbus/core/adapter/br/mock/ |
H A D | wrapper_br_interface.c | 46 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 D | dsoftbus_adapter_impl.h | 94 int32_t InitSocket(SocketInfo info, int32_t socketType, int32_t &socket);
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | net_diag_wrapper.h | 45 int32_t GetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo);
|
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter_impl.cpp | 353 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 D | sockets.h | 131 FILLP_INT socketType; // get from SockSocket member
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | net_diag_wrapper.cpp | 143 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 D | i_netsys_service.h | 158 virtual int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) = 0;
|
H A D | netsys_native_service_proxy.h | 123 int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) override;
|
/foundation/communication/netmanager_base/services/netmanagernative/include/ |
H A D | netsys_native_service.h | 147 int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) override;
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/ |
H A D | netsys_native_service_stub_test.cpp | 437 int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) override
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | netsys_controller_service_impl.h | 767 * @param socketType Network protocol. 771 int32_t NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType,
|
H A D | i_netsys_controller_service.h | 796 * @param socketType Network protocol. 800 virtual int32_t NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType,
|
H A D | netsys_controller.h | 782 * @param socketType Network protocol. 786 int32_t NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType,
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | netsys_controller.cpp | 1209 int32_t NetsysController::NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType, in NetDiagGetSocketsInfo() argument 1218 return netsysService_->NetDiagGetSocketsInfo(socketType, socketsInfo); in NetDiagGetSocketsInfo()
|