/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | net_diag_wrapper.h | 45 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 D | netsys_controller_test.cpp | 783 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 D | netsys_native_service_test.cpp | 697 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 D | netsys_controller_service_impl_test.cpp | 622 OHOS::NetsysNative::NetDiagSocketsInfo socketsInfo; in HWTEST_F() local 623 int32_t ret = instance_->NetDiagGetSocketsInfo(socketType, socketsInfo); in HWTEST_F()
|
H A D | netsys_native_service_stub_test.cpp | 459 int32_t NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) override
|
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/ |
H A D | netsys_net_diag_data.cpp | 422 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 D | netsys_native_service_proxy.cpp | 2232 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 D | net_diag_wrapper.cpp | 143 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 D | netsys_net_diag_data.h | 127 static bool Unmarshalling(Parcel &parcel, NetDiagSocketsInfo &socketsInfo);
|
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 | 768 * @param socketsInfo The result of network sockets info. 772 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) override;
|
H A D | i_netsys_controller_service.h | 797 * @param socketsInfo The result of network sockets info. 801 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo) = 0;
|
H A D | netsys_controller.h | 783 * @param socketsInfo The result of network sockets info. 787 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo);
|
H A D | netsys_native_client.h | 809 * @param socketsInfo The result of network sockets info. 813 OHOS::NetsysNative::NetDiagSocketsInfo &socketsInfo);
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | netsys_controller.cpp | 1210 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 D | netsys_controller_service_impl.cpp | 739 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 D | netsys_native_client.cpp | 1410 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 D | netsys_native_service.cpp | 799 int32_t NetsysNativeService::NetDiagGetSocketsInfo(NetDiagProtocolType socketType, NetDiagSocketsInfo &socketsInfo) in NetDiagGetSocketsInfo() argument 805 return netDiagWrapper->GetSocketsInfo(socketType, socketsInfo); in NetDiagGetSocketsInfo()
|
H A D | netsys_native_service_stub.cpp | 1530 NetDiagSocketsInfo socketsInfo; in CmdNetDiagGetSocketsInfo() local 1531 int32_t result = NetDiagGetSocketsInfo(static_cast<NetDiagProtocolType>(socketType), socketsInfo); in CmdNetDiagGetSocketsInfo() 1537 if (!socketsInfo.Marshalling(reply)) { in CmdNetDiagGetSocketsInfo()
|