/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 123 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 212 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 214 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 217 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 224 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 239 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 241 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 242 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 259 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 287 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 123 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 212 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 214 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 217 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 224 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 239 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 241 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 242 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 259 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 287 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 121 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 138 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_eng_nmea_generate_pos() 220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 222 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 232 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 250 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 121 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 138 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_eng_nmea_generate_pos() 220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 222 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 232 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 250 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 117 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 215 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 217 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 220 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 227 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 242 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 244 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 245 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 262 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 290 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 117 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 215 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 217 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 220 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 227 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 242 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 244 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 245 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 262 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 290 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 121 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 219 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 221 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 224 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 231 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 246 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 248 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 249 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 266 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 294 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 121 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 219 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 221 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 224 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 231 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 246 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 248 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 249 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 266 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 294 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 122 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 222 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 232 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 250 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 295 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 127 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 216 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 218 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 221 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 228 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 243 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 245 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 246 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 263 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 291 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 122 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 222 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 232 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 250 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 267 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 295 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_nmea.cpp | 127 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos() 216 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos() 218 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos() 221 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos() 228 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos() 243 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos() 245 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos() 246 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos() 263 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos() 291 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | loc_nmea.cpp | 480 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_nmea_generate_pos() 497 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos() 573 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos() 575 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos() 578 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos() 585 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos() 600 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos() 602 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos() 603 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos() 620 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | loc_nmea.cpp | 482 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_nmea_generate_pos() 499 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos() 593 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos() 595 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos() 598 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos() 605 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos() 620 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos() 622 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos() 623 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos() 640 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8998/utils/ |
D | loc_nmea.cpp | 479 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_nmea_generate_pos() 496 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos() 590 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos() 592 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos() 595 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos() 602 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos() 617 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos() 619 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos() 620 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos() 637 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/msm8998/utils/ |
D | loc_nmea.cpp | 480 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_nmea_generate_pos() 497 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos() 573 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos() 575 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos() 578 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos() 585 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos() 600 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos() 602 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos() 603 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos() 620 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)) in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/sm8150p/gps/utils/ |
D | loc_nmea.cpp | 965 utcPosTimestamp = location.gpsLocation.timestamp; in get_utctime_with_leapsecond_transition() 1040 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)){ in loc_nmea_get_fix_quality() 1156 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos() 1281 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos() 1283 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos() 1286 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos() 1293 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos() 1308 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos() 1310 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos() 1311 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/gps/msm8998/core/ |
D | LocApiBase.cpp | 181 reported = !((ulpLocation.gpsLocation.flags & LOC_GPS_LOCATION_HAS_ACCURACY) && in needReport() 183 (ulpLocation.gpsLocation.accuracy > ContextBase::mGps_conf.ACCURACY_THRES)); in needReport() 270 location.gpsLocation.flags, location.position_source, in reportPosition() 271 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition() 272 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition() 273 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition() 274 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
|
/hardware/qcom/sdm845/gps/sdm845/core/ |
D | LocApiBase.cpp | 199 reported = !((ulpLocation.gpsLocation.flags & LOC_GPS_LOCATION_HAS_ACCURACY) && in needReport() 201 (ulpLocation.gpsLocation.accuracy > ContextBase::mGps_conf.ACCURACY_THRES)); in needReport() 286 location.gpsLocation.flags, location.position_source, in reportPosition() 287 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition() 288 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition() 289 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition() 290 location.gpsLocation.timestamp, status, loc_technology_mask, in reportPosition()
|
/hardware/qcom/sm7150/gps/utils/ |
D | loc_nmea.cpp | 970 utcPosTimestamp = location.gpsLocation.timestamp; in get_utctime_with_leapsecond_transition() 1059 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)){ in loc_nmea_get_fix_quality() 1294 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos() 1427 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos() 1429 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos() 1432 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos() 1439 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos() 1454 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos() 1456 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos() 1457 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/sm8150/gps/utils/ |
D | loc_nmea.cpp | 970 utcPosTimestamp = location.gpsLocation.timestamp; in get_utctime_with_leapsecond_transition() 1059 if (!(location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_LAT_LONG)){ in loc_nmea_get_fix_quality() 1294 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_nmea_generate_pos() 1427 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_BEARING) in loc_nmea_generate_pos() 1429 float magTrack = location.gpsLocation.bearing; in loc_nmea_generate_pos() 1432 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_nmea_generate_pos() 1439 …(pMarker, lengthRemaining, "$%sVTG,%.1lf,T,%.1lf,M,", talker, location.gpsLocation.bearing, magTra… in loc_nmea_generate_pos() 1454 if (location.gpsLocation.flags & LOC_GPS_LOCATION_HAS_SPEED) in loc_nmea_generate_pos() 1456 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_nmea_generate_pos() 1457 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_nmea_generate_pos() [all …]
|
/hardware/qcom/sdm845/gps/msm8909/core/ |
D | LocApiBase.cpp | 240 location.gpsLocation.flags, location.position_source, in reportPosition() 241 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition() 242 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition() 243 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition() 244 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
|
/hardware/qcom/gps/msm8909/core/ |
D | LocApiBase.cpp | 240 location.gpsLocation.flags, location.position_source, in reportPosition() 241 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition() 242 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition() 243 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition() 244 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
|
/hardware/qcom/sdm845/gps/msm8994/core/ |
D | LocApiBase.cpp | 240 location.gpsLocation.flags, location.position_source, in reportPosition() 241 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition() 242 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition() 243 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition() 244 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
|
/hardware/qcom/sdm845/gps/msm8996/core/ |
D | LocApiBase.cpp | 240 location.gpsLocation.flags, location.position_source, in reportPosition() 241 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition() 242 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition() 243 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition() 244 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
|