Lines Matching refs:count
179 GeofenceAdapter::reportResponse(LocationAPI* client, size_t count, LocationError* errs, in reportResponse() argument
186 for (size_t i=0; i < count; ++i) { in reportResponse()
200 it->second.collectiveResponseCb(count, errs, ids); in reportResponse()
207 GeofenceAdapter::addGeofencesCommand(LocationAPI* client, size_t count, GeofenceOption* options, in addGeofencesCommand() argument
210 LOC_LOGD("%s]: client %p count %zu", __func__, client, count); in addGeofencesCommand()
223 size_t count, in addGeofencesCommand()
231 mCount(count), in addGeofencesCommand()
275 if (0 == count) { in addGeofencesCommand()
278 uint32_t* ids = new uint32_t[count]; in addGeofencesCommand()
284 for (size_t i=0; i < count; ++i) { in addGeofencesCommand()
292 optionsCopy = new GeofenceOption[count]; in addGeofencesCommand()
297 COPY_IF_NOT_NULL(optionsCopy, options, count); in addGeofencesCommand()
303 infosCopy = new GeofenceInfo[count]; in addGeofencesCommand()
308 COPY_IF_NOT_NULL(infosCopy, infos, count); in addGeofencesCommand()
311 sendMsg(new MsgAddGeofences(*this, *mLocApi, client, count, ids, optionsCopy, infosCopy)); in addGeofencesCommand()
316 GeofenceAdapter::removeGeofencesCommand(LocationAPI* client, size_t count, uint32_t* ids) in removeGeofencesCommand() argument
318 LOC_LOGD("%s]: client %p count %zu", __func__, client, count); in removeGeofencesCommand()
329 size_t count, in removeGeofencesCommand()
335 mCount(count), in removeGeofencesCommand()
379 if (0 == count) { in removeGeofencesCommand()
382 uint32_t* idsCopy = new uint32_t[count]; in removeGeofencesCommand()
387 COPY_IF_NOT_NULL(idsCopy, ids, count); in removeGeofencesCommand()
388 sendMsg(new MsgRemoveGeofences(*this, *mLocApi, client, count, idsCopy)); in removeGeofencesCommand()
392 GeofenceAdapter::pauseGeofencesCommand(LocationAPI* client, size_t count, uint32_t* ids) in pauseGeofencesCommand() argument
394 LOC_LOGD("%s]: client %p count %zu", __func__, client, count); in pauseGeofencesCommand()
405 size_t count, in pauseGeofencesCommand()
411 mCount(count), in pauseGeofencesCommand()
454 if (0 == count) { in pauseGeofencesCommand()
457 uint32_t* idsCopy = new uint32_t[count]; in pauseGeofencesCommand()
462 COPY_IF_NOT_NULL(idsCopy, ids, count); in pauseGeofencesCommand()
463 sendMsg(new MsgPauseGeofences(*this, *mLocApi, client, count, idsCopy)); in pauseGeofencesCommand()
467 GeofenceAdapter::resumeGeofencesCommand(LocationAPI* client, size_t count, uint32_t* ids) in resumeGeofencesCommand() argument
469 LOC_LOGD("%s]: client %p count %zu", __func__, client, count); in resumeGeofencesCommand()
480 size_t count, in resumeGeofencesCommand()
486 mCount(count), in resumeGeofencesCommand()
530 if (0 == count) { in resumeGeofencesCommand()
533 uint32_t* idsCopy = new uint32_t[count]; in resumeGeofencesCommand()
538 COPY_IF_NOT_NULL(idsCopy, ids, count); in resumeGeofencesCommand()
539 sendMsg(new MsgResumeGeofences(*this, *mLocApi, client, count, idsCopy)); in resumeGeofencesCommand()
543 GeofenceAdapter::modifyGeofencesCommand(LocationAPI* client, size_t count, uint32_t* ids, in modifyGeofencesCommand() argument
546 LOC_LOGD("%s]: client %p count %zu", __func__, client, count); in modifyGeofencesCommand()
558 size_t count, in modifyGeofencesCommand()
565 mCount(count), in modifyGeofencesCommand()
617 if (0 == count) { in modifyGeofencesCommand()
620 uint32_t* idsCopy = new uint32_t[count]; in modifyGeofencesCommand()
625 COPY_IF_NOT_NULL(idsCopy, ids, count); in modifyGeofencesCommand()
630 optionsCopy = new GeofenceOption[count]; in modifyGeofencesCommand()
635 COPY_IF_NOT_NULL(optionsCopy, options, count); in modifyGeofencesCommand()
638 sendMsg(new MsgModifyGeofences(*this, *mLocApi, client, count, idsCopy, optionsCopy)); in modifyGeofencesCommand()
725 GeofenceAdapter::geofenceBreachEvent(size_t count, uint32_t* hwIds, Location& location, in geofenceBreachEvent() argument
732 for (size_t i=0; i < count; ++i) { in geofenceBreachEvent()
738 __func__, breachType, count, idsString.c_str()); in geofenceBreachEvent()
741 if (0 == count || NULL == hwIds) in geofenceBreachEvent()
752 size_t count, in geofenceBreachEvent()
759 mCount(count), in geofenceBreachEvent()
760 mHwIds(new uint32_t[count]), in geofenceBreachEvent()
779 sendMsg(new MsgGeofenceBreach(*this, count, hwIds, location, breachType, timestamp)); in geofenceBreachEvent()
784 GeofenceAdapter::geofenceBreach(size_t count, uint32_t* hwIds, const Location& location, in geofenceBreach() argument
789 uint32_t* clientIds = new uint32_t[count]; in geofenceBreach()
794 for (size_t i=0; i < count; ++i) { in geofenceBreach()