Home
last modified time | relevance | path

Searched refs:if_name (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/wificond/tests/integration/
Dap_interface_test.cpp63 string if_name; in TEST() local
64 EXPECT_TRUE(ap_interface->getInterfaceName(&if_name).isOk()); in TEST()
65 EXPECT_TRUE(!if_name.empty()); in TEST()
67 EXPECT_FALSE(if_tool.GetUpState(if_name.c_str())); in TEST()
70 EXPECT_TRUE(if_tool.SetUpState(if_name.c_str(), true)); in TEST()
71 EXPECT_TRUE(if_tool.GetUpState(if_name.c_str())); in TEST()
80 EXPECT_FALSE(if_tool.GetUpState(if_name.c_str())); in TEST()
93 string if_name; in TEST() local
94 EXPECT_TRUE(ap_interface->getInterfaceName(&if_name).isOk()); in TEST()
95 EXPECT_TRUE(!if_name.empty()); in TEST()
[all …]
Dclient_interface_test.cpp57 string if_name; in TEST() local
58 EXPECT_TRUE(client_interface->getInterfaceName(&if_name).isOk()); in TEST()
59 EXPECT_TRUE(!if_name.empty()); in TEST()
61 EXPECT_FALSE(if_tool.GetUpState(if_name.c_str())); in TEST()
64 EXPECT_TRUE(if_tool.SetUpState(if_name.c_str(), true)); in TEST()
65 EXPECT_TRUE(if_tool.GetUpState(if_name.c_str())); in TEST()
74 EXPECT_FALSE(if_tool.GetUpState(if_name.c_str())); in TEST()
/system/connectivity/wificond/net/
Dnetlink_utils.cpp146 string if_name; in GetInterfaces() local
147 if (!packet->GetAttributeValue(NL80211_ATTR_IFNAME, &if_name)) { in GetInterfaces()
158 interface_info->emplace_back(if_index, if_name, if_mac_addr); in GetInterfaces()