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.cpp53 string if_name; in TEST() local
54 EXPECT_TRUE(ap_interface->getInterfaceName(&if_name).isOk()); in TEST()
55 EXPECT_TRUE(!if_name.empty()); in TEST()
57 EXPECT_FALSE(if_tool.GetUpState(if_name.c_str())); in TEST()
60 EXPECT_TRUE(if_tool.SetUpState(if_name.c_str(), true)); in TEST()
61 EXPECT_TRUE(if_tool.GetUpState(if_name.c_str())); in TEST()
73 EXPECT_FALSE(if_tool.GetUpState(if_name.c_str())); in TEST()
Dclient_interface_test.cpp53 string if_name; in TEST() local
54 EXPECT_TRUE(client_interface->getInterfaceName(&if_name).isOk()); in TEST()
55 EXPECT_TRUE(!if_name.empty()); in TEST()
57 EXPECT_FALSE(if_tool.GetUpState(if_name.c_str())); in TEST()
60 EXPECT_TRUE(if_tool.SetUpState(if_name.c_str(), true)); in TEST()
61 EXPECT_TRUE(if_tool.GetUpState(if_name.c_str())); in TEST()
73 EXPECT_FALSE(if_tool.GetUpState(if_name.c_str())); in TEST()
/system/connectivity/wificond/net/
Dnetlink_utils.cpp213 string if_name; in GetInterfaces() local
214 if (!packet->GetAttributeValue(NL80211_ATTR_IFNAME, &if_name)) { in GetInterfaces()
225 interface_info->emplace_back(if_index, if_name, if_mac_addr); in GetInterfaces()