Lines Matching refs:ids
61 [this](size_t count, LocationError* errors, uint32_t* ids) { in LocationAPIControlClient() argument
62 onCtrlCollectiveResponseCb(count, errors, ids); in LocationAPIControlClient()
204 size_t count, LocationError* errors, uint32_t* ids) in onCtrlCollectiveResponseCb() argument
208 LOC_LOGE("%s:%d] ERROR: %d ID: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCtrlCollectiveResponseCb()
210 LOC_LOGV("%s:%d] SUCCESS: %d id: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCtrlCollectiveResponseCb()
213 LocationAPIRequest* request = getRequestBySessionArrayPtr(ids); in onCtrlCollectiveResponseCb()
215 request->onCollectiveResponse(count, errors, ids); in onCtrlCollectiveResponseCb()
292 [this](size_t count, LocationError* errors, uint32_t* ids) { in locAPISetCallbacks() argument
293 onCollectiveResponseCb(count, errors, ids); in locAPISetCallbacks()
625 size_t count, uint32_t* ids, GeofenceOption* options, GeofenceInfo* data) in locAPIAddGeofences() argument
639 mGeofenceBiDict.set(ids[i], sessions[i], options[i].breachTypeMask); in locAPIAddGeofences()
649 void LocationAPIClientBase::locAPIRemoveGeofences(size_t count, uint32_t* ids) in locAPIRemoveGeofences() argument
666 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIRemoveGeofences()
670 removedGeofenceBiDict->set(ids[i], sessions[j], type); in locAPIRemoveGeofences()
692 size_t count, uint32_t* ids, GeofenceOption* options) in locAPIModifyGeofences() argument
707 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIModifyGeofences()
709 mGeofenceBiDict.set(ids[i], sessions[j], options[i].breachTypeMask); in locAPIModifyGeofences()
727 void LocationAPIClientBase::locAPIPauseGeofences(size_t count, uint32_t* ids) in locAPIPauseGeofences() argument
742 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIPauseGeofences()
762 size_t count, uint32_t* ids, GeofenceBreachTypeMask* mask) in locAPIResumeGeofences() argument
777 sessions[j] = mGeofenceBiDict.getSession(ids[i]); in locAPIResumeGeofences()
780 mGeofenceBiDict.set(ids[i], sessions[j], mask[i]); in locAPIResumeGeofences()
821 uint32_t* ids = (uint32_t*)malloc(sizeof(uint32_t) * geofenceBreachNotification.count); in beforeGeofenceBreachCb() local
822 uint32_t* backup = geofenceBreachNotification.ids; in beforeGeofenceBreachCb()
826 if (ids == NULL) { in beforeGeofenceBreachCb()
837 uint32_t id = mGeofenceBiDict.getId(geofenceBreachNotification.ids[i]); in beforeGeofenceBreachCb()
839 mGeofenceBiDict.getExtBySession(geofenceBreachNotification.ids[i]); in beforeGeofenceBreachCb()
847 ids[count] = id; in beforeGeofenceBreachCb()
852 geofenceBreachNotification.ids = ids; in beforeGeofenceBreachCb()
863 geofenceBreachNotification.ids = backup; in beforeGeofenceBreachCb()
865 free(ids); in beforeGeofenceBreachCb()
906 size_t count, LocationError* errors, uint32_t* ids) in onCollectiveResponseCb() argument
910 LOC_LOGE("%s:%d] ERROR: %d ID: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCollectiveResponseCb()
912 LOC_LOGV("%s:%d] SUCCESS: %d id: %d", __FUNCTION__, __LINE__, errors[i], ids[i]); in onCollectiveResponseCb()
922 request->onCollectiveResponse(count, errors, ids); in onCollectiveResponseCb()