Home
last modified time | relevance | path

Searched refs:svStatus (Results 1 – 25 of 63) sorted by relevance

123

/hardware/qcom/gps/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp606 … const GpsSvStatus &svStatus, const GpsLocationExtended &locationExtended) in loc_eng_nmea_generate_sv() argument
614 int svCount = svStatus.num_svs; in loc_eng_nmea_generate_sv()
624 if( (svStatus.sv_list[svNumber-1].prn >= GPS_PRN_START)&& in loc_eng_nmea_generate_sv()
625 (svStatus.sv_list[svNumber-1].prn <= GPS_PRN_END) ) in loc_eng_nmea_generate_sv()
629 else if( (svStatus.sv_list[svNumber-1].prn >= GLONASS_PRN_START) && in loc_eng_nmea_generate_sv()
630 (svStatus.sv_list[svNumber-1].prn <= GLONASS_PRN_END) ) in loc_eng_nmea_generate_sv()
671 if( (svStatus.sv_list[svNumber-1].prn >= GPS_PRN_START) && in loc_eng_nmea_generate_sv()
672 (svStatus.sv_list[svNumber-1].prn <= GPS_PRN_END) ) in loc_eng_nmea_generate_sv()
675 svStatus.sv_list[svNumber-1].prn, in loc_eng_nmea_generate_sv()
676 … (int)(0.5 + svStatus.sv_list[svNumber-1].elevation), //float to int in loc_eng_nmea_generate_sv()
[all …]
DLocEngAdapter.cpp202 void LocInternalAdapter::reportSv(GpsSvStatus &svStatus, in reportSv() argument
205 sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus, in reportSv()
209 void LocEngAdapter::reportSv(GpsSvStatus &svStatus, in reportSv() argument
217 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv()
218 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
Dloc_eng_nmea.h39 void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p, const GpsSvStatus &svStatus, con…
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp607 … const GpsSvStatus &svStatus, const GpsLocationExtended &locationExtended) in loc_eng_nmea_generate_sv() argument
615 int svCount = svStatus.num_svs; in loc_eng_nmea_generate_sv()
625 if( (svStatus.sv_list[svNumber-1].prn >= GPS_PRN_START)&& in loc_eng_nmea_generate_sv()
626 (svStatus.sv_list[svNumber-1].prn <= GPS_PRN_END) ) in loc_eng_nmea_generate_sv()
630 else if( (svStatus.sv_list[svNumber-1].prn >= GLONASS_PRN_START) && in loc_eng_nmea_generate_sv()
631 (svStatus.sv_list[svNumber-1].prn <= GLONASS_PRN_END) ) in loc_eng_nmea_generate_sv()
672 if( (svStatus.sv_list[svNumber-1].prn >= GPS_PRN_START) && in loc_eng_nmea_generate_sv()
673 (svStatus.sv_list[svNumber-1].prn <= GPS_PRN_END) ) in loc_eng_nmea_generate_sv()
676 svStatus.sv_list[svNumber-1].prn, in loc_eng_nmea_generate_sv()
677 … (int)(0.5 + svStatus.sv_list[svNumber-1].elevation), //float to int in loc_eng_nmea_generate_sv()
[all …]
DLocEngAdapter.cpp202 void LocInternalAdapter::reportSv(GpsSvStatus &svStatus, in reportSv() argument
205 sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus, in reportSv()
209 void LocEngAdapter::reportSv(GpsSvStatus &svStatus, in reportSv() argument
217 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv()
218 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
Dloc_eng_nmea.h39 void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p, const GpsSvStatus &svStatus, con…
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp603 … const GpsSvStatus &svStatus, const GpsLocationExtended &locationExtended) in loc_eng_nmea_generate_sv() argument
611 int svCount = svStatus.num_svs; in loc_eng_nmea_generate_sv()
621 if( (svStatus.sv_list[svNumber-1].prn >= GPS_PRN_START)&& in loc_eng_nmea_generate_sv()
622 (svStatus.sv_list[svNumber-1].prn <= GPS_PRN_END) ) in loc_eng_nmea_generate_sv()
626 else if( (svStatus.sv_list[svNumber-1].prn >= GLONASS_PRN_START) && in loc_eng_nmea_generate_sv()
627 (svStatus.sv_list[svNumber-1].prn <= GLONASS_PRN_END) ) in loc_eng_nmea_generate_sv()
668 if( (svStatus.sv_list[svNumber-1].prn >= GPS_PRN_START) && in loc_eng_nmea_generate_sv()
669 (svStatus.sv_list[svNumber-1].prn <= GPS_PRN_END) ) in loc_eng_nmea_generate_sv()
672 svStatus.sv_list[svNumber-1].prn, in loc_eng_nmea_generate_sv()
673 … (int)(0.5 + svStatus.sv_list[svNumber-1].elevation), //float to int in loc_eng_nmea_generate_sv()
[all …]
DLocEngAdapter.cpp204 void LocInternalAdapter::reportSv(GpsSvStatus &svStatus, in reportSv() argument
207 sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus, in reportSv()
211 void LocEngAdapter::reportSv(GpsSvStatus &svStatus, in reportSv() argument
219 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv()
220 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
Dloc_eng_nmea.h39 void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p, const GpsSvStatus &svStatus, con…
/hardware/qcom/gps/msm8998/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp348 const GnssSvStatus &svStatus, in loc_eng_nmea_generate_GSV() argument
401 for (int i=0; (svNumber <= svStatus.num_svs) && (i < 4); svNumber++) in loc_eng_nmea_generate_GSV()
403 if (sv_meta_p->svType == svStatus.gnss_sv_list[svNumber - 1].constellation) in loc_eng_nmea_generate_GSV()
406 svStatus.gnss_sv_list[svNumber - 1].svid, in loc_eng_nmea_generate_GSV()
407 (int)(0.5 + svStatus.gnss_sv_list[svNumber - 1].elevation), //float to int in loc_eng_nmea_generate_GSV()
408 (int)(0.5 + svStatus.gnss_sv_list[svNumber - 1].azimuth)); //float to int in loc_eng_nmea_generate_GSV()
418 if (svStatus.gnss_sv_list[svNumber - 1].c_n0_dbhz > 0) in loc_eng_nmea_generate_GSV()
421 … (int)(0.5 + svStatus.gnss_sv_list[svNumber - 1].c_n0_dbhz)); //float to int in loc_eng_nmea_generate_GSV()
939 … const GnssSvStatus &svStatus, const GpsLocationExtended &locationExtended) in loc_eng_nmea_generate_sv() argument
947 int svCount = svStatus.num_svs; in loc_eng_nmea_generate_sv()
[all …]
DLocEngAdapter.cpp379 void LocInternalAdapter::reportSv(GnssSvStatus &svStatus, in reportSv() argument
382 sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus, in reportSv()
386 void LocEngAdapter::reportSv(GnssSvStatus &svStatus, in reportSv() argument
394 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv()
395 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp607 … const GnssSvStatus &svStatus, const GpsLocationExtended &locationExtended) in loc_eng_nmea_generate_sv() argument
615 int svCount = svStatus.num_svs; in loc_eng_nmea_generate_sv()
626 if (GNSS_CONSTELLATION_GPS == svStatus.gnss_sv_list[svNumber - 1].constellation) in loc_eng_nmea_generate_sv()
630 …if (GNSS_SV_FLAGS_USED_IN_FIX == (svStatus.gnss_sv_list[svNumber - 1].flags & GNSS_SV_FLAGS_USED_I… in loc_eng_nmea_generate_sv()
632 … loc_eng_data_p->sv_used_mask |= (1 << (svStatus.gnss_sv_list[svNumber - 1].svid - 1)); in loc_eng_nmea_generate_sv()
636 else if (GNSS_CONSTELLATION_GLONASS == svStatus.gnss_sv_list[svNumber - 1].constellation) in loc_eng_nmea_generate_sv()
677 if (GNSS_CONSTELLATION_GPS == svStatus.gnss_sv_list[svNumber - 1].constellation) in loc_eng_nmea_generate_sv()
680 svStatus.gnss_sv_list[svNumber-1].svid, in loc_eng_nmea_generate_sv()
681 … (int)(0.5 + svStatus.gnss_sv_list[svNumber-1].elevation), //float to int in loc_eng_nmea_generate_sv()
682 … (int)(0.5 + svStatus.gnss_sv_list[svNumber-1].azimuth)); //float to int in loc_eng_nmea_generate_sv()
[all …]
DLocEngAdapter.cpp205 void LocInternalAdapter::reportSv(GnssSvStatus &svStatus, in reportSv() argument
208 sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus, in reportSv()
212 void LocEngAdapter::reportSv(GnssSvStatus &svStatus, in reportSv() argument
220 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv()
221 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
Dloc_eng_nmea.h40 void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p, const GnssSvStatus &svStatus, co…
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp602 … const GnssSvStatus &svStatus, const GpsLocationExtended &locationExtended) in loc_eng_nmea_generate_sv() argument
610 int svCount = svStatus.num_svs; in loc_eng_nmea_generate_sv()
620 if (GNSS_CONSTELLATION_GPS == svStatus.gnss_sv_list[svNumber - 1].constellation) in loc_eng_nmea_generate_sv()
624 …if (GNSS_SV_FLAGS_USED_IN_FIX == (svStatus.gnss_sv_list[svNumber - 1].flags & GNSS_SV_FLAGS_USED_I… in loc_eng_nmea_generate_sv()
626 … loc_eng_data_p->sv_used_mask |= (1 << (svStatus.gnss_sv_list[svNumber - 1].svid - 1)); in loc_eng_nmea_generate_sv()
630 else if (GNSS_CONSTELLATION_GLONASS == svStatus.gnss_sv_list[svNumber - 1].constellation) in loc_eng_nmea_generate_sv()
671 if (GNSS_CONSTELLATION_GPS == svStatus.gnss_sv_list[svNumber - 1].constellation) in loc_eng_nmea_generate_sv()
674 svStatus.gnss_sv_list[svNumber-1].svid, in loc_eng_nmea_generate_sv()
675 … (int)(0.5 + svStatus.gnss_sv_list[svNumber-1].elevation), //float to int in loc_eng_nmea_generate_sv()
676 … (int)(0.5 + svStatus.gnss_sv_list[svNumber-1].azimuth)); //float to int in loc_eng_nmea_generate_sv()
[all …]
DLocEngAdapter.cpp205 void LocInternalAdapter::reportSv(GnssSvStatus &svStatus, in reportSv() argument
208 sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus, in reportSv()
212 void LocEngAdapter::reportSv(GnssSvStatus &svStatus, in reportSv() argument
220 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv()
221 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
Dloc_eng_nmea.h40 void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p, const GnssSvStatus &svStatus, co…
/hardware/qcom/gps/msm8998/core/
DLocApiBase.cpp268 void LocApiBase::reportSv(GnssSvStatus &svStatus, in reportSv() argument
279 svStatus.num_svs); in reportSv()
280 for (int i = 0; i < svStatus.num_svs && i < GNSS_MAX_SVS; i++) { in reportSv()
281 if (svStatus.gnss_sv_list[i].constellation > in reportSv()
283 svStatus.gnss_sv_list[i].constellation = 0; in reportSv()
288 constellationString[svStatus.gnss_sv_list[i].constellation], in reportSv()
289 svStatus.gnss_sv_list[i].svid, in reportSv()
290 svStatus.gnss_sv_list[i].c_n0_dbhz, in reportSv()
291 svStatus.gnss_sv_list[i].elevation, in reportSv()
292 svStatus.gnss_sv_list[i].azimuth, in reportSv()
[all …]
DUlpProxyBase.h66 inline virtual bool reportSv(GnssSvStatus &svStatus, in reportSv() argument
69 (void)svStatus; in reportSv()
/hardware/qcom/gps/core/
DLocApiBase.cpp256 void LocApiBase::reportSv(GpsSvStatus &svStatus, in reportSv() argument
263 svStatus.num_svs, svStatus.ephemeris_mask, in reportSv()
264 svStatus.almanac_mask, svStatus.used_in_fix_mask); in reportSv()
265 for (int i = 0; i < svStatus.num_svs && i < GPS_MAX_SVS; i++) { in reportSv()
268 svStatus.sv_list[i].prn, in reportSv()
269 svStatus.sv_list[i].snr, in reportSv()
270 svStatus.sv_list[i].elevation, in reportSv()
271 svStatus.sv_list[i].azimuth); in reportSv()
275 mLocAdapters[i]->reportSv(svStatus, in reportSv()
/hardware/qcom/gps/msm8994/core/
DLocApiBase.cpp256 void LocApiBase::reportSv(GpsSvStatus &svStatus, in reportSv() argument
263 svStatus.num_svs, svStatus.ephemeris_mask, in reportSv()
264 svStatus.almanac_mask, svStatus.used_in_fix_mask); in reportSv()
265 for (int i = 0; i < svStatus.num_svs && i < GPS_MAX_SVS; i++) { in reportSv()
268 svStatus.sv_list[i].prn, in reportSv()
269 svStatus.sv_list[i].snr, in reportSv()
270 svStatus.sv_list[i].elevation, in reportSv()
271 svStatus.sv_list[i].azimuth); in reportSv()
275 mLocAdapters[i]->reportSv(svStatus, in reportSv()
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
DLocEngAdapter.cpp135 void LocInternalAdapter::reportSv(GpsSvStatus &svStatus, in reportSv() argument
138 sendMsg(new LocEngReportSv(mLocEngAdapter, svStatus, in reportSv()
142 void LocEngAdapter::reportSv(GpsSvStatus &svStatus, in reportSv() argument
150 if (! mUlp->reportSv(svStatus, locationExtended, svExt)) { in reportSv()
151 mInternalAdapter->reportSv(svStatus, locationExtended, svExt); in reportSv()
Dloc_eng_nmea.cpp599 … const GpsSvStatus &svStatus, const GpsLocationExtended &locationExtended) in loc_eng_nmea_generate_sv() argument
612 if (svStatus.num_svs <= 0) in loc_eng_nmea_generate_sv()
621 int svCount = svStatus.num_svs; in loc_eng_nmea_generate_sv()
623 if (svStatus.num_svs % 4) in loc_eng_nmea_generate_sv()
647 svStatus.sv_list[svNumber-1].prn, in loc_eng_nmea_generate_sv()
648 … (int)(0.5 + svStatus.sv_list[svNumber-1].elevation), //float to int in loc_eng_nmea_generate_sv()
649 (int)(0.5 + svStatus.sv_list[svNumber-1].azimuth)); //float to int in loc_eng_nmea_generate_sv()
659 if (svStatus.sv_list[svNumber-1].snr > 0) in loc_eng_nmea_generate_sv()
662 (int)(0.5 + svStatus.sv_list[svNumber-1].snr)); //float to int in loc_eng_nmea_generate_sv()
681 if (svStatus.used_in_fix_mask == 0) in loc_eng_nmea_generate_sv()
[all …]
/hardware/qcom/gps/msm8996/core/
DLocApiBase.cpp256 void LocApiBase::reportSv(GnssSvStatus &svStatus, in reportSv() argument
261 LOC_LOGV("num sv: %d", svStatus.num_svs); in reportSv()
262 for (int i = 0; i < svStatus.num_svs && i < GNSS_MAX_SVS; i++) { in reportSv()
265 svStatus.gnss_sv_list[i].svid, in reportSv()
266 svStatus.gnss_sv_list[i].constellation, in reportSv()
267 svStatus.gnss_sv_list[i].c_n0_dbhz, in reportSv()
268 svStatus.gnss_sv_list[i].elevation, in reportSv()
269 svStatus.gnss_sv_list[i].azimuth, in reportSv()
270 svStatus.gnss_sv_list[i].flags); in reportSv()
274 mLocAdapters[i]->reportSv(svStatus, in reportSv()
/hardware/qcom/gps/msm8909/core/
DLocApiBase.cpp256 void LocApiBase::reportSv(GnssSvStatus &svStatus, in reportSv() argument
261 LOC_LOGV("num sv: %d", svStatus.num_svs); in reportSv()
262 for (int i = 0; i < svStatus.num_svs && i < GNSS_MAX_SVS; i++) { in reportSv()
265 svStatus.gnss_sv_list[i].svid, in reportSv()
266 svStatus.gnss_sv_list[i].constellation, in reportSv()
267 svStatus.gnss_sv_list[i].c_n0_dbhz, in reportSv()
268 svStatus.gnss_sv_list[i].elevation, in reportSv()
269 svStatus.gnss_sv_list[i].azimuth, in reportSv()
270 svStatus.gnss_sv_list[i].flags); in reportSv()
275 mLocAdapters[i]->reportSv(svStatus, in reportSv()

123