Lines Matching refs:interfaces
385 vector<InterfaceInfo> interfaces; in TEST_F() local
386 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
387 EXPECT_TRUE(interfaces.size() == 1); in TEST_F()
388 EXPECT_EQ(kFakeInterfaceIndex, interfaces[0].index); in TEST_F()
389 EXPECT_EQ(string(kFakeInterfaceName), interfaces[0].name); in TEST_F()
390 EXPECT_EQ(if_mac_addr, interfaces[0].mac_address); in TEST_F()
424 vector<InterfaceInfo> interfaces; in TEST_F() local
425 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
426 EXPECT_TRUE(interfaces.size() == 1); in TEST_F()
427 EXPECT_EQ(kFakeInterfaceIndex, interfaces[0].index); in TEST_F()
428 EXPECT_EQ(string(kFakeInterfaceName), interfaces[0].name); in TEST_F()
429 EXPECT_EQ(if_mac_addr, interfaces[0].mac_address); in TEST_F()
473 vector<InterfaceInfo> interfaces; in TEST_F() local
474 EXPECT_TRUE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()
475 EXPECT_TRUE(interfaces.size() == 2); in TEST_F()
477 EXPECT_EQ(kFakeInterfaceIndex1, interfaces[0].index); in TEST_F()
478 EXPECT_EQ(string("p2p0"), interfaces[0].name); in TEST_F()
479 EXPECT_EQ(if_mac_addr_p2p, interfaces[0].mac_address); in TEST_F()
481 EXPECT_EQ(kFakeInterfaceIndex, interfaces[1].index); in TEST_F()
482 EXPECT_EQ(string(kFakeInterfaceName), interfaces[1].name); in TEST_F()
483 EXPECT_EQ(if_mac_addr, interfaces[1].mac_address); in TEST_F()
493 vector<InterfaceInfo> interfaces; in TEST_F() local
494 EXPECT_FALSE(netlink_utils_->GetInterfaces(kFakeWiphyIndex, &interfaces)); in TEST_F()