Home
last modified time | relevance | path

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

1234

/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/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/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/interfaces/gnss/1.0/default/
DGnss.cpp120 IGnssCallback::GnssSvStatus svStatus; in gnssSvStatusCb() local
121 svStatus.numSvs = status->num_svs; in gnssSvStatusCb()
123 if (svStatus.numSvs > static_cast<uint32_t>(GnssMax::SVS_COUNT)) { in gnssSvStatusCb()
124 ALOGW("Too many satellites %u. Clamps to %d.", svStatus.numSvs, GnssMax::SVS_COUNT); in gnssSvStatusCb()
125 svStatus.numSvs = static_cast<uint32_t>(GnssMax::SVS_COUNT); in gnssSvStatusCb()
128 for (size_t i = 0; i < svStatus.numSvs; i++) { in gnssSvStatusCb()
145 svStatus.gnssSvList[i] = gnssSvInfo; in gnssSvStatusCb()
148 auto ret = sGnssCbIface->gnssSvStatusCb(svStatus); in gnssSvStatusCb()
187 IGnssCallback::GnssSvStatus svStatus; in gpsSvStatusCb() local
188 svStatus.numSvs = svInfo->num_svs; in gpsSvStatusCb()
[all …]
/hardware/interfaces/gnss/1.1/default/
DGnss.cpp45 auto svStatus = this->getMockSvStatus(); in start() local
46 this->reportSvStatus(svStatus); in start()
217 GnssSvStatus svStatus = {.numSvs = sizeof(mockGnssSvInfoList) / sizeof(GnssSvInfo)}; in getMockSvStatus() local
218 for (uint32_t i = 0; i < svStatus.numSvs; i++) { in getMockSvStatus()
229 svStatus.gnssSvList[i] = mockGnssSvInfoList[i]; in getMockSvStatus()
232 return svStatus; in getMockSvStatus()
245 Return<void> Gnss::reportSvStatus(const GnssSvStatus& svStatus) const { in reportSvStatus()
251 sGnssCallback->gnssSvStatusCb(svStatus); in reportSvStatus()
/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 …]
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/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()
/hardware/qcom/gps/msm8960/core/
DUlpProxyBase.h52 inline virtual bool reportSv(GpsSvStatus &svStatus, in reportSv() argument

1234