Lines Matching refs:mAdapter

85         GnssAdapter& mAdapter;  in setControlCallbacksCommand()  member
90 mAdapter(adapter), in setControlCallbacksCommand()
93 mAdapter.setControlCallbacks(mControlCallbacks); in setControlCallbacksCommand()
474 GnssAdapter* mAdapter; in readConfigCommand() member
479 mAdapter(adapter), in readConfigCommand()
484 mContext.requestUlp((LocAdapterBase*)mAdapter, mContext.getCarrierCapabilities()); in readConfigCommand()
499 GnssAdapter& mAdapter; in setConfigCommand() member
504 mAdapter(adapter), in setConfigCommand()
507 LocDualContext::injectFeatureConfig(mAdapter.getContext()); in setConfigCommand()
508 mApi.setSUPLVersion(mAdapter.convertSuplVersion(ContextBase::mGps_conf.SUPL_VER)); in setConfigCommand()
509 mApi.setLPPConfig(mAdapter.convertLppProfile(ContextBase::mGps_conf.LPP_PROFILE)); in setConfigCommand()
514 mAdapter.convertLppeCp(ContextBase::mGps_conf.LPPE_CP_TECHNOLOGY)); in setConfigCommand()
516 mAdapter.convertLppeUp(ContextBase::mGps_conf.LPPE_UP_TECHNOLOGY)); in setConfigCommand()
590 GnssAdapter& mAdapter; in gnssUpdateConfigCommand() member
601 mAdapter(adapter), in gnssUpdateConfigCommand()
618 uint32_t newGpsLock = mAdapter.convertGpsLock(mConfig.gpsLock); in gnssUpdateConfigCommand()
620 if (0 == mAdapter.getPowerVoteId()) { in gnssUpdateConfigCommand()
628 uint32_t newSuplVersion = mAdapter.convertSuplVersion(mConfig.suplVersion); in gnssUpdateConfigCommand()
661 if (!mAdapter.resolveInAddress(mConfig.assistanceServer.hostName, &addr)) { in gnssUpdateConfigCommand()
680 uint32_t newLppProfile = mAdapter.convertLppProfile(mConfig.lppProfile); in gnssUpdateConfigCommand()
693 mAdapter.convertLppeCp(mConfig.lppeControlPlaneMask); in gnssUpdateConfigCommand()
706 mAdapter.convertLppeUp(mConfig.lppeUserPlaneMask); in gnssUpdateConfigCommand()
719 mAdapter.convertAGloProt(mConfig.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
731 uint32_t newEP4ES = mAdapter.convertEP4ES(mConfig.emergencyPdnForEmergencySupl); in gnssUpdateConfigCommand()
741 uint32_t newSuplEs = mAdapter.convertSuplEs(mConfig.suplEmergencyServices); in gnssUpdateConfigCommand()
751 uint32_t newSuplMode = mAdapter.convertSuplMode(mConfig.suplModeMask); in gnssUpdateConfigCommand()
754 mAdapter.getUlpProxy()->setCapabilities( in gnssUpdateConfigCommand()
763 mAdapter.reportResponse(index, errs, mIds); in gnssUpdateConfigCommand()
784 GnssAdapter& mAdapter; in gnssDeleteAidingDataCommand() member
793 mAdapter(adapter), in gnssDeleteAidingDataCommand()
800 mAdapter.reportResponse(err, mSessionId); in gnssDeleteAidingDataCommand()
878 GnssAdapter& mAdapter; in setUlpProxyCommand() member
883 mAdapter(adapter), in setUlpProxyCommand()
886 mAdapter.setUlpProxy(mUlp); in setUlpProxyCommand()
927 GnssAdapter& mAdapter; in addClientCommand() member
934 mAdapter(adapter), in addClientCommand()
938 mAdapter.saveClient(mClient, mCallbacks); in addClientCommand()
951 GnssAdapter& mAdapter; in removeClientCommand() member
956 mAdapter(adapter), in removeClientCommand()
959 mAdapter.stopClientSessions(mClient); in removeClientCommand()
960 mAdapter.eraseClient(mClient); in removeClientCommand()
1012 GnssAdapter& mAdapter; in handleEngineUpEvent() member
1015 mAdapter(adapter) {} in handleEngineUpEvent()
1017 mAdapter.restartSessions(); in handleEngineUpEvent()
1054 GnssAdapter& mAdapter; in requestCapabilitiesCommand() member
1061 mAdapter(adapter), in requestCapabilitiesCommand()
1065 LocationCallbacks callbacks = mAdapter.getClientCallbacks(mClient); in requestCapabilitiesCommand()
1229 GnssAdapter& mAdapter; in startTrackingCommand() member
1240 mAdapter(adapter), in startTrackingCommand()
1247 if (!mAdapter.hasTrackingCallback(mClient) && in startTrackingCommand()
1248 !mAdapter.hasMeasurementsCallback(mClient)) { in startTrackingCommand()
1254 err = mAdapter.startTrackingMultiplex(mOptions); in startTrackingCommand()
1256 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in startTrackingCommand()
1259 mAdapter.reportResponse(mClient, err, mSessionId); in startTrackingCommand()
1322 GnssAdapter& mAdapter; in setPositionModeCommand() member
1329 mAdapter(adapter), in setPositionModeCommand()
1334 mAdapter.setUlpPositionMode(mLocPosMode); in setPositionModeCommand()
1348 GnssAdapter& mAdapter; in startTrackingCommand() member
1353 mAdapter(adapter), in startTrackingCommand()
1358 LocPosMode& ulpPositionMode = mAdapter.getUlpPositionMode(); in startTrackingCommand()
1374 GnssAdapter& mAdapter; in updateTrackingOptionsCommand() member
1385 mAdapter(adapter), in updateTrackingOptionsCommand()
1391 if (mAdapter.isTrackingSession(mClient, mSessionId)) { in updateTrackingOptionsCommand()
1397 err = mAdapter.updateTrackingMultiplex(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
1399 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
1402 mAdapter.reportResponse(mClient, err, mSessionId); in updateTrackingOptionsCommand()
1458 GnssAdapter& mAdapter; in stopTrackingCommand() member
1467 mAdapter(adapter), in stopTrackingCommand()
1472 if (mAdapter.isTrackingSession(mClient, mSessionId)) { in stopTrackingCommand()
1475 err = mAdapter.stopTrackingMultiplex(mClient, mSessionId); in stopTrackingCommand()
1477 mAdapter.eraseTrackingSession(mClient, mSessionId); in stopTrackingCommand()
1479 mAdapter.reportResponse(mClient, err, mSessionId); in stopTrackingCommand()
1547 GnssAdapter& mAdapter; in stopTrackingCommand() member
1552 mAdapter(adapter), in stopTrackingCommand()
1558 mAdapter.setUlpPositionMode(mLocPosMode); in stopTrackingCommand()
1573 GnssAdapter& mAdapter; in getZppCommand() member
1578 mAdapter(adapter), in getZppCommand()
1591 mAdapter.getUlpProxy()->reportPosition(location, in getZppCommand()
1616 GnssAdapter& mAdapter; in gnssNiResponseCommand() member
1625 mAdapter(adapter), in gnssNiResponseCommand()
1630 NiData& niData = mAdapter.getNiData(); in gnssNiResponseCommand()
1632 if (!mAdapter.hasNiNotifyCallback(mClient)) { in gnssNiResponseCommand()
1667 mAdapter.reportResponse(mClient, err, mSessionId); in gnssNiResponseCommand()
1713 GnssAdapter& mAdapter; in enableCommand() member
1724 mAdapter(adapter), in enableCommand()
1731 uint32_t powerVoteId = mAdapter.getPowerVoteId(); in enableCommand()
1738 mAdapter.setPowerVoteId(mSessionId); in enableCommand()
1741 mAdapter.reportResponse(err, mSessionId); in enableCommand()
1760 GnssAdapter& mAdapter; in disableCommand() member
1769 mAdapter(adapter), in disableCommand()
1775 uint32_t powerVoteId = mAdapter.getPowerVoteId(); in disableCommand()
1780 mAdapter.setPowerVoteId(0); in disableCommand()
1781 mApi.setGpsLock(mAdapter.convertGpsLock(ContextBase::mGps_conf.GPS_LOCK)); in disableCommand()
1783 mAdapter.reportResponse(err, mSessionId); in disableCommand()
1811 GnssAdapter& mAdapter; in reportPositionEvent() member
1822 mAdapter(adapter), in reportPositionEvent()
1833 mAdapter.reportPosition(mUlpLocation, mLocationExtended, mStatus, mTechMask); in reportPositionEvent()
1924 GnssAdapter& mAdapter; in reportSvEvent() member
1929 mAdapter(adapter), in reportSvEvent()
1932 mAdapter.reportSv((GnssSvNotification&)mSvNotify); in reportSvEvent()
2018 GnssAdapter& mAdapter; in reportNmeaEvent() member
2025 mAdapter(adapter), in reportNmeaEvent()
2043 mAdapter.reportNmea(mNmea, mLength); in reportNmeaEvent()
2081 GnssAdapter& mAdapter; in requestNiNotifyEvent() member
2088 mAdapter(adapter), in requestNiNotifyEvent()
2092 mAdapter.requestNiNotify(mNotify, mData); in requestNiNotifyEvent()
2240 GnssAdapter& mAdapter; in reportGnssMeasurementDataEvent() member
2245 mAdapter(adapter), in reportGnssMeasurementDataEvent()
2248 mAdapter.reportGnssMeasurementData(mMeasurementsNotify); in reportGnssMeasurementDataEvent()
2357 GnssAdapter& mAdapter; in initAgpsCommand() member
2377 mAdapter(adapter) { in initAgpsCommand()
2394 mAdapter.updateEvtMask(LOC_API_ADAPTER_BIT_LOCATION_SERVER_REQUEST, in initAgpsCommand()