Home
last modified time | relevance | path

Searched refs:WrapperDistributor (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/
H A Dwrapper_distributor.cpp31 WrapperDistributor::WrapperDistributor(int32_t socket, const int32_t format, std::mutex& externMute… in WrapperDistributor() function in OHOS::nmd::WrapperDistributor
40 int32_t WrapperDistributor::Start() in Start()
45 int32_t WrapperDistributor::Stop() in Stop()
50 int32_t WrapperDistributor::RegisterNetlinkCallbacks( in RegisterNetlinkCallbacks()
78 void WrapperDistributor::HandleStateChanged(const std::shared_ptr<NetsysEventMessage> &message) in HandleStateChanged()
94 void WrapperDistributor::HandleSubSysNet(const std::shared_ptr<NetsysEventMessage> &message) in HandleSubSysNet()
157 void WrapperDistributor::HandleSubSysQlog(const std::shared_ptr<NetsysEventMessage> &message) in HandleSubSysQlog()
168 void WrapperDistributor::NotifyInterfaceAdd(const std::string &ifName) in NotifyInterfaceAdd()
183 void WrapperDistributor::NotifyInterfaceRemove(const std::string &ifName) in NotifyInterfaceRemove()
198 void WrapperDistributor::NotifyInterfaceChange(const std::string &ifName, bool up) in NotifyInterfaceChange()
[all …]
H A Dnetlink_manager.cpp51 std::map<int32_t, std::unique_ptr<WrapperDistributor>> distributorMap_;
92 …distributorMap_[netlinkType] = std::make_unique<WrapperDistributor>(socketFd, param.format, extern… in CreateNetlinkDistributor()
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/wrapper/
H A Dwrapper_distributor.h27 class NET_SYMBOL_VISIBLE WrapperDistributor {
29 WrapperDistributor(int32_t socket, const int32_t format, std::mutex& externMutex);
30 ~WrapperDistributor() = default;
/ohos5.0/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/
H A Dwrapper_distributor_test.cpp132 static inline std::shared_ptr<WrapperDistributor> instance_ =
133 std::make_shared<WrapperDistributor>(TEST_SOCKET, TEST_FORMAT, EXTERN_MUTEX);
147 …std::unique_ptr<WrapperDistributor> receiver = std::make_unique<WrapperDistributor>(testSocket, TE…
155 …std::unique_ptr<WrapperDistributor> distributor = std::make_unique<WrapperDistributor>(TEST_SOCKET…