Lines Matching refs:mPendingConfig

90     memset(&mPendingConfig, 0, sizeof(GnssConfig));  in Gnss()
111 if (mPendingConfig.size == sizeof(GnssConfig)) { in getApi()
113 mApi->gnssConfigurationUpdate(mPendingConfig); in getApi()
115 mPendingConfig.size = 0; in getApi()
116 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi()
117 free((void*)mPendingConfig.assistanceServer.hostName); in getApi()
190 mPendingConfig.size = sizeof(GnssConfig); in updateConfiguration()
193 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT; in updateConfiguration()
194 mPendingConfig.gpsLock = gnssConfig.gpsLock; in updateConfiguration()
197 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in updateConfiguration()
198 mPendingConfig.suplVersion = gnssConfig.suplVersion; in updateConfiguration()
201 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT; in updateConfiguration()
202 mPendingConfig.assistanceServer.size = sizeof(GnssConfigSetAssistanceServer); in updateConfiguration()
203 mPendingConfig.assistanceServer.type = gnssConfig.assistanceServer.type; in updateConfiguration()
204 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration()
205 free((void*)mPendingConfig.assistanceServer.hostName); in updateConfiguration()
206 mPendingConfig.assistanceServer.hostName = in updateConfiguration()
209 mPendingConfig.assistanceServer.port = gnssConfig.assistanceServer.port; in updateConfiguration()
212 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT; in updateConfiguration()
213 mPendingConfig.lppProfile = gnssConfig.lppProfile; in updateConfiguration()
216 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT; in updateConfiguration()
217 mPendingConfig.lppeControlPlaneMask = gnssConfig.lppeControlPlaneMask; in updateConfiguration()
220 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT; in updateConfiguration()
221 mPendingConfig.lppeUserPlaneMask = gnssConfig.lppeUserPlaneMask; in updateConfiguration()
224 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_AGLONASS_POSITION_PROTOCOL_VALID_BIT; in updateConfiguration()
225 mPendingConfig.aGlonassPositionProtocolMask = gnssConfig.aGlonassPositionProtocolMask; in updateConfiguration()
228 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT; in updateConfiguration()
229 mPendingConfig.emergencyPdnForEmergencySupl = gnssConfig.emergencyPdnForEmergencySupl; in updateConfiguration()
232 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in updateConfiguration()
233 mPendingConfig.suplEmergencyServices = gnssConfig.suplEmergencyServices; in updateConfiguration()
236 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_MODE_BIT; in updateConfiguration()
237 mPendingConfig.suplModeMask = gnssConfig.suplModeMask; in updateConfiguration()
240 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_BLACKLISTED_SV_IDS_BIT; in updateConfiguration()
241 mPendingConfig.blacklistedSvIds = gnssConfig.blacklistedSvIds; in updateConfiguration()