/hardware/interfaces/gnss/1.0/default/ |
H A D | GnssUtils.cpp | 27 GnssLocation convertToGnssLocation(GpsLocation* location) { argument 29 if (location != nullptr) { 34 .gnssLocationFlags = static_cast<uint16_t>(location->flags & 0x1f), 35 .latitudeDegrees = location->latitude, 36 .longitudeDegrees = location->longitude, 37 .altitudeMeters = location->altitude, 38 .speedMetersPerSec = location->speed, 39 .bearingDegrees = location->bearing, 40 .horizontalAccuracyMeters = location->accuracy, 47 .timestamp = location 54 convertToGnssLocation(FlpLocation* location) argument [all...] |
H A D | GnssUtils.h | 33 GnssLocation convertToGnssLocation(GpsLocation* location); 39 GnssLocation convertToGnssLocation(FlpLocation* location);
|
H A D | GnssGeofencing.cpp | 54 GpsLocation* location, 62 if (location == nullptr) { 63 ALOGE("%s : Invalid location from GNSS HAL", __func__); 67 GnssLocation gnssLocation = convertToGnssLocation(location); 78 void GnssGeofencing::gnssGfStatusCb(int32_t status, GpsLocation* location) { argument 86 if (location != nullptr) { 87 gnssLocation = convertToGnssLocation(location); 53 gnssGfTransitionCb(int32_t geofenceId, GpsLocation* location, int32_t transition, GpsUtcTime timestamp) argument
|
/hardware/interfaces/gnss/1.0/vts/functional/ |
H A D | VtsHalGnssV1_0TargetTest.cpp | 151 Return<void> gnssLocationCb(const GnssLocation& location) override { 154 parent_.last_location_ = location; 211 void CheckLocation(GnssLocation& location, bool checkAccuracies) { argument 212 EXPECT_TRUE(location.gnssLocationFlags & GnssLocationFlags::HAS_LAT_LONG); 213 EXPECT_TRUE(location.gnssLocationFlags & GnssLocationFlags::HAS_ALTITUDE); 214 EXPECT_TRUE(location.gnssLocationFlags & GnssLocationFlags::HAS_SPEED); 215 EXPECT_TRUE(location.gnssLocationFlags & 220 EXPECT_TRUE(location.gnssLocationFlags & 222 EXPECT_TRUE(location.gnssLocationFlags & 224 if (location [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | loc_eng_nmea.h | 40 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea);
|
H A D | loc_eng_nmea.cpp | 116 const UlpLocation &location, 121 time_t utcTime(location.gpsLocation.timestamp/1000); 219 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 221 float magTrack = location.gpsLocation.bearing; 224 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 231 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 246 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 248 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 249 float speedKmPerHour = location.gpsLocation.speed * 3.6; 266 if (!(location 115 loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea) argument [all...] |
H A D | loc.h | 44 typedef void (*loc_location_cb_ext) (UlpLocation* location, void* locExt);
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
H A D | loc_eng_nmea.h | 40 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea);
|
H A D | loc_eng_nmea.cpp | 116 const UlpLocation &location, 127 time_t utcTime(location.gpsLocation.timestamp/1000); 216 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 218 float magTrack = location.gpsLocation.bearing; 221 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 228 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 243 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 245 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 246 float speedKmPerHour = location.gpsLocation.speed * 3.6; 263 if (!(location 115 loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea) argument [all...] |
H A D | loc.h | 44 typedef void (*loc_location_cb_ext) (UlpLocation* location, void* locExt);
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
H A D | loc_eng_nmea.h | 41 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea);
|
H A D | loc_eng_nmea.cpp | 112 const UlpLocation &location, 117 time_t utcTime(location.gpsLocation.timestamp/1000); 215 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 217 float magTrack = location.gpsLocation.bearing; 220 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 227 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 242 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 244 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 245 float speedKmPerHour = location.gpsLocation.speed * 3.6; 262 if (!(location 111 loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea) argument [all...] |
H A D | loc.h | 44 typedef void (*loc_location_cb_ext) (UlpLocation* location, void* locExt);
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
H A D | loc_eng_nmea.h | 40 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea);
|
H A D | loc_eng_nmea.cpp | 112 const UlpLocation &location, 123 time_t utcTime(location.gpsLocation.timestamp/1000); 212 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 214 float magTrack = location.gpsLocation.bearing; 217 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 224 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 239 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 241 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 242 float speedKmPerHour = location.gpsLocation.speed * 3.6; 259 if (!(location 111 loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea) argument [all...] |
H A D | loc.h | 44 typedef void (*loc_location_cb_ext) (UlpLocation* location, void* locExt);
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
H A D | loc_eng_nmea.h | 40 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea);
|
H A D | loc_eng_nmea.cpp | 117 const UlpLocation &location, 122 time_t utcTime(location.gpsLocation.timestamp/1000); 220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 222 float magTrack = location.gpsLocation.bearing; 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 232 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 250 float speedKmPerHour = location.gpsLocation.speed * 3.6; 267 if (!(location 116 loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea) argument [all...] |
H A D | loc.h | 44 typedef void (*loc_location_cb_ext) (UlpLocation* location, void* locExt);
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
H A D | loc_eng_nmea.h | 41 void loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea);
|
H A D | loc_eng_nmea.cpp | 116 const UlpLocation &location, 121 time_t utcTime(location.gpsLocation.timestamp/1000); 138 int utcMSeconds = (location.gpsLocation.timestamp)%1000; 220 if (location.gpsLocation.flags & GPS_LOCATION_HAS_BEARING) 222 float magTrack = location.gpsLocation.bearing; 225 float magTrack = location.gpsLocation.bearing - locationExtended.magneticDeviation; 232 length = snprintf(pMarker, lengthRemaining, "$GPVTG,%.1lf,T,%.1lf,M,", location.gpsLocation.bearing, magTrack); 247 if (location.gpsLocation.flags & GPS_LOCATION_HAS_SPEED) 249 float speedKnots = location.gpsLocation.speed * (3600.0/1852.0); 250 float speedKmPerHour = location 115 loc_eng_nmea_generate_pos(loc_eng_data_s_type *loc_eng_data_p, const UlpLocation &location, const GpsLocationExtended &locationExtended, unsigned char generate_nmea) argument [all...] |
/hardware/qcom/gps/msm8998/core/ |
H A D | LocAdapterProxyBase.h | 64 inline virtual void reportPositionEvent(UlpLocation &location, argument 69 (void)location;
|
/hardware/qcom/gps/core/ |
H A D | LocAdapterProxyBase.h | 60 inline virtual bool reportPosition(UlpLocation &location, argument
|
/hardware/qcom/gps/msm8960/core/ |
H A D | UlpProxyBase.h | 45 inline virtual bool reportPosition(UlpLocation &location, argument
|
/hardware/qcom/gps/msm8994/core/ |
H A D | LocAdapterProxyBase.h | 60 inline virtual bool reportPosition(UlpLocation &location, argument
|