Lines Matching refs:sensor_names_
42 static const SensorTypeNames sensor_names_[] = { variable
101 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()
252 for (size_t i = 0; i < ARRAY_LEN(sensor_names_); i++) { in DisableAllSensors()
253 success &= DisableSensor(sensor_names_[i].sensor_type); in DisableAllSensors()
263 for (size_t i = 0; i < ARRAY_LEN(sensor_names_); i++) { in DisableActiveSensors()
264 if (sensor_is_active_[static_cast<int>(sensor_names_[i].sensor_type)]) { in DisableActiveSensors()
265 success &= DisableSensor(sensor_names_[i].sensor_type); in DisableActiveSensors()