Home
last modified time | relevance | path

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

/system/connectivity/wificond/tests/
Dnetlink_utils_unittest.cpp362 std::unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_; member in android::wificond::NetlinkUtilsTest
366 netlink_manager_.reset(new NiceMock<MockNetlinkManager>()); in SetUp()
367 netlink_utils_.reset(new NetlinkUtils(netlink_manager_.get())); in SetUp()
369 ON_CALL(*netlink_manager_, in SetUp()
371 ON_CALL(*netlink_manager_, in SetUp()
383 netlink_manager_->GetFamilyId(), in TEST_F()
385 netlink_manager_->GetSequenceNumber(), in TEST_F()
393 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
405 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
416 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
[all …]
Dscan_utils_unittest.cpp105 ON_CALL(netlink_manager_, in SetUp()
109 NiceMock<MockNetlinkManager> netlink_manager_; member in android::wificond::ScanUtilsTest
110 ScanUtils scan_utils_{&netlink_manager_};
136 netlink_manager_, in TEST_F()
151 netlink_manager_, in TEST_F()
166 netlink_manager_, in TEST_F()
184 netlink_manager_, in TEST_F()
204 netlink_manager_, in TEST_F()
222 netlink_manager_, in TEST_F()
240 netlink_manager_, in TEST_F()
[all …]
Dap_interface_impl_unittest.cpp75 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anon12c03e8e0111::ApInterfaceImplTest
78 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
Dclient_interface_impl_unittest.cpp103 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anonca26055c0111::ClientInterfaceImplTest
106 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
108 new NiceMock<MockScanUtils>(netlink_manager_.get())};
Dserver_unittest.cpp110 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anon1e766cd30111::ServerTest
114 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
116 new NiceMock<MockScanUtils>(netlink_manager_.get())};
Dscanner_unittest.cpp110 NiceMock<MockNetlinkManager> netlink_manager_; member in android::wificond::ScannerTest
111 NiceMock<MockNetlinkUtils> netlink_utils_{&netlink_manager_};
112 NiceMock<MockScanUtils> scan_utils_{&netlink_manager_};
/system/connectivity/wificond/net/
Dnetlink_utils.cpp116 : netlink_manager_(netlink_manager) { in NetlinkUtils()
117 if (!netlink_manager_->IsStarted()) { in NetlinkUtils()
118 netlink_manager_->Start(); in NetlinkUtils()
130 netlink_manager_->GetFamilyId(), in GetWiphyIndex()
132 netlink_manager_->GetSequenceNumber(), in GetWiphyIndex()
144 if (!netlink_manager_->SendMessageAndGetResponses(get_wiphy, &response)) { in GetWiphyIndex()
158 if (packet->GetMessageType() != netlink_manager_->GetFamilyId()) { in GetWiphyIndex()
184 netlink_manager_->GetFamilyId(), in GetInterfaces()
186 netlink_manager_->GetSequenceNumber(), in GetInterfaces()
193 if (!netlink_manager_->SendMessageAndGetResponses(get_interfaces, &response)) { in GetInterfaces()
[all …]
Dnetlink_utils.h333 NetlinkManager* netlink_manager_; variable
/system/connectivity/wificond/scanning/
Dscan_utils.cpp50 : netlink_manager_(netlink_manager) { in ScanUtils()
51 if (!netlink_manager_->IsStarted()) { in ScanUtils()
52 netlink_manager_->Start(); in ScanUtils()
61 netlink_manager_->SubscribeScanResultNotification(interface_index, handler); in SubscribeScanResultNotification()
65 netlink_manager_->UnsubscribeScanResultNotification(interface_index); in UnsubscribeScanResultNotification()
71 netlink_manager_->SubscribeSchedScanResultNotification(interface_index, in SubscribeSchedScanResultNotification()
77 netlink_manager_->UnsubscribeSchedScanResultNotification(interface_index); in UnsubscribeSchedScanResultNotification()
83 netlink_manager_->GetFamilyId(), in GetScanResult()
85 netlink_manager_->GetSequenceNumber(), in GetScanResult()
92 if (!netlink_manager_->SendMessageAndGetResponses(get_scan, &response)) { in GetScanResult()
[all …]
Dscan_utils.h202 NetlinkManager* netlink_manager_; variable