/system/connectivity/wificond/tests/ |
D | netlink_utils_unittest.cpp | 362 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 …]
|
D | scan_utils_unittest.cpp | 105 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 …]
|
D | ap_interface_impl_unittest.cpp | 75 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anon12c03e8e0111::ApInterfaceImplTest 78 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
|
D | client_interface_impl_unittest.cpp | 103 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())};
|
D | server_unittest.cpp | 110 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())};
|
D | scanner_unittest.cpp | 110 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/ |
D | netlink_utils.cpp | 116 : 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 …]
|
D | netlink_utils.h | 333 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 | 202 NetlinkManager* netlink_manager_; variable
|