124 TInt CMmNetTsy::DoExtFuncL( |
124 TInt CMmNetTsy::DoExtFuncL( |
125 const TTsyReqHandle aTsyReqHandle, // Request handle |
125 const TTsyReqHandle aTsyReqHandle, // Request handle |
126 const TInt aIpc, // IPC number of request |
126 const TInt aIpc, // IPC number of request |
127 const TDataPackage& aPackage ) // Contains parameters for request |
127 const TDataPackage& aPackage ) // Contains parameters for request |
128 { |
128 { |
129 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_DOEXTFUNCL_1, "TSY: CMmPhoneTsy::DoExtFuncL.\n \t\t\t IPC:%d\n \t\t\t Handle:%d", aIpc, aTsyReqHandle); |
129 OstTraceDefExt3(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_DOEXTFUNCL_1, "TSY: CMmNetTsy::DoExtFuncL. IPC:%{TIPCNamesList} Handle:%u Object:0x%08x", (TUint)aIpc, (TUint)aTsyReqHandle, (TUint)this); |
130 |
130 |
131 TInt ret ( KErrNone ); |
131 TInt ret ( KErrNone ); |
132 |
132 |
133 TAny* dataPtr = aPackage.Ptr1(); |
133 TAny* dataPtr = aPackage.Ptr1(); |
134 TAny* dataPtr2 = aPackage.Ptr2(); |
134 TAny* dataPtr2 = aPackage.Ptr2(); |
306 // |
307 // |
307 TInt CMmNetTsy::CancelService( |
308 TInt CMmNetTsy::CancelService( |
308 const TInt aIpc, // IPC number of request. |
309 const TInt aIpc, // IPC number of request. |
309 const TTsyReqHandle aTsyReqHandle ) // Request handle of given request. |
310 const TTsyReqHandle aTsyReqHandle ) // Request handle of given request. |
310 { |
311 { |
311 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_CANCELSERVICE_1, "TSY: CMmNetTsy::CancelService IPC: %d ret: %d", aIpc, aTsyReqHandle); |
312 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_CANCELSERVICE_1, "TSY: CMmNetTsy::CancelService IPC: %{TIPCNamesList} ret: %d", aIpc, aTsyReqHandle); |
312 TInt ret ( KErrNotSupported ); |
313 TInt ret ( KErrNotSupported ); |
313 |
314 |
314 //When the clients close their sub-sessions (eg. by calling RLine::Close), |
315 //When the clients close their sub-sessions (eg. by calling RLine::Close), |
315 //they may not have cancelled all their outstanding asynchronous requests |
316 //they may not have cancelled all their outstanding asynchronous requests |
316 //before closing. It is up to the ETel server to clean up in this |
317 //before closing. It is up to the ETel server to clean up in this |
1538 plmn.iNetworkId.Copy( networkInfo.iNetworkId ); |
1539 plmn.iNetworkId.Copy( networkInfo.iNetworkId ); |
1539 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKNAME_3, "TSY: CMmNetTsy::GetNetworkName, iLongName: %S", networkName.iLongName); |
1540 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKNAME_3, "TSY: CMmNetTsy::GetNetworkName, iLongName: %S", networkName.iLongName); |
1540 |
1541 |
1541 if( KErrNone == ret ) |
1542 if( KErrNone == ret ) |
1542 { |
1543 { |
1543 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKNAME_4, "TSY: CMmNetTsy::GetNetworkName - completing, ret: %d", ret); |
1544 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKNAME_4, "TSY: CMmNetTsy::GetNetworkName - completing, ret: %{TSymbianErrorCodes}", ret); |
1544 iMmPhoneTsy->ReqCompleted( aTsyReqHandle, ret ); |
1545 iMmPhoneTsy->ReqCompleted( aTsyReqHandle, ret ); |
1545 } |
1546 } |
1546 } |
1547 } |
1547 |
1548 |
1548 return ret; |
1549 return ret; |
2154 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKREGISTRATIONSTATUSL_2, "TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Sending request to LTSY" ); |
2155 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKREGISTRATIONSTATUSL_2, "TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Sending request to LTSY" ); |
2155 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKREGISTRATIONSTATUSL_3, "TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Modem not ready" ); |
2156 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKREGISTRATIONSTATUSL_3, "TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Modem not ready" ); |
2156 |
2157 |
2157 if ( KErrNone != ret ) |
2158 if ( KErrNone != ret ) |
2158 { |
2159 { |
2159 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKREGISTRATIONSTATUSL_4, "TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Complete with error %d", ret ); |
2160 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKREGISTRATIONSTATUSL_4, "TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Complete with error %{TSymbianErrorCodes}", ret ); |
2160 iMmPhoneTsy->ReqCompleted( aTsyReqHandle, ret ); |
2161 iMmPhoneTsy->ReqCompleted( aTsyReqHandle, ret ); |
2161 } |
2162 } |
2162 else |
2163 else |
2163 { |
2164 { |
2164 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKREGISTRATIONSTATUSL_5, "TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Client to buffer" ); |
2165 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_GETNETWORKREGISTRATIONSTATUSL_5, "TSY: CMmNetTsy::GetNetworkRegistrationStatusL - Client to buffer" ); |
2886 file.Close(); |
2887 file.Close(); |
2887 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_READVARIANTOPTIONS_1, "TSY:CMmNetTsy::ReadVariantOptions:File successfully read."); |
2888 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_READVARIANTOPTIONS_1, "TSY:CMmNetTsy::ReadVariantOptions:File successfully read."); |
2888 } |
2889 } |
2889 else |
2890 else |
2890 { |
2891 { |
2891 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_READVARIANTOPTIONS_2, "TSY:CMmNetTsy::ReadVariantOptions:Could not open file Z:\\private\\101f7989\\operatorVariants.ini, error=%d",err); |
2892 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMNETTSY_READVARIANTOPTIONS_2, "TSY:CMmNetTsy::ReadVariantOptions:Could not open file Z:\\private\\101f7989\\operatorVariants.ini, error=%{TSymbianErrorCodes}",err); |
2892 } |
2893 } |
2893 |
2894 |
2894 // close connection to file server |
2895 // close connection to file server |
2895 fs.Close(); |
2896 fs.Close(); |
2896 } |
2897 } |