/system/connectivity/wificond/tests/ |
D | netlink_utils_unittest.cpp | 290 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 …]
|
D | scan_utils_unittest.cpp | 104 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 …]
|
D | server_unittest.cpp | 91 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())};
|
D | ap_interface_impl_unittest.cpp | 72 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anondb2b7d300111::ApInterfaceImplTest 75 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
|
D | client_interface_impl_unittest.cpp | 99 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())};
|
D | scanner_unittest.cpp | 139 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/ |
D | netlink_utils.cpp | 99 : 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 …]
|
D | netlink_utils.h | 289 NetlinkManager* netlink_manager_; variable
|
/system/connectivity/wificond/scanning/ |
D | scan_utils.cpp | 50 : 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 …]
|
D | scan_utils.h | 201 NetlinkManager* netlink_manager_; variable
|