Lines Matching refs:mPendingConfig

102     memset(&mPendingConfig, 0, sizeof(GnssConfig));  in Gnss()
131 if (mPendingConfig.size == sizeof(GnssConfig)) { in getApi()
133 mApi->gnssConfigurationUpdate(mPendingConfig); in getApi()
135 mPendingConfig.size = 0; in getApi()
136 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi()
137 free((void*)mPendingConfig.assistanceServer.hostName); in getApi()
224 mPendingConfig.size = sizeof(GnssConfig); in updateConfiguration()
227 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT; in updateConfiguration()
228 mPendingConfig.gpsLock = gnssConfig.gpsLock; in updateConfiguration()
231 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in updateConfiguration()
232 mPendingConfig.suplVersion = gnssConfig.suplVersion; in updateConfiguration()
235 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT; in updateConfiguration()
236 mPendingConfig.assistanceServer.size = sizeof(GnssConfigSetAssistanceServer); in updateConfiguration()
237 mPendingConfig.assistanceServer.type = gnssConfig.assistanceServer.type; in updateConfiguration()
238 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration()
239 free((void*)mPendingConfig.assistanceServer.hostName); in updateConfiguration()
240 mPendingConfig.assistanceServer.hostName = in updateConfiguration()
243 mPendingConfig.assistanceServer.port = gnssConfig.assistanceServer.port; in updateConfiguration()
246 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT; in updateConfiguration()
247 mPendingConfig.lppProfile = gnssConfig.lppProfile; in updateConfiguration()
250 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT; in updateConfiguration()
251 mPendingConfig.lppeControlPlaneMask = gnssConfig.lppeControlPlaneMask; in updateConfiguration()
254 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT; in updateConfiguration()
255 mPendingConfig.lppeUserPlaneMask = gnssConfig.lppeUserPlaneMask; in updateConfiguration()
258 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_AGLONASS_POSITION_PROTOCOL_VALID_BIT; in updateConfiguration()
259 mPendingConfig.aGlonassPositionProtocolMask = gnssConfig.aGlonassPositionProtocolMask; in updateConfiguration()
262 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT; in updateConfiguration()
263 mPendingConfig.emergencyPdnForEmergencySupl = gnssConfig.emergencyPdnForEmergencySupl; in updateConfiguration()
266 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in updateConfiguration()
267 mPendingConfig.suplEmergencyServices = gnssConfig.suplEmergencyServices; in updateConfiguration()
270 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_MODE_BIT; in updateConfiguration()
271 mPendingConfig.suplModeMask = gnssConfig.suplModeMask; in updateConfiguration()
274 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_BLACKLISTED_SV_IDS_BIT; in updateConfiguration()
275 mPendingConfig.blacklistedSvIds = gnssConfig.blacklistedSvIds; in updateConfiguration()
278 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_EMERGENCY_EXTENSION_SECONDS_BIT; in updateConfiguration()
279 mPendingConfig.emergencyExtensionSeconds = gnssConfig.emergencyExtensionSeconds; in updateConfiguration()