Home
last modified time | relevance | path

Searched refs:type_str (Results 1 – 5 of 5) sorted by relevance

/system/update_engine/
Dconnection_utils.cc24 ConnectionType ParseConnectionType(const std::string& type_str) { in ParseConnectionType() argument
25 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()
Dconnection_manager.cc186 string type_str = prop_type->second.TryGet<string>(); in GetServicePathProperties() local
187 if (type_str == shill::kTypeVPN) { in GetServicePathProperties()
200 *out_type = connection_utils::ParseConnectionType(type_str); in GetServicePathProperties()
Dconnection_utils.h42 ConnectionType ParseConnectionType(const std::string& type_str);
/system/update_engine/update_manager/
Dreal_device_policy_provider.cc137 for (auto& type_str : allowed_types_str) { in ConvertAllowedConnectionTypesForUpdate() local
139 chromeos_update_engine::connection_utils::ParseConnectionType(type_str); in ConvertAllowedConnectionTypesForUpdate()
143 LOG(WARNING) << "Policy includes unknown connection type: " << type_str; in ConvertAllowedConnectionTypesForUpdate()
Dreal_shill_provider.cc145 string type_str = prop_type->second.TryGet<string>(); in ProcessDefaultService() local
146 if (type_str == shill::kTypeVPN) { in ProcessDefaultService()
160 var_conn_type_.SetValue(ParseConnectionType(type_str)); in ProcessDefaultService()