Home
last modified time | relevance | path

Searched refs:event_type (Results 1 – 16 of 16) 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.cpp190 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in EnableSensor()
224 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in DisableSensor()
364 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in CalibrateSingleSensor()
398 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in TestSingleSensor()
584 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in SendCalibrationData()
/device/google/contexthub/sensorhal/
Dactivity.cpp81 uint32_t event_type, in EnableActivityEventWrapper() argument
83 return gActivityContext->enableActivityEvent(activity_handle, event_type, in EnableActivityEventWrapper()
90 uint32_t event_type) { in DisableActivityEventWrapper() argument
91 return gActivityContext->disableActivityEvent(activity_handle, event_type); in DisableActivityEventWrapper()
188 halEvent.event_type = ACTIVITY_EVENT_ENTER; in PublishEvent()
191 halEvent.event_type = ACTIVITY_EVENT_EXIT; in PublishEvent()
195 halEvent.activity, halEvent.event_type, halEvent.timestamp); in PublishEvent()
198 halEvent.event_type = GetActivityTypeFromSensorIndex(event.sensorIndex); in PublishEvent()
231 halEvent.event_type = ACTIVITY_EVENT_EXIT; in DiscardExpiredUnpublishedEvents()
289 .event_type = ACTIVITY_EVENT_FLUSH_COMPLETE, in OnFlush()
[all …]
Dactivity.h44 uint32_t event_type, int64_t max_report_latency_ns);
46 int disableActivityEvent(uint32_t activity_handle, uint32_t event_type);
/device/lge/bullhead/camera/
DQCamera_Intf.h997 mm_camera_event_type_t event_type; member
/device/google/marlin/camera/
DQCamera_Intf.h997 mm_camera_event_type_t event_type; member
/device/huawei/angler/camera/
DQCamera_Intf.h997 mm_camera_event_type_t event_type; member
/device/lge/bullhead/camera/QCamera2/stack/common/
Dcam_types.h1322 int32_t event_type; member
/device/huawei/angler/camera/QCamera2/stack/common/
Dcam_types.h1322 int32_t event_type; member
/device/google/dragon/recovery/updater/
Dec_commands.h2366 uint8_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/lge/bullhead/camera/QCamera2/HAL/
DQCamera2HWI.cpp3575 params.event_type = 0; in checkIntPicPending()
3577 params.event_type = 1; in checkIntPicPending()
/device/huawei/angler/camera/QCamera2/HAL/
DQCamera2HWI.cpp3577 params.event_type = 0; in checkIntPicPending()
3579 params.event_type = 1; in checkIntPicPending()
/device/google/marlin/camera/QCamera2/HAL/
DQCamera2HWI.cpp5153 params.event_type = 0; in checkIntPicPending()
5156 params.event_type = 1; in checkIntPicPending()