Searched defs:type_str (Results 1 - 2 of 2) sorted by relevance

/system/update_engine/update_manager/
H A Dreal_shill_provider.cc33 ConnectionType RealShillProvider::ParseConnectionType(const string& type_str) { argument
34 if (type_str == shill::kTypeEthernet) {
36 } else if (type_str == shill::kTypeWifi) {
38 } else if (type_str == shill::kTypeWimax) {
40 } else if (type_str == shill::kTypeBluetooth) {
42 } else if (type_str == shill::kTypeCellular) {
170 string type_str = prop_type->second.TryGet<string>(); local
171 if (type_str == shill::kTypeVPN) {
184 var_conn_type_.SetValue(ParseConnectionType(type_str));
/system/update_engine/
H A Dconnection_manager.cc41 NetworkConnectionType ParseConnectionType(const string& type_str) { argument
42 if (type_str == shill::kTypeEthernet) {
44 } else if (type_str == shill::kTypeWifi) {
46 } else if (type_str == shill::kTypeWimax) {
48 } else if (type_str == shill::kTypeBluetooth) {
50 } else if (type_str == shill::kTypeCellular) {
227 string type_str = prop_type->second.TryGet<string>(); local
228 if (type_str == shill::kTypeVPN) {
240 *out_type = ParseConnectionType(type_str);

Completed in 72 milliseconds