Home
last modified time | relevance | path

Searched refs:gnssLocation (Results 1 – 21 of 21) sorted by relevance

/hardware/interfaces/gnss/1.0/default/
DGnssUtils.cpp28 GnssLocation gnssLocation = {}; in convertToGnssLocation() local
30 gnssLocation = { in convertToGnssLocation()
51 return gnssLocation; in convertToGnssLocation()
55 GnssLocation gnssLocation = {}; in convertToGnssLocation() local
57 gnssLocation = {.gnssLocationFlags = 0, // clear here and set below in convertToGnssLocation()
70 gnssLocation.gnssLocationFlags |= GPS_LOCATION_HAS_LAT_LONG; in convertToGnssLocation()
73 gnssLocation.gnssLocationFlags |= GPS_LOCATION_HAS_ALTITUDE; in convertToGnssLocation()
76 gnssLocation.gnssLocationFlags |= GPS_LOCATION_HAS_SPEED; in convertToGnssLocation()
79 gnssLocation.gnssLocationFlags |= GPS_LOCATION_HAS_BEARING; in convertToGnssLocation()
82 gnssLocation.gnssLocationFlags |= GPS_LOCATION_HAS_HORIZONTAL_ACCURACY; in convertToGnssLocation()
[all …]
DGnssGeofencing.cpp67 GnssLocation gnssLocation = convertToGnssLocation(location); in gnssGfTransitionCb() local
70 gnssLocation, in gnssGfTransitionCb()
84 GnssLocation gnssLocation; in gnssGfStatusCb() local
87 gnssLocation = convertToGnssLocation(location); in gnssGfStatusCb()
89 gnssLocation = {}; in gnssGfStatusCb()
93 static_cast<IGnssGeofenceCallback::GeofenceAvailability>(status), gnssLocation); in gnssGfStatusCb()
DGnss.cpp82 android::hardware::gnss::V1_0::GnssLocation gnssLocation = convertToGnssLocation(location); in locationCb() local
83 auto ret = sGnssCbIface->gnssLocationCb(gnssLocation); in locationCb()
/hardware/qcom/sm8150/gps/android/1.1/location_api/
DGeofenceAPIClient.cpp147 GnssLocation gnssLocation; in onGeofenceBreachCb() local
148 convertGnssLocation(geofenceBreachNotification.location, gnssLocation); in onGeofenceBreachCb()
162 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
181 GnssLocation gnssLocation; in onGeofenceStatusCb() local
182 memset(&gnssLocation, 0, sizeof(GnssLocation)); in onGeofenceStatusCb()
183 auto r = mGnssGeofencingCbIface->gnssGeofenceStatusCb(status, gnssLocation); in onGeofenceStatusCb()
DGnssAPIClient.cpp362 GnssLocation gnssLocation; in onTrackingCb() local
363 convertGnssLocation(location, gnssLocation); in onTrackingCb()
364 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
/hardware/qcom/gps/msm8998/android/location_api/
DGeofenceAPIClient.cpp144 GnssLocation gnssLocation; in onGeofenceBreachCb() local
145 convertGnssLocation(geofenceBreachNotification.location, gnssLocation); in onGeofenceBreachCb()
159 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
178 GnssLocation gnssLocation; in onGeofenceStatusCb() local
179 memset(&gnssLocation, 0, sizeof(GnssLocation)); in onGeofenceStatusCb()
180 auto r = mGnssGeofencingCbIface->gnssGeofenceStatusCb(status, gnssLocation); in onGeofenceStatusCb()
DGnssAPIClient.cpp281 GnssLocation gnssLocation; in onTrackingCb() local
282 convertGnssLocation(location, gnssLocation); in onTrackingCb()
283 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DGeofenceAPIClient.cpp145 GnssLocation gnssLocation; in onGeofenceBreachCb() local
146 convertGnssLocation(geofenceBreachNotification.location, gnssLocation); in onGeofenceBreachCb()
160 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
179 GnssLocation gnssLocation; in onGeofenceStatusCb() local
180 memset(&gnssLocation, 0, sizeof(GnssLocation)); in onGeofenceStatusCb()
181 auto r = mGnssGeofencingCbIface->gnssGeofenceStatusCb(status, gnssLocation); in onGeofenceStatusCb()
DGnssAPIClient.cpp335 GnssLocation gnssLocation; in onTrackingCb() local
336 convertGnssLocation(location, gnssLocation); in onTrackingCb()
337 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
/hardware/qcom/sm8150/gps/android/2.0/location_api/
DGeofenceAPIClient.cpp147 GnssLocation gnssLocation; in onGeofenceBreachCb() local
148 convertGnssLocation(geofenceBreachNotification.location, gnssLocation); in onGeofenceBreachCb()
162 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
181 GnssLocation gnssLocation; in onGeofenceStatusCb() local
182 memset(&gnssLocation, 0, sizeof(GnssLocation)); in onGeofenceStatusCb()
183 auto r = mGnssGeofencingCbIface->gnssGeofenceStatusCb(status, gnssLocation); in onGeofenceStatusCb()
DGnssAPIClient.cpp440 V2_0::GnssLocation gnssLocation; in onTrackingCb() local
441 convertGnssLocation(location, gnssLocation); in onTrackingCb()
442 auto r = gnssCbIface_2_0->gnssLocationCb_2_0(gnssLocation); in onTrackingCb()
448 V1_0::GnssLocation gnssLocation; in onTrackingCb() local
449 convertGnssLocation(location, gnssLocation); in onTrackingCb()
450 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
/hardware/qcom/sdm845/gps/msm8998/android/location_api/
DGeofenceAPIClient.cpp144 GnssLocation gnssLocation; in onGeofenceBreachCb() local
145 convertGnssLocation(geofenceBreachNotification.location, gnssLocation); in onGeofenceBreachCb()
159 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
178 GnssLocation gnssLocation; in onGeofenceStatusCb() local
179 memset(&gnssLocation, 0, sizeof(GnssLocation)); in onGeofenceStatusCb()
180 auto r = mGnssGeofencingCbIface->gnssGeofenceStatusCb(status, gnssLocation); in onGeofenceStatusCb()
DGnssAPIClient.cpp280 GnssLocation gnssLocation; in onTrackingCb() local
281 convertGnssLocation(location, gnssLocation); in onTrackingCb()
282 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
/hardware/qcom/sdm845/gps/sdm845/android/location_api/
DGeofenceAPIClient.cpp147 GnssLocation gnssLocation; in onGeofenceBreachCb() local
148 convertGnssLocation(geofenceBreachNotification.location, gnssLocation); in onGeofenceBreachCb()
162 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
181 GnssLocation gnssLocation; in onGeofenceStatusCb() local
182 memset(&gnssLocation, 0, sizeof(GnssLocation)); in onGeofenceStatusCb()
183 auto r = mGnssGeofencingCbIface->gnssGeofenceStatusCb(status, gnssLocation); in onGeofenceStatusCb()
DGnssAPIClient.cpp358 GnssLocation gnssLocation; in onTrackingCb() local
359 convertGnssLocation(location, gnssLocation); in onTrackingCb()
360 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
/hardware/qcom/sm8150/gps/android/1.0/location_api/
DGeofenceAPIClient.cpp147 GnssLocation gnssLocation; in onGeofenceBreachCb() local
148 convertGnssLocation(geofenceBreachNotification.location, gnssLocation); in onGeofenceBreachCb()
162 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
181 GnssLocation gnssLocation; in onGeofenceStatusCb() local
182 memset(&gnssLocation, 0, sizeof(GnssLocation)); in onGeofenceStatusCb()
183 auto r = mGnssGeofencingCbIface->gnssGeofenceStatusCb(status, gnssLocation); in onGeofenceStatusCb()
DGnssAPIClient.cpp362 GnssLocation gnssLocation; in onTrackingCb() local
363 convertGnssLocation(location, gnssLocation); in onTrackingCb()
364 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
/hardware/qcom/sm8150/gps/android/2.0/
DGnss.cpp492 Return<bool> Gnss::injectBestLocation(const GnssLocation& gnssLocation) { in injectBestLocation() argument
497 convertGnssLocation(gnssLocation, location); in injectBestLocation()
631 Return<bool> Gnss::injectBestLocation_2_0(const V2_0::GnssLocation& gnssLocation) { in injectBestLocation_2_0() argument
636 convertGnssLocation(gnssLocation, location); in injectBestLocation_2_0()
/hardware/interfaces/gnss/1.1/vts/functional/
Dgnss_hal_test_cases.cpp478 GnssLocation gnssLocation = last_location_; in TEST_F() local
479 CheckLocation(gnssLocation, true); in TEST_F()
481 auto result = gnss_hal_->injectBestLocation(gnssLocation); in TEST_F()
/hardware/qcom/sm8150/gps/android/1.1/
DGnss.cpp413 Return<bool> Gnss::injectBestLocation(const GnssLocation& gnssLocation) { in injectBestLocation() argument
418 convertGnssLocation(gnssLocation, location); in injectBestLocation()
/hardware/qcom/sdm845/gps/sdm845/android/
DGnss.cpp413 Return<bool> Gnss::injectBestLocation(const GnssLocation& gnssLocation) { in injectBestLocation() argument
418 convertGnssLocation(gnssLocation, location); in injectBestLocation()