Lines Matching refs:Event
30 static_assert(sizeof(V1_0::Event) == sizeof(V2_1::Event),
38 inline const V1_0::Event& convertToOldEvent(const V2_1::Event& event) { in convertToOldEvent()
39 return reinterpret_cast<const V1_0::Event&>(event); in convertToOldEvent()
42 inline const std::vector<V1_0::Event>& convertToOldEvents(const std::vector<V2_1::Event>& events) { in convertToOldEvents()
43 return reinterpret_cast<const std::vector<V1_0::Event>&>(events); in convertToOldEvents()
46 inline V1_0::Event* convertToOldEvent(V2_1::Event* event) { in convertToOldEvent()
47 return reinterpret_cast<V1_0::Event*>(event); in convertToOldEvent()
58 inline const V2_1::Event& convertToNewEvent(const V1_0::Event& event) { in convertToNewEvent()
59 return reinterpret_cast<const V2_1::Event&>(event); in convertToNewEvent()
62 inline const std::vector<V2_1::Event>& convertToNewEvents(const std::vector<V1_0::Event>& events) { in convertToNewEvents()
63 return reinterpret_cast<const std::vector<V2_1::Event>&>(events); in convertToNewEvents()
66 inline const hidl_vec<V2_1::Event>& convertToNewEvents(const hidl_vec<V1_0::Event>& events) { in convertToNewEvents()
67 return reinterpret_cast<const hidl_vec<V2_1::Event>&>(events); in convertToNewEvents()
99 inline void convertFromSensorEvent(const sensors_event_t& src, V2_1::Event* dst) { in convertFromSensorEvent()
117 inline void convertToSensorEvent(const V2_1::Event& src, sensors_event_t* dst) { in convertToSensorEvent()