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

/system/update_engine/
H A Dconnection_utils.cc24 ConnectionType ParseConnectionType(const std::string& type_str) { argument
25 if (type_str == shill::kTypeEthernet) {
27 } else if (type_str == shill::kTypeWifi) {
29 } else if (type_str == shill::kTypeWimax) {
31 } else if (type_str == shill::kTypeBluetooth) {
33 } else if (type_str == shill::kTypeCellular) {
H A Dconnection_utils.h42 ConnectionType ParseConnectionType(const std::string& type_str);
H A Dconnection_manager.cc186 string type_str = prop_type->second.TryGet<string>(); local
187 if (type_str == shill::kTypeVPN) {
200 *out_type = connection_utils::ParseConnectionType(type_str);
/system/update_engine/update_manager/
H A Dreal_device_policy_provider.cc137 for (auto& type_str : allowed_types_str) {
139 chromeos_update_engine::connection_utils::ParseConnectionType(type_str);
143 LOG(WARNING) << "Policy includes unknown connection type: " << type_str;
H A Dreal_shill_provider.cc145 string type_str = prop_type->second.TryGet<string>(); local
146 if (type_str == shill::kTypeVPN) {
160 var_conn_type_.SetValue(ParseConnectionType(type_str));

Completed in 54 milliseconds