/system/connectivity/wificond/tests/ |
D | ap_interface_impl_unittest.cpp | 74 unique_ptr<NiceMock<MockNetlinkUtils>> netlink_utils_{ member in android::wificond::__anondb2b7d300111::ApInterfaceImplTest 83 netlink_utils_.get(), in SetUp() 92 EXPECT_CALL(*netlink_utils_, in TEST_F() 99 netlink_utils_.get(), in TEST_F() 114 EXPECT_CALL(*netlink_utils_, SubscribeStationEvent(kTestInterfaceIndex, _)) in TEST_F() 117 kTestInterfaceName, kTestInterfaceIndex, netlink_utils_.get(), in TEST_F() 137 EXPECT_CALL(*netlink_utils_, SubscribeChannelSwitchEvent(kTestInterfaceIndex, _)) in TEST_F() 140 kTestInterfaceName, kTestInterfaceIndex, netlink_utils_.get(), in TEST_F()
|
D | client_interface_impl_unittest.cpp | 64 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::__anon3d73c4fe0111::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 …]
|
D | netlink_utils_unittest.cpp | 291 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 …]
|
D | server_unittest.cpp | 82 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::__anonbaa49cb50111::ServerTest 117 netlink_utils_.get(), 125 EXPECT_CALL(*netlink_utils_, SubscribeRegDomainChange(_, _)); in TEST_F() 150 EXPECT_CALL(*netlink_utils_, UnsubscribeRegDomainChange(_)); in TEST_F()
|
D | scanner_unittest.cpp | 140 NiceMock<MockNetlinkUtils> netlink_utils_{&netlink_manager_}; member in android::wificond::ScannerTest 144 &if_tool_, &netlink_utils_, &scan_utils_};
|
/system/connectivity/wificond/ |
D | ap_interface_impl.cpp | 44 netlink_utils_(netlink_utils), in ApInterfaceImpl() 52 netlink_utils_->SubscribeStationEvent( in ApInterfaceImpl() 57 netlink_utils_->SubscribeChannelSwitchEvent( in ApInterfaceImpl() 66 netlink_utils_->UnsubscribeStationEvent(interface_index_); in ~ApInterfaceImpl() 67 netlink_utils_->UnsubscribeChannelSwitchEvent(interface_index_); in ~ApInterfaceImpl()
|
D | server.cpp | 60 netlink_utils_(netlink_utils), in Server() 101 netlink_utils_, in createApInterface() 135 netlink_utils_, in createClientInterface() 169 netlink_utils_->UnsubscribeRegDomainChange(wiphy_index_); in tearDownInterfaces() 209 if (netlink_utils_->GetCountryCode(&country_code)) { in dump() 234 if (netlink_utils_->GetWiphyIndex(&wiphy_index) && in MarkDownAllInterfaces() 235 netlink_utils_->GetInterfaces(wiphy_index, &interfaces)) { in MarkDownAllInterfaces() 248 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailable2gChannels() 267 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailable5gNonDFSChannels() 286 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, &band_info, in getAvailableDFSChannels() [all …]
|
D | client_interface_impl.cpp | 112 netlink_utils_(netlink_utils), in ClientInterfaceImpl() 121 netlink_utils_->SubscribeMlmeEvent( 125 netlink_utils_->SubscribeFrameTxStatusEvent( 136 if (!netlink_utils_->GetWiphyInfo(wiphy_index_, 158 netlink_utils_->UnsubscribeFrameTxStatusEvent(interface_index_); in ~ClientInterfaceImpl() 159 netlink_utils_->UnsubscribeMlmeEvent(interface_index_); in ~ClientInterfaceImpl() 200 if (!netlink_utils_->GetStationInfo(interface_index_, in GetPacketCounters() 218 if (!netlink_utils_->GetStationInfo(interface_index_, in SignalPoll() 288 if (!netlink_utils_->SendMgmtFrame(interface_index_, frame, mcs, &cookie)) { in SendMgmtFrame()
|
D | ap_interface_impl.h | 60 NetlinkUtils* const netlink_utils_; variable
|
D | client_interface_impl.h | 99 NetlinkUtils* const netlink_utils_; variable
|
D | server.h | 114 NetlinkUtils* const netlink_utils_; variable
|