Lines Matching refs:mPendingConfig
50 memset(&mPendingConfig, 0, sizeof(GnssConfig)); in Gnss()
71 if (mPendingConfig.size == sizeof(GnssConfig)) { in getApi()
73 mApi->gnssConfigurationUpdate(mPendingConfig); in getApi()
75 mPendingConfig.size = 0; in getApi()
76 if (mPendingConfig.assistanceServer.hostName != nullptr) { in getApi()
77 free((void*)mPendingConfig.assistanceServer.hostName); in getApi()
150 mPendingConfig.size = sizeof(GnssConfig); in updateConfiguration()
153 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_GPS_LOCK_VALID_BIT; in updateConfiguration()
154 mPendingConfig.gpsLock = gnssConfig.gpsLock; in updateConfiguration()
157 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_VERSION_VALID_BIT; in updateConfiguration()
158 mPendingConfig.suplVersion = gnssConfig.suplVersion; in updateConfiguration()
161 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SET_ASSISTANCE_DATA_VALID_BIT; in updateConfiguration()
162 mPendingConfig.assistanceServer.size = sizeof(GnssConfigSetAssistanceServer); in updateConfiguration()
163 mPendingConfig.assistanceServer.type = gnssConfig.assistanceServer.type; in updateConfiguration()
164 if (mPendingConfig.assistanceServer.hostName != nullptr) { in updateConfiguration()
165 free((void*)mPendingConfig.assistanceServer.hostName); in updateConfiguration()
166 mPendingConfig.assistanceServer.hostName = in updateConfiguration()
169 mPendingConfig.assistanceServer.port = gnssConfig.assistanceServer.port; in updateConfiguration()
172 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPP_PROFILE_VALID_BIT; in updateConfiguration()
173 mPendingConfig.lppProfile = gnssConfig.lppProfile; in updateConfiguration()
176 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPPE_CONTROL_PLANE_VALID_BIT; in updateConfiguration()
177 mPendingConfig.lppeControlPlaneMask = gnssConfig.lppeControlPlaneMask; in updateConfiguration()
180 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_LPPE_USER_PLANE_VALID_BIT; in updateConfiguration()
181 mPendingConfig.lppeUserPlaneMask = gnssConfig.lppeUserPlaneMask; in updateConfiguration()
184 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_AGLONASS_POSITION_PROTOCOL_VALID_BIT; in updateConfiguration()
185 mPendingConfig.aGlonassPositionProtocolMask = gnssConfig.aGlonassPositionProtocolMask; in updateConfiguration()
188 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_EM_PDN_FOR_EM_SUPL_VALID_BIT; in updateConfiguration()
189 mPendingConfig.emergencyPdnForEmergencySupl = gnssConfig.emergencyPdnForEmergencySupl; in updateConfiguration()
192 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_EM_SERVICES_BIT; in updateConfiguration()
193 mPendingConfig.suplEmergencyServices = gnssConfig.suplEmergencyServices; in updateConfiguration()
196 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_SUPL_MODE_BIT; in updateConfiguration()
197 mPendingConfig.suplModeMask = gnssConfig.suplModeMask; in updateConfiguration()
200 mPendingConfig.flags |= GNSS_CONFIG_FLAGS_BLACKLISTED_SV_IDS_BIT; in updateConfiguration()
201 mPendingConfig.blacklistedSvIds = gnssConfig.blacklistedSvIds; in updateConfiguration()