Searched refs:event_type (Results 1 – 13 of 13) sorted by relevance
116 uint32_t event_type = ReadEventResponse::EventTypeFromBuffer(buffer); in FromBytes() local117 if (ReadEventResponse::IsSensorEvent(event_type)) { in FromBytes()119 } else if (ReadEventResponse::IsAppToHostEvent(event_type)) { in FromBytes()121 } else if (ReadEventResponse::IsResetReasonEvent(event_type)) { in FromBytes()123 } else if (ReadEventResponse::IsLogEvent(event_type)) { in FromBytes()126 LOGW("Received unexpected/unsupported event type %u", event_type); in FromBytes()161 bool ReadEventResponse::IsSensorEvent(uint32_t event_type) { in IsSensorEvent() argument162 return (event_type >= static_cast<uint32_t>(EventType::FirstSensorEvent) && in IsSensorEvent()163 event_type <= static_cast<uint32_t>(EventType::LastSensorEvent)); in IsSensorEvent()166 bool ReadEventResponse::IsAppToHostEvent(uint32_t event_type) { in IsAppToHostEvent() argument[all …]
94 uint32_t event_type; member152 static bool IsAppToHostEvent(uint32_t event_type);153 static bool IsSensorEvent(uint32_t event_type);154 static bool IsResetReasonEvent(uint32_t event_type);155 static bool IsLogEvent(uint32_t event_type);
191 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()
91 void HandleSensorSamples(uint16_t event_type,95 void HandleTemperatureSamples(uint16_t event_type,
93 uint16_t event_type, const chreSensorThreeAxisData *event_data) { in HandleSensorSamples() argument96 switch (event_type) { in HandleSensorSamples()126 uint16_t event_type, const chreSensorFloatData *event_data) { in HandleTemperatureSamples() argument130 if (event_type == CHRE_EVENT_SENSOR_ACCELEROMETER_TEMPERATURE_DATA && in HandleTemperatureSamples()
262 int event_type; member348 __u32 event_type; member
367 int event_type; member470 __u32 event_type; member
997 mm_camera_event_type_t event_type; member
1572 int32_t event_type; member
5153 params.event_type = 0; in checkIntPicPending()5156 params.event_type = 1; in checkIntPicPending()