Lines Matching refs:locationExtended
245 const GpsLocationExtended& locationExtended) in convertLocation() argument
270 if (GPS_LOCATION_EXTENDED_HAS_VERT_UNC & locationExtended.flags) { in convertLocation()
272 out.verticalAccuracy = locationExtended.vert_unc; in convertLocation()
274 if (GPS_LOCATION_EXTENDED_HAS_SPEED_UNC & locationExtended.flags) { in convertLocation()
276 out.speedAccuracy = locationExtended.speed_unc; in convertLocation()
278 if (GPS_LOCATION_EXTENDED_HAS_BEARING_UNC & locationExtended.flags) { in convertLocation()
280 out.bearingAccuracy = locationExtended.bearing_unc; in convertLocation()
282 if (GPS_LOCATION_EXTENDED_HAS_CONFORMITY_INDEX & locationExtended.flags) { in convertLocation()
284 out.conformityIndex = locationExtended.conformityIndex; in convertLocation()
287 if (LOC_POS_TECH_MASK_SATELLITE & locationExtended.tech_mask) { in convertLocation()
290 if (LOC_POS_TECH_MASK_CELLID & locationExtended.tech_mask) { in convertLocation()
293 if (LOC_POS_TECH_MASK_WIFI & locationExtended.tech_mask) { in convertLocation()
296 if (LOC_POS_TECH_MASK_SENSORS & locationExtended.tech_mask) { in convertLocation()
299 if (LOC_POS_TECH_MASK_REFERENCE_LOCATION & locationExtended.tech_mask) { in convertLocation()
302 if (LOC_POS_TECH_MASK_INJECTED_COARSE_POSITION & locationExtended.tech_mask) { in convertLocation()
305 if (LOC_POS_TECH_MASK_AFLT & locationExtended.tech_mask) { in convertLocation()
308 if (LOC_POS_TECH_MASK_HYBRID & locationExtended.tech_mask) { in convertLocation()
311 if (LOC_POS_TECH_MASK_PPE & locationExtended.tech_mask) { in convertLocation()
314 if (LOC_POS_TECH_MASK_VEH & locationExtended.tech_mask) { in convertLocation()
317 if (LOC_POS_TECH_MASK_VIS & locationExtended.tech_mask) { in convertLocation()
320 if (LOC_NAV_MASK_DGNSS_CORRECTION & locationExtended.navSolutionMask) { in convertLocation()
362 const GpsLocationExtended& locationExtended, in convertLocationInfo() argument
366 if (GPS_LOCATION_EXTENDED_HAS_ALTITUDE_MEAN_SEA_LEVEL & locationExtended.flags) { in convertLocationInfo()
368 out.altitudeMeanSeaLevel = locationExtended.altitudeMeanSeaLevel; in convertLocationInfo()
370 if (GPS_LOCATION_EXTENDED_HAS_EXT_DOP & locationExtended.flags) { in convertLocationInfo()
372 out.pdop = locationExtended.extDOP.PDOP; in convertLocationInfo()
373 out.hdop = locationExtended.extDOP.HDOP; in convertLocationInfo()
374 out.vdop = locationExtended.extDOP.VDOP; in convertLocationInfo()
375 out.gdop = locationExtended.extDOP.GDOP; in convertLocationInfo()
376 out.tdop = locationExtended.extDOP.TDOP; in convertLocationInfo()
377 } else if (GPS_LOCATION_EXTENDED_HAS_DOP & locationExtended.flags) { in convertLocationInfo()
379 out.pdop = locationExtended.pdop; in convertLocationInfo()
380 out.hdop = locationExtended.hdop; in convertLocationInfo()
381 out.vdop = locationExtended.vdop; in convertLocationInfo()
383 if (GPS_LOCATION_EXTENDED_HAS_MAG_DEV & locationExtended.flags) { in convertLocationInfo()
385 out.magneticDeviation = locationExtended.magneticDeviation; in convertLocationInfo()
387 if (GPS_LOCATION_EXTENDED_HAS_HOR_RELIABILITY & locationExtended.flags) { in convertLocationInfo()
389 switch (locationExtended.horizontal_reliability) { in convertLocationInfo()
407 if (GPS_LOCATION_EXTENDED_HAS_VERT_RELIABILITY & locationExtended.flags) { in convertLocationInfo()
409 switch (locationExtended.vertical_reliability) { in convertLocationInfo()
427 if (GPS_LOCATION_EXTENDED_HAS_HOR_ELIP_UNC_MAJOR & locationExtended.flags) { in convertLocationInfo()
429 out.horUncEllipseSemiMajor = locationExtended.horUncEllipseSemiMajor; in convertLocationInfo()
431 if (GPS_LOCATION_EXTENDED_HAS_HOR_ELIP_UNC_MINOR & locationExtended.flags) { in convertLocationInfo()
433 out.horUncEllipseSemiMinor = locationExtended.horUncEllipseSemiMinor; in convertLocationInfo()
435 if (GPS_LOCATION_EXTENDED_HAS_HOR_ELIP_UNC_AZIMUTH & locationExtended.flags) { in convertLocationInfo()
437 out.horUncEllipseOrientAzimuth = locationExtended.horUncEllipseOrientAzimuth; in convertLocationInfo()
439 if (GPS_LOCATION_EXTENDED_HAS_NORTH_STD_DEV & locationExtended.flags) { in convertLocationInfo()
441 out.northStdDeviation = locationExtended.northStdDeviation; in convertLocationInfo()
443 if (GPS_LOCATION_EXTENDED_HAS_EAST_STD_DEV & locationExtended.flags) { in convertLocationInfo()
445 out.eastStdDeviation = locationExtended.eastStdDeviation; in convertLocationInfo()
447 if (GPS_LOCATION_EXTENDED_HAS_NORTH_VEL & locationExtended.flags) { in convertLocationInfo()
449 out.northVelocity = locationExtended.northVelocity; in convertLocationInfo()
451 if (GPS_LOCATION_EXTENDED_HAS_NORTH_VEL_UNC & locationExtended.flags) { in convertLocationInfo()
453 out.northVelocityStdDeviation = locationExtended.northVelocityStdDeviation; in convertLocationInfo()
455 if (GPS_LOCATION_EXTENDED_HAS_EAST_VEL & locationExtended.flags) { in convertLocationInfo()
457 out.eastVelocity = locationExtended.eastVelocity; in convertLocationInfo()
459 if (GPS_LOCATION_EXTENDED_HAS_EAST_VEL_UNC & locationExtended.flags) { in convertLocationInfo()
461 out.eastVelocityStdDeviation = locationExtended.eastVelocityStdDeviation; in convertLocationInfo()
463 if (GPS_LOCATION_EXTENDED_HAS_UP_VEL & locationExtended.flags) { in convertLocationInfo()
465 out.upVelocity = locationExtended.upVelocity; in convertLocationInfo()
467 if (GPS_LOCATION_EXTENDED_HAS_UP_VEL_UNC & locationExtended.flags) { in convertLocationInfo()
469 out.upVelocityStdDeviation = locationExtended.upVelocityStdDeviation; in convertLocationInfo()
471 if (GPS_LOCATION_EXTENDED_HAS_GNSS_SV_USED_DATA & locationExtended.flags) { in convertLocationInfo()
474 locationExtended.gnss_sv_used_ids.gps_sv_used_ids_mask; in convertLocationInfo()
476 locationExtended.gnss_sv_used_ids.glo_sv_used_ids_mask; in convertLocationInfo()
478 locationExtended.gnss_sv_used_ids.gal_sv_used_ids_mask; in convertLocationInfo()
480 locationExtended.gnss_sv_used_ids.bds_sv_used_ids_mask; in convertLocationInfo()
482 locationExtended.gnss_sv_used_ids.qzss_sv_used_ids_mask; in convertLocationInfo()
484 locationExtended.gnss_sv_used_ids.navic_sv_used_ids_mask; in convertLocationInfo()
500 out.numOfMeasReceived = locationExtended.numOfMeasReceived; in convertLocationInfo()
501 for (int idx =0; idx < locationExtended.numOfMeasReceived; idx++) { in convertLocationInfo()
503 locationExtended.measUsageInfo[idx].gnssSignalType; in convertLocationInfo()
505 locationExtended.measUsageInfo[idx].gnssSvId; in convertLocationInfo()
507 locationExtended.measUsageInfo[idx].gnssConstellation; in convertLocationInfo()
510 if (GPS_LOCATION_EXTENDED_HAS_NAV_SOLUTION_MASK & locationExtended.flags) { in convertLocationInfo()
512 out.navSolutionMask = locationExtended.navSolutionMask; in convertLocationInfo()
514 if (GPS_LOCATION_EXTENDED_HAS_POS_DYNAMICS_DATA & locationExtended.flags) { in convertLocationInfo()
516 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
520 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
524 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
528 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
532 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
537 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
541 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
545 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
549 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
553 if (locationExtended.bodyFrameData.bodyFrameDataMask & in convertLocationInfo()
558 if (locationExtended.bodyFrameDataExt.bodyFrameDataMask & in convertLocationInfo()
562 if (locationExtended.bodyFrameDataExt.bodyFrameDataMask & in convertLocationInfo()
566 if (locationExtended.bodyFrameDataExt.bodyFrameDataMask & in convertLocationInfo()
570 if (locationExtended.bodyFrameDataExt.bodyFrameDataMask & in convertLocationInfo()
574 if (locationExtended.bodyFrameDataExt.bodyFrameDataMask & in convertLocationInfo()
578 if (locationExtended.bodyFrameDataExt.bodyFrameDataMask & in convertLocationInfo()
582 if (locationExtended.bodyFrameDataExt.bodyFrameDataMask & in convertLocationInfo()
586 if (locationExtended.bodyFrameDataExt.bodyFrameDataMask & in convertLocationInfo()
591 out.bodyFrameData.longAccel = locationExtended.bodyFrameData.longAccel; in convertLocationInfo()
592 out.bodyFrameData.latAccel = locationExtended.bodyFrameData.latAccel; in convertLocationInfo()
593 out.bodyFrameData.vertAccel = locationExtended.bodyFrameData.vertAccel; in convertLocationInfo()
594 out.bodyFrameData.yawRate = locationExtended.bodyFrameData.yawRate; in convertLocationInfo()
595 out.bodyFrameData.pitch = locationExtended.bodyFrameData.pitch; in convertLocationInfo()
596 out.bodyFrameData.longAccelUnc = locationExtended.bodyFrameData.longAccelUnc; in convertLocationInfo()
597 out.bodyFrameData.latAccelUnc = locationExtended.bodyFrameData.latAccelUnc; in convertLocationInfo()
598 out.bodyFrameData.vertAccelUnc = locationExtended.bodyFrameData.vertAccelUnc; in convertLocationInfo()
599 out.bodyFrameData.yawRateUnc = locationExtended.bodyFrameData.yawRateUnc; in convertLocationInfo()
600 out.bodyFrameData.pitchUnc = locationExtended.bodyFrameData.pitchUnc; in convertLocationInfo()
602 out.bodyFrameDataExt.pitchRate = locationExtended.bodyFrameDataExt.pitchRate; in convertLocationInfo()
603 out.bodyFrameDataExt.pitchRateUnc = locationExtended.bodyFrameDataExt.pitchRateUnc; in convertLocationInfo()
604 out.bodyFrameDataExt.roll = locationExtended.bodyFrameDataExt.roll; in convertLocationInfo()
605 out.bodyFrameDataExt.rollUnc = locationExtended.bodyFrameDataExt.rollUnc; in convertLocationInfo()
606 out.bodyFrameDataExt.rollRate = locationExtended.bodyFrameDataExt.rollRate; in convertLocationInfo()
607 out.bodyFrameDataExt.rollRateUnc = locationExtended.bodyFrameDataExt.rollRateUnc; in convertLocationInfo()
608 out.bodyFrameDataExt.yaw = locationExtended.bodyFrameDataExt.yaw; in convertLocationInfo()
609 out.bodyFrameDataExt.yawUnc = locationExtended.bodyFrameDataExt.yawUnc; in convertLocationInfo()
613 out.gnssSystemTime = locationExtended.gnssSystemTime; in convertLocationInfo()
615 if (GPS_LOCATION_EXTENDED_HAS_LEAP_SECONDS & locationExtended.flags) { in convertLocationInfo()
617 out.leapSeconds = locationExtended.leapSeconds; in convertLocationInfo()
620 if (GPS_LOCATION_EXTENDED_HAS_TIME_UNC & locationExtended.flags) { in convertLocationInfo()
622 out.timeUncMs = locationExtended.timeUncMs; in convertLocationInfo()
625 if (GPS_LOCATION_EXTENDED_HAS_CALIBRATION_CONFIDENCE & locationExtended.flags) { in convertLocationInfo()
627 out.calibrationConfidence = locationExtended.calibrationConfidence; in convertLocationInfo()
630 if (GPS_LOCATION_EXTENDED_HAS_CALIBRATION_STATUS & locationExtended.flags) { in convertLocationInfo()
632 out.calibrationStatus = locationExtended.calibrationStatus; in convertLocationInfo()
635 if (GPS_LOCATION_EXTENDED_HAS_OUTPUT_ENG_TYPE & locationExtended.flags) { in convertLocationInfo()
637 out.locOutputEngType = locationExtended.locOutputEngType; in convertLocationInfo()
640 if (GPS_LOCATION_EXTENDED_HAS_OUTPUT_ENG_MASK & locationExtended.flags) { in convertLocationInfo()
642 out.locOutputEngMask = locationExtended.locOutputEngMask; in convertLocationInfo()
645 if (GPS_LOCATION_EXTENDED_HAS_CONFORMITY_INDEX & locationExtended.flags) { in convertLocationInfo()
647 out.conformityIndex = locationExtended.conformityIndex; in convertLocationInfo()
650 if (GPS_LOCATION_EXTENDED_HAS_LLA_VRP_BASED & locationExtended.flags) { in convertLocationInfo()
652 out.llaVRPBased = locationExtended.llaVRPBased; in convertLocationInfo()
655 if (GPS_LOCATION_EXTENDED_HAS_ENU_VELOCITY_LLA_VRP_BASED & locationExtended.flags) { in convertLocationInfo()
658 out.enuVelocityVRPBased[0] = locationExtended.enuVelocityVRPBased[0]; in convertLocationInfo()
659 out.enuVelocityVRPBased[1] = locationExtended.enuVelocityVRPBased[1]; in convertLocationInfo()
660 out.enuVelocityVRPBased[2] = locationExtended.enuVelocityVRPBased[2]; in convertLocationInfo()
663 if (GPS_LOCATION_EXTENDED_HAS_DR_SOLUTION_STATUS_MASK & locationExtended.flags) { in convertLocationInfo()
665 out.drSolutionStatusMask = locationExtended.drSolutionStatusMask; in convertLocationInfo()
668 if (GPS_LOCATION_EXTENDED_HAS_ALTITUDE_ASSUMED & locationExtended.flags) { in convertLocationInfo()
670 out.altitudeAssumed = locationExtended.altitudeAssumed; in convertLocationInfo()
3708 const GpsLocationExtended& locationExtended, in reportPositionEvent() argument
3718 locationExtended.locOutputEngType, in reportPositionEvent()
3732 const GpsLocationExtended& locationExtended, in reportPositionEvent()
3740 mLocationExtended(locationExtended), in reportPositionEvent()
3767 engLocationInfo.locationExtended = mLocationExtended; in reportPositionEvent()
3772 engLocationInfo.locationExtended, in reportPositionEvent()
3802 sendMsg(new MsgReportSPEPosition(*this, ulpLocation, locationExtended, in reportPositionEvent()
3967 const GpsLocationExtended& locationExtended, in reportPosition() argument
3976 convertLocationInfo(locationInfo, locationExtended, status); in reportPosition()
3977 convertLocation(locationInfo.location, ulpLocation, locationExtended); in reportPosition()
4004 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_GNSS_SV_USED_DATA) { in reportPosition()
4006 mGnssSvIdUsedInPosition = locationExtended.gnss_sv_used_ids; in reportPosition()
4007 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MULTIBAND) { in reportPosition()
4009 mGnssMbSvIdUsedInPosition = locationExtended.gnss_mb_sv_used_ids; in reportPosition()
4029 if (needToGenerateNmeaReport(locationExtended.gpsTime.gpsTimeOfWeekMs, in reportPosition()
4030 locationExtended.timeStamp.apTimeStamp)) { in reportPosition()
4035 (LOC_RELIABILITY_NOT_SET == locationExtended.horizontal_reliability)); in reportPosition()
4042 loc_nmea_generate_pos(ulpLocation, locationExtended, mLocSystemInfo, generate_nmea, in reportPosition()
4097 if ((GPS_LOCATION_EXTENDED_HAS_OUTPUT_ENG_TYPE & engLocation->locationExtended.flags) && in reportEnginePositions()
4098 (LOC_OUTPUT_ENGINE_FUSED == engLocation->locationExtended.locOutputEngType)) { in reportEnginePositions()
4100 engLocation->locationExtended, in reportEnginePositions()
4106 convertLocationInfo(locationInfo[i], engLocation->locationExtended, in reportEnginePositions()
4110 engLocation->locationExtended); in reportEnginePositions()
4116 engLocation->locationExtended.locOutputEngType); in reportEnginePositions()
4119 if ((GPS_LOCATION_EXTENDED_HAS_OUTPUT_ENG_TYPE & engLocation->locationExtended.flags) && in reportEnginePositions()
4120 (LOC_OUTPUT_ENGINE_SPE == engLocation->locationExtended.locOutputEngType)) { in reportEnginePositions()
4124 if ((GPS_LOCATION_EXTENDED_HAS_OUTPUT_ENG_TYPE & engLocation->locationExtended.flags) && in reportEnginePositions()
4125 (LOC_OUTPUT_ENGINE_PPE == engLocation->locationExtended.locOutputEngType)) { in reportEnginePositions()