Home
last modified time | relevance | path

Searched refs:gpsLocation (Results 1 – 25 of 41) sorted by relevance

12

/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp123 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 …]
Dloc_eng.cpp708 !((mLocation.gpsLocation.flags & in proc()
711 (mLocation.gpsLocation.accuracy > in proc()
757 mLocation.gpsLocation.flags, mLocation.position_source, in locallog()
758 mLocation.gpsLocation.latitude, mLocation.gpsLocation.longitude, in locallog()
759 mLocation.gpsLocation.altitude, mLocation.gpsLocation.speed, in locallog()
760 mLocation.gpsLocation.bearing, mLocation.gpsLocation.accuracy, in locallog()
761 mLocation.gpsLocation.timestamp, mLocation.rawDataSize, in locallog()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp121 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/
Dloc_eng_nmea.cpp117 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/
Dloc_eng_nmea.cpp121 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/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp127 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/msm8994/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp122 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/msm8909w_3100/utils/
Dloc_nmea.cpp480 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/gps/msm8998/utils/
Dloc_nmea.cpp480 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/gps/msm8909/core/
DLocApiBase.cpp240 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/core/
DLocApiBase.cpp240 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/msm8909w_3100/core/
DLocApiBase.cpp243 location.gpsLocation.flags, location.position_source, in reportPosition()
244 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition()
245 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition()
246 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition()
247 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
DSystemStatus.cpp1161 if ((mLocation.gpsLocation.latitude != peer.mLocation.gpsLocation.latitude) || in equals()
1162 (mLocation.gpsLocation.longitude != peer.mLocation.gpsLocation.longitude) || in equals()
1163 (mLocation.gpsLocation.altitude != peer.mLocation.gpsLocation.altitude)) { in equals()
1172 mLocation.gpsLocation.latitude, in dump()
1173 mLocation.gpsLocation.longitude, in dump()
1174 mLocation.gpsLocation.altitude, in dump()
1175 mLocation.gpsLocation.speed); in dump()
1553 s.mLocation.gpsLocation.latitude, in eventPosition()
1554 s.mLocation.gpsLocation.longitude, in eventPosition()
1555 s.mLocation.gpsLocation.altitude, in eventPosition()
[all …]
/hardware/qcom/gps/msm8996/core/
DLocApiBase.cpp240 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/msm8994/core/
DLocApiBase.cpp240 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/msm8998/core/
DLocApiBase.cpp241 location.gpsLocation.flags, location.position_source, in reportPosition()
242 location.gpsLocation.latitude, location.gpsLocation.longitude, in reportPosition()
243 location.gpsLocation.altitude, location.gpsLocation.speed, in reportPosition()
244 location.gpsLocation.bearing, location.gpsLocation.accuracy, in reportPosition()
245 location.gpsLocation.timestamp, location.rawDataSize, in reportPosition()
DSystemStatus.cpp1154 if ((mLocation.gpsLocation.latitude != peer.mLocation.gpsLocation.latitude) || in equals()
1155 (mLocation.gpsLocation.longitude != peer.mLocation.gpsLocation.longitude) || in equals()
1156 (mLocation.gpsLocation.altitude != peer.mLocation.gpsLocation.altitude)) { in equals()
1165 mLocation.gpsLocation.latitude, in dump()
1166 mLocation.gpsLocation.longitude, in dump()
1167 mLocation.gpsLocation.altitude, in dump()
1168 mLocation.gpsLocation.speed); in dump()
1487 s.mLocation.gpsLocation.latitude, in eventPosition()
1488 s.mLocation.gpsLocation.longitude, in eventPosition()
1489 s.mLocation.gpsLocation.altitude, in eventPosition()
[all …]
/hardware/qcom/gps/msm8994/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
722 …location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->spe… in reportPosition()
729 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; in reportPosition()
730 location.gpsLocation.bearing = location_report_ptr->heading; in reportPosition()
[all …]
/hardware/qcom/gps/msm8084/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
722 …location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->spe… in reportPosition()
729 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; in reportPosition()
730 location.gpsLocation.bearing = location_report_ptr->heading; in reportPosition()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
721 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
722 …location.gpsLocation.speed = sqrt(location_report_ptr->speed_horizontal * location_report_ptr->spe… in reportPosition()
729 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; in reportPosition()
730 location.gpsLocation.bearing = location_report_ptr->heading; in reportPosition()
[all …]
/hardware/qcom/gps/msm8909/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
720 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
721 location.gpsLocation.speed = location_report_ptr->speed_horizontal; in reportPosition()
727 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; in reportPosition()
728 location.gpsLocation.bearing = location_report_ptr->heading; in reportPosition()
[all …]
/hardware/qcom/gps/msm8996/loc_api/libloc_api-rpc-50001/libloc_api-rpc-glue/src/
DLocApiRpc.cpp700 location.gpsLocation.flags |= GPS_LOCATION_HAS_LAT_LONG; in reportPosition()
701 location.gpsLocation.latitude = location_report_ptr->latitude; in reportPosition()
702 location.gpsLocation.longitude = location_report_ptr->longitude; in reportPosition()
707 location.gpsLocation.timestamp = location_report_ptr->timestamp_utc; in reportPosition()
713 location.gpsLocation.flags |= GPS_LOCATION_HAS_ALTITUDE; in reportPosition()
714 location.gpsLocation.altitude = location_report_ptr->altitude_wrt_ellipsoid; in reportPosition()
720 location.gpsLocation.flags |= GPS_LOCATION_HAS_SPEED; in reportPosition()
721 location.gpsLocation.speed = location_report_ptr->speed_horizontal; in reportPosition()
727 location.gpsLocation.flags |= GPS_LOCATION_HAS_BEARING; in reportPosition()
728 location.gpsLocation.bearing = location_report_ptr->heading; in reportPosition()
[all …]
/hardware/qcom/gps/msm8998/gnss/
DGnssAdapter.cpp1588 mApi.getBestAvailableZppFix(location.gpsLocation, techMask); in getZppCommand()
1590 location.gpsLocation.flags |= LOCATION_HAS_SOURCE_INFO; in getZppCommand()
1865 !((ulpLocation.gpsLocation.flags & in reportPosition()
1868 (ulpLocation.gpsLocation.accuracy > in reportPosition()
1877 convertLocation(location, ulpLocation.gpsLocation, locationExtended, techMask); in reportPosition()
1889 __func__, (int)status, (int)techMask, (int)ulpLocation.gpsLocation.flags, in reportPosition()
1890 (float)ulpLocation.gpsLocation.accuracy); in reportPosition()
2778 reports.mLocation.back().mLocation.gpsLocation.latitude; in getDebugReport()
2780 reports.mLocation.back().mLocation.gpsLocation.longitude; in getDebugReport()
2782 reports.mLocation.back().mLocation.gpsLocation.altitude; in getDebugReport()
[all …]
/hardware/qcom/gps/msm8909w_3100/gnss/
DGnssAdapter.cpp1674 mApi.getBestAvailableZppFix(location.gpsLocation, locationExtended, in getZppCommand()
1677 location.gpsLocation.flags |= LOCATION_HAS_SOURCE_INFO; in getZppCommand()
1956 !((ulpLocation.gpsLocation.flags & in reportPosition()
1959 (ulpLocation.gpsLocation.accuracy > in reportPosition()
1968 convertLocation(location, ulpLocation.gpsLocation, locationExtended, techMask); in reportPosition()
1983 bool blank_fix = ((0 == ulpLocation.gpsLocation.latitude) && in reportPosition()
1984 (0 == ulpLocation.gpsLocation.longitude) && in reportPosition()
2894 reports.mLocation.back().mLocation.gpsLocation.latitude; in getDebugReport()
2896 reports.mLocation.back().mLocation.gpsLocation.longitude; in getDebugReport()
2898 reports.mLocation.back().mLocation.gpsLocation.altitude; in getDebugReport()
[all …]
/hardware/qcom/gps/msm8960/core/
Dgps_extended_c.h68 GpsLocation gpsLocation; member

12