Lines Matching refs:mPendingConfig
64 memset(&mPendingConfig, 0, sizeof(GnssConfig)); in Gnss()
86 if (mPendingConfig.size == sizeof(GnssConfig)) { in getApi()
88 mApi->gnssConfigurationUpdate(mPendingConfig); in getApi()
90 mPendingConfig.size = 0; in getApi()
91 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi()
92 free((void*)mPendingConfig.assistanceServer.hostName); in getApi()
165 mPendingConfig.size = sizeof(GnssConfig); in updateConfiguration()
168 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT; in updateConfiguration()
169 mPendingConfig.gpsLock = gnssConfig.gpsLock; in updateConfiguration()
172 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in updateConfiguration()
173 mPendingConfig.suplVersion = gnssConfig.suplVersion; in updateConfiguration()
176 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT; in updateConfiguration()
177 mPendingConfig.assistanceServer.size = sizeof(GnssConfigSetAssistanceServer); in updateConfiguration()
178 mPendingConfig.assistanceServer.type = gnssConfig.assistanceServer.type; in updateConfiguration()
179 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration()
180 free((void*)mPendingConfig.assistanceServer.hostName); in updateConfiguration()
181 mPendingConfig.assistanceServer.hostName = in updateConfiguration()
184 mPendingConfig.assistanceServer.port = gnssConfig.assistanceServer.port; in updateConfiguration()
187 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT; in updateConfiguration()
188 mPendingConfig.lppProfile = gnssConfig.lppProfile; in updateConfiguration()
191 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT; in updateConfiguration()
192 mPendingConfig.lppeControlPlaneMask = gnssConfig.lppeControlPlaneMask; in updateConfiguration()
195 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT; in updateConfiguration()
196 mPendingConfig.lppeUserPlaneMask = gnssConfig.lppeUserPlaneMask; in updateConfiguration()
199 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_AGLONASS_POSITION_PROTOCOL_VALID_BIT; in updateConfiguration()
200 mPendingConfig.aGlonassPositionProtocolMask = gnssConfig.aGlonassPositionProtocolMask; in updateConfiguration()
203 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT; in updateConfiguration()
204 mPendingConfig.emergencyPdnForEmergencySupl = gnssConfig.emergencyPdnForEmergencySupl; in updateConfiguration()
207 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in updateConfiguration()
208 mPendingConfig.suplEmergencyServices = gnssConfig.suplEmergencyServices; in updateConfiguration()
211 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_MODE_BIT; in updateConfiguration()
212 mPendingConfig.suplModeMask = gnssConfig.suplModeMask; in updateConfiguration()
215 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_BLACKLISTED_SV_IDS_BIT; in updateConfiguration()
216 mPendingConfig.blacklistedSvIds = gnssConfig.blacklistedSvIds; in updateConfiguration()