Searched refs:WrapperDistributor (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/wrapper/ |
H A D | wrapper_distributor.cpp | 31 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 D | netlink_manager.cpp | 51 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 D | wrapper_distributor.h | 27 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 D | wrapper_distributor_test.cpp | 132 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…
|