Lines Matching refs:gnssConfigRequested
766 GnssConfig gnssConfigRequested = {}; in setConfig() local
767 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT | in setConfig()
783 gnssConfigRequested.gpsLock = gpsConf.GPS_LOCK; in setConfig()
785 gnssConfigRequested.gpsLock = GNSS_CONFIG_GPS_LOCK_NONE; in setConfig()
787 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT | in setConfig()
791 gnssConfigRequested.suplVersion = in setConfig()
793 gnssConfigRequested.lppProfile = in setConfig()
795 gnssConfigRequested.aGlonassPositionProtocolMask = in setConfig()
798 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT; in setConfig()
799 gnssConfigRequested.lppeControlPlaneMask = in setConfig()
804 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT; in setConfig()
805 gnssConfigRequested.lppeUserPlaneMask = in setConfig()
809 gnssConfigRequested.blacklistedSvIds.assign(mBlacklistedSvIds.begin(), in setConfig()
812 [this, gpsConf, sapConf, oldMoServerUrl, gnssConfigRequested] () mutable { in setConfig()
813 gnssUpdateConfig(oldMoServerUrl, gnssConfigRequested, gnssConfigRequested); in setConfig()
890 GnssConfig& gnssConfigRequested, GnssConfig& gnssConfigNeedEngineUpdate, size_t count) { in gnssUpdateConfig() argument
907 gnssConfigRequested.flags &= ~(GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT | in gnssUpdateConfig()
913 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in gnssUpdateConfig()
915 err = mLocApi->setGpsLockSync(gnssConfigRequested.gpsLock); in gnssUpdateConfig()
923 if (gnssConfigRequested.flags & in gnssUpdateConfig()
985 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in gnssUpdateConfig()
988 err = mLocApi->setSUPLVersionSync(gnssConfigRequested.suplVersion); in gnssUpdateConfig()
996 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT) { in gnssUpdateConfig()
1009 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { in gnssUpdateConfig()
1023 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT) { in gnssUpdateConfig()
1037 if (gnssConfigRequested.flags & in gnssUpdateConfig()
1042 gnssConfigRequested.aGlonassPositionProtocolMask); in gnssUpdateConfig()
1049 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_BLACKLISTED_SV_IDS_BIT) { in gnssUpdateConfig()
1057 mBlacklistedSvIds.assign(gnssConfigRequested.blacklistedSvIds.begin(), in gnssUpdateConfig()
1058 gnssConfigRequested.blacklistedSvIds.end()); in gnssUpdateConfig()
1059 err = gnssSvIdConfigUpdateSync(gnssConfigRequested.blacklistedSvIds); in gnssUpdateConfig()
1069 if (gnssConfigRequested.flags & in gnssUpdateConfig()
1074 gnssConfigRequested.emergencyExtensionSeconds); in gnssUpdateConfig()
1153 GnssConfig gnssConfigRequested = mConfig; in gnssUpdateConfigCommand() local
1161 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in gnssUpdateConfigCommand()
1162 GnssConfigGpsLock newGpsLock = gnssConfigRequested.gpsLock; in gnssUpdateConfigCommand()
1188 gnssConfigRequested.gpsLock = newGpsLock; in gnssUpdateConfigCommand()
1192 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in gnssUpdateConfigCommand()
1194 mAdapter.convertSuplVersion(gnssConfigRequested.suplVersion); in gnssUpdateConfigCommand()
1198 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT) { in gnssUpdateConfigCommand()
1212 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT) { in gnssUpdateConfigCommand()
1213 uint32_t newLppProfile = mAdapter.convertLppProfile(gnssConfigRequested.lppProfile); in gnssUpdateConfigCommand()
1217 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { in gnssUpdateConfigCommand()
1219 mAdapter.convertLppeCp(gnssConfigRequested.lppeControlPlaneMask); in gnssUpdateConfigCommand()
1223 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT) { in gnssUpdateConfigCommand()
1225 mAdapter.convertLppeUp(gnssConfigRequested.lppeUserPlaneMask); in gnssUpdateConfigCommand()
1229 if (gnssConfigRequested.flags & in gnssUpdateConfigCommand()
1232 mAdapter.convertAGloProt(gnssConfigRequested.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
1236 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT) { in gnssUpdateConfigCommand()
1238 gnssConfigRequested.emergencyPdnForEmergencySupl); in gnssUpdateConfigCommand()
1244 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT) { in gnssUpdateConfigCommand()
1246 gnssConfigRequested.suplEmergencyServices); in gnssUpdateConfigCommand()
1252 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_MODE_BIT) { in gnssUpdateConfigCommand()
1253 uint32_t newSuplMode = mAdapter.convertSuplMode(gnssConfigRequested.suplModeMask); in gnssUpdateConfigCommand()
1268 [&adapter, gnssConfigRequested, gnssConfigNeedEngineUpdate, in gnssUpdateConfigCommand()
1271 gnssConfigRequested, gnssConfigNeedEngineUpdate, countOfConfigs); in gnssUpdateConfigCommand()