Searched refs:WrapperDistributor (Results 1 - 4 of 4) sorted by relevance
/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& externMutex) in WrapperDistributor() function in OHOS::nmd::WrapperDistributor 34 NETNATIVE_LOG_D("WrapperDistributor::WrapperDistributor: Socket: %{public}d, Format: %{public}d", socket, format); in WrapperDistributor() 40 int32_t WrapperDistributor::Start() in Start() 45 int32_t WrapperDistributor::Stop() in Stop() 50 int32_t WrapperDistributor::RegisterNetlinkCallbacks( in RegisterNetlinkCallbacks() 62 void WrapperDistributor::HandleDecodeSuccess(const std::shared_ptr<NetsysEventMessage> &message) in HandleDecodeSuccess() 78 void WrapperDistributor::HandleStateChanged(const std::shared_ptr<NetsysEventMessage> &message) in HandleStateChanged() 94 void WrapperDistributor [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, externMutex); in CreateNetlinkDistributor()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/wrapper/ |
H A D | wrapper_distributor.h | 27 class NET_SYMBOL_VISIBLE WrapperDistributor { class 29 WrapperDistributor(int32_t socket, const int32_t format, std::mutex& externMutex); 30 ~WrapperDistributor() = default;
|
/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, TEST_FORMAT, in HWTEST_F() 155 std::unique_ptr<WrapperDistributor> distributor = std::make_unique<WrapperDistributor>(TEST_SOCKET, testFormat, in HWTEST_F()
|
Completed in 3 milliseconds