Home
last modified time | relevance | path

Searched refs:gnssLocation (Results 1 – 8 of 8) 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/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/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/interfaces/gnss/1.1/vts/functional/
Dgnss_hal_test_cases.cpp356 GnssLocation gnssLocation = {.gnssLocationFlags = 0, // set below in TEST_F() local
367 gnssLocation.gnssLocationFlags |= in TEST_F()
373 CheckLocation(gnssLocation, true); in TEST_F()
375 auto result = gnss_hal_->injectBestLocation(gnssLocation); in TEST_F()