Home
last modified time | relevance | path

Searched refs:kFakeInterfaceIndex (Results 1 – 4 of 4) sorted by relevance

/system/connectivity/wificond/tests/
Dscan_utils_unittest.cpp51 constexpr uint32_t kFakeInterfaceIndex = 12; variable
144 scan_utils_.GetScanResult(kFakeInterfaceIndex, &scan_results); in TEST_F()
156 EXPECT_TRUE(scan_utils_.Scan(kFakeInterfaceIndex, kFakeUseRandomMAC, in TEST_F()
175 EXPECT_TRUE(scan_utils_.Scan(kFakeInterfaceIndex, true, in TEST_F()
193 EXPECT_TRUE(scan_utils_.Scan(kFakeInterfaceIndex, false, in TEST_F()
211 EXPECT_TRUE(scan_utils_.Scan(kFakeInterfaceIndex, false, in TEST_F()
229 EXPECT_TRUE(scan_utils_.Scan(kFakeInterfaceIndex, false, in TEST_F()
249 EXPECT_TRUE(scan_utils_.Scan(kFakeInterfaceIndex, true, in TEST_F()
263 EXPECT_FALSE(scan_utils_.Scan(kFakeInterfaceIndex, kFakeUseRandomMAC, in TEST_F()
282 kFakeInterfaceIndex, in TEST_F()
[all …]
Dscanner_unittest.cpp58 constexpr uint32_t kFakeInterfaceIndex = 12; variable
164 scanner_impl_.reset(new ScannerImpl(kFakeInterfaceIndex, in TEST_F()
177 ScannerImpl scanner_impl(kFakeInterfaceIndex, scan_capabilities_, in TEST_F()
192 ScannerImpl scanner_impl(kFakeInterfaceIndex, scan_capabilities_, in TEST_F()
207 ScannerImpl scanner_impl(kFakeInterfaceIndex, scan_capabilities_, in TEST_F()
221 ScannerImpl scanner_impl(kFakeInterfaceIndex, scan_capabilities_, in TEST_F()
235 ScannerImpl scanner_impl(kFakeInterfaceIndex, scan_capabilities_, in TEST_F()
249 ScannerImpl scanner_impl(kFakeInterfaceIndex, scan_capabilities_, in TEST_F()
260 scanner_impl_.reset(new ScannerImpl(kFakeInterfaceIndex, in TEST_F()
277 scanner_impl_.reset(new ScannerImpl(kFakeInterfaceIndex, in TEST_F()
[all …]
Dnetlink_utils_unittest.cpp69 const uint32_t kFakeInterfaceIndex = 34; variable
347 EXPECT_TRUE(netlink_utils_->SetInterfaceMode(kFakeInterfaceIndex, in TEST_F()
358 EXPECT_FALSE(netlink_utils_->SetInterfaceMode(kFakeInterfaceIndex, in TEST_F()
372 NL80211Attr<uint32_t> if_index_attr(NL80211_ATTR_IFINDEX, kFakeInterfaceIndex); in TEST_F()
388 EXPECT_EQ(kFakeInterfaceIndex, interfaces[0].index); in TEST_F()
413 NL80211_ATTR_IFINDEX, kFakeInterfaceIndex)); in TEST_F()
427 EXPECT_EQ(kFakeInterfaceIndex, interfaces[0].index); in TEST_F()
443 NL80211Attr<uint32_t>(NL80211_ATTR_IFINDEX, kFakeInterfaceIndex)); in TEST_F()
481 EXPECT_EQ(kFakeInterfaceIndex, interfaces[1].index); in TEST_F()
877 EXPECT_TRUE(netlink_utils_->SendMgmtFrame(kFakeInterfaceIndex, in TEST_F()
[all …]
Dserver_unittest.cpp54 const uint32_t kFakeInterfaceIndex = 34; variable
101 kFakeInterfaceIndex,