/system/connectivity/wificond/net/ |
D | netlink_utils.cpp | 44 : 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 …]
|
D | netlink_utils.h | 211 NetlinkManager* netlink_manager_; variable
|
/system/connectivity/wificond/scanning/ |
D | scan_utils.cpp | 43 : 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 …]
|
D | scan_utils.h | 147 NetlinkManager* netlink_manager_; variable
|
/system/connectivity/wificond/tests/ |
D | netlink_utils_unittest.cpp | 87 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 …]
|
D | scan_utils_unittest.cpp | 96 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()
|
D | client_interface_impl_unittest.cpp | 78 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())};
|
D | server_unittest.cpp | 91 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())};
|
D | ap_interface_impl_unittest.cpp | 65 unique_ptr<NiceMock<MockNetlinkManager>> netlink_manager_{ member in android::wificond::__anona04ab4c70111::ApInterfaceImplTest 68 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
|