Home | History | Annotate | Download | only in shill

Lines Matching full:iface_name

241 FilePath DeviceInfo::GetDeviceInfoPath(const string& iface_name,
243 return device_info_root_.Append(iface_name).Append(path_name);
246 bool DeviceInfo::GetDeviceInfoContents(const string& iface_name,
249 return base::ReadFileToString(GetDeviceInfoPath(iface_name, path_name),
253 bool DeviceInfo::GetDeviceInfoSymbolicLink(const string& iface_name,
256 return base::ReadSymbolicLink(GetDeviceInfoPath(iface_name, path_name),
261 const string& iface_name) {
264 if (GetDeviceInfoContents(iface_name, kInterfaceType, &type_string) &&
271 if (!GetDeviceInfoContents(iface_name, kInterfaceUevent, &contents)) {
273 __func__, iface_name.c_str());
283 __func__, iface_name.c_str());
286 __func__, iface_name.c_str());
293 if (iface_name.find(kModemPseudoDeviceNamePrefix) == 0) {
296 __func__, iface_name.c_str());
301 if (iface_name.find(kEthernetPseudoDeviceNamePrefix) == 0) {
304 __func__, iface_name.c_str());
309 if (iface_name.find(kIgnoredDeviceNamePrefix) == 0) {
311 "%s: device %s should be ignored", __func__, iface_name.c_str());
316 if (!GetDeviceInfoSymbolicLink(iface_name, kInterfaceDriver, &driver_path)) {
318 __func__, iface_name.c_str());
321 __func__, iface_name.c_str());
326 __func__, iface_name.c_str());
331 if (GetDeviceInfoContents(iface_name, kInterfaceTunFlags, &tun_flags_str) &&
336 __func__, iface_name.c_str());
351 __func__, iface_name.c_str(), driver_name.c_str());
358 __func__, iface_name.c_str());
365 if (IsCdcEthernetModemDevice(iface_name)) {
367 iface_name.c_str(), driver_name.c_str());
371 iface_name.c_str(), driver_name.c_str());
379 __func__, iface_name.c_str());
385 __func__, iface_name.c_str(),
390 bool DeviceInfo::IsCdcEthernetModemDevice(const std::string& iface_name) {
417 FilePath device_file = GetDeviceInfoPath(iface_name, kInterfaceDevice);
421 __func__, iface_name.c_str());