Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dnanotool.cpp184 if (args->sensors[i].special_rate == SensorSpecialRate::None in ValidateArgs()
214 static const std::vector<std::tuple<std::string, SensorSpecialRate>> rates = { in ParseRate()
215 std::make_tuple("ondemand", SensorSpecialRate::OnDemand), in ParseRate()
216 std::make_tuple("onchange", SensorSpecialRate::OnChange), in ParseRate()
217 std::make_tuple("oneshot", SensorSpecialRate::OneShot), in ParseRate()
222 SensorSpecialRate rate; in ParseRate()
Dcontexthub.h80 enum class SensorSpecialRate : uint32_t { enum
92 SensorSpecialRate special_rate = SensorSpecialRate::None;
Dcontexthub.cpp195 if (spec.special_rate != SensorSpecialRate::None) { in EnableSensor()