Lines Matching refs:gnssConfigRequested
897 GnssConfig gnssConfigRequested = {}; in setConfig() local
898 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT | in setConfig()
914 gnssConfigRequested.gpsLock = gpsConf.GPS_LOCK; in setConfig()
916 gnssConfigRequested.gpsLock = GNSS_CONFIG_GPS_LOCK_NONE; in setConfig()
918 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT | in setConfig()
922 gnssConfigRequested.suplVersion = mLocApi->convertSuplVersion(gpsConf.SUPL_VER); in setConfig()
923 gnssConfigRequested.lppProfileMask = gpsConf.LPP_PROFILE; in setConfig()
924 gnssConfigRequested.aGlonassPositionProtocolMask = gpsConf.A_GLONASS_POS_PROTOCOL_SELECT; in setConfig()
926 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT; in setConfig()
927 gnssConfigRequested.lppeControlPlaneMask = in setConfig()
932 gnssConfigRequested.flags |= GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT; in setConfig()
933 gnssConfigRequested.lppeUserPlaneMask = in setConfig()
936 gnssConfigRequested.blacklistedSvIds.assign(mBlacklistedSvIds.begin(), in setConfig()
939 [this, gpsConf, sapConf, oldMoServerUrl, gnssConfigRequested] () mutable { in setConfig()
940 gnssUpdateConfig(oldMoServerUrl, gnssConfigRequested, gnssConfigRequested); in setConfig()
1028 GnssConfig& gnssConfigRequested, GnssConfig& gnssConfigNeedEngineUpdate, size_t count) { in gnssUpdateConfig() argument
1045 gnssConfigRequested.flags &= ~(GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT | in gnssUpdateConfig()
1051 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in gnssUpdateConfig()
1053 err = mLocApi->setGpsLockSync(gnssConfigRequested.gpsLock); in gnssUpdateConfig()
1061 if (gnssConfigRequested.flags & in gnssUpdateConfig()
1123 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in gnssUpdateConfig()
1126 err = mLocApi->setSUPLVersionSync(gnssConfigRequested.suplVersion); in gnssUpdateConfig()
1172 if (gnssConfigRequested.flags & in gnssUpdateConfig()
1177 gnssConfigRequested.aGlonassPositionProtocolMask); in gnssUpdateConfig()
1184 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_BLACKLISTED_SV_IDS_BIT) { in gnssUpdateConfig()
1192 mBlacklistedSvIds.assign(gnssConfigRequested.blacklistedSvIds.begin(), in gnssUpdateConfig()
1193 gnssConfigRequested.blacklistedSvIds.end()); in gnssUpdateConfig()
1194 err = gnssSvIdConfigUpdateSync(gnssConfigRequested.blacklistedSvIds); in gnssUpdateConfig()
1204 if (gnssConfigRequested.flags & in gnssUpdateConfig()
1209 gnssConfigRequested.emergencyExtensionSeconds); in gnssUpdateConfig()
1217 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_MIN_SV_ELEVATION_BIT) { in gnssUpdateConfig()
1220 gnssConfig.minSvElevation = gnssConfigRequested.minSvElevation; in gnssUpdateConfig()
1307 GnssConfig gnssConfigRequested = mConfig; in gnssUpdateConfigCommand() local
1316 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT) { in gnssUpdateConfigCommand()
1317 GnssConfigGpsLock newGpsLock = gnssConfigRequested.gpsLock; in gnssUpdateConfigCommand()
1343 gnssConfigRequested.gpsLock = newGpsLock; in gnssUpdateConfigCommand()
1347 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT) { in gnssUpdateConfigCommand()
1349 mAdapter.convertSuplVersion(gnssConfigRequested.suplVersion); in gnssUpdateConfigCommand()
1353 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT) { in gnssUpdateConfigCommand()
1367 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT) { in gnssUpdateConfigCommand()
1368 uint32_t newLppProfileMask = gnssConfigRequested.lppProfileMask; in gnssUpdateConfigCommand()
1372 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT) { in gnssUpdateConfigCommand()
1374 mAdapter.convertLppeCp(gnssConfigRequested.lppeControlPlaneMask); in gnssUpdateConfigCommand()
1378 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT) { in gnssUpdateConfigCommand()
1380 mAdapter.convertLppeUp(gnssConfigRequested.lppeUserPlaneMask); in gnssUpdateConfigCommand()
1384 if (gnssConfigRequested.flags & in gnssUpdateConfigCommand()
1387 mAdapter.convertAGloProt(gnssConfigRequested.aGlonassPositionProtocolMask); in gnssUpdateConfigCommand()
1391 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT) { in gnssUpdateConfigCommand()
1393 gnssConfigRequested.emergencyPdnForEmergencySupl); in gnssUpdateConfigCommand()
1399 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT) { in gnssUpdateConfigCommand()
1401 gnssConfigRequested.suplEmergencyServices); in gnssUpdateConfigCommand()
1407 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_SUPL_MODE_BIT) { in gnssUpdateConfigCommand()
1408 uint32_t newSuplMode = mAdapter.convertSuplMode(gnssConfigRequested.suplModeMask); in gnssUpdateConfigCommand()
1414 if (gnssConfigRequested.flags & GNSS_CONFIG_FLAGS_MIN_SV_ELEVATION_BIT) { in gnssUpdateConfigCommand()
1431 [&adapter, gnssConfigRequested, gnssConfigNeedEngineUpdate, in gnssUpdateConfigCommand()
1434 gnssConfigRequested, gnssConfigNeedEngineUpdate, countOfConfigs); in gnssUpdateConfigCommand()