Lines Matching refs:DeviceInfo
50 const char DeviceInfo::kDeviceInfoRoot[] = "/sys/class/net";
51 const char DeviceInfo::kInterfaceUevent[] = "uevent";
52 const char DeviceInfo::kInterfaceUeventWifiSignature[] = "DEVTYPE=wlan\n";
54 DeviceInfo::DeviceInfo(Manager* manager)
55 : link_callback_(Bind(&DeviceInfo::LinkMsgHandler, Unretained(this))),
63 DeviceInfo::~DeviceInfo() {}
65 void DeviceInfo::Start() {
90 void DeviceInfo::Stop() {
94 void DeviceInfo::EnumerateDevices() {
101 Bind(&DeviceInfo::OnWiFiPhyInfoReceived, AsWeakPtr()),
106 void DeviceInfo::OnWiFiPhyInfoReceived(const shill::Nl80211Message& msg) {
134 void DeviceInfo::LinkMsgHandler(const RTNLMessage& msg) {
155 void DeviceInfo::AddLinkMsgHandler(const string& iface_name, int iface_index) {
180 void DeviceInfo::DelLinkMsgHandler(const string& iface_name, int iface_index) {
195 bool DeviceInfo::IsWifiInterface(const string& iface_name) {
210 bool DeviceInfo::GetDeviceInfoContents(const string& iface_name,
218 void DeviceInfo::GetWiFiInterfaceInfo(int interface_index) {
230 Bind(&DeviceInfo::OnWiFiInterfaceInfoReceived, AsWeakPtr()),
235 void DeviceInfo::OnWiFiInterfaceInfoReceived(const shill::Nl80211Message& msg) {
267 void DeviceInfo::GetWiFiInterfacePhyInfo(uint32_t iface_index) {
273 Bind(&DeviceInfo::OnWiFiInterfacePhyInfoReceived,
280 void DeviceInfo::OnWiFiInterfacePhyInfoReceived(
320 void DeviceInfo::RegisterDevice(scoped_refptr<Device> device) {
329 scoped_refptr<Device> DeviceInfo::GetDevice(const string& device_name) {