/hardware/interfaces/gnss/1.0/default/ |
D | GnssUtils.cpp | 28 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 …]
|
D | GnssGeofencing.cpp | 67 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()
|
/hardware/qcom/sm8150p/gps/android/2.0/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
D | GnssAPIClient.cpp | 440 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/sm8150/gps/android/2.1/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
D | GnssAPIClient.cpp | 491 V2_0::GnssLocation gnssLocation; in onTrackingCb() local 492 convertGnssLocation(location, gnssLocation); in onTrackingCb() 493 auto r = gnssCbIface_2_1->gnssLocationCb_2_0(gnssLocation); in onTrackingCb() 499 V2_0::GnssLocation gnssLocation; in onTrackingCb() local 500 convertGnssLocation(location, gnssLocation); in onTrackingCb() 501 auto r = gnssCbIface_2_0->gnssLocationCb_2_0(gnssLocation); in onTrackingCb() 507 V1_0::GnssLocation gnssLocation; in onTrackingCb() local 508 convertGnssLocation(location, gnssLocation); in onTrackingCb() 509 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
|
/hardware/qcom/sm8150/gps/android/1.1/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
/hardware/qcom/sm8150p/gps/android/1.1/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
/hardware/qcom/sm7150/gps/android/1.0/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
/hardware/qcom/gps/msm8909w_3100/android/location_api/ |
D | GeofenceAPIClient.cpp | 145 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()
|
/hardware/qcom/sm7150/gps/android/2.0/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
D | GnssAPIClient.cpp | 441 V2_0::GnssLocation gnssLocation; in onTrackingCb() local 442 convertGnssLocation(location, gnssLocation); in onTrackingCb() 443 auto r = gnssCbIface_2_0->gnssLocationCb_2_0(gnssLocation); in onTrackingCb() 449 V1_0::GnssLocation gnssLocation; in onTrackingCb() local 450 convertGnssLocation(location, gnssLocation); in onTrackingCb() 451 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
|
/hardware/qcom/gps/msm8998/android/location_api/ |
D | GeofenceAPIClient.cpp | 144 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()
|
/hardware/qcom/sdm845/gps/sdm845/android/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
/hardware/qcom/sdm845/gps/msm8998/android/location_api/ |
D | GeofenceAPIClient.cpp | 144 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()
|
/hardware/qcom/sm8150p/gps/android/1.0/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
/hardware/qcom/sm8150/gps/android/2.0/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
D | GnssAPIClient.cpp | 441 V2_0::GnssLocation gnssLocation; in onTrackingCb() local 442 convertGnssLocation(location, gnssLocation); in onTrackingCb() 443 auto r = gnssCbIface_2_0->gnssLocationCb_2_0(gnssLocation); in onTrackingCb() 449 V1_0::GnssLocation gnssLocation; in onTrackingCb() local 450 convertGnssLocation(location, gnssLocation); in onTrackingCb() 451 auto r = gnssCbIface->gnssLocationCb(gnssLocation); in onTrackingCb()
|
/hardware/qcom/sm8150/gps/android/1.0/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
/hardware/qcom/sm7150/gps/android/1.1/location_api/ |
D | GeofenceAPIClient.cpp | 147 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()
|
/hardware/qcom/sm7150/gps/android/2.0/ |
D | Gnss.cpp | 506 Return<bool> Gnss::injectBestLocation(const GnssLocation& gnssLocation) { in injectBestLocation() argument 511 convertGnssLocation(gnssLocation, location); in injectBestLocation() 645 Return<bool> Gnss::injectBestLocation_2_0(const V2_0::GnssLocation& gnssLocation) { in injectBestLocation_2_0() argument 650 convertGnssLocation(gnssLocation, location); in injectBestLocation_2_0()
|
/hardware/qcom/sm8150/gps/android/2.0/ |
D | Gnss.cpp | 497 Return<bool> Gnss::injectBestLocation(const GnssLocation& gnssLocation) { in injectBestLocation() argument 502 convertGnssLocation(gnssLocation, location); in injectBestLocation() 636 Return<bool> Gnss::injectBestLocation_2_0(const V2_0::GnssLocation& gnssLocation) { in injectBestLocation_2_0() argument 641 convertGnssLocation(gnssLocation, location); in injectBestLocation_2_0()
|
/hardware/qcom/sm8150p/gps/android/2.0/ |
D | Gnss.cpp | 501 Return<bool> Gnss::injectBestLocation(const GnssLocation& gnssLocation) { in injectBestLocation() argument 506 convertGnssLocation(gnssLocation, location); in injectBestLocation() 634 Return<bool> Gnss::injectBestLocation_2_0(const V2_0::GnssLocation& gnssLocation) { in injectBestLocation_2_0() argument 639 convertGnssLocation(gnssLocation, location); in injectBestLocation_2_0()
|
/hardware/qcom/sm8150/gps/android/2.1/ |
D | Gnss.cpp | 510 Return<bool> Gnss::injectBestLocation(const GnssLocation& gnssLocation) { in injectBestLocation() argument 515 convertGnssLocation(gnssLocation, location); in injectBestLocation() 679 Return<bool> Gnss::injectBestLocation_2_0(const V2_0::GnssLocation& gnssLocation) { in injectBestLocation_2_0() argument 684 convertGnssLocation(gnssLocation, location); in injectBestLocation_2_0()
|
/hardware/interfaces/gnss/1.1/vts/functional/ |
D | gnss_hal_test_cases.cpp | 514 GnssLocation gnssLocation = gnss_cb_->last_location_; in TEST_P() local 515 CheckLocation(gnssLocation, true); in TEST_P() 517 auto result = gnss_hal_->injectBestLocation(gnssLocation); in TEST_P()
|