Lines Matching refs:mLocAdapters
40 #define TO_ALL_LOCADAPTERS(call) TO_ALL_ADAPTERS(mLocAdapters, (call))
41 #define TO_1ST_HANDLING_LOCADAPTERS(call) TO_1ST_HANDLING_ADAPTER(mLocAdapters, (call))
134 memset(mLocAdapters, 0, sizeof(mLocAdapters)); in LocApiBase()
141 TO_ALL_LOCADAPTERS(mask |= mLocAdapters[i]->getEvtMask()); in getEvtMask()
151 !inSession && i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in isInSession()
153 inSession = mLocAdapters[i]->isInSession(); in isInSession()
161 for (int i = 0; i < MAX_ADAPTERS && mLocAdapters[i] != adapter; i++) { in addAdapter()
162 if (mLocAdapters[i] == NULL) { in addAdapter()
163 mLocAdapters[i] = adapter; in addAdapter()
174 i < MAX_ADAPTERS && NULL != mLocAdapters[i]; in removeAdapter()
176 if (mLocAdapters[i] == adapter) { in removeAdapter()
177 mLocAdapters[i] = NULL; in removeAdapter()
185 while (++i < MAX_ADAPTERS && mLocAdapters[i] != NULL); in removeAdapter()
192 mLocAdapters[j] = mLocAdapters[i]; in removeAdapter()
194 mLocAdapters[i] = NULL; in removeAdapter()
220 TO_ALL_LOCADAPTERS(mLocAdapters[i]->handleEngineUpEvent()); in handleEngineUpEvent()
226 TO_ALL_LOCADAPTERS(mLocAdapters[i]->handleEngineDownEvent()); in handleEngineDownEvent()
248 mLocAdapters[i]->reportPosition(location, in reportPosition()
275 mLocAdapters[i]->reportSv(svStatus, in reportSv()
284 TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportStatus(status)); in reportStatus()
290 TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportNmea(nmea, length)); in reportNmea()
297 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->reportXtraServer(url1, url2, url3, maxlength)); in reportXtraServer()
304 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestXtraData()); in requestXtraData()
310 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestTime()); in requestTime()
316 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestLocation()); in requestLocation()
322 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestATL(connHandle, agps_type)); in requestATL()
328 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->releaseATL(connHandle)); in releaseATL()
334 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestSuplES(connHandle)); in requestSuplES()
340 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->reportDataCallOpened()); in reportDataCallOpened()
346 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->reportDataCallClosed()); in reportDataCallClosed()
352 TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestNiNotify(notify, data)); in requestNiNotify()
369 TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportGpsMeasurementData(gpsMeasurementData)); in getSibling()