telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp
changeset 73 70d75957b98f
parent 69 b982c3e940f3
equal deleted inserted replaced
69:b982c3e940f3 73:70d75957b98f
   162 TInt CMmPacketTsy::DoExtFuncL(
   162 TInt CMmPacketTsy::DoExtFuncL(
   163     const TTsyReqHandle aTsyReqHandle, 
   163     const TTsyReqHandle aTsyReqHandle, 
   164     const TInt aIpc, 
   164     const TInt aIpc, 
   165     const TDataPackage& aPackage )
   165     const TDataPackage& aPackage )
   166     {
   166     {
   167 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETTSY_DOEXTFUNCL_1,  "CustomTSY: CMmPacketTsy::DoExtFuncL - IPC:%d Handle:%d", aIpc, aTsyReqHandle );
   167 OstTraceDefExt3(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETTSY_DOEXTFUNCL_1,  "TSY: CMmPacketTsy::DoExtFuncL. IPC:%{TIPCNamesList} Handle:%d Object:0x%08x", aIpc, (TUint)aTsyReqHandle, (TUint)this );
   168     TInt ret( KErrNotSupported );
   168     TInt ret( KErrNotSupported );
   169 
   169 
   170     switch ( aIpc )
   170     switch ( aIpc )
   171         {
   171         {
   172         case ECustomNotifyEGprsInfoChange:
   172         case ECustomNotifyEGprsInfoChange:
   182                               					aPackage.Ptr1() ) ) );
   182                               					aPackage.Ptr1() ) ) );
   183         default:
   183         default:
   184             break;
   184             break;
   185         }
   185         }
   186 
   186 
   187     return ret;
   187 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETTSY_DOEXTFUNCL_3, "<-- TSY: CMmPacketTsy::DoExtFuncL, error = %{TSymbianErrorCodes}", ret);    return ret;
   188     }
   188     }
   189 
   189 
   190 // ---------------------------------------------------------------------------
   190 // ---------------------------------------------------------------------------
   191 // CMmPacketTsy::ReqModeL
   191 // CMmPacketTsy::ReqModeL
   192 // Returns request mode for given IPC.
   192 // Returns request mode for given IPC.
   280 //
   280 //
   281 TInt CMmPacketTsy::CancelService(
   281 TInt CMmPacketTsy::CancelService(
   282     const TInt aIpc, 
   282     const TInt aIpc, 
   283     const TTsyReqHandle aTsyReqHandle )
   283     const TTsyReqHandle aTsyReqHandle )
   284     {
   284     {
   285 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETTSY_CANCELSERVICE_1,  "CustomTSY: CMmPacketTsy::CancelService IPC:%d", aIpc );
   285 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETTSY_CANCELSERVICE_1,  "CustomTSY: CMmPacketTsy::CancelService IPC:%{TIPCNamesList}", aIpc );
   286     TInt ret( KErrNone );
   286     TInt ret( KErrNone );
   287 
   287 
   288     // Req handle type
   288     // Req handle type
   289     TPacketRequestType reqHandletype( 
   289     TPacketRequestType reqHandletype( 
   290         EMultimodePacketContextReqHandleUnknown );
   290         EMultimodePacketContextReqHandleUnknown );
   336 //
   336 //
   337 void CMmPacketTsy::ReqCompleted(
   337 void CMmPacketTsy::ReqCompleted(
   338     const TTsyReqHandle aTsyReqHandle, 
   338     const TTsyReqHandle aTsyReqHandle, 
   339     const TInt aError )
   339     const TInt aError )
   340     {
   340     {
   341 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETTSY_REQCOMPLETED_1,  "CustomTSY: CMmPacketTsy::ReqCompleted Handle:%d Error:%d", aTsyReqHandle, aError );
   341 OstTraceDefExt3(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETTSY_REQCOMPLETED_1, "TSY: CMmPacketTsy::ReqCompleted. Handle:%d Error:%{TSymbianErrorCodes} Object:0x%08x", (TUint)aTsyReqHandle, aError, (TUint)this);
   342     iMmCustomTsy->ReqCompleted( aTsyReqHandle, aError );
   342     iMmCustomTsy->ReqCompleted( aTsyReqHandle, aError );
       
   343 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETTSY_REQCOMPLETED_2, "<-- TSY: CMmPacketTsy::ReqCompleted");
   343     }
   344     }
   344 
   345 
   345 // ---------------------------------------------------------------------------
   346 // ---------------------------------------------------------------------------
   346 // CMmPacketTsy::NotifyEGprsInfoChange
   347 // CMmPacketTsy::NotifyEGprsInfoChange
   347 // Request notification when EGPRS support changes.
   348 // Request notification when EGPRS support changes.