Home
last modified time | relevance | path

Searched refs:locationCallbacks (Results 1 – 14 of 14) sorted by relevance

/hardware/qcom/gps/msm8998/location/
DLocationAPI.cpp52 static bool needsGnssTrackingInfo(LocationCallbacks& locationCallbacks) in needsGnssTrackingInfo() argument
54 return (locationCallbacks.gnssLocationInfoCb != nullptr || in needsGnssTrackingInfo()
55 locationCallbacks.gnssSvCb != nullptr || in needsGnssTrackingInfo()
56 locationCallbacks.gnssNmeaCb != nullptr || in needsGnssTrackingInfo()
57 locationCallbacks.gnssMeasurementsCb != nullptr); in needsGnssTrackingInfo()
60 static bool isGnssClient(LocationCallbacks& locationCallbacks) in isGnssClient() argument
62 return (locationCallbacks.gnssNiCb != nullptr || in isGnssClient()
63 locationCallbacks.trackingCb != nullptr || in isGnssClient()
64 locationCallbacks.gnssMeasurementsCb != nullptr); in isGnssClient()
67 static bool isFlpClient(LocationCallbacks& locationCallbacks) in isFlpClient() argument
[all …]
DLocationAPIClientBase.cpp63 void LocationAPIClientBase::locAPISetCallbacks(LocationCallbacks& locationCallbacks) in locAPISetCallbacks() argument
67 if (locationCallbacks.geofenceBreachCb != nullptr) { in locAPISetCallbacks()
68 mGeofenceBreachCallback = locationCallbacks.geofenceBreachCb; in locAPISetCallbacks()
69 locationCallbacks.geofenceBreachCb = in locAPISetCallbacks()
75 locationCallbacks.capabilitiesCb = in locAPISetCallbacks()
79 locationCallbacks.responseCb = [this](LocationError error, uint32_t id) { in locAPISetCallbacks()
82 locationCallbacks.collectiveResponseCb = in locAPISetCallbacks()
88 mLocationAPI = LocationAPI::createInstance(locationCallbacks); in locAPISetCallbacks()
90 mLocationAPI->updateCallbacks(locationCallbacks); in locAPISetCallbacks()
DLocationAPIClientBase.h65 void locAPISetCallbacks(LocationCallbacks& locationCallbacks);
/hardware/qcom/gps/sdm845/location/
DLocationAPI.cpp52 static bool needsGnssTrackingInfo(LocationCallbacks& locationCallbacks) in needsGnssTrackingInfo() argument
54 return (locationCallbacks.gnssLocationInfoCb != nullptr || in needsGnssTrackingInfo()
55 locationCallbacks.gnssSvCb != nullptr || in needsGnssTrackingInfo()
56 locationCallbacks.gnssNmeaCb != nullptr || in needsGnssTrackingInfo()
57 locationCallbacks.gnssMeasurementsCb != nullptr); in needsGnssTrackingInfo()
60 static bool isGnssClient(LocationCallbacks& locationCallbacks) in isGnssClient() argument
62 return (locationCallbacks.gnssNiCb != nullptr || in isGnssClient()
63 locationCallbacks.trackingCb != nullptr || in isGnssClient()
64 locationCallbacks.gnssMeasurementsCb != nullptr); in isGnssClient()
67 static bool isFlpClient(LocationCallbacks& locationCallbacks) in isFlpClient() argument
[all …]
DLocationAPIClientBase.cpp62 void LocationAPIClientBase::locAPISetCallbacks(LocationCallbacks& locationCallbacks) in locAPISetCallbacks() argument
66 if (locationCallbacks.geofenceBreachCb != nullptr) { in locAPISetCallbacks()
67 mGeofenceBreachCallback = locationCallbacks.geofenceBreachCb; in locAPISetCallbacks()
68 locationCallbacks.geofenceBreachCb = in locAPISetCallbacks()
74 locationCallbacks.capabilitiesCb = in locAPISetCallbacks()
78 locationCallbacks.responseCb = [this](LocationError error, uint32_t id) { in locAPISetCallbacks()
81 locationCallbacks.collectiveResponseCb = in locAPISetCallbacks()
87 mLocationAPI = LocationAPI::createInstance(locationCallbacks); in locAPISetCallbacks()
89 mLocationAPI->updateCallbacks(locationCallbacks); in locAPISetCallbacks()
DLocationAPIClientBase.h65 void locAPISetCallbacks(LocationCallbacks& locationCallbacks);
/hardware/qcom/gps/sdm845/android/location_api/
DBatchingAPIClient.cpp56 LocationCallbacks locationCallbacks; in BatchingAPIClient() local
57 locationCallbacks.size = sizeof(LocationCallbacks); in BatchingAPIClient()
59 locationCallbacks.trackingCb = nullptr; in BatchingAPIClient()
60 locationCallbacks.batchingCb = nullptr; in BatchingAPIClient()
62 locationCallbacks.batchingCb = [this](size_t count, Location* location) { in BatchingAPIClient()
66 locationCallbacks.geofenceBreachCb = nullptr; in BatchingAPIClient()
67 locationCallbacks.geofenceStatusCb = nullptr; in BatchingAPIClient()
68 locationCallbacks.gnssLocationInfoCb = nullptr; in BatchingAPIClient()
69 locationCallbacks.gnssNiCb = nullptr; in BatchingAPIClient()
70 locationCallbacks.gnssSvCb = nullptr; in BatchingAPIClient()
[all …]
DGeofenceAPIClient.cpp52 LocationCallbacks locationCallbacks; in GeofenceAPIClient() local
53 locationCallbacks.size = sizeof(LocationCallbacks); in GeofenceAPIClient()
55 locationCallbacks.trackingCb = nullptr; in GeofenceAPIClient()
56 locationCallbacks.batchingCb = nullptr; in GeofenceAPIClient()
58 locationCallbacks.geofenceBreachCb = nullptr; in GeofenceAPIClient()
60 locationCallbacks.geofenceBreachCb = in GeofenceAPIClient()
65 locationCallbacks.geofenceStatusCb = in GeofenceAPIClient()
71 locationCallbacks.gnssLocationInfoCb = nullptr; in GeofenceAPIClient()
72 locationCallbacks.gnssNiCb = nullptr; in GeofenceAPIClient()
73 locationCallbacks.gnssSvCb = nullptr; in GeofenceAPIClient()
[all …]
DMeasurementAPIClient.cpp82 LocationCallbacks locationCallbacks; in measurementSetCallback() local
83 locationCallbacks.size = sizeof(LocationCallbacks); in measurementSetCallback()
85 locationCallbacks.trackingCb = nullptr; in measurementSetCallback()
86 locationCallbacks.batchingCb = nullptr; in measurementSetCallback()
87 locationCallbacks.geofenceBreachCb = nullptr; in measurementSetCallback()
88 locationCallbacks.geofenceStatusCb = nullptr; in measurementSetCallback()
89 locationCallbacks.gnssLocationInfoCb = nullptr; in measurementSetCallback()
90 locationCallbacks.gnssNiCb = nullptr; in measurementSetCallback()
91 locationCallbacks.gnssSvCb = nullptr; in measurementSetCallback()
92 locationCallbacks.gnssNmeaCb = nullptr; in measurementSetCallback()
[all …]
DGnssAPIClient.cpp81 LocationCallbacks locationCallbacks; in gnssUpdateCallbacks() local
82 locationCallbacks.size = sizeof(LocationCallbacks); in gnssUpdateCallbacks()
84 locationCallbacks.trackingCb = nullptr; in gnssUpdateCallbacks()
86 locationCallbacks.trackingCb = [this](Location location) { in gnssUpdateCallbacks()
91 locationCallbacks.batchingCb = nullptr; in gnssUpdateCallbacks()
92 locationCallbacks.geofenceBreachCb = nullptr; in gnssUpdateCallbacks()
93 locationCallbacks.geofenceStatusCb = nullptr; in gnssUpdateCallbacks()
94 locationCallbacks.gnssLocationInfoCb = nullptr; in gnssUpdateCallbacks()
96 locationCallbacks.gnssNiCb = nullptr; in gnssUpdateCallbacks()
98 locationCallbacks.gnssNiCb = [this](uint32_t id, GnssNiNotification gnssNiNotification) { in gnssUpdateCallbacks()
[all …]
/hardware/qcom/gps/msm8998/android/location_api/
DFlpAPIClient.cpp56 LocationCallbacks locationCallbacks; in FlpAPIClient() local
57 locationCallbacks.size = sizeof(LocationCallbacks); in FlpAPIClient()
59 locationCallbacks.trackingCb = nullptr; in FlpAPIClient()
60 locationCallbacks.batchingCb = nullptr; in FlpAPIClient()
62 locationCallbacks.batchingCb = [this](size_t count, Location* location) { in FlpAPIClient()
66 locationCallbacks.geofenceBreachCb = nullptr; in FlpAPIClient()
67 locationCallbacks.geofenceStatusCb = nullptr; in FlpAPIClient()
68 locationCallbacks.gnssLocationInfoCb = nullptr; in FlpAPIClient()
69 locationCallbacks.gnssNiCb = nullptr; in FlpAPIClient()
70 locationCallbacks.gnssSvCb = nullptr; in FlpAPIClient()
[all …]
DGeofenceAPIClient.cpp52 LocationCallbacks locationCallbacks; in GeofenceAPIClient() local
53 locationCallbacks.size = sizeof(LocationCallbacks); in GeofenceAPIClient()
55 locationCallbacks.trackingCb = nullptr; in GeofenceAPIClient()
56 locationCallbacks.batchingCb = nullptr; in GeofenceAPIClient()
58 locationCallbacks.geofenceBreachCb = nullptr; in GeofenceAPIClient()
60 locationCallbacks.geofenceBreachCb = in GeofenceAPIClient()
65 locationCallbacks.geofenceStatusCb = in GeofenceAPIClient()
71 locationCallbacks.gnssLocationInfoCb = nullptr; in GeofenceAPIClient()
72 locationCallbacks.gnssNiCb = nullptr; in GeofenceAPIClient()
73 locationCallbacks.gnssSvCb = nullptr; in GeofenceAPIClient()
[all …]
DGnssMeasurementAPIClient.cpp82 LocationCallbacks locationCallbacks; in gnssMeasurementSetCallback() local
83 locationCallbacks.size = sizeof(LocationCallbacks); in gnssMeasurementSetCallback()
85 locationCallbacks.trackingCb = nullptr; in gnssMeasurementSetCallback()
86 locationCallbacks.batchingCb = nullptr; in gnssMeasurementSetCallback()
87 locationCallbacks.geofenceBreachCb = nullptr; in gnssMeasurementSetCallback()
88 locationCallbacks.geofenceStatusCb = nullptr; in gnssMeasurementSetCallback()
89 locationCallbacks.gnssLocationInfoCb = nullptr; in gnssMeasurementSetCallback()
90 locationCallbacks.gnssNiCb = nullptr; in gnssMeasurementSetCallback()
91 locationCallbacks.gnssSvCb = nullptr; in gnssMeasurementSetCallback()
92 locationCallbacks.gnssNmeaCb = nullptr; in gnssMeasurementSetCallback()
[all …]
DGnssAPIClient.cpp81 LocationCallbacks locationCallbacks; in gnssUpdateCallbacks() local
82 locationCallbacks.size = sizeof(LocationCallbacks); in gnssUpdateCallbacks()
84 locationCallbacks.trackingCb = nullptr; in gnssUpdateCallbacks()
86 locationCallbacks.trackingCb = [this](Location location) { in gnssUpdateCallbacks()
91 locationCallbacks.batchingCb = nullptr; in gnssUpdateCallbacks()
92 locationCallbacks.geofenceBreachCb = nullptr; in gnssUpdateCallbacks()
93 locationCallbacks.geofenceStatusCb = nullptr; in gnssUpdateCallbacks()
94 locationCallbacks.gnssLocationInfoCb = nullptr; in gnssUpdateCallbacks()
96 locationCallbacks.gnssNiCb = nullptr; in gnssUpdateCallbacks()
98 locationCallbacks.gnssNiCb = [this](uint32_t id, GnssNiNotification gnssNiNotification) { in gnssUpdateCallbacks()
[all …]