Lines Matching refs:notification
498 struct ChppAppHeader *notification = in chppGnssServiceRequestStateResyncCallback() local
500 size_t notificationLen = sizeof(*notification); in chppGnssServiceRequestStateResyncCallback()
502 if (notification == NULL) { in chppGnssServiceRequestStateResyncCallback()
507 notification->handle = gGnssServiceContext.service.handle; in chppGnssServiceRequestStateResyncCallback()
508 notification->command = CHPP_GNSS_REQUEST_STATE_RESYNC_NOTIFICATION; in chppGnssServiceRequestStateResyncCallback()
511 gGnssServiceContext.service.appContext->transportContext, notification, in chppGnssServiceRequestStateResyncCallback()
554 struct ChppGnssLocationEventWithHeader *notification = NULL; in chppGnssServiceLocationEventCallback() local
557 if (!chppGnssLocationEventFromChre(event, ¬ification, ¬ificationLen)) { in chppGnssServiceLocationEventCallback()
560 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppGnssServiceLocationEventCallback()
561 if (notification == NULL) { in chppGnssServiceLocationEventCallback()
568 if (notification != NULL) { in chppGnssServiceLocationEventCallback()
569 notification->header.handle = gGnssServiceContext.service.handle; in chppGnssServiceLocationEventCallback()
570 notification->header.type = CHPP_MESSAGE_TYPE_SERVICE_NOTIFICATION; in chppGnssServiceLocationEventCallback()
571 notification->header.transaction = in chppGnssServiceLocationEventCallback()
574 notification->header.error = in chppGnssServiceLocationEventCallback()
578 notification->header.command = CHPP_GNSS_LOCATION_RESULT_NOTIFICATION; in chppGnssServiceLocationEventCallback()
581 gGnssServiceContext.service.appContext->transportContext, notification, in chppGnssServiceLocationEventCallback()
626 struct ChppGnssDataEventWithHeader *notification = NULL; in chppGnssServiceMeasurementEventCallback() local
629 if (!chppGnssDataEventFromChre(event, ¬ification, ¬ificationLen)) { in chppGnssServiceMeasurementEventCallback()
633 notification = chppMalloc(sizeof(struct ChppAppHeader)); in chppGnssServiceMeasurementEventCallback()
634 if (notification == NULL) { in chppGnssServiceMeasurementEventCallback()
641 if (notification != NULL) { in chppGnssServiceMeasurementEventCallback()
642 notification->header.handle = gGnssServiceContext.service.handle; in chppGnssServiceMeasurementEventCallback()
643 notification->header.type = CHPP_MESSAGE_TYPE_SERVICE_NOTIFICATION; in chppGnssServiceMeasurementEventCallback()
644 notification->header.transaction = in chppGnssServiceMeasurementEventCallback()
646 notification->header.error = in chppGnssServiceMeasurementEventCallback()
650 notification->header.command = CHPP_GNSS_MEASUREMENT_RESULT_NOTIFICATION; in chppGnssServiceMeasurementEventCallback()
653 gGnssServiceContext.service.appContext->transportContext, notification, in chppGnssServiceMeasurementEventCallback()