Home
last modified time | relevance | path

Searched refs:iface_name (Results 1 – 7 of 7) sorted by relevance

/system/connectivity/wificond/aidl/android/net/wifi/nl80211/
DIWificond.aidl33 @nullable IApInterface createApInterface(@utf8InCpp String iface_name); in createApInterface() argument
36 @nullable IClientInterface createClientInterface(@utf8InCpp String iface_name); in createClientInterface() argument
39 boolean tearDownApInterface(@utf8InCpp String iface_name); in tearDownApInterface() argument
42 boolean tearDownClientInterface(@utf8InCpp String iface_name); in tearDownClientInterface() argument
108 @nullable DeviceWiphyCapabilities getDeviceWiphyCapabilities(@utf8InCpp String iface_name); in getDeviceWiphyCapabilities() argument
/system/connectivity/wificond/
Dserver.cpp123 Status Server::createApInterface(const std::string& iface_name, in createApInterface() argument
128 if (!SetupInterface(iface_name, &interface, &wiphy_index)) { in createApInterface()
132 LOG(INFO) << "createApInterface: wiphy_index " << wiphy_index << " iface_name " << iface_name; in createApInterface()
141 ap_interfaces_[iface_name] = std::move(ap_interface); in createApInterface()
147 iface_to_wiphy_index_map_[iface_name] = wiphy_index; in createApInterface()
151 Status Server::tearDownApInterface(const std::string& iface_name, in tearDownApInterface() argument
154 const auto iter = ap_interfaces_.find(iface_name); in tearDownApInterface()
161 const auto iter_wi = iface_to_wiphy_index_map_.find(iface_name); in tearDownApInterface()
164 LOG(INFO) << "tearDownApInterface: erasing wiphy_index for iface_name " << iface_name; in tearDownApInterface()
184 Status Server::createClientInterface(const std::string& iface_name, in createClientInterface() argument
[all …]
Dserver.h82 const std::string& iface_name,
87 const std::string& iface_name,
92 const std::string& iface_name,
96 const std::string& iface_name,
109 const std::string& iface_name,
118 bool SetupInterface(const std::string& iface_name, InterfaceInfo* interface,
132 int FindWiphyIndex(const std::string& iface_name);
/system/connectivity/wificond/tests/
Dserver_unittest.cpp217 [](uint32_t* out_wiphy_index, const std::string& iface_name) { in TEST_F() argument
238 [](uint32_t* out_wiphy_index, const std::string& iface_name) { in TEST_F() argument
292 [](uint32_t* out_wiphy_index, const std::string& iface_name) { in TEST_F() argument
320 [](uint32_t* out_wiphy_index, const std::string& iface_name) { in TEST_F() argument
Dmock_netlink_utils.h34 bool(uint32_t* out_wiphy_index, const std::string& iface_name));
/system/connectivity/wificond/net/
Dnetlink_utils.cpp128 const std::string& iface_name) { in GetWiphyIndex() argument
135 if (!iface_name.empty()) { in GetWiphyIndex()
136 int ifindex = if_nametoindex(iface_name.c_str()); in GetWiphyIndex()
138 PLOG(ERROR) << "Can't get " << iface_name << " index"; in GetWiphyIndex()
Dnetlink_utils.h199 const std::string& iface_name);