Home | History | Annotate | Download | only in src

Lines Matching defs:notif

1200     GpsNiNotification notif = {0};
1209 notif.ni_type = GPS_NI_TYPE_VOICE;
1211 hexcode(notif.requestor_id, sizeof notif.requestor_id,
1214 notif.text_encoding = 0; // No text and no encoding
1215 notif.requestor_id_encoding = convertNiEncodingType(vx_req->encoding_scheme);
1216 NIEventFillVerfiyType(notif, vx_req->notification_priv_type);
1225 notif.ni_type= GPS_NI_TYPE_UMTS_CTRL_PLANE; // Stores notification text
1227 hexcode(notif.text, sizeof notif.text,
1230 hexcode(notif.requestor_id, sizeof notif.requestor_id,
1234 hexcode(notif.text, sizeof notif.text,
1237 hexcode(notif.requestor_id, sizeof notif.requestor_id,
1241 notif.text_encoding = convertNiEncodingType(umts_cp_req->datacoding_scheme);
1242 notif.requestor_id_encoding = notif.text_encoding;
1243 NIEventFillVerfiyType(notif, umts_cp_req->notification_priv_type);
1248 // Copy LCS Address into notif.extras in the format: Address = 012345
1249 strlcat(notif.extras, LOC_NI_NOTIF_KEY_ADDRESS, sizeof notif.extras);
1250 strlcat(notif.extras, " = ", sizeof notif.extras);
1267 strlcat(notif.extras, lcs_addr, sizeof notif.extras);
1278 notif.ni_type = GPS_NI_TYPE_UMTS_SUPL;
1283 hexcode(notif.text, sizeof notif.text,
1288 hexcode(notif.text, sizeof notif.text,
1293 LOC_LOGV("SUPL NI: client_name: %s len=%d", notif.text, supl_req->client_name.string_len);
1303 hexcode(notif.requestor_id, sizeof notif.requestor_id,
1308 hexcode(notif.requestor_id, sizeof notif.requestor_id,
1313 LOC_LOGV("SUPL NI: requestor_id: %s len=%d", notif.requestor_id, supl_req->requestor_id.string_len);
1322 notif.text_encoding = convertNiEncodingType(supl_req->datacoding_scheme);
1323 notif.requestor_id_encoding = notif.text_encoding;
1326 notif.text_encoding = notif.requestor_id_encoding = GPS_ENC_UNKNOWN;
1329 NIEventFillVerfiyType(notif, ni_req->payload.rpc_loc_ni_event_payload_u_type_u.supl_req.notification_priv_type);
1341 requestNiNotify(notif, (const void*)copy);
1344 int LocApiRpc::NIEventFillVerfiyType(GpsNiNotification &notif,
1350 notif.notify_flags = 0;
1351 notif.default_response = GPS_NI_RESPONSE_NORESP;
1354 notif.notify_flags = GPS_NI_NEED_NOTIFY;
1355 notif.default_response = GPS_NI_RESPONSE_NORESP;
1358 notif.notify_flags = GPS_NI_NEED_NOTIFY | GPS_NI_NEED_VERIFY;
1359 notif.default_response = GPS_NI_RESPONSE_ACCEPT;
1362 notif.notify_flags = GPS_NI_NEED_NOTIFY | GPS_NI_NEED_VERIFY;
1363 notif.default_response = GPS_NI_RESPONSE_DENY;
1366 notif.notify_flags = GPS_NI_PRIVACY_OVERRIDE;
1367 notif.default_response = GPS_NI_RESPONSE_NORESP;