/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 607 … 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 …]
|
D | LocEngAdapter.cpp | 202 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()
|
D | loc_eng_nmea.h | 39 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/ |
D | loc_eng_nmea.cpp | 603 … 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 …]
|
D | LocEngAdapter.cpp | 204 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()
|
D | loc_eng_nmea.h | 39 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/ |
D | loc_eng_nmea.cpp | 606 … 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 …]
|
D | LocEngAdapter.cpp | 202 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()
|
D | loc_eng_nmea.h | 39 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/ |
D | loc_eng_nmea.cpp | 607 … 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 …]
|
D | LocEngAdapter.cpp | 205 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()
|
D | loc_eng_nmea.h | 40 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/ |
D | loc_eng_nmea.cpp | 602 … 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 …]
|
D | LocEngAdapter.cpp | 205 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()
|
D | loc_eng_nmea.h | 40 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/ |
D | Gnss.cpp | 120 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/ |
D | Gnss.cpp | 45 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/ |
D | LocApiBase.cpp | 256 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/ |
D | LocApiBase.cpp | 256 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/ |
D | LocEngAdapter.cpp | 135 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()
|
D | loc_eng_nmea.cpp | 599 … 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 …]
|
D | loc_eng_nmea.h | 39 void loc_eng_nmea_generate_sv(loc_eng_data_s_type *loc_eng_data_p, const GpsSvStatus &svStatus, con…
|
/hardware/qcom/gps/msm8996/core/ |
D | LocApiBase.cpp | 256 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/ |
D | LocApiBase.cpp | 256 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/ |
D | UlpProxyBase.h | 52 inline virtual bool reportSv(GpsSvStatus &svStatus, in reportSv() argument
|