Home
last modified time | relevance | path

Searched refs:svNotify (Results 1 – 17 of 17) sorted by relevance

/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_nmea.cpp345 static void loc_nmea_generate_GSV(const GnssSvNotification &svNotify, in loc_nmea_generate_GSV() argument
397 for (int i=0; (svNumber <= svNotify.count) && (i < 4); svNumber++) in loc_nmea_generate_GSV()
399 if (sv_meta_p->svType == svNotify.gnssSvs[svNumber - 1].type) in loc_nmea_generate_GSV()
402 svNotify.gnssSvs[svNumber - 1].svId + svIdOffset, in loc_nmea_generate_GSV()
403 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].elevation), //float to int in loc_nmea_generate_GSV()
404 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].azimuth)); //float to int in loc_nmea_generate_GSV()
414 if (svNotify.gnssSvs[svNumber - 1].cN0Dbhz > 0) in loc_nmea_generate_GSV()
417 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].cN0Dbhz)); //float to int in loc_nmea_generate_GSV()
979 void loc_nmea_generate_sv(const GnssSvNotification &svNotify, in loc_nmea_generate_sv() argument
988 int svCount = svNotify.count; in loc_nmea_generate_sv()
[all …]
Dloc_nmea.h38 void loc_nmea_generate_sv(const GnssSvNotification &svNotify,
/hardware/qcom/gps/msm8998/utils/
Dloc_nmea.cpp345 static void loc_nmea_generate_GSV(const GnssSvNotification &svNotify, in loc_nmea_generate_GSV() argument
397 for (int i=0; (svNumber <= svNotify.count) && (i < 4); svNumber++) in loc_nmea_generate_GSV()
399 if (sv_meta_p->svType == svNotify.gnssSvs[svNumber - 1].type) in loc_nmea_generate_GSV()
402 svNotify.gnssSvs[svNumber - 1].svId + svIdOffset, in loc_nmea_generate_GSV()
403 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].elevation), //float to int in loc_nmea_generate_GSV()
404 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].azimuth)); //float to int in loc_nmea_generate_GSV()
414 if (svNotify.gnssSvs[svNumber - 1].cN0Dbhz > 0) in loc_nmea_generate_GSV()
417 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].cN0Dbhz)); //float to int in loc_nmea_generate_GSV()
979 void loc_nmea_generate_sv(const GnssSvNotification &svNotify, in loc_nmea_generate_sv() argument
988 int svCount = svNotify.count; in loc_nmea_generate_sv()
[all …]
Dloc_nmea.h38 void loc_nmea_generate_sv(const GnssSvNotification &svNotify,
/hardware/qcom/gps/msm8998/core/
DLocApiBase.cpp264 void LocApiBase::reportSv(GnssSvNotification& svNotify) in reportSv() argument
273 svNotify.count); in reportSv()
274 for (int i = 0; i < svNotify.count && i < LOC_GNSS_MAX_SVS; i++) { in reportSv()
275 if (svNotify.gnssSvs[i].type > in reportSv()
277 svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN; in reportSv()
282 constellationString[svNotify.gnssSvs[i].type], in reportSv()
283 svNotify.gnssSvs[i].svId, in reportSv()
284 svNotify.gnssSvs[i].cN0Dbhz, in reportSv()
285 svNotify.gnssSvs[i].elevation, in reportSv()
286 svNotify.gnssSvs[i].azimuth, in reportSv()
[all …]
DUlpProxyBase.h65 inline virtual bool reportSv(const GnssSvNotification& svNotify) { in reportSv() argument
66 (void)svNotify; in reportSv()
DLocAdapterBase.cpp94 reportSvEvent(const GnssSvNotification& svNotify, bool fromUlp)
DLocAdapterBase.h135 virtual void reportSvEvent(const GnssSvNotification& svNotify, bool fromUlp=false);
DLocApiBase.h117 void reportSv(GnssSvNotification& svNotify);
/hardware/qcom/gps/msm8909w_3100/core/
DLocApiBase.cpp267 void LocApiBase::reportSv(GnssSvNotification& svNotify) in reportSv() argument
276 svNotify.count); in reportSv()
277 for (size_t i = 0; i < svNotify.count && i < LOC_GNSS_MAX_SVS; i++) { in reportSv()
278 if (svNotify.gnssSvs[i].type > in reportSv()
280 svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN; in reportSv()
285 constellationString[svNotify.gnssSvs[i].type], in reportSv()
286 svNotify.gnssSvs[i].svId, in reportSv()
287 svNotify.gnssSvs[i].cN0Dbhz, in reportSv()
288 svNotify.gnssSvs[i].elevation, in reportSv()
289 svNotify.gnssSvs[i].azimuth, in reportSv()
[all …]
DUlpProxyBase.h65 inline virtual bool reportSv(const GnssSvNotification& svNotify) { in reportSv() argument
66 (void)svNotify; in reportSv()
DLocAdapterBase.h135 virtual void reportSvEvent(const GnssSvNotification& svNotify, bool fromUlp=false);
DLocApiBase.h117 void reportSv(GnssSvNotification& svNotify);
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.h213 virtual void reportSvEvent(const GnssSvNotification& svNotify, bool fromUlp=false);
231 void reportSv(GnssSvNotification& svNotify);
DGnssAdapter.cpp1913 GnssAdapter::reportSvEvent(const GnssSvNotification& svNotify, in reportSvEvent() argument
1920 if (mUlpProxy->reportSv(svNotify)) { in reportSvEvent()
1929 const GnssSvNotification& svNotify) : in reportSvEvent()
1932 mSvNotify(svNotify) {} in reportSvEvent()
1938 sendMsg(new MsgReportSv(*this, svNotify)); in reportSvEvent()
1942 GnssAdapter::reportSv(GnssSvNotification& svNotify) in reportSv() argument
1944 int numSv = svNotify.count; in reportSv()
1949 gnssSvId = svNotify.gnssSvs[i].svId; in reportSv()
1950 switch (svNotify.gnssSvs[i].type) { in reportSv()
1978 svNotify.gnssSvs[i].svId += (QZSS_SV_PRN_MIN - 1); in reportSv()
[all …]
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.h226 virtual void reportSvEvent(const GnssSvNotification& svNotify, bool fromUlp=false);
245 void reportSv(GnssSvNotification& svNotify);
DGnssAdapter.cpp2005 GnssAdapter::reportSvEvent(const GnssSvNotification& svNotify, in reportSvEvent() argument
2012 if (mUlpProxy->reportSv(svNotify)) { in reportSvEvent()
2021 const GnssSvNotification& svNotify) : in reportSvEvent()
2024 mSvNotify(svNotify) {} in reportSvEvent()
2030 sendMsg(new MsgReportSv(*this, svNotify)); in reportSvEvent()
2034 GnssAdapter::reportSv(GnssSvNotification& svNotify) in reportSv() argument
2036 int numSv = svNotify.count; in reportSv()
2041 gnssSvId = svNotify.gnssSvs[i].svId; in reportSv()
2042 switch (svNotify.gnssSvs[i].type) { in reportSv()
2070 svNotify.gnssSvs[i].svId += (QZSS_SV_PRN_MIN - 1); in reportSv()
[all …]