Searched refs:hidlEvent (Results 1 – 3 of 3) sorted by relevance
60 void convertToHidlEvent(const AidlEvent& aidlEvent, V2_1Event* hidlEvent) { in convertToHidlEvent() argument61 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 …]
193 ::android::hardware::sensors::V2_1::Event hidlEvent; in injectSensorData()194 convertToHidlEvent(in_event, &hidlEvent); in injectSensorData()196 HalProxy::injectSensorData(convertToOldEvent(hidlEvent))); in injectSensorData()
38 ::android::hardware::sensors::V2_1::Event* hidlEvent);43 void convertToAidlEvent(const ::android::hardware::sensors::V2_1::Event& hidlEvent,