Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dcontexthub.cpp80 static const SensorTypeAlias sensor_aliases_[] = { variable
85 for (size_t i = 0; i < ARRAY_LEN(sensor_aliases_); i++) { in SensorTypeIsAliasOf()
86 if (sensor_aliases_[i].sensor_type == sensor_type in SensorTypeIsAliasOf()
87 && sensor_aliases_[i].sensor_alias == alias) { in SensorTypeIsAliasOf()
116 for (unsigned int i = 0; i < ARRAY_LEN(sensor_aliases_); i++) { in SensorTypeToAbbrevName()
117 if (sensor_aliases_[i].sensor_alias == sensor_type) { in SensorTypeToAbbrevName()
118 return std::string(sensor_aliases_[i].name_abbrev); in SensorTypeToAbbrevName()