Lines Matching refs:gnssConfigRequested

732     GnssConfig gnssConfigRequested = {};  in setConfig()  local
733 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT | in setConfig()
749 gnssConfigRequested.gpsLock = gpsConf.GPS_LOCK; in setConfig()
751 gnssConfigRequested.gpsLock = GNSS_CONFIG_GPS_LOCK_NONE; in setConfig()
755 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT | in setConfig()
759 gnssConfigRequested.suplVersion = in setConfig()
761 gnssConfigRequested.lppProfile = in setConfig()
763 gnssConfigRequested.aGlonassPositionProtocolMask = in setConfig()
767 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT; in setConfig()
768 gnssConfigRequested.lppeControlPlaneMask = in setConfig()
773 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT; in setConfig()
774 gnssConfigRequested.lppeUserPlaneMask = in setConfig()
777 gnssConfigRequested.blacklistedSvIds.assign(mBlacklistedSvIds.begin(), in setConfig()
780 [this, gpsConf, sapConf, oldMoServerUrl, gnssConfigRequested] () { in setConfig()
781 gnssUpdateConfig(oldMoServerUrl, gnssConfigRequested, gnssConfigRequested); in setConfig()
838 const GnssConfig& gnssConfigRequested, in gnssUpdateConfig() argument
855 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in gnssUpdateConfig()
857 err = mLocApi->setGpsLockSync(gnssConfigRequested.gpsLock); in gnssUpdateConfig()
865 if (gnssConfigRequested.flags & in gnssUpdateConfig()
927 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in gnssUpdateConfig()
930 err = mLocApi->setSUPLVersionSync(gnssConfigRequested.suplVersion); in gnssUpdateConfig()
938 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT) { in gnssUpdateConfig()
941 err = mLocApi->setLPPConfigSync(gnssConfigRequested.lppProfile); in gnssUpdateConfig()
974 if (gnssConfigRequested.flags & in gnssUpdateConfig()
979 gnssConfigRequested.aGlonassPositionProtocolMask); in gnssUpdateConfig()
986 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_BLACKLISTED_SV_IDS_BIT) { in gnssUpdateConfig()
994 mBlacklistedSvIds.assign(gnssConfigRequested.blacklistedSvIds.begin(), in gnssUpdateConfig()
995 gnssConfigRequested.blacklistedSvIds.end()); in gnssUpdateConfig()
996 err = gnssSvIdConfigUpdateSync(gnssConfigRequested.blacklistedSvIds); in gnssUpdateConfig()
1006 if (gnssConfigRequested.flags & in gnssUpdateConfig()
1011 gnssConfigRequested.emergencyExtensionSeconds); in gnssUpdateConfig()
1090 GnssConfig gnssConfigRequested = mConfig; in gnssUpdateConfigCommand() local
1098 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in gnssUpdateConfigCommand()
1099 GnssConfigGpsLock newGpsLock = gnssConfigRequested.gpsLock; in gnssUpdateConfigCommand()
1125 gnssConfigRequested.gpsLock = newGpsLock; in gnssUpdateConfigCommand()
1129 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in gnssUpdateConfigCommand()
1131 mAdapter.convertSuplVersion(gnssConfigRequested.suplVersion); in gnssUpdateConfigCommand()
1135 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT) { in gnssUpdateConfigCommand()
1149 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT) { in gnssUpdateConfigCommand()
1150 uint32_t newLppProfile = mAdapter.convertLppProfile(gnssConfigRequested.lppProfile); in gnssUpdateConfigCommand()
1154 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { in gnssUpdateConfigCommand()
1156 mAdapter.convertLppeCp(gnssConfigRequested.lppeControlPlaneMask); in gnssUpdateConfigCommand()
1160 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT) { in gnssUpdateConfigCommand()
1162 mAdapter.convertLppeUp(gnssConfigRequested.lppeUserPlaneMask); in gnssUpdateConfigCommand()
1166 if (gnssConfigRequested.flags & in gnssUpdateConfigCommand()
1169 mAdapter.convertAGloProt(gnssConfigRequested.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
1173 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT) { in gnssUpdateConfigCommand()
1175 gnssConfigRequested.emergencyPdnForEmergencySupl); in gnssUpdateConfigCommand()
1181 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT) { in gnssUpdateConfigCommand()
1183 gnssConfigRequested.suplEmergencyServices); in gnssUpdateConfigCommand()
1189 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_MODE_BIT) { in gnssUpdateConfigCommand()
1190 uint32_t newSuplMode = mAdapter.convertSuplMode(gnssConfigRequested.suplModeMask); in gnssUpdateConfigCommand()
1205 [&adapter, gnssConfigRequested, gnssConfigNeedEngineUpdate, in gnssUpdateConfigCommand()
1208 gnssConfigRequested, gnssConfigNeedEngineUpdate, countOfConfigs); in gnssUpdateConfigCommand()