/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 617 int svNumber = 1; in loc_eng_nmea_generate_sv() local 623 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 649 svNumber = 1; in loc_eng_nmea_generate_sv() 669 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 614 int svNumber = 1; in loc_eng_nmea_generate_sv() local 620 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 646 svNumber = 1; in loc_eng_nmea_generate_sv() 666 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 617 int svNumber = 1; in loc_eng_nmea_generate_sv() local 623 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 649 svNumber = 1; in loc_eng_nmea_generate_sv() 669 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 618 int svNumber = 1; in loc_eng_nmea_generate_sv() local 624 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 650 svNumber = 1; in loc_eng_nmea_generate_sv() 670 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 614 int svNumber = 1; in loc_eng_nmea_generate_sv() local 620 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 646 svNumber = 1; in loc_eng_nmea_generate_sv() 666 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 618 int svNumber = 1; in loc_eng_nmea_generate_sv() local 624 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 650 svNumber = 1; in loc_eng_nmea_generate_sv() 670 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 613 int svNumber = 1; in loc_eng_nmea_generate_sv() local 619 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 649 svNumber = 1; in loc_eng_nmea_generate_sv() 669 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 618 int svNumber = 1; in loc_eng_nmea_generate_sv() local 625 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 655 svNumber = 1; in loc_eng_nmea_generate_sv() 675 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 613 int svNumber = 1; in loc_eng_nmea_generate_sv() local 619 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 649 svNumber = 1; in loc_eng_nmea_generate_sv() 669 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 618 int svNumber = 1; in loc_eng_nmea_generate_sv() local 625 for(svNumber=1; svNumber <= svCount; svNumber++) { 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() 655 svNumber = 1; in loc_eng_nmea_generate_sv() 675 for (int i=0; (svNumber <= svCount) && (i < 4); svNumber++) 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() [all …]
|
/hardware/qcom/sdm845/gps/msm8998/utils/ |
D | loc_nmea.cpp | 362 size_t svNumber = 1; in loc_nmea_generate_GSV() local 377 svNumber = 1; in loc_nmea_generate_GSV() 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() 991 int svNumber = 1; in loc_nmea_generate_sv() local [all …]
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | loc_nmea.cpp | 369 size_t svNumber = 1; in loc_nmea_generate_GSV() local 384 svNumber = 1; in loc_nmea_generate_GSV() 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() 1007 int svNumber = 1; in loc_nmea_generate_sv() local [all …]
|
/hardware/qcom/gps/msm8998/utils/ |
D | loc_nmea.cpp | 361 size_t svNumber = 1; in loc_nmea_generate_GSV() local 376 svNumber = 1; in loc_nmea_generate_GSV() 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() 1001 int svNumber = 1; in loc_nmea_generate_sv() local [all …]
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | loc_nmea.cpp | 362 size_t svNumber = 1; in loc_nmea_generate_GSV() local 377 svNumber = 1; in loc_nmea_generate_GSV() 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() 991 int svNumber = 1; in loc_nmea_generate_sv() local [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 626 int svNumber = 1; in loc_eng_nmea_generate_sv() local 644 for (int i=0; (svNumber <= svCount) && (i < 4); i++, svNumber++) 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()
|
/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 626 int svNumber = 1; in loc_eng_nmea_generate_sv() local 644 for (int i=0; (svNumber <= svCount) && (i < 4); i++, svNumber++) 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()
|