Home
last modified time | relevance | path

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

/hardware/interfaces/sensors/aidl/default/multihal/
DConvertUtils.cpp60 void convertToHidlEvent(const AidlEvent& aidlEvent, V2_1Event* hidlEvent) { in convertToHidlEvent() argument
61 static_assert(decltype(hidlEvent->u.data)::elementCount() == 16); in convertToHidlEvent()
62 hidlEvent->timestamp = aidlEvent.timestamp; in convertToHidlEvent()
63 hidlEvent->sensorHandle = aidlEvent.sensorHandle; in convertToHidlEvent()
64 hidlEvent->sensorType = (V2_1SensorType)aidlEvent.sensorType; in convertToHidlEvent()
68 hidlEvent->u.meta.what = in convertToHidlEvent()
77 hidlEvent->u.vec3.x = aidlEvent.payload.get<Event::EventPayload::vec3>().x; in convertToHidlEvent()
78 hidlEvent->u.vec3.y = aidlEvent.payload.get<Event::EventPayload::vec3>().y; in convertToHidlEvent()
79 hidlEvent->u.vec3.z = aidlEvent.payload.get<Event::EventPayload::vec3>().z; in convertToHidlEvent()
80 hidlEvent->u.vec3.status = in convertToHidlEvent()
[all …]
DHalProxyAidl.cpp193 ::android::hardware::sensors::V2_1::Event hidlEvent; in injectSensorData()
194 convertToHidlEvent(in_event, &hidlEvent); in injectSensorData()
196 HalProxy::injectSensorData(convertToOldEvent(hidlEvent))); in injectSensorData()
/hardware/interfaces/sensors/aidl/default/multihal/include/
DConvertUtils.h38 ::android::hardware::sensors::V2_1::Event* hidlEvent);
43 void convertToAidlEvent(const ::android::hardware::sensors::V2_1::Event& hidlEvent,