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 TRAP_IGNORE(iNetworkPrivacy->NotifyLocationRequestL(*suplReqInfo,RequestId);) |
260 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 |
307 if(client) |
308 if(client) |
308 { |
309 { |
309 suplReqInfo->SetLCSClientL(*client,iIdType); |
310 suplReqInfo->SetLCSClientL(*client,iIdType); |
310 } |
311 } |
311 |
312 |
318 // asynchronous call with callback function HandleVerifyComplete. |
319 // asynchronous call with callback function HandleVerifyComplete. |
319 // Argument CPosNetworkPrivacy::EDecisionRejected is to show to the user |
320 // Argument CPosNetworkPrivacy::EDecisionRejected is to show to the user |
320 // 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 |
321 // 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 |
322 // be rejected. |
323 // be rejected. |
323 iTrace->Trace(_L("Calling iNetworkPrivacy->VerifyLocationRequestL"), KTraceFileName, __LINE__); |
324 iNetworkPrivacy->VerifyLocationRequestL(*suplReqInfo, |
324 |
325 iGSMRequestId, *this, aTimeOutStrategy); |
325 |
|
326 TRAP_IGNORE(iNetworkPrivacy->VerifyLocationRequestL(*suplReqInfo, |
|
327 iGSMRequestId, *this, aTimeOutStrategy);) |
|
328 |
|
329 TBuf<64> msg; |
326 TBuf<64> msg; |
330 msg.Copy(_L("1.0 Privacy Fw Generated Verification Request id:")); |
327 msg.Copy(_L("1.0 Privacy Fw Generated Verification Request id:")); |
331 msg.AppendNum(iGSMRequestId); |
328 msg.AppendNum(iGSMRequestId); |
332 iTrace->Trace(msg, KTraceFileName, __LINE__); |
329 iTrace->Trace(msg, KTraceFileName, __LINE__); |
333 |
330 |