Home
last modified time | relevance | path

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

12

/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp124 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
213 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
215 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
218 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
225 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos()
240 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
242 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
243 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
260 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos()
288 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()
Dloc.cpp898 gps_loc_cb(&location->gpsLocation); in local_loc_cb()
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp122 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
139 int utcMSeconds = (location.gpsLocation.timestamp)%1000; in loc_eng_nmea_generate_pos()
221 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
223 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
226 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
233 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos()
248 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
250 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
251 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
268 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.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/msm8084/loc_api/libloc_api_50001/
Dloc_eng_nmea.cpp128 time_t utcTime(location.gpsLocation.timestamp/1000); in loc_eng_nmea_generate_pos()
217 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) in loc_eng_nmea_generate_pos()
219 float magTrack = location.gpsLocation.bearing; in loc_eng_nmea_generate_pos()
222 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; in loc_eng_nmea_generate_pos()
229 …snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTra… in loc_eng_nmea_generate_pos()
244 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) in loc_eng_nmea_generate_pos()
246 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); in loc_eng_nmea_generate_pos()
247 float speedKmPerHour = location.gpsLocation.speed * 3.6; in loc_eng_nmea_generate_pos()
264 if (!(location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG)) in loc_eng_nmea_generate_pos()
292 if (location.gpsLocation.flags & GPS_LOCATION_HAS_LAT_LONG) in loc_eng_nmea_generate_pos()
[all …]
Dloc_eng.cpp771 !((mLocation.gpsLocation.flags & in proc()
774 (mLocation.gpsLocation.accuracy > in proc()
823 mLocation.gpsLocation.flags, mLocation.position_source, in locallog()
824 mLocation.gpsLocation.latitude, mLocation.gpsLocation.longitude, in locallog()
825 mLocation.gpsLocation.altitude, mLocation.gpsLocation.speed, in locallog()
826 mLocation.gpsLocation.bearing, mLocation.gpsLocation.accuracy, in locallog()
827 mLocation.gpsLocation.timestamp, mLocation.rawDataSize, in locallog()
2188 ret_val = loc_eng_data.adapter->getZpp(location.gpsLocation, tech_mask); in loc_eng_get_zpp_handler()
2190 location.gpsLocation.flags |= LOCATION_HAS_SOURCE_INFO; in loc_eng_get_zpp_handler()
/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/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 …]
Dloc_eng.cpp770 !((mLocation.gpsLocation.flags & in proc()
773 (mLocation.gpsLocation.accuracy > in proc()
2185 ret_val = loc_eng_data.adapter->getZpp(location.gpsLocation, tech_mask); in loc_eng_get_zpp_handler()
2187 location.gpsLocation.flags |= LOCATION_HAS_SOURCE_INFO; in loc_eng_get_zpp_handler()
/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()
Dgps_extended_c.h88 GpsLocation gpsLocation; member
/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()
Dgps_extended_c.h88 GpsLocation gpsLocation; member
/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()
Dgps_extended_c.h109 GpsLocation gpsLocation; member
/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()
Dgps_extended_c.h109 GpsLocation gpsLocation; member
/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/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/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/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/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/msm8960/core/
Dgps_extended_c.h68 GpsLocation gpsLocation; member
/hardware/qcom/gps/msm8084/core/
Dgps_extended_c.h84 GpsLocation gpsLocation; member

12