equal
deleted
inserted
replaced
162 TInt CMmPacketContextTsy::ExtFunc( |
162 TInt CMmPacketContextTsy::ExtFunc( |
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, CMMPACKETCONTEXTTSY_EXTFUNC_1, "TSY: CMmPacketContextTsy::ExtFunc. IPC: %d Context name:%S", aIpc, iContextName ); |
167 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_EXTFUNC_1, "TSY: CMmPacketContextTsy::ExtFunc. IPC: %{TIPCNamesList} Context name:%S", (TUint)aIpc, iContextName ); |
168 |
168 |
169 TInt ret( KErrNone ); |
169 TInt ret( KErrNone ); |
170 TInt trapError( KErrNone ); |
170 TInt trapError( KErrNone ); |
171 |
171 |
172 #ifdef ADD_REMOVE_PACKETFILTER_DEFECT_FIXED // search for this up from bottom of file |
172 #ifdef ADD_REMOVE_PACKETFILTER_DEFECT_FIXED // search for this up from bottom of file |
221 TInt CMmPacketContextTsy::DoExtFuncL( |
221 TInt CMmPacketContextTsy::DoExtFuncL( |
222 const TTsyReqHandle aTsyReqHandle, |
222 const TTsyReqHandle aTsyReqHandle, |
223 const TInt aIpc, |
223 const TInt aIpc, |
224 const TDataPackage& aPackage ) |
224 const TDataPackage& aPackage ) |
225 { |
225 { |
226 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_DOEXTFUNCL_1, "TSY: CMmPacketContextTsy::DoExtFuncL. IPC: %d Handle:%d",aIpc, aTsyReqHandle ); |
226 OstTraceDefExt3(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_DOEXTFUNCL_1, "TSY: CMmPacketContextTsy::DoExtFuncL. IPC: %{TIPCNamesList} Handle:%d Object:0x%08x", (TUint)aIpc, (TInt)aTsyReqHandle, (TUint)this ); |
227 |
227 |
228 TInt ret( KErrNotSupported ); |
228 TInt ret( KErrNotSupported ); |
229 |
229 |
230 TAny* dataPtr = aPackage.Ptr1(); |
230 TAny* dataPtr = aPackage.Ptr1(); |
231 TAny* dataPtr2 = aPackage.Ptr2(); |
231 TAny* dataPtr2 = aPackage.Ptr2(); |
376 //case EPacketContextNotifyDataTransferred: |
376 //case EPacketContextNotifyDataTransferred: |
377 default: |
377 default: |
378 break; |
378 break; |
379 } |
379 } |
380 |
380 |
|
381 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_DOEXTFUNCL_2, "<-- TSY: CMmPacketContextTsy::DoExtFuncL, error = %{TSymbianErrorCodes}", ret); |
381 return ret; |
382 return ret; |
382 } |
383 } |
383 |
384 |
384 // --------------------------------------------------------------------------- |
385 // --------------------------------------------------------------------------- |
385 // CMmPacketContextTsy::ReqModeL |
386 // CMmPacketContextTsy::ReqModeL |
387 // --------------------------------------------------------------------------- |
388 // --------------------------------------------------------------------------- |
388 // |
389 // |
389 CTelObject::TReqMode CMmPacketContextTsy::ReqModeL( |
390 CTelObject::TReqMode CMmPacketContextTsy::ReqModeL( |
390 const TInt aIpc ) |
391 const TInt aIpc ) |
391 { |
392 { |
392 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_REQMODEL_1, "TSY: CMmPacketContextTsy::ReqModeL. IPC: %d", aIpc ); |
393 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_REQMODEL_1, "TSY: CMmPacketContextTsy::ReqModeL. IPC: %{TIPCNamesList}", aIpc ); |
393 |
394 |
394 CTelObject::TReqMode reqMode( 0 ); |
395 CTelObject::TReqMode reqMode( 0 ); |
395 TBool doLeave( EFalse ); |
396 TBool doLeave( EFalse ); |
396 |
397 |
397 switch ( aIpc ) |
398 switch ( aIpc ) |
530 // Unknown or invalid IPC |
531 // Unknown or invalid IPC |
531 User::Leave( KErrNotSupported ); |
532 User::Leave( KErrNotSupported ); |
532 break; |
533 break; |
533 |
534 |
534 } |
535 } |
535 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_NUMBEROFSLOTSL_1, "TSY: CMmPacketContextTsy::NumberOfSlotsL. IPC: %d Number of slots: %d",aIpc, numberOfSlots ); |
536 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_NUMBEROFSLOTSL_1, "TSY: CMmPacketContextTsy::NumberOfSlotsL. IPC: %{TIPCNamesList} Number of slots: %d",aIpc, numberOfSlots ); |
536 |
537 |
537 return numberOfSlots; |
538 return numberOfSlots; |
538 |
539 |
539 } |
540 } |
540 |
541 |
552 // |
553 // |
553 TInt CMmPacketContextTsy::CancelService( |
554 TInt CMmPacketContextTsy::CancelService( |
554 const TInt aIpc, |
555 const TInt aIpc, |
555 const TTsyReqHandle aTsyReqHandle ) |
556 const TTsyReqHandle aTsyReqHandle ) |
556 { |
557 { |
557 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_CANCELSERVICE_1, "TSY: CMmPacketContextTsy::CancelService. IPC: %d Handle:%d",aIpc, aTsyReqHandle ); |
558 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_CANCELSERVICE_1, "TSY: CMmPacketContextTsy::CancelService. IPC: %{TIPCNamesList} Handle:%d",aIpc, aTsyReqHandle ); |
558 |
559 |
559 TInt ret( KErrNone ); |
560 TInt ret( KErrNone ); |
560 TTsyReqHandle reqHandle( NULL ); |
561 TTsyReqHandle reqHandle( NULL ); |
561 |
562 |
562 #ifdef ADD_REMOVE_PACKETFILTER_DEFECT_FIXED // search for this up from bottom of file |
563 #ifdef ADD_REMOVE_PACKETFILTER_DEFECT_FIXED // search for this up from bottom of file |
676 // --------------------------------------------------------------------------- |
677 // --------------------------------------------------------------------------- |
677 // |
678 // |
678 TInt CMmPacketContextTsy::RegisterNotification( |
679 TInt CMmPacketContextTsy::RegisterNotification( |
679 const TInt aIpc ) |
680 const TInt aIpc ) |
680 { |
681 { |
681 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_REGISTERNOTIFICATION_1, "TSY: CMmPacketContextTsy::RegisterNotification. IPC: %d", aIpc ); |
682 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_REGISTERNOTIFICATION_1, "TSY: CMmPacketContextTsy::RegisterNotification. IPC: %{TIPCNamesList}", aIpc ); |
682 |
683 |
683 TInt ret( KErrNone ); |
684 TInt ret( KErrNone ); |
684 |
685 |
685 switch ( aIpc ) |
686 switch ( aIpc ) |
686 { |
687 { |
718 // --------------------------------------------------------------------------- |
719 // --------------------------------------------------------------------------- |
719 // |
720 // |
720 TInt CMmPacketContextTsy::DeregisterNotification( |
721 TInt CMmPacketContextTsy::DeregisterNotification( |
721 const TInt aIpc ) |
722 const TInt aIpc ) |
722 { |
723 { |
723 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_DEREGISTERNOTIFICATION_1, "TSY: CMmPacketContextTsy::DeregisterNotification. IPC: %d", aIpc ); |
724 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_DEREGISTERNOTIFICATION_1, "TSY: CMmPacketContextTsy::DeregisterNotification. IPC: %{TIPCNamesList}", aIpc ); |
724 |
725 |
725 TInt ret( KErrNone ); |
726 TInt ret( KErrNone ); |
726 |
727 |
727 switch ( aIpc ) |
728 switch ( aIpc ) |
728 { |
729 { |
760 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_OPENNEWOBJECTL_1, "TSY: CMmPacketContextTsy::OpenNewObjectL." ); |
761 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_OPENNEWOBJECTL_1, "TSY: CMmPacketContextTsy::OpenNewObjectL." ); |
761 |
762 |
762 // Each context can have only one QoS |
763 // Each context can have only one QoS |
763 if ( NULL != iQoSProfile ) |
764 if ( NULL != iQoSProfile ) |
764 { |
765 { |
765 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_OPENNEWOBJECTL_2, "TSY: CMmPacketContextTsy::OpenNewObjectL. Leaves with: %d", KErrAlreadyExists ); |
766 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_OPENNEWOBJECTL_2, "TSY: CMmPacketContextTsy::OpenNewObjectL. Leaves with: %{TSymbianErrorCodes}", KErrAlreadyExists ); |
766 User::Leave( KErrAlreadyExists ); |
767 User::Leave( KErrAlreadyExists ); |
767 } |
768 } |
768 |
769 |
769 else |
770 else |
770 { |
771 { |
792 { |
793 { |
793 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_OPENNEWOBJECTBYNAMEL_1, "TSY: CMmPacketContextTsy::OpenNewObjectByNameL. aName: %S", aName ); |
794 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_OPENNEWOBJECTBYNAMEL_1, "TSY: CMmPacketContextTsy::OpenNewObjectByNameL. aName: %S", aName ); |
794 |
795 |
795 if ( aName != iQoSProfileName ) |
796 if ( aName != iQoSProfileName ) |
796 { |
797 { |
797 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_OPENNEWOBJECTBYNAMEL_2, "TSY: CMmPacketContextTsy::OpenNewObjectByNameL. Leaves with: %d", KErrNotFound ); |
798 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_OPENNEWOBJECTBYNAMEL_2, "TSY: CMmPacketContextTsy::OpenNewObjectByNameL. Leaves with: %{TSymbianErrorCodes}", KErrNotFound ); |
798 User::Leave( KErrNotFound ); |
799 User::Leave( KErrNotFound ); |
799 } |
800 } |
800 |
801 |
801 return iQoSProfile; |
802 return iQoSProfile; |
802 } |
803 } |
831 // (other items were commented in a header). |
832 // (other items were commented in a header). |
832 // --------------------------------------------------------------------------- |
833 // --------------------------------------------------------------------------- |
833 // |
834 // |
834 void CMmPacketContextTsy::CompleteInitialiseContext(const TInt aResult ) |
835 void CMmPacketContextTsy::CompleteInitialiseContext(const TInt aResult ) |
835 { |
836 { |
836 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEINITIALISECONTEXT_1, "TSY: CMmPacketContextTsy::CompleteInitialiseContext. Error: %d", aResult ); |
837 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEINITIALISECONTEXT_1, "TSY: CMmPacketContextTsy::CompleteInitialiseContext. Error: %{TSymbianErrorCodes}", aResult ); |
837 |
838 |
838 // Reset the req handle. Returns the deleted req handle |
839 // Reset the req handle. Returns the deleted req handle |
839 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
840 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
840 EMultimodePacketContextInitialiseContext ); |
841 EMultimodePacketContextInitialiseContext ); |
841 |
842 |
886 // --------------------------------------------------------------------------- |
887 // --------------------------------------------------------------------------- |
887 // |
888 // |
888 void CMmPacketContextTsy::CompleteActivate( |
889 void CMmPacketContextTsy::CompleteActivate( |
889 const TInt aResult ) |
890 const TInt aResult ) |
890 { |
891 { |
891 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEACTIVATE_1, "TSY: CMmPacketContextTsy::CompleteActivate. Error: %d", aResult ); |
892 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEACTIVATE_1, "TSY: CMmPacketContextTsy::CompleteActivate. Error: %{TSymbianErrorCodes}", aResult ); |
892 // Reset the req handle. Returns the deleted req handle |
893 // Reset the req handle. Returns the deleted req handle |
893 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
894 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
894 EMultimodePacketContextActivate ); |
895 EMultimodePacketContextActivate ); |
895 |
896 |
896 if ( EMultimodePacketContextReqHandleUnknown != reqHandle ) |
897 if ( EMultimodePacketContextReqHandleUnknown != reqHandle ) |
931 // --------------------------------------------------------------------------- |
932 // --------------------------------------------------------------------------- |
932 // |
933 // |
933 void CMmPacketContextTsy::CompleteDeactivate( |
934 void CMmPacketContextTsy::CompleteDeactivate( |
934 const TInt aResult ) |
935 const TInt aResult ) |
935 { |
936 { |
936 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEDEACTIVATE_1, "TSY: CMmPacketContextTsy::CompleteDeactivate. Error: %d", aResult ); |
937 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEDEACTIVATE_1, "TSY: CMmPacketContextTsy::CompleteDeactivate. Error: %{TSymbianErrorCodes}", aResult ); |
937 // Reset the req handle. Returns the deleted req handle |
938 // Reset the req handle. Returns the deleted req handle |
938 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
939 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
939 EMultimodePacketContextDeactivate ); |
940 EMultimodePacketContextDeactivate ); |
940 |
941 |
941 if ( EMultimodePacketContextReqHandleUnknown != reqHandle ) |
942 if ( EMultimodePacketContextReqHandleUnknown != reqHandle ) |
980 // --------------------------------------------------------------------------- |
981 // --------------------------------------------------------------------------- |
981 // |
982 // |
982 void CMmPacketContextTsy::CompleteDelete( |
983 void CMmPacketContextTsy::CompleteDelete( |
983 const TInt aResult ) |
984 const TInt aResult ) |
984 { |
985 { |
985 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEDELETE_1, "TSY: CMmPacketContextTsy::CompleteDelete. Error: %d", aResult ); |
986 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEDELETE_1, "TSY: CMmPacketContextTsy::CompleteDelete. Error: %{TSymbianErrorCodes}", aResult ); |
986 // Reset the req handle. Returns the deleted req handle |
987 // Reset the req handle. Returns the deleted req handle |
987 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
988 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
988 EMultimodePacketContextDelete ); |
989 EMultimodePacketContextDelete ); |
989 |
990 |
990 if ( EMultimodePacketContextReqHandleUnknown != reqHandle ) |
991 if ( EMultimodePacketContextReqHandleUnknown != reqHandle ) |
1081 // --------------------------------------------------------------------------- |
1082 // --------------------------------------------------------------------------- |
1082 // |
1083 // |
1083 void CMmPacketContextTsy::CompleteGetDataVolumeTransferred( |
1084 void CMmPacketContextTsy::CompleteGetDataVolumeTransferred( |
1084 const TInt aResult ) |
1085 const TInt aResult ) |
1085 { |
1086 { |
1086 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEGETDATAVOLUMETRANSFERRED_1, "TSY: CMmPacketContextTsy::CompleteGetDataVolumeTransferred. Error: %d", aResult ); |
1087 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETEGETDATAVOLUMETRANSFERRED_1, "TSY: CMmPacketContextTsy::CompleteGetDataVolumeTransferred. Error: %{TSymbianErrorCodes}", aResult ); |
1087 |
1088 |
1088 // Reset the req handle. Returns the deleted req handle |
1089 // Reset the req handle. Returns the deleted req handle |
1089 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
1090 TTsyReqHandle reqHandle = iTsyReqHandleStore->ResetTsyReqHandle( |
1090 EMultimodePacketContextGetDataVolumeTransferred ); |
1091 EMultimodePacketContextGetDataVolumeTransferred ); |
1091 |
1092 |
1114 // |
1115 // |
1115 TInt CMmPacketContextTsy::GetLastErrorCause( |
1116 TInt CMmPacketContextTsy::GetLastErrorCause( |
1116 const TTsyReqHandle aTsyReqHandle, |
1117 const TTsyReqHandle aTsyReqHandle, |
1117 TInt* const aError ) |
1118 TInt* const aError ) |
1118 { |
1119 { |
1119 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_GETLASTERRORCAUSE_1, "TSY: CMmPacketContextTsy::GetLastErrorCause. Context name:%S Last error cause: %d",iContextName, iLastErrorCause ); |
1120 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_GETLASTERRORCAUSE_1, "TSY: CMmPacketContextTsy::GetLastErrorCause. Context name:%S Last error cause: %{TSymbianErrorCodes}",iContextName, iLastErrorCause ); |
1120 |
1121 |
1121 *aError = iLastErrorCause; |
1122 *aError = iLastErrorCause; |
1122 CMmPacketContextTsy::ReqCompleted( aTsyReqHandle, KErrNone ); |
1123 CMmPacketContextTsy::ReqCompleted( aTsyReqHandle, KErrNone ); |
1123 |
1124 |
1124 return KErrNone; |
1125 return KErrNone; |
1387 // |
1388 // |
1388 void CMmPacketContextTsy::CompleteSetConfig( |
1389 void CMmPacketContextTsy::CompleteSetConfig( |
1389 const TInt aError, |
1390 const TInt aError, |
1390 TBool aIsAddMediaAuthorizationCalled ) |
1391 TBool aIsAddMediaAuthorizationCalled ) |
1391 { |
1392 { |
1392 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETESETCONFIG_1, "TSY: CMmPacketContextTsy::CompleteSetConfig. Error: %d", aError ); |
1393 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_COMPLETESETCONFIG_1, "TSY: CMmPacketContextTsy::CompleteSetConfig. Error: %{TSymbianErrorCodes}", aError ); |
1393 |
1394 |
1394 TTsyReqHandle reqHandle( EMultimodePacketContextReqHandleUnknown ); |
1395 TTsyReqHandle reqHandle( EMultimodePacketContextReqHandleUnknown ); |
1395 //if context exists eg. its name length is bigger than zero |
1396 //if context exists eg. its name length is bigger than zero |
1396 if( 0 == CMmPacketContextTsy::HostCID().Length() ) |
1397 if( 0 == CMmPacketContextTsy::HostCID().Length() ) |
1397 { |
1398 { |
1510 RPacketContext::EStatusDeactivating == iContextStatus ) |
1511 RPacketContext::EStatusDeactivating == iContextStatus ) |
1511 { |
1512 { |
1512 iLastErrorCause = aErrorCause; |
1513 iLastErrorCause = aErrorCause; |
1513 } |
1514 } |
1514 |
1515 |
1515 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_SETLASTERRORCAUSE_1, "TSY: CMmPacketContextTsy::SetLastErrorCause. aErrorCause: %d iLastErrorCause:%d", aErrorCause, iLastErrorCause ); |
1516 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_SETLASTERRORCAUSE_1, "TSY: CMmPacketContextTsy::SetLastErrorCause. aErrorCause: %{TSymbianErrorCodes} iLastErrorCause:%{TSymbianErrorCodes}", aErrorCause, iLastErrorCause ); |
1516 |
1517 |
1517 } |
1518 } |
1518 |
1519 |
1519 // --------------------------------------------------------------------------- |
1520 // --------------------------------------------------------------------------- |
1520 // CMmPacketContextTsy::ContextStatus |
1521 // CMmPacketContextTsy::ContextStatus |
1611 // |
1612 // |
1612 void CMmPacketContextTsy::ReqCompleted( |
1613 void CMmPacketContextTsy::ReqCompleted( |
1613 const TTsyReqHandle aTsyReqHandle, |
1614 const TTsyReqHandle aTsyReqHandle, |
1614 const TInt aError ) |
1615 const TInt aError ) |
1615 { |
1616 { |
1616 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_REQCOMPLETED_1, "TSY: CMmPacketContextTsy::ReqCompleted. Handle:%d Error:%d", aTsyReqHandle, aError ); |
1617 OstTraceDefExt3(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_REQCOMPLETED_1, "TSY: CMmPacketContextTsy::ReqCompleted. Error:%{TSymbianErrorCodes} Handle:%d Object:0x%08x", (TInt)aError, (TUint)aTsyReqHandle, (TUint)this); |
1617 |
1618 |
1618 // Set last error cause |
1619 // Set last error cause |
1619 if ( KErrNone != aError ) |
1620 if ( KErrNone != aError ) |
1620 { |
1621 { |
1621 iLastErrorCause = aError; |
1622 iLastErrorCause = aError; |
1622 } |
1623 } |
1623 |
1624 |
1624 CTelObject::ReqCompleted( aTsyReqHandle, aError ); |
1625 CTelObject::ReqCompleted( aTsyReqHandle, aError ); |
1625 |
1626 |
|
1627 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPACKETCONTEXTTSY_REQCOMPLETED_2, "<-- TSY: CMmPacketContextTsy::ReqCompleted"); |
1626 } |
1628 } |
1627 |
1629 |
1628 #ifdef REQHANDLE_TIMER |
1630 #ifdef REQHANDLE_TIMER |
1629 |
1631 |
1630 |
1632 |