Searched refs:type_str (Results 1 – 5 of 5) sorted by relevance
24 ConnectionType ParseConnectionType(const std::string& type_str) { in ParseConnectionType() argument25 if (type_str == shill::kTypeEthernet) { in ParseConnectionType()27 } else if (type_str == shill::kTypeWifi) { in ParseConnectionType()29 } else if (type_str == shill::kTypeWimax) { in ParseConnectionType()31 } else if (type_str == shill::kTypeBluetooth) { in ParseConnectionType()33 } else if (type_str == shill::kTypeCellular) { in ParseConnectionType()
186 string type_str = prop_type->second.TryGet<string>(); in GetServicePathProperties() local187 if (type_str == shill::kTypeVPN) { in GetServicePathProperties()200 *out_type = connection_utils::ParseConnectionType(type_str); in GetServicePathProperties()
42 ConnectionType ParseConnectionType(const std::string& type_str);
137 for (auto& type_str : allowed_types_str) { in ConvertAllowedConnectionTypesForUpdate() local139 chromeos_update_engine::connection_utils::ParseConnectionType(type_str); in ConvertAllowedConnectionTypesForUpdate()143 LOG(WARNING) << "Policy includes unknown connection type: " << type_str; in ConvertAllowedConnectionTypesForUpdate()
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()