Home
last modified time | relevance | path

Searched refs:netlink_utils_ (Results 1 – 11 of 11) sorted by relevance

/system/connectivity/wificond/tests/
Dap_interface_impl_unittest.cpp77 unique_ptr<NiceMock<MockNetlinkUtils>> netlink_utils_{ member in android::wificond::__anona04ab4c70111::ApInterfaceImplTest
86 netlink_utils_.get(), in SetUp()
95 EXPECT_CALL(*netlink_utils_, in TEST_F()
102 netlink_utils_.get(), in TEST_F()
127 EXPECT_CALL(*netlink_utils_, in TEST_F()
134 netlink_utils_.get(), in TEST_F()
149 EXPECT_CALL(*netlink_utils_, SubscribeStationEvent(kTestInterfaceIndex, _)) in TEST_F()
152 kTestInterfaceName, kTestInterfaceIndex, netlink_utils_.get(), in TEST_F()
171 EXPECT_CALL(*netlink_utils_, SubscribeStationEvent(kTestInterfaceIndex, _)) in TEST_F()
174 kTestInterfaceName, kTestInterfaceIndex, netlink_utils_.get(), in TEST_F()
[all …]
Dclient_interface_impl_unittest.cpp64 EXPECT_CALL(*netlink_utils_, in SetUp()
66 EXPECT_CALL(*netlink_utils_, in SetUp()
74 EXPECT_CALL(*netlink_utils_, in SetUp()
86 netlink_utils_.get(), in SetUp()
91 EXPECT_CALL(*netlink_utils_, in TearDown()
93 EXPECT_CALL(*netlink_utils_, in TearDown()
101 unique_ptr<NiceMock<MockNetlinkUtils>> netlink_utils_{ member in android::wificond::__anon6802f0150111::ClientInterfaceImplTest
158 EXPECT_CALL(*netlink_utils_, in TEST_F()
198 EXPECT_CALL(*netlink_utils_, in TEST_F()
220 EXPECT_CALL(*netlink_utils_, in TEST_F()
[all …]
Dnetlink_utils_unittest.cpp291 std::unique_ptr<NetlinkUtils> netlink_utils_; member in android::wificond::NetlinkUtilsTest
295 netlink_utils_.reset(new NetlinkUtils(netlink_manager_.get())); in SetUp()
304 netlink_utils_->supports_split_wiphy_dump_ = supported; in SetSplitWiphyDumpSupported()
325 EXPECT_TRUE(netlink_utils_->GetWiphyIndex(&wiphy_index)); in TEST_F()
337 EXPECT_FALSE(netlink_utils_->GetWiphyIndex(&wiphy_index)); in TEST_F()
347 EXPECT_TRUE(netlink_utils_->SetInterfaceMode(kFakeInterfaceIndex, in TEST_F()
358 EXPECT_FALSE(netlink_utils_->SetInterfaceMode(kFakeInterfaceIndex, in TEST_F()
386 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
425 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
474 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
[all …]
Dserver_unittest.cpp82 ON_CALL(*netlink_utils_, GetWiphyIndex(_)).WillByDefault(Return(true)); in SetUp()
83 ON_CALL(*netlink_utils_, GetWiphyIndex(_, _)).WillByDefault(Return(true)); in SetUp()
84 ON_CALL(*netlink_utils_, GetInterfaces(_, _)) in SetUp()
94 unique_ptr<NiceMock<MockNetlinkUtils>> netlink_utils_{ member in android::wificond::__anond5c21cac0111::ServerTest
117 netlink_utils_.get(),
125 EXPECT_CALL(*netlink_utils_, SubscribeRegDomainChange(_, _)); in TEST_F()
150 EXPECT_CALL(*netlink_utils_, UnsubscribeRegDomainChange(_)); in TEST_F()
Dscanner_unittest.cpp108 NiceMock<MockNetlinkUtils> netlink_utils_{&netlink_manager_}; member in android::wificond::ScannerTest
112 &if_tool_, &netlink_utils_, &scan_utils_};
/system/connectivity/wificond/
Dserver.cpp61 netlink_utils_(netlink_utils), in Server()
102 netlink_utils_, in createApInterface()
136 netlink_utils_, in createClientInterface()
170 netlink_utils_->UnsubscribeRegDomainChange(wiphy_index_); in tearDownInterfaces()
210 if (netlink_utils_->GetCountryCode(&country_code)) { in dump()
235 if (netlink_utils_->GetWiphyIndex(&wiphy_index) && in MarkDownAllInterfaces()
236 netlink_utils_->GetInterfaces(wiphy_index, &interfaces)) { in MarkDownAllInterfaces()
249 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailable2gChannels()
267 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailable5gNonDFSChannels()
285 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailableDFSChannels()
[all …]
Dclient_interface_impl.cpp111 netlink_utils_(netlink_utils), in ClientInterfaceImpl()
119 netlink_utils_->SubscribeMlmeEvent(
123 netlink_utils_->SubscribeFrameTxStatusEvent(
134 if (!netlink_utils_->GetWiphyInfo(wiphy_index_,
155 netlink_utils_->UnsubscribeFrameTxStatusEvent(interface_index_); in ~ClientInterfaceImpl()
156 netlink_utils_->UnsubscribeMlmeEvent(interface_index_); in ~ClientInterfaceImpl()
197 if (!netlink_utils_->GetStationInfo(interface_index_, in GetPacketCounters()
215 if (!netlink_utils_->GetStationInfo(interface_index_, in SignalPoll()
285 if (!netlink_utils_->SendMgmtFrame(interface_index_, frame, mcs, &cookie)) { in SendMgmtFrame()
Dap_interface_impl.cpp46 netlink_utils_(netlink_utils), in ApInterfaceImpl()
53 netlink_utils_->SubscribeStationEvent( in ApInterfaceImpl()
58 netlink_utils_->SubscribeChannelSwitchEvent( in ApInterfaceImpl()
67 netlink_utils_->UnsubscribeStationEvent(interface_index_); in ~ApInterfaceImpl()
68 netlink_utils_->UnsubscribeChannelSwitchEvent(interface_index_); in ~ApInterfaceImpl()
Dap_interface_impl.h64 NetlinkUtils* const netlink_utils_; variable
Dclient_interface_impl.h98 NetlinkUtils* const netlink_utils_; variable
Dserver.h114 NetlinkUtils* const netlink_utils_; variable