Lines Matching refs:mAdapter
88 GnssAdapter& mAdapter; in setControlCallbacksCommand() member
93 mAdapter(adapter), in setControlCallbacksCommand()
96 mAdapter.setControlCallbacks(mControlCallbacks); in setControlCallbacksCommand()
477 GnssAdapter* mAdapter; in readConfigCommand() member
482 mAdapter(adapter), in readConfigCommand()
487 mContext.requestUlp((LocAdapterBase*)mAdapter, mContext.getCarrierCapabilities()); in readConfigCommand()
502 GnssAdapter& mAdapter; in setConfigCommand() member
507 mAdapter(adapter), in setConfigCommand()
510 LocDualContext::injectFeatureConfig(mAdapter.getContext()); in setConfigCommand()
511 mApi.setSUPLVersion(mAdapter.convertSuplVersion(ContextBase::mGps_conf.SUPL_VER)); in setConfigCommand()
516 mAdapter.convertLppeCp(ContextBase::mGps_conf.LPPE_CP_TECHNOLOGY)); in setConfigCommand()
518 mAdapter.convertLppeUp(ContextBase::mGps_conf.LPPE_UP_TECHNOLOGY)); in setConfigCommand()
592 GnssAdapter& mAdapter; in gnssUpdateConfigCommand() member
603 mAdapter(adapter), in gnssUpdateConfigCommand()
620 uint32_t newGpsLock = mAdapter.convertGpsLock(mConfig.gpsLock); in gnssUpdateConfigCommand()
622 if (0 == mAdapter.getPowerVoteId()) { in gnssUpdateConfigCommand()
630 uint32_t newSuplVersion = mAdapter.convertSuplVersion(mConfig.suplVersion); in gnssUpdateConfigCommand()
663 if (!mAdapter.resolveInAddress(mConfig.assistanceServer.hostName, &addr)) { in gnssUpdateConfigCommand()
697 mAdapter.convertLppeCp(mConfig.lppeControlPlaneMask); in gnssUpdateConfigCommand()
710 mAdapter.convertLppeUp(mConfig.lppeUserPlaneMask); in gnssUpdateConfigCommand()
723 mAdapter.convertAGloProt(mConfig.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
735 uint32_t newEP4ES = mAdapter.convertEP4ES(mConfig.emergencyPdnForEmergencySupl); in gnssUpdateConfigCommand()
745 uint32_t newSuplEs = mAdapter.convertSuplEs(mConfig.suplEmergencyServices); in gnssUpdateConfigCommand()
755 uint32_t newSuplMode = mAdapter.convertSuplMode(mConfig.suplModeMask); in gnssUpdateConfigCommand()
758 mAdapter.getUlpProxy()->setCapabilities( in gnssUpdateConfigCommand()
767 mAdapter.reportResponse(index, errs, mIds); in gnssUpdateConfigCommand()
788 GnssAdapter& mAdapter; in gnssDeleteAidingDataCommand() member
797 mAdapter(adapter), in gnssDeleteAidingDataCommand()
804 mAdapter.reportResponse(err, mSessionId); in gnssDeleteAidingDataCommand()
882 GnssAdapter& mAdapter; in setUlpProxyCommand() member
887 mAdapter(adapter), in setUlpProxyCommand()
890 mAdapter.setUlpProxy(mUlp); in setUlpProxyCommand()
931 GnssAdapter& mAdapter; in addClientCommand() member
938 mAdapter(adapter), in addClientCommand()
942 mAdapter.saveClient(mClient, mCallbacks); in addClientCommand()
955 GnssAdapter& mAdapter; in removeClientCommand() member
960 mAdapter(adapter), in removeClientCommand()
963 mAdapter.stopClientSessions(mClient); in removeClientCommand()
964 mAdapter.eraseClient(mClient); in removeClientCommand()
1019 GnssAdapter& mAdapter; in handleEngineUpEvent() member
1022 mAdapter(adapter) {} in handleEngineUpEvent()
1024 mAdapter.restartSessions(); in handleEngineUpEvent()
1061 GnssAdapter& mAdapter; in requestCapabilitiesCommand() member
1068 mAdapter(adapter), in requestCapabilitiesCommand()
1072 LocationCallbacks callbacks = mAdapter.getClientCallbacks(mClient); in requestCapabilitiesCommand()
1236 GnssAdapter& mAdapter; in startTrackingCommand() member
1247 mAdapter(adapter), in startTrackingCommand()
1254 if (!mAdapter.hasTrackingCallback(mClient) && in startTrackingCommand()
1255 !mAdapter.hasMeasurementsCallback(mClient)) { in startTrackingCommand()
1261 err = mAdapter.startTrackingMultiplex(mOptions); in startTrackingCommand()
1263 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in startTrackingCommand()
1266 mAdapter.reportResponse(mClient, err, mSessionId); in startTrackingCommand()
1329 GnssAdapter& mAdapter; in setPositionModeCommand() member
1336 mAdapter(adapter), in setPositionModeCommand()
1341 mAdapter.setUlpPositionMode(mLocPosMode); in setPositionModeCommand()
1355 GnssAdapter& mAdapter; in startTrackingCommand() member
1360 mAdapter(adapter), in startTrackingCommand()
1365 LocPosMode& ulpPositionMode = mAdapter.getUlpPositionMode(); in startTrackingCommand()
1381 GnssAdapter& mAdapter; in updateTrackingOptionsCommand() member
1392 mAdapter(adapter), in updateTrackingOptionsCommand()
1398 if (mAdapter.isTrackingSession(mClient, mSessionId)) { in updateTrackingOptionsCommand()
1404 err = mAdapter.updateTrackingMultiplex(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
1406 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
1409 mAdapter.reportResponse(mClient, err, mSessionId); in updateTrackingOptionsCommand()
1465 GnssAdapter& mAdapter; in stopTrackingCommand() member
1474 mAdapter(adapter), in stopTrackingCommand()
1479 if (mAdapter.isTrackingSession(mClient, mSessionId)) { in stopTrackingCommand()
1482 err = mAdapter.stopTrackingMultiplex(mClient, mSessionId); in stopTrackingCommand()
1484 mAdapter.eraseTrackingSession(mClient, mSessionId); in stopTrackingCommand()
1486 mAdapter.reportResponse(mClient, err, mSessionId); in stopTrackingCommand()
1554 GnssAdapter& mAdapter; in stopTrackingCommand() member
1559 mAdapter(adapter), in stopTrackingCommand()
1565 mAdapter.setUlpPositionMode(mLocPosMode); in stopTrackingCommand()
1580 GnssAdapter& mAdapter; in getZppCommand() member
1585 mAdapter(adapter), in getZppCommand()
1598 mAdapter.getUlpProxy()->reportPosition(location, in getZppCommand()
1623 GnssAdapter& mAdapter; in gnssNiResponseCommand() member
1632 mAdapter(adapter), in gnssNiResponseCommand()
1637 NiData& niData = mAdapter.getNiData(); in gnssNiResponseCommand()
1639 if (!mAdapter.hasNiNotifyCallback(mClient)) { in gnssNiResponseCommand()
1674 mAdapter.reportResponse(mClient, err, mSessionId); in gnssNiResponseCommand()
1720 GnssAdapter& mAdapter; in enableCommand() member
1731 mAdapter(adapter), in enableCommand()
1738 uint32_t powerVoteId = mAdapter.getPowerVoteId(); in enableCommand()
1745 mAdapter.setPowerVoteId(mSessionId); in enableCommand()
1748 mAdapter.reportResponse(err, mSessionId); in enableCommand()
1767 GnssAdapter& mAdapter; in disableCommand() member
1776 mAdapter(adapter), in disableCommand()
1782 uint32_t powerVoteId = mAdapter.getPowerVoteId(); in disableCommand()
1787 mAdapter.setPowerVoteId(0); in disableCommand()
1788 mApi.setGpsLock(mAdapter.convertGpsLock(ContextBase::mGps_conf.GPS_LOCK)); in disableCommand()
1790 mAdapter.reportResponse(err, mSessionId); in disableCommand()
1818 GnssAdapter& mAdapter; in reportPositionEvent() member
1829 mAdapter(adapter), in reportPositionEvent()
1840 mAdapter.reportPosition(mUlpLocation, mLocationExtended, mStatus, mTechMask); in reportPositionEvent()
1918 GnssAdapter& mAdapter; in reportSvEvent() member
1923 mAdapter(adapter), in reportSvEvent()
1926 mAdapter.reportSv((GnssSvNotification&)mSvNotify); in reportSvEvent()
2012 GnssAdapter& mAdapter; in reportNmeaEvent() member
2019 mAdapter(adapter), in reportNmeaEvent()
2037 mAdapter.reportNmea(mNmea, mLength); in reportNmeaEvent()
2075 GnssAdapter& mAdapter; in requestNiNotifyEvent() member
2082 mAdapter(adapter), in requestNiNotifyEvent()
2086 mAdapter.requestNiNotify(mNotify, mData); in requestNiNotifyEvent()
2234 GnssAdapter& mAdapter; in reportGnssMeasurementDataEvent() member
2239 mAdapter(adapter), in reportGnssMeasurementDataEvent()
2242 mAdapter.reportGnssMeasurementData(mMeasurementsNotify); in reportGnssMeasurementDataEvent()
2351 GnssAdapter& mAdapter; in initAgpsCommand() member
2371 mAdapter(adapter) { in initAgpsCommand()
2387 mAdapter.setAgpsInitialized(true); in initAgpsCommand()
2389 mAdapter.updateEvtMask(LOC_API_ADAPTER_BIT_LOCATION_SERVER_REQUEST, in initAgpsCommand()