Home
last modified time | relevance | path

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

12

/hardware/qcom/sdm845/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()
/hardware/qcom/gps/msm8909w_3100/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.cpp242 void LocationAPIClientBase::locAPISetCallbacks(LocationCallbacks& locationCallbacks) in locAPISetCallbacks() argument
246 if (locationCallbacks.geofenceBreachCb != nullptr) { in locAPISetCallbacks()
247 mGeofenceBreachCallback = locationCallbacks.geofenceBreachCb; in locAPISetCallbacks()
248 locationCallbacks.geofenceBreachCb = in locAPISetCallbacks()
254 locationCallbacks.capabilitiesCb = in locAPISetCallbacks()
258 locationCallbacks.responseCb = [this](LocationError error, uint32_t id) { in locAPISetCallbacks()
261 locationCallbacks.collectiveResponseCb = in locAPISetCallbacks()
266 if (locationCallbacks.batchingStatusCb != nullptr) { in locAPISetCallbacks()
267 mBatchingStatusCallback = locationCallbacks.batchingStatusCb; in locAPISetCallbacks()
268 locationCallbacks.batchingStatusCb = in locAPISetCallbacks()
[all …]
/hardware/qcom/sdm845/gps/sdm845/location/
DLocationAPI.cpp54 static bool needsGnssTrackingInfo(LocationCallbacks& locationCallbacks) in needsGnssTrackingInfo() argument
56 return (locationCallbacks.gnssLocationInfoCb != nullptr || in needsGnssTrackingInfo()
57 locationCallbacks.gnssSvCb != nullptr || in needsGnssTrackingInfo()
58 locationCallbacks.gnssNmeaCb != nullptr || in needsGnssTrackingInfo()
59 locationCallbacks.gnssMeasurementsCb != nullptr); in needsGnssTrackingInfo()
62 static bool isGnssClient(LocationCallbacks& locationCallbacks) in isGnssClient() argument
64 return (locationCallbacks.gnssNiCb != nullptr || in isGnssClient()
65 locationCallbacks.trackingCb != nullptr || in isGnssClient()
66 locationCallbacks.gnssMeasurementsCb != nullptr); in isGnssClient()
69 static bool isFlpClient(LocationCallbacks& locationCallbacks) in isFlpClient() argument
[all …]
DLocationAPIClientBase.cpp272 void LocationAPIClientBase::locAPISetCallbacks(LocationCallbacks& locationCallbacks) in locAPISetCallbacks() argument
276 if (locationCallbacks.geofenceBreachCb != nullptr) { in locAPISetCallbacks()
277 mGeofenceBreachCallback = locationCallbacks.geofenceBreachCb; in locAPISetCallbacks()
278 locationCallbacks.geofenceBreachCb = in locAPISetCallbacks()
284 locationCallbacks.capabilitiesCb = in locAPISetCallbacks()
288 locationCallbacks.responseCb = [this](LocationError error, uint32_t id) { in locAPISetCallbacks()
291 locationCallbacks.collectiveResponseCb = in locAPISetCallbacks()
296 if (locationCallbacks.batchingStatusCb != nullptr) { in locAPISetCallbacks()
297 mBatchingStatusCallback = locationCallbacks.batchingStatusCb; in locAPISetCallbacks()
298 locationCallbacks.batchingStatusCb = in locAPISetCallbacks()
[all …]
/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/msm8909w_3100/android/location_api/
DBatchingAPIClient.cpp59 LocationCallbacks locationCallbacks; in BatchingAPIClient() local
60 memset(&locationCallbacks, 0, sizeof(LocationCallbacks)); in BatchingAPIClient()
61 locationCallbacks.size = sizeof(LocationCallbacks); in BatchingAPIClient()
63 locationCallbacks.trackingCb = nullptr; in BatchingAPIClient()
64 locationCallbacks.batchingCb = nullptr; in BatchingAPIClient()
66 locationCallbacks.batchingCb = [this](size_t count, Location* location, in BatchingAPIClient()
71 locationCallbacks.geofenceBreachCb = nullptr; in BatchingAPIClient()
72 locationCallbacks.geofenceStatusCb = nullptr; in BatchingAPIClient()
73 locationCallbacks.gnssLocationInfoCb = nullptr; in BatchingAPIClient()
74 locationCallbacks.gnssNiCb = nullptr; in BatchingAPIClient()
[all …]
DGeofenceAPIClient.cpp52 LocationCallbacks locationCallbacks; in GeofenceAPIClient() local
53 memset(&locationCallbacks, 0, sizeof(LocationCallbacks)); in GeofenceAPIClient()
54 locationCallbacks.size = sizeof(LocationCallbacks); in GeofenceAPIClient()
56 locationCallbacks.trackingCb = nullptr; in GeofenceAPIClient()
57 locationCallbacks.batchingCb = nullptr; in GeofenceAPIClient()
59 locationCallbacks.geofenceBreachCb = nullptr; in GeofenceAPIClient()
61 locationCallbacks.geofenceBreachCb = in GeofenceAPIClient()
66 locationCallbacks.geofenceStatusCb = in GeofenceAPIClient()
72 locationCallbacks.gnssLocationInfoCb = nullptr; in GeofenceAPIClient()
73 locationCallbacks.gnssNiCb = nullptr; in GeofenceAPIClient()
[all …]
DMeasurementAPIClient.cpp73 LocationCallbacks locationCallbacks; in measurementSetCallback() local
74 memset(&locationCallbacks, 0, sizeof(LocationCallbacks)); in measurementSetCallback()
75 locationCallbacks.size = sizeof(LocationCallbacks); in measurementSetCallback()
77 locationCallbacks.trackingCb = nullptr; in measurementSetCallback()
78 locationCallbacks.batchingCb = nullptr; in measurementSetCallback()
79 locationCallbacks.geofenceBreachCb = nullptr; in measurementSetCallback()
80 locationCallbacks.geofenceStatusCb = nullptr; in measurementSetCallback()
81 locationCallbacks.gnssLocationInfoCb = nullptr; in measurementSetCallback()
82 locationCallbacks.gnssNiCb = nullptr; in measurementSetCallback()
83 locationCallbacks.gnssSvCb = nullptr; in measurementSetCallback()
[all …]
DGnssAPIClient.cpp89 LocationCallbacks locationCallbacks; in gnssUpdateCallbacks() local
90 memset(&locationCallbacks, 0, sizeof(LocationCallbacks)); in gnssUpdateCallbacks()
91 locationCallbacks.size = sizeof(LocationCallbacks); in gnssUpdateCallbacks()
93 locationCallbacks.trackingCb = nullptr; in gnssUpdateCallbacks()
95 locationCallbacks.trackingCb = [this](Location location) { in gnssUpdateCallbacks()
100 locationCallbacks.batchingCb = nullptr; in gnssUpdateCallbacks()
101 locationCallbacks.geofenceBreachCb = nullptr; in gnssUpdateCallbacks()
102 locationCallbacks.geofenceStatusCb = nullptr; in gnssUpdateCallbacks()
103 locationCallbacks.gnssLocationInfoCb = nullptr; in gnssUpdateCallbacks()
105 locationCallbacks.gnssNiCb = nullptr; in gnssUpdateCallbacks()
[all …]
/hardware/qcom/sdm845/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 …]
/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 …]
/hardware/qcom/sdm845/gps/sdm845/android/location_api/
DBatchingAPIClient.cpp63 LocationCallbacks locationCallbacks; in BatchingAPIClient() local
64 memset(&locationCallbacks, 0, sizeof(LocationCallbacks)); in BatchingAPIClient()
65 locationCallbacks.size = sizeof(LocationCallbacks); in BatchingAPIClient()
67 locationCallbacks.trackingCb = nullptr; in BatchingAPIClient()
68 locationCallbacks.batchingCb = nullptr; in BatchingAPIClient()
70 locationCallbacks.batchingCb = [this](size_t count, Location* location, in BatchingAPIClient()
75 locationCallbacks.geofenceBreachCb = nullptr; in BatchingAPIClient()
76 locationCallbacks.geofenceStatusCb = nullptr; in BatchingAPIClient()
77 locationCallbacks.gnssLocationInfoCb = nullptr; in BatchingAPIClient()
78 locationCallbacks.gnssNiCb = nullptr; in BatchingAPIClient()
[all …]
DGeofenceAPIClient.cpp54 LocationCallbacks locationCallbacks; in GeofenceAPIClient() local
55 memset(&locationCallbacks, 0, sizeof(LocationCallbacks)); in GeofenceAPIClient()
56 locationCallbacks.size = sizeof(LocationCallbacks); in GeofenceAPIClient()
58 locationCallbacks.trackingCb = nullptr; in GeofenceAPIClient()
59 locationCallbacks.batchingCb = nullptr; in GeofenceAPIClient()
61 locationCallbacks.geofenceBreachCb = nullptr; in GeofenceAPIClient()
63 locationCallbacks.geofenceBreachCb = in GeofenceAPIClient()
68 locationCallbacks.geofenceStatusCb = in GeofenceAPIClient()
74 locationCallbacks.gnssLocationInfoCb = nullptr; in GeofenceAPIClient()
75 locationCallbacks.gnssNiCb = nullptr; in GeofenceAPIClient()
[all …]
DMeasurementAPIClient.cpp101 LocationCallbacks locationCallbacks; in startTracking() local
102 memset(&locationCallbacks, 0, sizeof(LocationCallbacks)); in startTracking()
103 locationCallbacks.size = sizeof(LocationCallbacks); in startTracking()
105 locationCallbacks.trackingCb = nullptr; in startTracking()
106 locationCallbacks.batchingCb = nullptr; in startTracking()
107 locationCallbacks.geofenceBreachCb = nullptr; in startTracking()
108 locationCallbacks.geofenceStatusCb = nullptr; in startTracking()
109 locationCallbacks.gnssLocationInfoCb = nullptr; in startTracking()
110 locationCallbacks.gnssNiCb = nullptr; in startTracking()
111 locationCallbacks.gnssSvCb = nullptr; in startTracking()
[all …]
DGnssAPIClient.cpp94 LocationCallbacks locationCallbacks; in gnssUpdateCallbacks() local
95 memset(&locationCallbacks, 0, sizeof(LocationCallbacks)); in gnssUpdateCallbacks()
96 locationCallbacks.size = sizeof(LocationCallbacks); in gnssUpdateCallbacks()
98 locationCallbacks.trackingCb = nullptr; in gnssUpdateCallbacks()
100 locationCallbacks.trackingCb = [this](Location location) { in gnssUpdateCallbacks()
105 locationCallbacks.batchingCb = nullptr; in gnssUpdateCallbacks()
106 locationCallbacks.geofenceBreachCb = nullptr; in gnssUpdateCallbacks()
107 locationCallbacks.geofenceStatusCb = nullptr; in gnssUpdateCallbacks()
108 locationCallbacks.gnssLocationInfoCb = nullptr; in gnssUpdateCallbacks()
110 locationCallbacks.gnssNiCb = nullptr; in gnssUpdateCallbacks()
[all …]

12