/hardware/qcom/sm7150/gps/utils/ |
D | loc_nmea.cpp | 569 static uint32_t loc_nmea_generate_GSA(const GpsLocationExtended &locationExtended, in loc_nmea_generate_GSA() argument 653 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_nmea_generate_GSA() 656 locationExtended.pdop, in loc_nmea_generate_GSA() 657 locationExtended.hdop, in loc_nmea_generate_GSA() 658 locationExtended.vdop); in loc_nmea_generate_GSA() 962 const GpsLocationExtended &locationExtended, in get_utctime_with_leapsecond_transition() argument 975 if ((locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_GPS_TIME) && in get_utctime_with_leapsecond_transition() 987 uint64_t gpsTimePosReport = locationExtended.gpsTime.gpsWeek * MSEC_IN_ONE_WEEK + in get_utctime_with_leapsecond_transition() 988 locationExtended.gpsTime.gpsTimeOfWeekMs; in get_utctime_with_leapsecond_transition() 1035 const GpsLocationExtended & locationExtended, in loc_nmea_get_fix_quality() argument [all …]
|
/hardware/qcom/sm7250/gps/utils/ |
D | loc_nmea.cpp | 618 static uint32_t loc_nmea_generate_GSA(const GpsLocationExtended &locationExtended, in loc_nmea_generate_GSA() argument 722 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_nmea_generate_GSA() 725 locationExtended.pdop, in loc_nmea_generate_GSA() 726 locationExtended.hdop, in loc_nmea_generate_GSA() 727 locationExtended.vdop); in loc_nmea_generate_GSA() 1039 const GpsLocationExtended &locationExtended, in get_utctime_with_leapsecond_transition() argument 1052 if ((locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_GPS_TIME) && in get_utctime_with_leapsecond_transition() 1064 uint64_t gpsTimePosReport = locationExtended.gpsTime.gpsWeek * MSEC_IN_ONE_WEEK + in get_utctime_with_leapsecond_transition() 1065 locationExtended.gpsTime.gpsTimeOfWeekMs; in get_utctime_with_leapsecond_transition() 1112 const GpsLocationExtended & locationExtended, in loc_nmea_get_fix_quality() argument [all …]
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_nmea.cpp | 618 static uint32_t loc_nmea_generate_GSA(const GpsLocationExtended &locationExtended, in loc_nmea_generate_GSA() argument 722 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_nmea_generate_GSA() 725 locationExtended.pdop, in loc_nmea_generate_GSA() 726 locationExtended.hdop, in loc_nmea_generate_GSA() 727 locationExtended.vdop); in loc_nmea_generate_GSA() 1045 const GpsLocationExtended &locationExtended, in get_utctime_with_leapsecond_transition() argument 1058 if ((locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_GPS_TIME) && in get_utctime_with_leapsecond_transition() 1070 uint64_t gpsTimePosReport = locationExtended.gpsTime.gpsWeek * MSEC_IN_ONE_WEEK + in get_utctime_with_leapsecond_transition() 1071 locationExtended.gpsTime.gpsTimeOfWeekMs; in get_utctime_with_leapsecond_transition() 1118 const GpsLocationExtended & locationExtended, in loc_nmea_get_fix_quality() argument [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | LocEngAdapter.cpp | 102 GpsLocationExtended &locationExtended, in reportPosition() argument 109 locationExtended, in reportPosition() 117 GpsLocationExtended &locationExtended, in reportPosition() argument 123 locationExtended, in reportPosition() 128 locationExtended, in reportPosition() 136 GpsLocationExtended &locationExtended, in reportSv() argument 139 locationExtended, svExt)); in reportSv() 143 GpsLocationExtended &locationExtended, in reportSv() argument 150 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv() 151 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
|
D | loc_eng_nmea.cpp | 113 const GpsLocationExtended &locationExtended, in loc_eng_nmea_generate_pos() argument 183 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() 186 locationExtended.pdop, in loc_eng_nmea_generate_pos() 187 locationExtended.hdop, in loc_eng_nmea_generate_pos() 188 locationExtended.vdop); in loc_eng_nmea_generate_pos() 215 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 217 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 382 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 384 float magneticVariation = locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 497 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8998/utils/ |
D | loc_nmea.cpp | 219 static uint32_t loc_nmea_generate_GSA(const GpsLocationExtended &locationExtended, in loc_nmea_generate_GSA() argument 298 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_nmea_generate_GSA() 301 locationExtended.pdop, in loc_nmea_generate_GSA() 302 locationExtended.hdop, in loc_nmea_generate_GSA() 303 locationExtended.vdop); in loc_nmea_generate_GSA() 474 const GpsLocationExtended &locationExtended, in loc_nmea_generate_pos() argument 499 if (GPS_LOCATION_EXTENDED_HAS_GNSS_SV_USED_DATA & locationExtended.flags) { in loc_nmea_generate_pos() 501 (uint32_t)locationExtended.gnss_sv_used_ids.gps_sv_used_ids_mask; in loc_nmea_generate_pos() 503 (uint32_t)locationExtended.gnss_sv_used_ids.glo_sv_used_ids_mask; in loc_nmea_generate_pos() 505 (uint32_t)locationExtended.gnss_sv_used_ids.gal_sv_used_ids_mask; in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/sm8150p/gps/utils/ |
D | loc_nmea.cpp | 569 static uint32_t loc_nmea_generate_GSA(const GpsLocationExtended &locationExtended, in loc_nmea_generate_GSA() argument 653 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_nmea_generate_GSA() 656 locationExtended.pdop, in loc_nmea_generate_GSA() 657 locationExtended.hdop, in loc_nmea_generate_GSA() 658 locationExtended.vdop); in loc_nmea_generate_GSA() 957 const GpsLocationExtended &locationExtended, in get_utctime_with_leapsecond_transition() argument 970 if ((locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_GPS_TIME) && in get_utctime_with_leapsecond_transition() 982 uint64_t gpsTimePosReport = locationExtended.gpsTime.gpsWeek * MSEC_IN_ONE_WEEK + in get_utctime_with_leapsecond_transition() 983 locationExtended.gpsTime.gpsTimeOfWeekMs; in get_utctime_with_leapsecond_transition() 1030 const GpsLocationExtended & locationExtended, in loc_nmea_get_fix_quality() argument [all …]
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | loc_nmea.cpp | 220 static uint32_t loc_nmea_generate_GSA(const GpsLocationExtended &locationExtended, in loc_nmea_generate_GSA() argument 299 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_nmea_generate_GSA() 302 locationExtended.pdop, in loc_nmea_generate_GSA() 303 locationExtended.hdop, in loc_nmea_generate_GSA() 304 locationExtended.vdop); in loc_nmea_generate_GSA() 475 const GpsLocationExtended &locationExtended, in loc_nmea_generate_pos() argument 508 count = loc_nmea_generate_GSA(locationExtended, sentence, sizeof(sentence), in loc_nmea_generate_pos() 521 count = loc_nmea_generate_GSA(locationExtended, sentence, sizeof(sentence), in loc_nmea_generate_pos() 534 count = loc_nmea_generate_GSA(locationExtended, sentence, sizeof(sentence), in loc_nmea_generate_pos() 547 count = loc_nmea_generate_GSA(locationExtended, sentence, sizeof(sentence), in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | LocEngAdapter.cpp | 171 GpsLocationExtended &locationExtended, in reportPosition() argument 178 locationExtended, in reportPosition() 186 GpsLocationExtended &locationExtended, in reportPosition() argument 192 locationExtended, in reportPosition() 197 locationExtended, in reportPosition() 205 GpsLocationExtended &locationExtended, in reportSv() argument 208 locationExtended, svExt)); in reportSv() 212 GpsLocationExtended &locationExtended, in reportSv() argument 219 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv() 220 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
|
D | loc_eng_nmea.cpp | 117 const GpsLocationExtended &locationExtended, in loc_eng_nmea_generate_pos() argument 187 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() 190 locationExtended.pdop, in loc_eng_nmea_generate_pos() 191 locationExtended.hdop, in loc_eng_nmea_generate_pos() 192 locationExtended.vdop); in loc_eng_nmea_generate_pos() 219 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 221 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 386 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 388 float magneticVariation = locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 501 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() [all …]
|
D | loc_eng_nmea.h | 39 …_s_type *loc_eng_data_p, const GpsSvStatus &svStatus, const GpsLocationExtended &locationExtended); 40 …eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned cha…
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 117 const GpsLocationExtended &locationExtended, in loc_eng_nmea_generate_pos() argument 191 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() 194 locationExtended.pdop, in loc_eng_nmea_generate_pos() 195 locationExtended.hdop, in loc_eng_nmea_generate_pos() 196 locationExtended.vdop); in loc_eng_nmea_generate_pos() 223 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 390 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 392 float magneticVariation = locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 505 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() [all …]
|
D | LocEngAdapter.cpp | 172 GpsLocationExtended &locationExtended, in reportPosition() argument 179 locationExtended, in reportPosition() 187 GpsLocationExtended &locationExtended, in reportPosition() argument 193 locationExtended, in reportPosition() 198 locationExtended, in reportPosition() 206 GpsLocationExtended &locationExtended, in reportSv() argument 209 locationExtended, svExt)); in reportSv() 213 GpsLocationExtended &locationExtended, in reportSv() argument 220 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv() 221 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
|
D | loc_eng_nmea.h | 40 …s_type *loc_eng_data_p, const GnssSvStatus &svStatus, const GpsLocationExtended &locationExtended); 41 …eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned cha…
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 113 const GpsLocationExtended &locationExtended, in loc_eng_nmea_generate_pos() argument 186 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() 189 locationExtended.pdop, in loc_eng_nmea_generate_pos() 190 locationExtended.hdop, in loc_eng_nmea_generate_pos() 191 locationExtended.vdop); in loc_eng_nmea_generate_pos() 218 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 220 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 385 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 387 float magneticVariation = locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 500 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() [all …]
|
D | LocEngAdapter.cpp | 172 GpsLocationExtended &locationExtended, in reportPosition() argument 179 locationExtended, in reportPosition() 187 GpsLocationExtended &locationExtended, in reportPosition() argument 193 locationExtended, in reportPosition() 198 locationExtended, in reportPosition() 206 GpsLocationExtended &locationExtended, in reportSv() argument 209 locationExtended, svExt)); in reportSv() 213 GpsLocationExtended &locationExtended, in reportSv() argument 220 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv() 221 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 118 const GpsLocationExtended &locationExtended, in loc_eng_nmea_generate_pos() argument 191 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() 194 locationExtended.pdop, in loc_eng_nmea_generate_pos() 195 locationExtended.hdop, in loc_eng_nmea_generate_pos() 196 locationExtended.vdop); in loc_eng_nmea_generate_pos() 223 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 390 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 392 float magneticVariation = locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 505 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() [all …]
|
D | LocEngAdapter.cpp | 169 GpsLocationExtended &locationExtended, in reportPosition() argument 176 locationExtended, in reportPosition() 184 GpsLocationExtended &locationExtended, in reportPosition() argument 190 locationExtended, in reportPosition() 195 locationExtended, in reportPosition() 203 GpsLocationExtended &locationExtended, in reportSv() argument 206 locationExtended, svExt)); in reportSv() 210 GpsLocationExtended &locationExtended, in reportSv() argument 217 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv() 218 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 117 const GpsLocationExtended &locationExtended, in loc_eng_nmea_generate_pos() argument 190 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() 193 locationExtended.pdop, in loc_eng_nmea_generate_pos() 194 locationExtended.hdop, in loc_eng_nmea_generate_pos() 195 locationExtended.vdop); in loc_eng_nmea_generate_pos() 222 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 224 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 389 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_MAG_DEV) in loc_eng_nmea_generate_pos() 391 float magneticVariation = locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 504 if (locationExtended.flags & GPS_LOCATION_EXTENDED_HAS_DOP) in loc_eng_nmea_generate_pos() [all …]
|
D | LocEngAdapter.cpp | 169 GpsLocationExtended &locationExtended, in reportPosition() argument 176 locationExtended, in reportPosition() 184 GpsLocationExtended &locationExtended, in reportPosition() argument 190 locationExtended, in reportPosition() 195 locationExtended, in reportPosition() 203 GpsLocationExtended &locationExtended, in reportSv() argument 206 locationExtended, svExt)); in reportSv() 210 GpsLocationExtended &locationExtended, in reportSv() argument 217 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv() 218 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
|
D | loc_eng_nmea.h | 39 …_s_type *loc_eng_data_p, const GpsSvStatus &svStatus, const GpsLocationExtended &locationExtended); 40 …eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned cha…
|
/hardware/qcom/sm7150/gps/gnss/ |
D | GnssAdapter.cpp | 205 const GpsLocationExtended& locationExtended, in convertLocation() argument 231 if (GPS_LOCATION_EXTENDED_HAS_VERT_UNC & locationExtended.flags) { in convertLocation() 233 out.verticalAccuracy = locationExtended.vert_unc; in convertLocation() 235 if (GPS_LOCATION_EXTENDED_HAS_SPEED_UNC & locationExtended.flags) { in convertLocation() 237 out.speedAccuracy = locationExtended.speed_unc; in convertLocation() 239 if (GPS_LOCATION_EXTENDED_HAS_BEARING_UNC & locationExtended.flags) { in convertLocation() 241 out.bearingAccuracy = locationExtended.bearing_unc; in convertLocation() 290 const GpsLocationExtended& locationExtended) in convertLocationInfo() argument 293 if (GPS_LOCATION_EXTENDED_HAS_ALTITUDE_MEAN_SEA_LEVEL & locationExtended.flags) { in convertLocationInfo() 295 out.altitudeMeanSeaLevel = locationExtended.altitudeMeanSeaLevel; in convertLocationInfo() [all …]
|
/hardware/qcom/sm8150/gps/gnss/ |
D | GnssAdapter.cpp | 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() [all …]
|
/hardware/qcom/sm7250/gps/gnss/ |
D | GnssAdapter.cpp | 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() [all …]
|
/hardware/qcom/sm8150p/gps/gnss/ |
D | GnssAdapter.cpp | 173 const GpsLocationExtended& locationExtended, in convertLocation() argument 199 if (GPS_LOCATION_EXTENDED_HAS_VERT_UNC & locationExtended.flags) { in convertLocation() 201 out.verticalAccuracy = locationExtended.vert_unc; in convertLocation() 203 if (GPS_LOCATION_EXTENDED_HAS_SPEED_UNC & locationExtended.flags) { in convertLocation() 205 out.speedAccuracy = locationExtended.speed_unc; in convertLocation() 207 if (GPS_LOCATION_EXTENDED_HAS_BEARING_UNC & locationExtended.flags) { in convertLocation() 209 out.bearingAccuracy = locationExtended.bearing_unc; in convertLocation() 258 const GpsLocationExtended& locationExtended) in convertLocationInfo() argument 261 if (GPS_LOCATION_EXTENDED_HAS_ALTITUDE_MEAN_SEA_LEVEL & locationExtended.flags) { in convertLocationInfo() 263 out.altitudeMeanSeaLevel = locationExtended.altitudeMeanSeaLevel; in convertLocationInfo() [all …]
|