Lines Matching refs:geofenceBreachNotification
65 [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()
665 geofenceBreachNotification.count = count; in beforeGeofenceBreachCb()
666 geofenceBreachNotification.ids = ids; in beforeGeofenceBreachCb()
667 mGeofenceBreachCallback(geofenceBreachNotification); in beforeGeofenceBreachCb()
670 geofenceBreachNotification.ids = backup; in beforeGeofenceBreachCb()
671 geofenceBreachNotification.count = n; in beforeGeofenceBreachCb()