Home
last modified time | relevance | path

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

/system/connectivity/wificond/tests/
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()
80 EXPECT_CALL(*netlink_utils_, in SetUp()
88 netlink_utils_.get(), in SetUp()
93 EXPECT_CALL(*netlink_utils_, in TearDown()
95 EXPECT_CALL(*netlink_utils_, in TearDown()
97 EXPECT_CALL(*netlink_utils_, in TearDown()
105 unique_ptr<NiceMock<MockNetlinkUtils>> netlink_utils_{ member in android::wificond::__anona65506c10111::ClientInterfaceImplTest
123 EXPECT_CALL(*netlink_utils_, in TEST_F()
[all …]
Dap_interface_impl_unittest.cpp77 unique_ptr<NiceMock<MockNetlinkUtils>> netlink_utils_{ member in android::wificond::__anonfea455730111::ApInterfaceImplTest
86 netlink_utils_.get(), in SetUp()
95 EXPECT_CALL(*netlink_utils_, SubscribeStationEvent(kTestInterfaceIndex, _)) in TEST_F()
98 kTestInterfaceName, kTestInterfaceIndex, netlink_utils_.get(), in TEST_F()
117 EXPECT_CALL(*netlink_utils_, SubscribeStationEvent(kTestInterfaceIndex, _)) in TEST_F()
120 kTestInterfaceName, kTestInterfaceIndex, netlink_utils_.get(), in TEST_F()
139 EXPECT_CALL(*netlink_utils_, SubscribeChannelSwitchEvent(kTestInterfaceIndex, _)) in TEST_F()
142 kTestInterfaceName, kTestInterfaceIndex, netlink_utils_.get(), in TEST_F()
Dserver_unittest.cpp83 ON_CALL(*netlink_utils_, GetWiphyIndex(_)).WillByDefault(Return(true)); in SetUp()
84 ON_CALL(*netlink_utils_, GetWiphyIndex(_, _)).WillByDefault(Return(true)); in SetUp()
85 ON_CALL(*netlink_utils_, GetInterfaces(_, _)) in SetUp()
88 ON_CALL(*netlink_utils_, GetWiphyInfo(0, _, _, _)) in SetUp()
97 ON_CALL(*netlink_utils_, GetWiphyInfo(1, _, _, _)) in SetUp()
113 unique_ptr<NiceMock<MockNetlinkUtils>> netlink_utils_{ member in android::wificond::__anone73c30d80111::ServerTest
139 netlink_utils_.get(),
147 EXPECT_CALL(*netlink_utils_, SubscribeRegDomainChange(_, _)); in TEST_F()
172 EXPECT_CALL(*netlink_utils_, UnsubscribeRegDomainChange(_)); in TEST_F()
216 ON_CALL(*netlink_utils_, GetWiphyIndex(_, _)).WillByDefault( in TEST_F()
[all …]
Dnetlink_utils_unittest.cpp363 std::unique_ptr<NetlinkUtils> netlink_utils_; member in android::wificond::NetlinkUtilsTest
367 netlink_utils_.reset(new NetlinkUtils(netlink_manager_.get())); in SetUp()
376 netlink_utils_->supports_split_wiphy_dump_ = supported; in SetSplitWiphyDumpSupported()
397 EXPECT_TRUE(netlink_utils_->GetWiphyIndex(&wiphy_index)); in TEST_F()
409 EXPECT_FALSE(netlink_utils_->GetWiphyIndex(&wiphy_index)); in TEST_F()
419 EXPECT_TRUE(netlink_utils_->SetInterfaceMode(kFakeInterfaceIndex, in TEST_F()
430 EXPECT_FALSE(netlink_utils_->SetInterfaceMode(kFakeInterfaceIndex, in TEST_F()
458 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
498 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
548 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
[all …]
Dscanner_unittest.cpp113 NiceMock<MockNetlinkUtils> netlink_utils_{&netlink_manager_}; member in android::wificond::ScannerTest
117 &if_tool_, &netlink_utils_, &scan_utils_};
/system/connectivity/wificond/
Dclient_interface_impl.cpp113 netlink_utils_(netlink_utils), in ClientInterfaceImpl()
121 netlink_utils_->SubscribeMlmeEvent(
125 netlink_utils_->SubscribeFrameTxStatusEvent(
136 netlink_utils_->SubscribeChannelSwitchEvent(interface_index_,
139 if (!netlink_utils_->GetWiphyInfo(wiphy_index_,
160 netlink_utils_->UnsubscribeFrameTxStatusEvent(interface_index_); in ~ClientInterfaceImpl()
161 netlink_utils_->UnsubscribeMlmeEvent(interface_index_); in ~ClientInterfaceImpl()
162 netlink_utils_->UnsubscribeChannelSwitchEvent(interface_index_); in ~ClientInterfaceImpl()
203 if (!netlink_utils_->GetStationInfo(interface_index_, in GetPacketCounters()
221 if (!netlink_utils_->GetStationInfo(interface_index_, in SignalPoll()
[all …]
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()
Dserver.cpp67 netlink_utils_(netlink_utils), in Server()
139 netlink_utils_, in createApInterface()
203 netlink_utils_, in createClientInterface()
257 netlink_utils_->UnsubscribeRegDomainChange(it.second); in tearDownInterfaces()
300 if (netlink_utils_->GetCountryCode(&country_code)) { in dump()
436 if (!netlink_utils_->GetWiphyInfo(wiphy_index, &band_info, in getDeviceWiphyCapabilities()
462 if (!netlink_utils_->GetWiphyIndex(wiphy_index, iface_name)) { in SetupInterface()
468 netlink_utils_->SubscribeRegDomainChange( in SetupInterface()
476 if (!netlink_utils_->GetInterfaces(*wiphy_index, &debug_interfaces_)) { in SetupInterface()
497 if (netlink_utils_->GetWiphyIndex(&wiphy_index, it.first)) { in handleCountryCodeChanged()
[all …]
Dap_interface_impl.h63 NetlinkUtils* const netlink_utils_; variable
Dclient_interface_impl.h100 NetlinkUtils* const netlink_utils_; variable
Dserver.h143 NetlinkUtils* const netlink_utils_; variable