Searched refs:sensor_names_ (Results 1 – 1 of 1) sorted by relevance
42 static const SensorTypeNames sensor_names_[] = { variable101 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) { in SensorAbbrevNameToType()102 if (strcmp(sensor_names_[i].name_abbrev, sensor_name_abbrev) == 0) { in SensorAbbrevNameToType()103 return sensor_names_[i].sensor_type; in SensorAbbrevNameToType()115 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) { in SensorTypeToAbbrevName()116 if (sensor_names_[i].sensor_type == sensor_type) { in SensorTypeToAbbrevName()117 return std::string(sensor_names_[i].name_abbrev); in SensorTypeToAbbrevName()135 for (unsigned int i = 0; i < ARRAY_LEN(sensor_names_); i++) { in ListAllSensorAbbrevNames()136 sensor_list += sensor_names_[i].name_abbrev; in ListAllSensorAbbrevNames()137 if (i < ARRAY_LEN(sensor_names_) - 1) { in ListAllSensorAbbrevNames()[all …]