Home
last modified time | relevance | path

Searched refs:geofenceBreachNotification (Results 1 – 5 of 5) sorted by relevance

/hardware/qcom/gps/msm8998/android/location_api/
DGeofenceAPIClient.cpp61 [this](GeofenceBreachNotification geofenceBreachNotification) { in GeofenceAPIClient() argument
62 onGeofenceBreachCb(geofenceBreachNotification); in GeofenceAPIClient()
139 void GeofenceAPIClient::onGeofenceBreachCb(GeofenceBreachNotification geofenceBreachNotification) in onGeofenceBreachCb() argument
141 LOC_LOGD("%s]: (%zu)", __FUNCTION__, geofenceBreachNotification.count); in onGeofenceBreachCb()
143 for (size_t i = 0; i < geofenceBreachNotification.count; i++) { in onGeofenceBreachCb()
145 convertGnssLocation(geofenceBreachNotification.location, gnssLocation); in onGeofenceBreachCb()
148 if (geofenceBreachNotification.type == GEOFENCE_BREACH_ENTER) in onGeofenceBreachCb()
150 else if (geofenceBreachNotification.type == GEOFENCE_BREACH_EXIT) in onGeofenceBreachCb()
159 geofenceBreachNotification.ids[i], gnssLocation, transition, in onGeofenceBreachCb()
160 static_cast<GnssUtcTime>(geofenceBreachNotification.timestamp)); in onGeofenceBreachCb()
DGeofenceAPIClient.h60 void onGeofenceBreachCb(GeofenceBreachNotification geofenceBreachNotification) final;
/hardware/qcom/gps/msm8998/location/
DLocationAPIClientBase.cpp65 [this](GeofenceBreachNotification geofenceBreachNotification) { in locAPISetCallbacks() argument
66 beforeGeofenceBreachCb(geofenceBreachNotification); in locAPISetCallbacks()
644 GeofenceBreachNotification geofenceBreachNotification) in beforeGeofenceBreachCb() argument
648 uint32_t* ids = (uint32_t*)malloc(sizeof(uint32_t) * geofenceBreachNotification.count); in beforeGeofenceBreachCb()
649 uint32_t* backup = geofenceBreachNotification.ids; in beforeGeofenceBreachCb()
650 size_t n = geofenceBreachNotification.count; in beforeGeofenceBreachCb()
654 uint32_t id = mGeofenceBiDict.getId(geofenceBreachNotification.ids[i]); in beforeGeofenceBreachCb()
655 GeofenceBreachTypeMask type = mGeofenceBiDict.getType(geofenceBreachNotification.ids[i]); in beforeGeofenceBreachCb()
656 if ((geofenceBreachNotification.type == GEOFENCE_BREACH_ENTER && in beforeGeofenceBreachCb()
658 (geofenceBreachNotification.type == GEOFENCE_BREACH_EXIT && in beforeGeofenceBreachCb()
[all …]
DLocationAPI.h603 GeofenceBreachNotification geofenceBreachNotification
DLocationAPIClientBase.h101 void beforeGeofenceBreachCb(GeofenceBreachNotification geofenceBreachNotification);