Searched refs:if_name (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/libwifi_system_iface/ |
D | interface_tool.cpp | 43 bool GetIfState(const char* if_name, int sock, struct ifreq* ifr) { in GetIfState() argument 45 if (strlcpy(ifr->ifr_name, if_name, sizeof(ifr->ifr_name)) >= in GetIfState() 47 LOG(ERROR) << "Interface name is too long: " << if_name; in GetIfState() 52 LOG(ERROR) << "Could not read interface state for " << if_name in GetIfState() 62 bool InterfaceTool::GetUpState(const char* if_name) { in GetUpState() argument 71 if (!GetIfState(if_name, sock.get(), &ifr)) { in GetUpState() 78 bool InterfaceTool::SetUpState(const char* if_name, bool request_up) { in SetUpState() argument 87 if (!GetIfState(if_name, sock.get(), &ifr)) { in SetUpState() 103 LOG(ERROR) << "Could not set interface flags for " << if_name in SetUpState() 115 bool InterfaceTool::SetMacAddress(const char* if_name, in SetMacAddress() argument [all …]
|
/frameworks/opt/net/wifi/libwifi_system_iface/include/wifi_system/ |
D | interface_tool.h | 34 virtual bool GetUpState(const char* if_name); 38 virtual bool SetUpState(const char* if_name, bool request_up); 47 virtual bool SetMacAddress(const char* if_name, 52 virtual std::array<uint8_t, ETH_ALEN> GetFactoryMacAddress(const char* if_name); 62 const std::string& if_name); 66 const std::string& if_name);
|
/frameworks/opt/net/wifi/libwifi_system_iface/testlib/include/wifi_system_test/ |
D | mock_interface_tool.h | 30 MOCK_METHOD1(GetUpState, bool(const char* if_name)); 31 MOCK_METHOD2(SetUpState, bool(const char* if_name, bool request_up)); 33 MOCK_METHOD2(SetMacAddress, bool(const char* if_name, 35 MOCK_METHOD1(GetFactoryMacAddress, std::array<uint8_t, ETH_ALEN>(const char* if_name));
|
/frameworks/base/proto/src/ |
D | ipconnectivity.proto | 137 optional string if_name = 1 [deprecated = true]; field 304 optional string if_name = 1 [deprecated = true]; field 440 optional string if_name = 1 [deprecated = true]; field 560 // Present if the link_layer field was not inferred from the if_name on 563 optional string if_name = 17; field
|