Lines Matching refs:srcInfo
202 const AdditionalInfo& srcInfo = src.payload.get<Event::EventPayload::additional>(); in convertToSensorEvent() local
205 dstInfo->type = (int32_t)srcInfo.type; in convertToSensorEvent()
206 dstInfo->serial = srcInfo.serial; in convertToSensorEvent()
208 switch (srcInfo.payload.getTag()) { in convertToSensorEvent()
211 srcInfo.payload.get<AdditionalInfo::AdditionalInfoPayload::dataInt32>() in convertToSensorEvent()
219 srcInfo.payload.get<AdditionalInfo::AdditionalInfoPayload::dataFloat>() in convertToSensorEvent()
227 (int)srcInfo.payload.getTag(); in convertToSensorEvent()
417 const additional_info_event_t& srcInfo = src.additional_info; in convertFromSensorEvent() local
418 info.type = (AdditionalInfo::AdditionalInfoType)srcInfo.type; in convertFromSensorEvent()
419 info.serial = srcInfo.serial; in convertFromSensorEvent()
422 CHECK_EQ(data.values.size() * sizeof(int32_t), sizeof(srcInfo.data_int32)); in convertFromSensorEvent()
423 memcpy(data.values.data(), srcInfo.data_int32, sizeof(srcInfo.data_int32)); in convertFromSensorEvent()