Home
last modified time | relevance | path

Searched refs:socketsInfo (Results 1 - 22 of 22) sorted by relevance

/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dnet_diag_wrapper.h45 int32_t GetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo);
59 void ExtractNetProtoSocketsInfo(const std::smatch &match, NetDiagSocketsInfo &socketsInfo);
60 void ExtractUnixSocketsInfo(const std::smatch &match, NetDiagSocketsInfo &socketsInfo);
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnetsys_controller_test.cpp783 OHOS::NetsysNative::NetDiagSocketsInfo socketsInfo; in HWTEST_F() local
784 auto ret = NetsysController::GetInstance().NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
786 ShowSocketInfo(socketsInfo); in HWTEST_F()
788 socketsInfo.unixSocketsInfo_.clear(); in HWTEST_F()
789 socketsInfo.netProtoSocketsInfo_.clear(); in HWTEST_F()
791 ret = NetsysController::GetInstance().NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
793 ShowSocketInfo(socketsInfo); in HWTEST_F()
795 socketsInfo.unixSocketsInfo_.clear(); in HWTEST_F()
796 socketsInfo.netProtoSocketsInfo_.clear(); in HWTEST_F()
798 ret = NetsysController::GetInstance().NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
929 OHOS::NetsysNative::NetDiagSocketsInfo socketsInfo = {}; HWTEST_F() local
[all...]
H A Dnetsys_native_service_test.cpp697 NetDiagSocketsInfo socketsInfo; in HWTEST_F() local
698 ret = instance_->NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
727 NetDiagSocketsInfo socketsInfo; in HWTEST_F() local
728 ret = instance_->NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
H A Dnetsys_controller_service_impl_test.cpp622 OHOS::NetsysNative::NetDiagSocketsInfo socketsInfo; in HWTEST_F() local
623 int32_t ret = instance_->NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
H A Dnetsys_native_service_stub_test.cpp459 int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) override
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/
H A Dnetsys_net_diag_data.cpp422 bool NetDiagSocketsInfo::Unmarshalling(Parcel &parcel, NetDiagSocketsInfo &socketsInfo) in Unmarshalling() argument
424 std::list<NetDiagUnixSocketInfo>().swap(socketsInfo.unixSocketsInfo_); in Unmarshalling()
425 std::list<NeyDiagNetProtoSocketInfo>().swap(socketsInfo.netProtoSocketsInfo_); in Unmarshalling()
437 socketsInfo.unixSocketsInfo_.push_back(socketInfo); in Unmarshalling()
450 socketsInfo.netProtoSocketsInfo_.push_back(socketInfo); in Unmarshalling()
H A Dnetsys_native_service_proxy.cpp2232 int32_t NetsysNativeServiceProxy::NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) in NetDiagGetSocketsInfo() argument
2263 if (!NetDiagSocketsInfo::Unmarshalling(reply, socketsInfo)) { in NetDiagGetSocketsInfo()
/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
180 ExtractNetProtoSocketsInfo(match, socketsInfo); in GetSocketsInfo()
185 ExtractUnixSocketsInfo(match, socketsInfo); in GetSocketsInfo()
487 void NetDiagWrapper::ExtractNetProtoSocketsInfo(const std::smatch &match, NetDiagSocketsInfo &socketsInfo) in ExtractNetProtoSocketsInfo() argument
515 socketsInfo.netProtoSocketsInfo_.push_back(socketInfo); in ExtractNetProtoSocketsInfo()
518 void NetDiagWrapper::ExtractUnixSocketsInfo(const std::smatch &match, NetDiagSocketsInfo &socketsInfo) in ExtractUnixSocketsInfo() argument
542 socketsInfo.unixSocketsInfo_.push_back(socketInfo); in ExtractUnixSocketsInfo()
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Dnetsys_net_diag_data.h127 static bool Unmarshalling(Parcel &parcel, NetDiagSocketsInfo &socketsInfo);
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.h768 * @param socketsInfo The result of network sockets info.
772 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) override;
H A Di_netsys_controller_service.h797 * @param socketsInfo The result of network sockets info.
801 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) = 0;
H A Dnetsys_controller.h783 * @param socketsInfo The result of network sockets info.
787 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo);
H A Dnetsys_native_client.h809 * @param socketsInfo The result of network sockets info.
813 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo);
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_controller.cpp1210 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) in NetDiagGetSocketsInfo()
1218 return netsysService_->NetDiagGetSocketsInfo(socketType, socketsInfo); in NetDiagGetSocketsInfo()
1209 NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType, OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) NetDiagGetSocketsInfo() argument
H A Dnetsys_controller_service_impl.cpp739 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) in NetDiagGetSocketsInfo()
742 return netsysClient_.NetDiagGetSocketsInfo(socketType, socketsInfo); in NetDiagGetSocketsInfo()
738 NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType, OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) NetDiagGetSocketsInfo() argument
H A Dnetsys_native_client.cpp1410 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) in NetDiagGetSocketsInfo()
1417 return proxy->NetDiagGetSocketsInfo(socketType, socketsInfo); in NetDiagGetSocketsInfo()
1409 NetDiagGetSocketsInfo(OHOS::NetsysNative::NetDiagProtocolType socketType, OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) NetDiagGetSocketsInfo() argument
/foundation/communication/netmanager_base/services/netmanagernative/src/
H A Dnetsys_native_service.cpp799 int32_t NetsysNativeService::NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) in NetDiagGetSocketsInfo() argument
805 return netDiagWrapper->GetSocketsInfo(socketType, socketsInfo); in NetDiagGetSocketsInfo()
H A Dnetsys_native_service_stub.cpp1530 NetDiagSocketsInfo socketsInfo; in CmdNetDiagGetSocketsInfo() local
1531 int32_t result = NetDiagGetSocketsInfo(static_cast<NetDiagProtocolType>(socketType), socketsInfo); in CmdNetDiagGetSocketsInfo()
1537 if (!socketsInfo.Marshalling(reply)) { in CmdNetDiagGetSocketsInfo()

Completed in 34 milliseconds