Lines Matching refs:mAdapter
82 GnssAdapter& mAdapter; in setControlCallbacksCommand() member
87 mAdapter(adapter), in setControlCallbacksCommand()
90 mAdapter.setControlCallbacks(mControlCallbacks); in setControlCallbacksCommand()
496 GnssAdapter* mAdapter; in readConfigCommand() member
501 mAdapter(adapter), in readConfigCommand()
506 mContext.requestUlp((LocAdapterBase*)mAdapter, mContext.getCarrierCapabilities()); in readConfigCommand()
521 GnssAdapter& mAdapter; in setConfigCommand() member
526 mAdapter(adapter), in setConfigCommand()
530 mApi.setSUPLVersion(mAdapter.convertSuplVersion(ContextBase::mGps_conf.SUPL_VER)); in setConfigCommand()
531 mApi.setLPPConfig(mAdapter.convertLppProfile(ContextBase::mGps_conf.LPP_PROFILE)); in setConfigCommand()
537 mAdapter.convertLppeCp(ContextBase::mGps_conf.LPPE_CP_TECHNOLOGY)); in setConfigCommand()
539 mAdapter.convertLppeUp(ContextBase::mGps_conf.LPPE_UP_TECHNOLOGY)); in setConfigCommand()
552 mAdapter.mNmeaMask= mask; in setConfigCommand()
621 GnssAdapter& mAdapter; in gnssUpdateConfigCommand() member
632 mAdapter(adapter), in gnssUpdateConfigCommand()
654 uint32_t newGpsLock = mAdapter.convertGpsLock(mConfig.gpsLock); in gnssUpdateConfigCommand()
656 if (0 == mAdapter.getPowerVoteId()) { in gnssUpdateConfigCommand()
664 uint32_t newSuplVersion = mAdapter.convertSuplVersion(mConfig.suplVersion); in gnssUpdateConfigCommand()
703 if (!mAdapter.resolveInAddress(mConfig.assistanceServer.hostName, &addr)) { in gnssUpdateConfigCommand()
725 uint32_t newLppProfile = mAdapter.convertLppProfile(mConfig.lppProfile); in gnssUpdateConfigCommand()
739 mAdapter.convertLppeCp(mConfig.lppeControlPlaneMask); in gnssUpdateConfigCommand()
752 mAdapter.convertLppeUp(mConfig.lppeUserPlaneMask); in gnssUpdateConfigCommand()
765 mAdapter.convertAGloProt(mConfig.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
778 uint32_t newEP4ES = mAdapter.convertEP4ES(mConfig.emergencyPdnForEmergencySupl); in gnssUpdateConfigCommand()
788 uint32_t newSuplEs = mAdapter.convertSuplEs(mConfig.suplEmergencyServices); in gnssUpdateConfigCommand()
798 uint32_t newSuplMode = mAdapter.convertSuplMode(mConfig.suplModeMask); in gnssUpdateConfigCommand()
801 mAdapter.getUlpProxy()->setCapabilities( in gnssUpdateConfigCommand()
803 mAdapter.broadcastCapabilities(mAdapter.getCapabilities()); in gnssUpdateConfigCommand()
811 mAdapter.reportResponse(index, errs, mIds); in gnssUpdateConfigCommand()
832 GnssAdapter& mAdapter; in gnssDeleteAidingDataCommand() member
841 mAdapter(adapter), in gnssDeleteAidingDataCommand()
848 mAdapter.reportResponse(err, mSessionId); in gnssDeleteAidingDataCommand()
849 SystemStatus* s = mAdapter.getSystemStatus(); in gnssDeleteAidingDataCommand()
930 GnssAdapter& mAdapter; in setUlpProxyCommand() member
935 mAdapter(adapter), in setUlpProxyCommand()
938 mAdapter.setUlpProxy(mUlp); in setUlpProxyCommand()
982 GnssAdapter& mAdapter; in addClientCommand() member
989 mAdapter(adapter), in addClientCommand()
993 mAdapter.saveClient(mClient, mCallbacks); in addClientCommand()
1006 GnssAdapter& mAdapter; in removeClientCommand() member
1011 mAdapter(adapter), in removeClientCommand()
1014 mAdapter.stopClientSessions(mClient); in removeClientCommand()
1015 mAdapter.eraseClient(mClient); in removeClientCommand()
1079 GnssAdapter& mAdapter; in handleEngineUpEvent() member
1082 mAdapter(adapter) {} in handleEngineUpEvent()
1084 mAdapter.restartSessions(); in handleEngineUpEvent()
1121 GnssAdapter& mAdapter; in requestCapabilitiesCommand() member
1126 mAdapter(adapter), in requestCapabilitiesCommand()
1129 LocationCallbacks callbacks = mAdapter.getClientCallbacks(mClient); in requestCapabilitiesCommand()
1135 LocationCapabilitiesMask mask = mAdapter.getCapabilities(); in requestCapabilitiesCommand()
1317 GnssAdapter& mAdapter; in startTrackingCommand() member
1328 mAdapter(adapter), in startTrackingCommand()
1335 if (!mAdapter.hasTrackingCallback(mClient) && in startTrackingCommand()
1336 !mAdapter.hasMeasurementsCallback(mClient)) { in startTrackingCommand()
1342 err = mAdapter.startTrackingMultiplex(mOptions); in startTrackingCommand()
1344 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in startTrackingCommand()
1347 mAdapter.reportResponse(mClient, err, mSessionId); in startTrackingCommand()
1410 GnssAdapter& mAdapter; in setPositionModeCommand() member
1417 mAdapter(adapter), in setPositionModeCommand()
1422 mAdapter.setUlpPositionMode(mLocPosMode); in setPositionModeCommand()
1436 GnssAdapter& mAdapter; in startTrackingCommand() member
1441 mAdapter(adapter), in startTrackingCommand()
1446 LocPosMode& ulpPositionMode = mAdapter.getUlpPositionMode(); in startTrackingCommand()
1462 GnssAdapter& mAdapter; in updateTrackingOptionsCommand() member
1473 mAdapter(adapter), in updateTrackingOptionsCommand()
1479 if (mAdapter.isTrackingSession(mClient, mSessionId)) { in updateTrackingOptionsCommand()
1485 err = mAdapter.updateTrackingMultiplex(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
1487 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
1490 mAdapter.reportResponse(mClient, err, mSessionId); in updateTrackingOptionsCommand()
1546 GnssAdapter& mAdapter; in stopTrackingCommand() member
1555 mAdapter(adapter), in stopTrackingCommand()
1560 if (mAdapter.isTrackingSession(mClient, mSessionId)) { in stopTrackingCommand()
1563 err = mAdapter.stopTrackingMultiplex(mClient, mSessionId); in stopTrackingCommand()
1565 mAdapter.eraseTrackingSession(mClient, mSessionId); in stopTrackingCommand()
1567 mAdapter.reportResponse(mClient, err, mSessionId); in stopTrackingCommand()
1635 GnssAdapter& mAdapter; in stopTrackingCommand() member
1640 mAdapter(adapter), in stopTrackingCommand()
1646 mAdapter.setUlpPositionMode(mLocPosMode); in stopTrackingCommand()
1661 GnssAdapter& mAdapter; in getZppCommand() member
1666 mAdapter(adapter), in getZppCommand()
1680 mAdapter.getUlpProxy()->reportPosition(location, in getZppCommand()
1705 GnssAdapter& mAdapter; in gnssNiResponseCommand() member
1714 mAdapter(adapter), in gnssNiResponseCommand()
1719 NiData& niData = mAdapter.getNiData(); in gnssNiResponseCommand()
1721 if (!mAdapter.hasNiNotifyCallback(mClient)) { in gnssNiResponseCommand()
1756 mAdapter.reportResponse(mClient, err, mSessionId); in gnssNiResponseCommand()
1802 GnssAdapter& mAdapter; in enableCommand() member
1813 mAdapter(adapter), in enableCommand()
1820 uint32_t powerVoteId = mAdapter.getPowerVoteId(); in enableCommand()
1827 mAdapter.setPowerVoteId(mSessionId); in enableCommand()
1829 mAdapter.mXtraObserver.updateLockStatus( in enableCommand()
1830 mAdapter.convertGpsLock(GNSS_CONFIG_GPS_LOCK_NONE)); in enableCommand()
1832 mAdapter.reportResponse(err, mSessionId); in enableCommand()
1851 GnssAdapter& mAdapter; in disableCommand() member
1860 mAdapter(adapter), in disableCommand()
1866 uint32_t powerVoteId = mAdapter.getPowerVoteId(); in disableCommand()
1871 mAdapter.setPowerVoteId(0); in disableCommand()
1872 mApi.setGpsLock(mAdapter.convertGpsLock(ContextBase::mGps_conf.GPS_LOCK)); in disableCommand()
1873 mAdapter.mXtraObserver.updateLockStatus( in disableCommand()
1874 mAdapter.convertGpsLock(ContextBase::mGps_conf.GPS_LOCK)); in disableCommand()
1876 mAdapter.reportResponse(err, mSessionId); in disableCommand()
1904 GnssAdapter& mAdapter; in reportPositionEvent() member
1915 mAdapter(adapter), in reportPositionEvent()
1922 SystemStatus* s = mAdapter.getSystemStatus(); in reportPositionEvent()
1926 mAdapter.reportPosition(mUlpLocation, mLocationExtended, mStatus, mTechMask); in reportPositionEvent()
2018 GnssAdapter& mAdapter; in reportSvEvent() member
2023 mAdapter(adapter), in reportSvEvent()
2026 mAdapter.reportSv((GnssSvNotification&)mSvNotify); in reportSvEvent()
2112 GnssAdapter& mAdapter; in reportNmeaEvent() member
2119 mAdapter(adapter), in reportNmeaEvent()
2135 SystemStatus* s = mAdapter.getSystemStatus(); in reportNmeaEvent()
2141 mAdapter.reportNmea(mNmea, mLength); in reportNmeaEvent()
2179 GnssAdapter& mAdapter; in requestNiNotifyEvent() member
2186 mAdapter(adapter), in requestNiNotifyEvent()
2190 mAdapter.requestNiNotify(mNotify, mData); in requestNiNotifyEvent()
2339 GnssAdapter& mAdapter; in reportGnssMeasurementDataEvent() member
2345 mAdapter(adapter), in reportGnssMeasurementDataEvent()
2348 mAdapter.getAgcInformation(mMeasurementsNotify, msInWeek); in reportGnssMeasurementDataEvent()
2352 mAdapter.reportGnssMeasurementData(mMeasurementsNotify); in reportGnssMeasurementDataEvent()
2461 GnssAdapter& mAdapter; in initAgpsCommand() member
2481 mAdapter(adapter) { in initAgpsCommand()
2498 mAdapter.updateEvtMask(LOC_API_ADAPTER_BIT_LOCATION_SERVER_REQUEST, in initAgpsCommand()