Searched refs:type_str (Results 1 – 6 of 6) sorted by relevance
30 ConnectionType ParseConnectionType(const std::string& type_str) { in ParseConnectionType() argument31 if (type_str == shill::kTypeEthernet) { in ParseConnectionType()33 } else if (type_str == shill::kTypeWifi) { in ParseConnectionType()35 } else if (type_str == shill::kTypeWimax) { in ParseConnectionType()37 } else if (type_str == shill::kTypeBluetooth) { in ParseConnectionType()39 } else if (type_str == shill::kTypeCellular) { in ParseConnectionType()41 } else if (type_str == kTypeDisconnected) { in ParseConnectionType()
200 string type_str = prop_type->second.TryGet<string>(); in GetServicePathProperties() local201 if (type_str == shill::kTypeVPN) { in GetServicePathProperties()214 *out_type = connection_utils::ParseConnectionType(type_str); in GetServicePathProperties()
43 ConnectionType ParseConnectionType(const std::string& type_str);
159 type_str = self._connection.receive(512)160 print(len(type_str))161 print(type_str)162 return type_str
145 string type_str = prop_type->second.TryGet<string>(); in ProcessDefaultService() local146 if (type_str == shill::kTypeVPN) { in ProcessDefaultService()160 var_conn_type_.SetValue(ParseConnectionType(type_str)); in ProcessDefaultService()
156 for (auto& type_str : allowed_types_str) { in ConvertAllowedConnectionTypesForUpdate() local158 chromeos_update_engine::connection_utils::ParseConnectionType(type_str); in ConvertAllowedConnectionTypesForUpdate()162 LOG(WARNING) << "Policy includes unknown connection type: " << type_str; in ConvertAllowedConnectionTypesForUpdate()