Home
last modified time | relevance | path

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

123

/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/sdm845/gps/sdm845/utils/
Dloc_nmea.cpp352 static void loc_nmea_generate_GSV(const GnssSvNotification &svNotify, in loc_nmea_generate_GSV() argument
404 for (int i=0; (svNumber <= svNotify.count) && (i < 4); svNumber++) in loc_nmea_generate_GSV()
406 if (sv_meta_p->svType == svNotify.gnssSvs[svNumber - 1].type) in loc_nmea_generate_GSV()
409 svNotify.gnssSvs[svNumber - 1].svId + svIdOffset, in loc_nmea_generate_GSV()
410 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].elevation), //float to int in loc_nmea_generate_GSV()
411 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].azimuth)); //float to int in loc_nmea_generate_GSV()
421 if (svNotify.gnssSvs[svNumber - 1].cN0Dbhz > 0) in loc_nmea_generate_GSV()
424 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].cN0Dbhz)); //float to int in loc_nmea_generate_GSV()
1000 void loc_nmea_generate_sv(const GnssSvNotification &svNotify, in loc_nmea_generate_sv() argument
1006 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.cpp344 static void loc_nmea_generate_GSV(const GnssSvNotification &svNotify, in loc_nmea_generate_GSV() argument
396 for (int i=0; (svNumber <= svNotify.count) && (i < 4); svNumber++) in loc_nmea_generate_GSV()
398 if (sv_meta_p->svType == svNotify.gnssSvs[svNumber - 1].type) in loc_nmea_generate_GSV()
401 svNotify.gnssSvs[svNumber - 1].svId + svIdOffset, in loc_nmea_generate_GSV()
402 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].elevation), //float to int in loc_nmea_generate_GSV()
403 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].azimuth)); //float to int in loc_nmea_generate_GSV()
413 if (svNotify.gnssSvs[svNumber - 1].cN0Dbhz > 0) in loc_nmea_generate_GSV()
416 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].cN0Dbhz)); //float to int in loc_nmea_generate_GSV()
989 void loc_nmea_generate_sv(const GnssSvNotification &svNotify, in loc_nmea_generate_sv() argument
998 int svCount = svNotify.count; in loc_nmea_generate_sv()
[all …]
Dloc_nmea.h38 void loc_nmea_generate_sv(const GnssSvNotification &svNotify,
/hardware/qcom/sdm845/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/sm8150p/gps/utils/
Dloc_nmea.cpp699 static void loc_nmea_generate_GSV(const GnssSvNotification &svNotify, in loc_nmea_generate_GSV() argument
747 for (int i=0; (svNumber <= svNotify.count) && (i < 4); svNumber++) in loc_nmea_generate_GSV()
749 GnssSignalTypeMask signalType = svNotify.gnssSvs[svNumber-1].gnssSignalTypeMask; in loc_nmea_generate_GSV()
752 switch (svNotify.gnssSvs[svNumber - 1].type) in loc_nmea_generate_GSV()
777 svNotify.gnssSvs[svNumber - 1].type); in loc_nmea_generate_GSV()
782 if (sv_meta_p->svType == svNotify.gnssSvs[svNumber - 1].type && in loc_nmea_generate_GSV()
786 svNotify.gnssSvs[svNumber - 1].svId + svIdOffset, in loc_nmea_generate_GSV()
787 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].elevation), //float to int in loc_nmea_generate_GSV()
788 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].azimuth)); //float to int in loc_nmea_generate_GSV()
798 if (svNotify.gnssSvs[svNumber - 1].cN0Dbhz > 0) in loc_nmea_generate_GSV()
[all …]
/hardware/qcom/sm7150/gps/utils/
Dloc_nmea.cpp699 static void loc_nmea_generate_GSV(const GnssSvNotification &svNotify, in loc_nmea_generate_GSV() argument
747 for (int i=0; (svNumber <= svNotify.count) && (i < 4); svNumber++) in loc_nmea_generate_GSV()
749 GnssSignalTypeMask signalType = svNotify.gnssSvs[svNumber-1].gnssSignalTypeMask; in loc_nmea_generate_GSV()
752 switch (svNotify.gnssSvs[svNumber - 1].type) in loc_nmea_generate_GSV()
777 svNotify.gnssSvs[svNumber - 1].type); in loc_nmea_generate_GSV()
782 if (sv_meta_p->svType == svNotify.gnssSvs[svNumber - 1].type && in loc_nmea_generate_GSV()
785 uint16_t svId = svNotify.gnssSvs[svNumber - 1].svId; in loc_nmea_generate_GSV()
787 if (GNSS_SV_TYPE_QZSS == svNotify.gnssSvs[svNumber - 1].type) { in loc_nmea_generate_GSV()
792 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].elevation), //float to int in loc_nmea_generate_GSV()
793 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].azimuth)); //float to int in loc_nmea_generate_GSV()
[all …]
/hardware/qcom/sm8150/gps/utils/
Dloc_nmea.cpp699 static void loc_nmea_generate_GSV(const GnssSvNotification &svNotify, in loc_nmea_generate_GSV() argument
747 for (int i=0; (svNumber <= svNotify.count) && (i < 4); svNumber++) in loc_nmea_generate_GSV()
749 GnssSignalTypeMask signalType = svNotify.gnssSvs[svNumber-1].gnssSignalTypeMask; in loc_nmea_generate_GSV()
752 switch (svNotify.gnssSvs[svNumber - 1].type) in loc_nmea_generate_GSV()
777 svNotify.gnssSvs[svNumber - 1].type); in loc_nmea_generate_GSV()
782 if (sv_meta_p->svType == svNotify.gnssSvs[svNumber - 1].type && in loc_nmea_generate_GSV()
785 uint16_t svId = svNotify.gnssSvs[svNumber - 1].svId; in loc_nmea_generate_GSV()
787 if (GNSS_SV_TYPE_QZSS == svNotify.gnssSvs[svNumber - 1].type) { in loc_nmea_generate_GSV()
792 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].elevation), //float to int in loc_nmea_generate_GSV()
793 (int)(0.5 + svNotify.gnssSvs[svNumber - 1].azimuth)); //float to int in loc_nmea_generate_GSV()
[all …]
/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()
/hardware/qcom/sm8150p/gps/core/
DEngineHubProxyBase.h69 inline virtual bool gnssReportSv(const GnssSvNotification& svNotify) { in gnssReportSv() argument
70 (void) svNotify; in gnssReportSv()
109 typedef std::function<void(const GnssSvNotification& svNotify,
DLocApiBase.cpp402 void LocApiBase::reportSv(GnssSvNotification& svNotify) in reportSv() argument
411 svNotify.count); in reportSv()
412 for (size_t i = 0; i < svNotify.count && i < LOC_GNSS_MAX_SVS; i++) { in reportSv()
413 if (svNotify.gnssSvs[i].type > in reportSv()
415 svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN; in reportSv()
418 uint16_t displaySvId = GNSS_SV_TYPE_QZSS == svNotify.gnssSvs[i].type ? in reportSv()
419 svNotify.gnssSvs[i].svId + QZSS_SV_PRN_MIN - 1 : in reportSv()
420 svNotify.gnssSvs[i].svId; in reportSv()
424 constellationString[svNotify.gnssSvs[i].type], in reportSv()
426 svNotify.gnssSvs[i].cN0Dbhz, in reportSv()
[all …]
/hardware/qcom/gps/msm8998/core/
DLocApiBase.cpp293 void LocApiBase::reportSv(GnssSvNotification& svNotify) in reportSv() argument
302 svNotify.count); in reportSv()
303 for (int i = 0; i < svNotify.count && i < LOC_GNSS_MAX_SVS; i++) { in reportSv()
304 if (svNotify.gnssSvs[i].type > in reportSv()
306 svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN; in reportSv()
311 constellationString[svNotify.gnssSvs[i].type], in reportSv()
312 svNotify.gnssSvs[i].svId, in reportSv()
313 svNotify.gnssSvs[i].cN0Dbhz, in reportSv()
314 svNotify.gnssSvs[i].elevation, in reportSv()
315 svNotify.gnssSvs[i].azimuth, in reportSv()
[all …]
DUlpProxyBase.h65 inline virtual bool reportSv(const GnssSvNotification& svNotify) { in reportSv() argument
66 (void)svNotify; in reportSv()
/hardware/qcom/sdm845/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()
/hardware/qcom/sm8150/gps/core/
DEngineHubProxyBase.h69 inline virtual bool gnssReportSv(const GnssSvNotification& svNotify) { in gnssReportSv() argument
70 (void) svNotify; in gnssReportSv()
114 typedef std::function<void(const GnssSvNotification& svNotify,
DLocApiBase.cpp403 void LocApiBase::reportSv(GnssSvNotification& svNotify) in reportSv() argument
412 svNotify.count); in reportSv()
413 for (size_t i = 0; i < svNotify.count && i < GNSS_SV_MAX; i++) { in reportSv()
414 if (svNotify.gnssSvs[i].type > in reportSv()
416 svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN; in reportSv()
419 uint16_t displaySvId = GNSS_SV_TYPE_QZSS == svNotify.gnssSvs[i].type ? in reportSv()
420 svNotify.gnssSvs[i].svId + QZSS_SV_PRN_MIN - 1 : in reportSv()
421 svNotify.gnssSvs[i].svId; in reportSv()
425 constellationString[svNotify.gnssSvs[i].type], in reportSv()
427 svNotify.gnssSvs[i].cN0Dbhz, in reportSv()
[all …]
/hardware/qcom/sm7150/gps/core/
DEngineHubProxyBase.h69 inline virtual bool gnssReportSv(const GnssSvNotification& svNotify) { in gnssReportSv() argument
70 (void) svNotify; in gnssReportSv()
114 typedef std::function<void(const GnssSvNotification& svNotify,
DLocApiBase.cpp402 void LocApiBase::reportSv(GnssSvNotification& svNotify) in reportSv() argument
411 svNotify.count); in reportSv()
412 for (size_t i = 0; i < svNotify.count && i < LOC_GNSS_MAX_SVS; i++) { in reportSv()
413 if (svNotify.gnssSvs[i].type > in reportSv()
415 svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN; in reportSv()
418 uint16_t displaySvId = GNSS_SV_TYPE_QZSS == svNotify.gnssSvs[i].type ? in reportSv()
419 svNotify.gnssSvs[i].svId + QZSS_SV_PRN_MIN - 1 : in reportSv()
420 svNotify.gnssSvs[i].svId; in reportSv()
424 constellationString[svNotify.gnssSvs[i].type], in reportSv()
426 svNotify.gnssSvs[i].cN0Dbhz, in reportSv()
[all …]
/hardware/qcom/sdm845/gps/sdm845/core/
DLocApiBase.cpp315 void LocApiBase::reportSv(GnssSvNotification& svNotify) in reportSv() argument
324 svNotify.count); in reportSv()
325 for (size_t i = 0; i < svNotify.count && i < LOC_GNSS_MAX_SVS; i++) { in reportSv()
326 if (svNotify.gnssSvs[i].type > in reportSv()
328 svNotify.gnssSvs[i].type = GNSS_SV_TYPE_UNKNOWN; in reportSv()
333 constellationString[svNotify.gnssSvs[i].type], in reportSv()
334 svNotify.gnssSvs[i].svId, in reportSv()
335 svNotify.gnssSvs[i].cN0Dbhz, in reportSv()
336 svNotify.gnssSvs[i].elevation, in reportSv()
337 svNotify.gnssSvs[i].azimuth, in reportSv()
[all …]
DUlpProxyBase.h65 inline virtual bool reportSv(const GnssSvNotification& svNotify) { in reportSv() argument
66 (void)svNotify; in reportSv()

123