supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasuplinitstate.cpp
equal
deleted
inserted
replaced
255 if(!reqError || !clientError) |
255 if(!reqError || !clientError) |
256 { |
256 { |
257 // Notify Network Privacy of the request information |
257 // Notify Network Privacy of the request information |
258 // Synchronous call |
258 // Synchronous call |
259 TInt RequestId; |
259 TInt RequestId; |
260 iNetworkPrivacy->NotifyLocationRequestL(*suplReqInfo,RequestId); |
260 TRAP_IGNORE(iNetworkPrivacy->NotifyLocationRequestL(*suplReqInfo,RequestId);) |
261 |
261 |
262 if(iIsNotificationOnly) |
262 if(iIsNotificationOnly) |
263 { |
263 { |
264 iGSMRequestId = RequestId; |
264 iGSMRequestId = RequestId; |
265 TBuf<64> msg; |
265 TBuf<64> msg; |
302 HBufC* client = NULL; |
302 HBufC* client = NULL; |
303 TInt clientError = ClientL(client); |
303 TInt clientError = ClientL(client); |
304 if(!clientError) |
304 if(!clientError) |
305 { |
305 { |
306 // Set name of Client |
306 // Set name of Client |
307 |
|
308 if(client) |
307 if(client) |
309 { |
308 { |
|
309 iTrace->Trace(_L("calling suplReqInfo->SetLCSClientL"), KTraceFileName, __LINE__); |
310 suplReqInfo->SetLCSClientL(*client,iIdType); |
310 suplReqInfo->SetLCSClientL(*client,iIdType); |
311 } |
311 } |
312 |
312 |
313 delete client; |
313 delete client; |
314 } |
314 } |
319 // asynchronous call with callback function HandleVerifyComplete. |
319 // asynchronous call with callback function HandleVerifyComplete. |
320 // Argument CPosNetworkPrivacy::EDecisionRejected is to show to the user |
320 // Argument CPosNetworkPrivacy::EDecisionRejected is to show to the user |
321 // what decision the GSM Network will make if the user won't answer before |
321 // what decision the GSM Network will make if the user won't answer before |
322 // a timeout comes in from GSM Network. In this case verification will |
322 // a timeout comes in from GSM Network. In this case verification will |
323 // be rejected. |
323 // be rejected. |
324 iNetworkPrivacy->VerifyLocationRequestL(*suplReqInfo, |
324 iTrace->Trace(_L("Calling iNetworkPrivacy->VerifyLocationRequestL"), KTraceFileName, __LINE__); |
325 iGSMRequestId, *this, aTimeOutStrategy); |
325 |
|
326 |
|
327 TRAP_IGNORE(iNetworkPrivacy->VerifyLocationRequestL(*suplReqInfo, |
|
328 iGSMRequestId, *this, aTimeOutStrategy);) |
|
329 |
326 TBuf<64> msg; |
330 TBuf<64> msg; |
327 msg.Copy(_L("1.0 Privacy Fw Generated Verification Request id:")); |
331 msg.Copy(_L("1.0 Privacy Fw Generated Verification Request id:")); |
328 msg.AppendNum(iGSMRequestId); |
332 msg.AppendNum(iGSMRequestId); |
329 iTrace->Trace(msg, KTraceFileName, __LINE__); |
333 iTrace->Trace(msg, KTraceFileName, __LINE__); |
330 |
334 |