Lines Matching refs:gnssNiNotification
98 locationCallbacks.gnssNiCb = [this](uint32_t id, GnssNiNotification gnssNiNotification) { in gnssUpdateCallbacks() argument
99 onGnssNiCb(id, gnssNiNotification); in gnssUpdateCallbacks()
291 void GnssAPIClient::onGnssNiCb(uint32_t id, GnssNiNotification gnssNiNotification) in onGnssNiCb() argument
305 if (gnssNiNotification.type == GNSS_NI_TYPE_VOICE) in onGnssNiCb()
307 else if (gnssNiNotification.type == GNSS_NI_TYPE_SUPL) in onGnssNiCb()
309 else if (gnssNiNotification.type == GNSS_NI_TYPE_CONTROL_PLANE) in onGnssNiCb()
311 else if (gnssNiNotification.type == GNSS_NI_TYPE_EMERGENCY_SUPL) in onGnssNiCb()
314 if (gnssNiNotification.options & GNSS_NI_OPTIONS_NOTIFICATION_BIT) in onGnssNiCb()
316 if (gnssNiNotification.options & GNSS_NI_OPTIONS_VERIFICATION_BIT) in onGnssNiCb()
318 if (gnssNiNotification.options & GNSS_NI_OPTIONS_PRIVACY_OVERRIDE_BIT) in onGnssNiCb()
321 notificationGnss.timeoutSec = gnssNiNotification.timeout; in onGnssNiCb()
323 if (gnssNiNotification.timeoutResponse == GNSS_NI_RESPONSE_ACCEPT) in onGnssNiCb()
325 else if (gnssNiNotification.timeoutResponse == GNSS_NI_RESPONSE_DENY) in onGnssNiCb()
327 else if (gnssNiNotification.timeoutResponse == GNSS_NI_RESPONSE_NO_RESPONSE || in onGnssNiCb()
328 gnssNiNotification.timeoutResponse == GNSS_NI_RESPONSE_IGNORE) in onGnssNiCb()
331 notificationGnss.requestorId = gnssNiNotification.requestor; in onGnssNiCb()
333 notificationGnss.notificationMessage = gnssNiNotification.message; in onGnssNiCb()
335 if (gnssNiNotification.requestorEncoding == GNSS_NI_ENCODING_TYPE_NONE) in onGnssNiCb()
338 else if (gnssNiNotification.requestorEncoding == GNSS_NI_ENCODING_TYPE_GSM_DEFAULT) in onGnssNiCb()
341 else if (gnssNiNotification.requestorEncoding == GNSS_NI_ENCODING_TYPE_UTF8) in onGnssNiCb()
344 else if (gnssNiNotification.requestorEncoding == GNSS_NI_ENCODING_TYPE_UCS2) in onGnssNiCb()
348 if (gnssNiNotification.messageEncoding == GNSS_NI_ENCODING_TYPE_NONE) in onGnssNiCb()
351 else if (gnssNiNotification.messageEncoding == GNSS_NI_ENCODING_TYPE_GSM_DEFAULT) in onGnssNiCb()
354 else if (gnssNiNotification.messageEncoding == GNSS_NI_ENCODING_TYPE_UTF8) in onGnssNiCb()
357 else if (gnssNiNotification.messageEncoding == GNSS_NI_ENCODING_TYPE_UCS2) in onGnssNiCb()