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.cpp290 std::unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_; member in android::wificond::NetlinkUtilsTest
294 netlink_manager_.reset(new NiceMock<MockNetlinkManager>()); in SetUp()
295 netlink_utils_.reset(new NetlinkUtils(netlink_manager_.get())); in SetUp()
297 ON_CALL(*netlink_manager_, in SetUp()
299 ON_CALL(*netlink_manager_, in SetUp()
311 netlink_manager_->GetFamilyId(), in TEST_F()
313 netlink_manager_->GetSequenceNumber(), in TEST_F()
321 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
333 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
344 EXPECT_CALL(*netlink_manager_, SendMessageAndGetResponses(_, _)). in TEST_F()
[all …]
Dscan_utils_unittest.cpp104 ON_CALL(netlink_manager_, in SetUp()
108 NiceMock<MockNetlinkManager> netlink_manager_; member in android::wificond::ScanUtilsTest
109 ScanUtils scan_utils_{&netlink_manager_};
135 netlink_manager_, in TEST_F()
150 netlink_manager_, in TEST_F()
165 netlink_manager_, in TEST_F()
183 netlink_manager_, in TEST_F()
201 netlink_manager_, in TEST_F()
219 netlink_manager_, in TEST_F()
237 netlink_manager_, in TEST_F()
[all …]
Dserver_unittest.cpp91 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anonbaa49cb50111::ServerTest
95 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
97 new NiceMock<MockScanUtils>(netlink_manager_.get())};
Dap_interface_impl_unittest.cpp72 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anondb2b7d300111::ApInterfaceImplTest
75 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
Dclient_interface_impl_unittest.cpp99 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anon3d73c4fe0111::ClientInterfaceImplTest
102 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
104 new NiceMock<MockScanUtils>(netlink_manager_.get())};
Dscanner_unittest.cpp139 NiceMock<MockNetlinkManager> netlink_manager_; member in android::wificond::ScannerTest
140 NiceMock<MockNetlinkUtils> netlink_utils_{&netlink_manager_};
141 NiceMock<MockScanUtils> scan_utils_{&netlink_manager_};
/system/connectivity/wificond/net/
Dnetlink_utils.cpp99 : netlink_manager_(netlink_manager) { in NetlinkUtils()
100 if (!netlink_manager_->IsStarted()) { in NetlinkUtils()
101 netlink_manager_->Start(); in NetlinkUtils()
113 netlink_manager_->GetFamilyId(), in GetWiphyIndex()
115 netlink_manager_->GetSequenceNumber(), in GetWiphyIndex()
123 if (!netlink_manager_->SendMessageAndGetResponses(get_wiphy, &response)) { in GetWiphyIndex()
137 if (packet->GetMessageType() != netlink_manager_->GetFamilyId()) { in GetWiphyIndex()
163 netlink_manager_->GetFamilyId(), in GetInterfaces()
165 netlink_manager_->GetSequenceNumber(), in GetInterfaces()
172 if (!netlink_manager_->SendMessageAndGetResponses(get_interfaces, &response)) { in GetInterfaces()
[all …]
Dnetlink_utils.h289 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.h201 NetlinkManager* netlink_manager_; variable