Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dnanomessage.cpp162 return (event_type >= static_cast<uint32_t>(EventType::FirstSensorEvent) && in IsSensorEvent()
163 event_type <= static_cast<uint32_t>(EventType::LastSensorEvent)); in IsSensorEvent()
167 return (event_type == static_cast<uint32_t>(EventType::AppToHostEvent)); in IsAppToHostEvent()
171 return (event_type == static_cast<uint32_t>(EventType::ResetReasonEvent)); in IsResetReasonEvent()
175 return (event_type == static_cast<uint32_t>(EventType::LogEvent)); in IsLogEvent()
189 config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in ConfigureSensorRequest()
234 EventType ConfigureSensorRequest::GetEventType() const { in GetEventType()
235 return static_cast<EventType>(config.event_type); in GetEventType()
249 event->event_type = static_cast<uint32_t>(EventType::AppFromHostEvent); in GetBytes()
257 EventType BridgeVersionInfoRequest::GetEventType() const { in GetEventType()
[all …]
Dnanomessage.h32 enum class EventType { enum
102 virtual EventType GetEventType() const = 0;
179 EventType GetEventType() const override;
201 EventType GetEventType() const override;
Dcontexthub.cpp191 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in EnableSensor()
225 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in DisableSensor()
365 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in CalibrateSingleSensor()
399 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in TestSingleSensor()
585 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in SendCalibrationData()
Dsensorevent.cpp39 static_cast<uint32_t>(EventType::FirstSensorEvent)); in FromBytes()
107 GetEventType() - static_cast<uint32_t>(EventType::FirstSensorEvent)); in GetSensorType()