Lines Matching refs:mAdapter
136 GnssAdapter& mAdapter; in setControlCallbacksCommand() member
141 mAdapter(adapter), in setControlCallbacksCommand()
144 mAdapter.setControlCallbacks(mControlCallbacks); in setControlCallbacksCommand()
611 GnssAdapter* mAdapter; in readConfigCommand() member
616 mAdapter(adapter), in readConfigCommand()
632 mAdapter->setAllowFlpNetworkFixes(allowFlpNetworkFixes); in readConfigCommand()
679 GnssAdapter& mAdapter; in setConfigCommand() member
683 mAdapter(adapter), in setConfigCommand()
686 if (!mAdapter.isEngineCapabilitiesKnown()) { in setConfigCommand()
687 mAdapter.mPendingMsgs.push_back(new MsgSetConfig(*this)); in setConfigCommand()
698 mAdapter.mNmeaMask= mask; in setConfigCommand()
700 std::string oldMoServerUrl = mAdapter.getMoServerUrl(); in setConfigCommand()
701 mAdapter.setSuplHostServer(ContextBase::mGps_conf.SUPL_HOST, in setConfigCommand()
704 mAdapter.setSuplHostServer(ContextBase::mGps_conf.MO_SUPL_HOST, in setConfigCommand()
709 GnssAdapter& adapter = mAdapter; in setConfigCommand()
1021 GnssAdapter& mAdapter; in gnssUpdateConfigCommand() member
1032 mAdapter(adapter), in gnssUpdateConfigCommand()
1038 MsgGnssUpdateConfig(obj.mAdapter, obj.mApi, obj.mConfig, in gnssUpdateConfigCommand()
1052 if (!mAdapter.isEngineCapabilitiesKnown()) { in gnssUpdateConfigCommand()
1053 mAdapter.mPendingMsgs.push_back(new MsgGnssUpdateConfig(*this)); in gnssUpdateConfigCommand()
1056 GnssAdapter& adapter = mAdapter; in gnssUpdateConfigCommand()
1072 0 != mAdapter.getAfwControlId() || NULL != adapter.mNfwCb) { in gnssUpdateConfigCommand()
1080 mAdapter.convertSuplVersion(gnssConfigRequested.suplVersion); in gnssUpdateConfigCommand()
1086 mAdapter.setSuplHostServer(mConfig.assistanceServer.hostName, in gnssUpdateConfigCommand()
1099 uint32_t newLppProfile = mAdapter.convertLppProfile(gnssConfigRequested.lppProfile); in gnssUpdateConfigCommand()
1105 mAdapter.convertLppeCp(gnssConfigRequested.lppeControlPlaneMask); in gnssUpdateConfigCommand()
1111 mAdapter.convertLppeUp(gnssConfigRequested.lppeUserPlaneMask); in gnssUpdateConfigCommand()
1118 mAdapter.convertAGloProt(gnssConfigRequested.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
1123 uint32_t newEP4ES = mAdapter.convertEP4ES( in gnssUpdateConfigCommand()
1131 uint32_t newSuplEs = mAdapter.convertSuplEs( in gnssUpdateConfigCommand()
1139 uint32_t newSuplMode = mAdapter.convertSuplMode(gnssConfigRequested.suplModeMask); in gnssUpdateConfigCommand()
1141 mAdapter.broadcastCapabilities(mAdapter.getCapabilities()); in gnssUpdateConfigCommand()
1259 GnssAdapter& mAdapter; in gnssGetConfigCommand() member
1270 mAdapter(adapter), in gnssGetConfigCommand()
1277 MsgGnssGetConfig(obj.mAdapter, obj.mApi, obj.mConfigMask, in gnssGetConfigCommand()
1290 if (!mAdapter.isEngineCapabilitiesKnown()) { in gnssGetConfigCommand()
1291 mAdapter.mPendingMsgs.push_back(new MsgGnssGetConfig(*this)); in gnssGetConfigCommand()
1376 mAdapter.reportResponse(index, errs, mIds); in gnssGetConfigCommand()
1518 GnssAdapter& mAdapter; in reportGnssSvIdConfigEvent() member
1523 mAdapter(adapter), in reportGnssSvIdConfigEvent()
1526 mAdapter.reportGnssSvIdConfig(mConfig); in reportGnssSvIdConfigEvent()
1556 GnssAdapter* mAdapter; in gnssUpdateSvTypeConfigCommand() member
1564 mAdapter(adapter), in gnssUpdateSvTypeConfigCommand()
1568 if (!mAdapter->isEngineCapabilitiesKnown()) { in gnssUpdateSvTypeConfigCommand()
1569 mAdapter->mPendingMsgs.push_back(new MsgGnssUpdateSvTypeConfig(*this)); in gnssUpdateSvTypeConfigCommand()
1578 mAdapter->gnssSvTypeConfigUpdate(mConfig); in gnssUpdateSvTypeConfigCommand()
1648 GnssAdapter* mAdapter; in gnssGetSvTypeConfigCommand() member
1656 mAdapter(adapter), in gnssGetSvTypeConfigCommand()
1660 if (!mAdapter->isEngineCapabilitiesKnown()) { in gnssGetSvTypeConfigCommand()
1661 mAdapter->mPendingMsgs.push_back(new MsgGnssGetSvTypeConfig(*this)); in gnssGetSvTypeConfigCommand()
1669 mAdapter->gnssSetSvTypeConfigCallback(mCallback); in gnssGetSvTypeConfigCommand()
1683 GnssAdapter* mAdapter; in gnssResetSvTypeConfigCommand() member
1689 mAdapter(adapter), in gnssResetSvTypeConfigCommand()
1692 if (!mAdapter->isEngineCapabilitiesKnown()) { in gnssResetSvTypeConfigCommand()
1693 mAdapter->mPendingMsgs.push_back(new MsgGnssResetSvTypeConfig(*this)); in gnssResetSvTypeConfigCommand()
1701 mAdapter->gnssSetSvTypeConfig({sizeof(GnssSvTypeConfig), 0, 0}); in gnssResetSvTypeConfigCommand()
1703 mAdapter->gnssSvIdConfigUpdate(); in gnssResetSvTypeConfigCommand()
1716 GnssAdapter& mAdapter; in reportGnssSvTypeConfigEvent() member
1721 mAdapter(adapter), in reportGnssSvTypeConfigEvent()
1724 mAdapter.reportGnssSvTypeConfig(mConfig); in reportGnssSvTypeConfigEvent()
1758 GnssAdapter& mAdapter; in gnssDeleteAidingDataCommand() member
1765 mAdapter(adapter), in gnssDeleteAidingDataCommand()
1769 mAdapter.deleteAidingData(mData, mSessionId); in gnssDeleteAidingDataCommand()
1771 SystemStatus* s = mAdapter.getSystemStatus(); in gnssDeleteAidingDataCommand()
1775 mAdapter.mEngHubProxy->gnssDeleteAidingData(mData); in gnssDeleteAidingDataCommand()
1789 GnssAdapter& mAdapter; in gnssUpdateXtraThrottleCommand() member
1793 mAdapter(adapter), in gnssUpdateXtraThrottleCommand()
1796 mAdapter.mXtraObserver.updateXtraThrottle(mEnabled); in gnssUpdateXtraThrottleCommand()
1948 GnssAdapter& mAdapter; in addClientCommand() member
1955 mAdapter(adapter), in addClientCommand()
1960 mAdapter.notifyClientOfCachedLocationSystemInfo(mClient, mCallbacks); in addClientCommand()
1961 mAdapter.saveClient(mClient, mCallbacks); in addClientCommand()
2070 GnssAdapter& mAdapter; in handleEngineUpEvent() member
2073 mAdapter(adapter) {} in handleEngineUpEvent()
2075 mAdapter.setEngineCapabilitiesKnown(true); in handleEngineUpEvent()
2076 mAdapter.broadcastCapabilities(mAdapter.getCapabilities()); in handleEngineUpEvent()
2077 mAdapter.restartSessions(); in handleEngineUpEvent()
2078 mAdapter.gnssSvIdConfigUpdate(); in handleEngineUpEvent()
2079 mAdapter.gnssSvTypeConfigUpdate(); in handleEngineUpEvent()
2080 for (auto msg: mAdapter.mPendingMsgs) { in handleEngineUpEvent()
2081 mAdapter.sendMsg(msg); in handleEngineUpEvent()
2083 mAdapter.mPendingMsgs.clear(); in handleEngineUpEvent()
2216 GnssAdapter& mAdapter; in getPowerStateChangesCommand() member
2221 mAdapter(adapter), in getPowerStateChangesCommand()
2224 mAdapter.savePowerStateCallback(mPowerStateCb); in getPowerStateChangesCommand()
2225 mPowerStateCb(mAdapter.getPowerState()); in getPowerStateChangesCommand()
2332 GnssAdapter& mAdapter; in startTrackingCommand() member
2343 mAdapter(adapter), in startTrackingCommand()
2350 if (!mAdapter.isEngineCapabilitiesKnown() && mOptions.minDistance > 0) { in startTrackingCommand()
2351 mAdapter.mPendingMsgs.push_back(new MsgStartTracking(*this)); in startTrackingCommand()
2355 if (!mAdapter.hasTrackingCallback(mClient) && in startTrackingCommand()
2356 !mAdapter.hasMeasurementsCallback(mClient)) { in startTrackingCommand()
2367 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in startTrackingCommand()
2369 new LocApiResponse(*mAdapter.getContext(), in startTrackingCommand()
2370 [&mAdapter = mAdapter, mSessionId = mSessionId, mClient = mClient] in startTrackingCommand()
2373 mAdapter.eraseTrackingSession(mClient, mSessionId); in startTrackingCommand()
2375 mAdapter.reportResponse(mClient, err, mSessionId); in startTrackingCommand()
2386 mAdapter.startTimeBasedTrackingMultiplex(mClient, mSessionId, mOptions); in startTrackingCommand()
2387 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in startTrackingCommand()
2390 mAdapter.reportResponse(mClient, LOCATION_ERROR_SUCCESS, mSessionId); in startTrackingCommand()
2511 GnssAdapter& mAdapter; in updateTrackingOptionsCommand() member
2522 mAdapter(adapter), in updateTrackingOptionsCommand()
2529 if (!mAdapter.isEngineCapabilitiesKnown() && mOptions.minDistance > 0) { in updateTrackingOptionsCommand()
2530 mAdapter.mPendingMsgs.push_back(new MsgUpdateTracking(*this)); in updateTrackingOptionsCommand()
2534 bool isTimeBased = mAdapter.isTimeBasedTrackingSession(mClient, mSessionId); in updateTrackingOptionsCommand()
2535 bool isDistanceBased = mAdapter.isDistanceBasedTrackingSession(mClient, mSessionId); in updateTrackingOptionsCommand()
2542 mAdapter.reportResponse(mClient, err, mSessionId); in updateTrackingOptionsCommand()
2558 mAdapter.stopTimeBasedTrackingMultiplex(mClient, mSessionId); in updateTrackingOptionsCommand()
2560 mAdapter.eraseTrackingSession(mClient, mSessionId); in updateTrackingOptionsCommand()
2562 mAdapter.reportResponse(mClient, LOCATION_ERROR_SUCCESS, mSessionId); in updateTrackingOptionsCommand()
2565 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
2567 new LocApiResponse(*mAdapter.getContext(), in updateTrackingOptionsCommand()
2571 mAdapter.eraseTrackingSession(mClient, mSessionId); in updateTrackingOptionsCommand()
2573 *mAdapter.getContext(), in updateTrackingOptionsCommand()
2574 [&mAdapter = mAdapter, mSessionId = mSessionId, mOptions = mOptions, in updateTrackingOptionsCommand()
2579 mAdapter.startTimeBasedTrackingMultiplex(mClient, mSessionId, in updateTrackingOptionsCommand()
2581 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
2584 mAdapter.reportResponse(mClient, LOCATION_ERROR_SUCCESS, mSessionId); in updateTrackingOptionsCommand()
2591 mAdapter.updateTrackingMultiplex(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
2592 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
2595 mAdapter.reportResponse(mClient, err, mSessionId); in updateTrackingOptionsCommand()
2600 *mAdapter.getContext(), in updateTrackingOptionsCommand()
2601 [&mAdapter = mAdapter, mSessionId = mSessionId, mOptions = mOptions, in updateTrackingOptionsCommand()
2605 new LocApiResponse(*mAdapter.getContext(), in updateTrackingOptionsCommand()
2606 [&mAdapter, mClient, mSessionId, mOptions] in updateTrackingOptionsCommand()
2609 mAdapter.saveTrackingSession(mClient, mSessionId, mOptions); in updateTrackingOptionsCommand()
2611 mAdapter.reportResponse(mClient, err, mSessionId); in updateTrackingOptionsCommand()
2693 GnssAdapter& mAdapter; in stopTrackingCommand() member
2702 mAdapter(adapter), in stopTrackingCommand()
2707 bool isTimeBased = mAdapter.isTimeBasedTrackingSession(mClient, mSessionId); in stopTrackingCommand()
2708 bool isDistanceBased = mAdapter.isDistanceBasedTrackingSession(mClient, mSessionId); in stopTrackingCommand()
2713 mAdapter.stopTimeBasedTrackingMultiplex(mClient, mSessionId); in stopTrackingCommand()
2714 mAdapter.eraseTrackingSession(mClient, mSessionId); in stopTrackingCommand()
2717 mAdapter.reportResponse(mClient, LOCATION_ERROR_SUCCESS, mSessionId); in stopTrackingCommand()
2721 *mAdapter.getContext(), in stopTrackingCommand()
2722 [&mAdapter = mAdapter, mSessionId = mSessionId, mClient = mClient] in stopTrackingCommand()
2725 mAdapter.eraseTrackingSession(mClient, mSessionId); in stopTrackingCommand()
2727 mAdapter.reportResponse(mClient, err, mSessionId); in stopTrackingCommand()
2731 mAdapter.reportResponse(mClient, LOCATION_ERROR_ID_UNKNOWN, mSessionId); in stopTrackingCommand()
2818 GnssAdapter& mAdapter; in gnssNiResponseCommand() member
2827 mAdapter(adapter), in gnssNiResponseCommand()
2832 NiData& niData = mAdapter.getNiData(); in gnssNiResponseCommand()
2834 if (!mAdapter.hasNiNotifyCallback(mClient)) { in gnssNiResponseCommand()
2869 mAdapter.reportResponse(mClient, err, mSessionId); in gnssNiResponseCommand()
2883 GnssAdapter& mAdapter; in gnssNiResponseCommand() member
2892 mAdapter(adapter), in gnssNiResponseCommand()
2914 GnssAdapter& mAdapter; in enableCommand() member
2925 mAdapter(adapter), in enableCommand()
2932 uint32_t powerVoteId = mAdapter.getAfwControlId(); in enableCommand()
2939 mAdapter.setAfwControlId(mSessionId); in enableCommand()
2942 if (NULL != mAdapter.mNfwCb) { in enableCommand()
2949 mAdapter.mXtraObserver.updateLockStatus(gpsLock); in enableCommand()
2951 mAdapter.reportResponse(err, mSessionId); in enableCommand()
2970 GnssAdapter& mAdapter; in disableCommand() member
2979 mAdapter(adapter), in disableCommand()
2985 uint32_t powerVoteId = mAdapter.getAfwControlId(); in disableCommand()
2990 mAdapter.setAfwControlId(0); in disableCommand()
2992 if (NULL != mAdapter.mNfwCb) { in disableCommand()
3000 mAdapter.mXtraObserver.updateLockStatus( in disableCommand()
3003 mAdapter.reportResponse(err, mSessionId); in disableCommand()
3047 GnssAdapter& mAdapter; in reportPositionEvent() member
3063 mAdapter(adapter), in reportPositionEvent()
3079 SystemStatus* s = mAdapter.getSystemStatus(); in reportPositionEvent()
3084 mAdapter.reportPosition(mUlpLocation, mLocationExtended, mStatus, mTechMask); in reportPositionEvent()
3087 mAdapter.getDataInformation((GnssDataNotification&)mDataNotify, in reportPositionEvent()
3090 mAdapter.reportData((GnssDataNotification&)mDataNotify); in reportPositionEvent()
3216 GnssAdapter& mAdapter; in reportSvEvent() member
3221 mAdapter(adapter), in reportSvEvent()
3224 mAdapter.reportSv((GnssSvNotification&)mSvNotify); in reportSvEvent()
3394 GnssAdapter& mAdapter; in reportNmeaEvent() member
3401 mAdapter(adapter), in reportNmeaEvent()
3417 SystemStatus* s = mAdapter.getSystemStatus(); in reportNmeaEvent()
3423 mAdapter.reportNmea(mNmea, mLength); in reportNmeaEvent()
3456 GnssAdapter& mAdapter; in reportDataEvent() member
3463 mAdapter(adapter), in reportDataEvent()
3469 mAdapter.getDataInformation((GnssDataNotification&)mDataNotify, in reportDataEvent()
3472 mAdapter.reportData((GnssDataNotification&)mDataNotify); in reportDataEvent()
3509 GnssAdapter& mAdapter; in requestNiNotifyEvent() member
3518 mAdapter(adapter), in requestNiNotifyEvent()
3524 if (mAdapter.getE911State() || in requestNiNotifyEvent()
3531 if (mAdapter.getE911State() && in requestNiNotifyEvent()
3535 mAdapter.requestNiNotify(mNotify, mData); in requestNiNotifyEvent()
3538 mAdapter.requestNiNotify(mNotify, mData); in requestNiNotifyEvent()
3555 GnssAdapter& mAdapter; in reportLocationSystemInfoEvent() member
3560 mAdapter(adapter), in reportLocationSystemInfoEvent()
3563 mAdapter.reportLocationSystemInfo(mSystemInfo); in reportLocationSystemInfoEvent()
3744 GnssAdapter& mAdapter; in reportGnssMeasurementsEvent() member
3751 mAdapter(adapter), in reportGnssMeasurementsEvent()
3754 mAdapter.getAgcInformation(mMeasurementsNotify, msInWeek); in reportGnssMeasurementsEvent()
3758 mAdapter.reportGnssMeasurementData(mMeasurementsNotify); in reportGnssMeasurementsEvent()
3795 GnssAdapter& mAdapter; in requestOdcpiEvent() member
3799 mAdapter(adapter), in requestOdcpiEvent()
3802 mAdapter.requestOdcpi(mOdcpiRequest); in requestOdcpiEvent()
3880 GnssAdapter& mAdapter; in initOdcpiCommand() member
3885 mAdapter(adapter), in initOdcpiCommand()
3888 mAdapter.initOdcpi(mOdcpiCb); in initOdcpiCommand()
3907 GnssAdapter& mAdapter; in injectOdcpiCommand() member
3911 mAdapter(adapter), in injectOdcpiCommand()
3914 mAdapter.injectOdcpi(mLocation); in injectOdcpiCommand()
3934 if (nullptr != mAdapter) { in timeOutCallback()
3935 mAdapter->odcpiTimerExpireEvent(); in timeOutCallback()
3943 GnssAdapter& mAdapter; in odcpiTimerExpireEvent() member
3946 mAdapter(adapter) {} in odcpiTimerExpireEvent()
3948 mAdapter.odcpiTimerExpire(); in odcpiTimerExpireEvent()
3981 GnssAdapter& mAdapter; in reportGnssEngEnergyConsumedEvent() member
3986 mAdapter(adapter), in reportGnssEngEnergyConsumedEvent()
3989 mAdapter.invokeGnssEnergyConsumedCallback(mGnssEnergyConsumedSinceFirstBoot); in reportGnssEngEnergyConsumedEvent()
4029 GnssAdapter& mAdapter; in initDefaultAgpsCommand() member
4032 mAdapter(adapter) { in initDefaultAgpsCommand()
4035 mAdapter.initDefaultAgps(); in initDefaultAgpsCommand()
4074 GnssAdapter& mAdapter; in initAgpsCommand() member
4078 LocMsg(), mCbInfo(cbInfo), mAdapter(adapter) { in initAgpsCommand()
4084 mAdapter.initAgps(mCbInfo); in initAgpsCommand()
4098 GnssAdapter& mAdapter; in initNfwCommand() member
4102 LocMsg(), mCbInfo(cbInfo), mAdapter(adapter) { in initNfwCommand()
4108 mAdapter.initNfw(mCbInfo); in initNfwCommand()
4121 GnssAdapter& mAdapter; in reportNfwNotificationEvent() member
4125 LocMsg(), mNotification(notification), mAdapter(adapter) { in reportNfwNotificationEvent()
4131 mAdapter.reportNfwNotification(mNotification); in reportNfwNotificationEvent()
4732 GnssAdapter& mAdapter; in getGnssEnergyConsumedCommand() member
4738 mAdapter(adapter), in getGnssEnergyConsumedCommand()
4742 mAdapter.saveGnssEnergyConsumedCallback(mEnergyConsumedCb); in getGnssEnergyConsumedCommand()
4753 GnssAdapter& mAdapter; in nfwControlCommand() member
4759 mAdapter(adapter), in nfwControlCommand()
4788 GnssAdapter* mAdapter; in initEngHubProxyCommand() member
4791 mAdapter(adapter) {} in initEngHubProxyCommand()
4793 mAdapter->initEngHubProxy(); in initEngHubProxyCommand()