Home
last modified time | relevance | path

Searched refs:netlink_manager_ (Results 1 – 9 of 9) sorted by relevance

/system/connectivity/wificond/net/
Dnetlink_utils.cpp44 : netlink_manager_(netlink_manager) { in NetlinkUtils()
45 if (!netlink_manager_->IsStarted()) { in NetlinkUtils()
46 netlink_manager_->Start(); in NetlinkUtils()
54 netlink_manager_->GetFamilyId(), in GetWiphyIndex()
56 netlink_manager_->GetSequenceNumber(), in GetWiphyIndex()
60 if (!netlink_manager_->SendMessageAndGetResponses(get_wiphy, &response)) { in GetWiphyIndex()
74 if (packet->GetMessageType() != netlink_manager_->GetFamilyId()) { in GetWiphyIndex()
96 netlink_manager_->GetFamilyId(), in GetInterfaces()
98 netlink_manager_->GetSequenceNumber(), in GetInterfaces()
105 if (!netlink_manager_->SendMessageAndGetResponses(get_interfaces, &response)) { in GetInterfaces()
[all …]
Dnetlink_utils.h211 NetlinkManager* netlink_manager_; variable
/system/connectivity/wificond/scanning/
Dscan_utils.cpp43 : netlink_manager_(netlink_manager) { in ScanUtils()
44 if (!netlink_manager_->IsStarted()) { in ScanUtils()
45 netlink_manager_->Start(); in ScanUtils()
54 netlink_manager_->SubscribeScanResultNotification(interface_index, handler); in SubscribeScanResultNotification()
58 netlink_manager_->UnsubscribeScanResultNotification(interface_index); in UnsubscribeScanResultNotification()
64 netlink_manager_->SubscribeSchedScanResultNotification(interface_index, in SubscribeSchedScanResultNotification()
70 netlink_manager_->UnsubscribeSchedScanResultNotification(interface_index); in UnsubscribeSchedScanResultNotification()
76 netlink_manager_->GetFamilyId(), in GetScanResult()
78 netlink_manager_->GetSequenceNumber(), in GetScanResult()
85 if (!netlink_manager_->SendMessageAndGetResponses(get_scan, &response)) { in GetScanResult()
[all …]
Dscan_utils.h147 NetlinkManager* netlink_manager_; variable
/system/connectivity/wificond/tests/
Dnetlink_utils_unittest.cpp87 std::unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_; member in android::wificond::NetlinkUtilsTest
91 netlink_manager_.reset(new NiceMock<MockNetlinkManager>()); in SetUp()
92 netlink_utils_.reset(new NetlinkUtils(netlink_manager_.get())); in SetUp()
94 ON_CALL(*netlink_manager_, in SetUp()
96 ON_CALL(*netlink_manager_, in SetUp()
112 netlink_manager_->GetFamilyId(), in TEST_F()
114 netlink_manager_->GetSequenceNumber(), in TEST_F()
122 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
134 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
145 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
[all …]
Dscan_utils_unittest.cpp96 ON_CALL(netlink_manager_, in SetUp()
100 NiceMock<MockNetlinkManager> netlink_manager_; member in android::wificond::ScanUtilsTest
101 ScanUtils scan_utils_{&netlink_manager_};
112 netlink_manager_, in TEST_F()
127 netlink_manager_, in TEST_F()
141 netlink_manager_, in TEST_F()
152 netlink_manager_, in TEST_F()
168 netlink_manager_, in TEST_F()
Dclient_interface_impl_unittest.cpp78 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anon6802f0150111::ClientInterfaceImplTest
81 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
83 new NiceMock<MockScanUtils>(netlink_manager_.get())};
Dserver_unittest.cpp91 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anond5c21cac0111::ServerTest
95 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
97 new NiceMock<MockScanUtils>(netlink_manager_.get())};
Dap_interface_impl_unittest.cpp65 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anona04ab4c70111::ApInterfaceImplTest
68 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};