Home
last modified time | relevance | path

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

/device/google/contexthub/util/nanotool/
Dnanomessage.cpp116 uint32_t event_type = ReadEventResponse::EventTypeFromBuffer(buffer); in FromBytes() local
117 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() argument
162 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 …]
Dnanomessage.h94 uint32_t event_type; member
152 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);
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()
/device/google/contexthub/firmware/os/algos/calibration/nano_calibration/
Dnano_calibration.h91 void HandleSensorSamples(uint16_t event_type,
95 void HandleTemperatureSamples(uint16_t event_type,
Dnano_calibration.cc93 uint16_t event_type, const chreSensorThreeAxisData *event_data) { in HandleSensorSamples() argument
96 switch (event_type) { in HandleSensorSamples()
126 uint16_t event_type, const chreSensorFloatData *event_data) { in HandleTemperatureSamples() argument
130 if (event_type == CHRE_EVENT_SENSOR_ACCELEROMETER_TEMPERATURE_DATA && in HandleTemperatureSamples()
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_audio.h262 int event_type; member
348 __u32 event_type; member
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_audio.h367 int event_type; member
470 __u32 event_type; member
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_audio.h262 int event_type; member
348 __u32 event_type; member
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_audio.h367 int event_type; member
470 __u32 event_type; member
/device/google/marlin/camera/
DQCamera_Intf.h997 mm_camera_event_type_t event_type; member
/device/google/marlin/camera/QCamera2/stack/common/
Dcam_types.h1572 int32_t event_type; member
/device/google/marlin/camera/QCamera2/stack/mm-camera-interface/include/
Dcam_types.h1572 int32_t event_type; member
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWI.cpp5153 params.event_type = 0; in checkIntPicPending()
5156 params.event_type = 1; in checkIntPicPending()