Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libwifi_system/
Dinterface_tool.cpp34 bool GetIfState(const char* if_name, int sock, struct ifreq* ifr) { in GetIfState() argument
36 if (strlcpy(ifr->ifr_name, if_name, sizeof(ifr->ifr_name)) >= in GetIfState()
38 LOG(ERROR) << "Interface name is too long: " << if_name; in GetIfState()
43 LOG(ERROR) << "Could not read interface state for " << if_name in GetIfState()
53 bool InterfaceTool::GetUpState(const char* if_name) { in GetUpState() argument
62 if (!GetIfState(if_name, sock.get(), &ifr)) { in GetUpState()
69 bool InterfaceTool::SetUpState(const char* if_name, bool request_up) { in SetUpState() argument
78 if (!GetIfState(if_name, sock.get(), &ifr)) { in SetUpState()
94 LOG(ERROR) << "Could not set interface flags for " << if_name in SetUpState()
/frameworks/av/media/libaudiohal/
DDevicesFactoryHalLocal.cpp30 static status_t load_audio_interface(const char *if_name, audio_hw_device_t **dev) in load_audio_interface() argument
35 rc = hw_get_module_by_class(AUDIO_HARDWARE_MODULE_ID, if_name, &mod); in load_audio_interface()
38 AUDIO_HARDWARE_MODULE_ID, if_name, strerror(-rc)); in load_audio_interface()
44 AUDIO_HARDWARE_MODULE_ID, if_name, strerror(-rc)); in load_audio_interface()
/frameworks/opt/net/wifi/libwifi_system/include/wifi_system/
Dinterface_tool.h30 virtual bool GetUpState(const char* if_name);
34 virtual bool SetUpState(const char* if_name, bool request_up);
/frameworks/opt/net/wifi/libwifi_system/testlib/include/wifi_system_test/
Dmock_interface_tool.h29 MOCK_METHOD1(GetUpState, bool(const char* if_name));
30 MOCK_METHOD2(SetUpState, bool(const char* if_name, bool request_up));
/frameworks/base/proto/src/
Dipconnectivity.proto83 optional string if_name = 1 [deprecated = true]; field
209 optional string if_name = 1 [deprecated = true]; field
328 optional string if_name = 1 [deprecated = true]; field
358 // Present if the link_layer field was not inferred from the if_name on
361 optional string if_name = 17; field