Searched refs:aidlEvent (Results 1 – 2 of 2) sorted by relevance
60 void convertToHidlEvent(const AidlEvent& aidlEvent, V2_1Event* hidlEvent) { in convertToHidlEvent() argument62 hidlEvent->timestamp = aidlEvent.timestamp; in convertToHidlEvent()63 hidlEvent->sensorHandle = aidlEvent.sensorHandle; in convertToHidlEvent()64 hidlEvent->sensorType = (V2_1SensorType)aidlEvent.sensorType; in convertToHidlEvent()66 switch (aidlEvent.sensorType) { in convertToHidlEvent()69 (MetaDataEventType)aidlEvent.payload.get<Event::EventPayload::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()81 (V1_0SensorStatus)aidlEvent.payload.get<Event::EventPayload::vec3>().status; in convertToHidlEvent()[all …]
37 void convertToHidlEvent(const ::aidl::android::hardware::sensors::Event& aidlEvent,44 ::aidl::android::hardware::sensors::Event* aidlEvent);