Lines Matching refs:mAdapter
123 GeofenceAdapter& mAdapter; in handleEngineUpEvent() member
126 mAdapter(adapter) {} in handleEngineUpEvent()
128 mAdapter.setEngineCapabilitiesKnown(true); in handleEngineUpEvent()
129 mAdapter.broadcastCapabilities(mAdapter.getCapabilities()); in handleEngineUpEvent()
130 mAdapter.restartGeofences(); in handleEngineUpEvent()
131 for (auto msg: mAdapter.mPendingMsgs) { in handleEngineUpEvent()
132 mAdapter.sendMsg(msg); in handleEngineUpEvent()
134 mAdapter.mPendingMsgs.clear(); in handleEngineUpEvent()
213 GeofenceAdapter& mAdapter; in addGeofencesCommand() member
228 mAdapter(adapter), in addGeofencesCommand()
245 mApi.addToCallQueue(new LocApiResponse(*mAdapter.getContext(), in addGeofencesCommand()
246 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, in addGeofencesCommand()
250 new LocApiResponseData<LocApiGeofenceData>(*mAdapter.getContext(), in addGeofencesCommand()
251 [&mAdapter = mAdapter, mOptions = mOptions, mClient = mClient, in addGeofencesCommand()
255 mAdapter.saveGeofenceItem(mClient, in addGeofencesCommand()
265 mAdapter.reportResponse(mClient, mCount, errs, mIds); in addGeofencesCommand()
324 GeofenceAdapter& mAdapter; in removeGeofencesCommand() member
335 mAdapter(adapter), in removeGeofencesCommand()
347 mApi.addToCallQueue(new LocApiResponse(*mAdapter.getContext(), in removeGeofencesCommand()
348 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, mIds = mIds, in removeGeofencesCommand()
351 errs[i] = mAdapter.getHwIdFromClient(mClient, mIds[i], hwId); in removeGeofencesCommand()
354 new LocApiResponse(*mAdapter.getContext(), in removeGeofencesCommand()
355 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, mIds = mIds, in removeGeofencesCommand()
358 mAdapter.removeGeofenceItem(hwId); in removeGeofencesCommand()
364 mAdapter.reportResponse(mClient, mCount, errs, mIds); in removeGeofencesCommand()
372 mAdapter.reportResponse(mClient, mCount, errs, mIds); in removeGeofencesCommand()
400 GeofenceAdapter& mAdapter; in pauseGeofencesCommand() member
411 mAdapter(adapter), in pauseGeofencesCommand()
423 mApi.addToCallQueue(new LocApiResponse(*mAdapter.getContext(), in pauseGeofencesCommand()
424 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, mIds = mIds, in pauseGeofencesCommand()
427 errs[i] = mAdapter.getHwIdFromClient(mClient, mIds[i], hwId); in pauseGeofencesCommand()
429 mApi.pauseGeofence(hwId, mIds[i], new LocApiResponse(*mAdapter.getContext(), in pauseGeofencesCommand()
430 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, mIds = mIds, in pauseGeofencesCommand()
433 mAdapter.pauseGeofenceItem(hwId); in pauseGeofencesCommand()
439 mAdapter.reportResponse(mClient, mCount, errs, mIds); in pauseGeofencesCommand()
447 mAdapter.reportResponse(mClient, mCount, errs, mIds); in pauseGeofencesCommand()
475 GeofenceAdapter& mAdapter; in resumeGeofencesCommand() member
486 mAdapter(adapter), in resumeGeofencesCommand()
498 mApi.addToCallQueue(new LocApiResponse(*mAdapter.getContext(), in resumeGeofencesCommand()
499 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, mIds = mIds, in resumeGeofencesCommand()
502 errs[i] = mAdapter.getHwIdFromClient(mClient, mIds[i], hwId); in resumeGeofencesCommand()
505 new LocApiResponse(*mAdapter.getContext(), in resumeGeofencesCommand()
506 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, hwId, in resumeGeofencesCommand()
511 mAdapter.resumeGeofenceItem(hwId); in resumeGeofencesCommand()
514 mAdapter.reportResponse(mClient, mCount, errs, mIds); in resumeGeofencesCommand()
523 mAdapter.reportResponse(mClient, mCount, errs, mIds); in resumeGeofencesCommand()
552 GeofenceAdapter& mAdapter; in modifyGeofencesCommand() member
565 mAdapter(adapter), in modifyGeofencesCommand()
581 mApi.addToCallQueue(new LocApiResponse(*mAdapter.getContext(), in modifyGeofencesCommand()
582 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, mIds = mIds, in modifyGeofencesCommand()
585 errs[i] = mAdapter.getHwIdFromClient(mClient, mIds[i], hwId); in modifyGeofencesCommand()
588 new LocApiResponse(*mAdapter.getContext(), in modifyGeofencesCommand()
589 [&mAdapter = mAdapter, mCount = mCount, mClient = mClient, in modifyGeofencesCommand()
595 mAdapter.modifyGeofenceItem(hwId, mOptions[i]); in modifyGeofencesCommand()
599 mAdapter.reportResponse(mClient, mCount, errs, mIds); in modifyGeofencesCommand()
608 mAdapter.reportResponse(mClient, mCount, errs, mIds); in modifyGeofencesCommand()
748 GeofenceAdapter& mAdapter; in geofenceBreachEvent() member
761 mAdapter(adapter), in geofenceBreachEvent()
778 mAdapter.geofenceBreach(mCount, mHwIds, mLocation, mBreachType, mTimestamp); in geofenceBreachEvent()
826 GeofenceAdapter& mAdapter; in geofenceStatusEvent() member
831 mAdapter(adapter), in geofenceStatusEvent()
834 mAdapter.geofenceStatus(mAvailable); in geofenceStatusEvent()