changeset 73 | 70d75957b98f |
parent 53 | 12b52b1a573e |
69:b982c3e940f3 | 73:70d75957b98f |
---|---|
90 TInt CMmSecurityTsy::DoExtFuncL( |
90 TInt CMmSecurityTsy::DoExtFuncL( |
91 const TTsyReqHandle aTsyReqHandle, |
91 const TTsyReqHandle aTsyReqHandle, |
92 const TInt aIpc, |
92 const TInt aIpc, |
93 const TDataPackage& aPackage ) |
93 const TDataPackage& aPackage ) |
94 { |
94 { |
95 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_DOEXTFUNCL_1, "TSY: CMmSecurityTsy::DoExtFuncL.\n \t\t\t IPC:%d\n \t\t\t Handle:%d", aIpc, aTsyReqHandle); |
95 OstTraceDefExt3(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_DOEXTFUNCL_1, "TSY: CMmSecurityTsy::DoExtFuncL. IPC:%{TIPCNamesList} Handle:%u Object:0x%08x", (TUint)aIpc, (TUint)aTsyReqHandle, (TUint)this); |
96 |
96 |
97 TInt ret ( KErrNone ); |
97 TInt ret ( KErrNone ); |
98 |
98 |
99 TAny* dataPtr = aPackage.Ptr1(); |
99 TAny* dataPtr = aPackage.Ptr1(); |
100 |
100 |
155 default: |
155 default: |
156 ret = KErrNotSupported; |
156 ret = KErrNotSupported; |
157 break; |
157 break; |
158 } |
158 } |
159 |
159 |
160 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_DOEXTFUNCL_2, "TSY: CMmSecurityTsy::DoExtFuncL, error=%{TSymbianErrorCodes}", ret); |
|
160 return ret; |
161 return ret; |
161 } |
162 } |
162 |
163 |
163 // --------------------------------------------------------------------------- |
164 // --------------------------------------------------------------------------- |
164 // CMmSecurityTsy::CancelService |
165 // CMmSecurityTsy::CancelService |
611 void CMmSecurityTsy::CompleteSetLockSetting( |
612 void CMmSecurityTsy::CompleteSetLockSetting( |
612 TInt aErrorCode, //Error code |
613 TInt aErrorCode, //Error code |
613 RMobilePhone::TMobilePhoneLockStatus, |
614 RMobilePhone::TMobilePhoneLockStatus, |
614 RMobilePhone::TMobilePhoneLockSetting ) |
615 RMobilePhone::TMobilePhoneLockSetting ) |
615 { |
616 { |
616 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETESETLOCKSETTING_1, "LTSY: CMmSecurityTsy::CompleteSetLockSetting - Error:%d", aErrorCode); |
617 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETESETLOCKSETTING_1, "LTSY: CMmSecurityTsy::CompleteSetLockSetting - Error:%{TSymbianErrorCodes}", aErrorCode); |
617 |
618 |
618 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
619 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
619 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneSetLockSetting ); |
620 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneSetLockSetting ); |
620 |
621 |
621 // Check if handle for set lock setting exists |
622 // Check if handle for set lock setting exists |
674 // --------------------------------------------------------------------------- |
675 // --------------------------------------------------------------------------- |
675 // |
676 // |
676 TInt CMmSecurityTsy::CompleteChangeSecurityCode( |
677 TInt CMmSecurityTsy::CompleteChangeSecurityCode( |
677 TInt aErrorCode ) // Error code |
678 TInt aErrorCode ) // Error code |
678 { |
679 { |
679 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETECHANGESECURITYCODE_1, "TSY: CMmSecurityTsy::CompleteChangeSecurityCode - Error:%d", aErrorCode); |
680 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETECHANGESECURITYCODE_1, "TSY: CMmSecurityTsy::CompleteChangeSecurityCode - Error:%{TSymbianErrorCodes}", aErrorCode); |
680 |
681 |
681 |
682 |
682 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
683 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
683 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneChangeSecurityCode ); |
684 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneChangeSecurityCode ); |
684 |
685 |
765 // |
766 // |
766 void CMmSecurityTsy::CompleteNotifySecurityEventL( |
767 void CMmSecurityTsy::CompleteNotifySecurityEventL( |
767 RMobilePhone::TMobilePhoneSecurityEvent aEvent, |
768 RMobilePhone::TMobilePhoneSecurityEvent aEvent, |
768 TInt aErrorCode ) |
769 TInt aErrorCode ) |
769 { |
770 { |
770 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETENOTIFYSECURITYEVENTL_1, "TSY: CMmSecurityTsy::CompleteNotifySecurityEvent - Event: %d, Error: %d",aEvent, aErrorCode ); |
771 OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETENOTIFYSECURITYEVENTL_1, "TSY: CMmSecurityTsy::CompleteNotifySecurityEvent - Event: %d, Error: %{TSymbianErrorCodes}",aEvent, aErrorCode ); |
771 |
772 |
772 if ( iLastPinRequested != EPinUnknown && |
773 if ( iLastPinRequested != EPinUnknown && |
773 ( RMobilePhone::EPin1Verified == aEvent ) || |
774 ( RMobilePhone::EPin1Verified == aEvent ) || |
774 ( RMobilePhone::EPin2Verified == aEvent ) ) |
775 ( RMobilePhone::EPin2Verified == aEvent ) ) |
775 { |
776 { |
1078 // --------------------------------------------------------------------------- |
1079 // --------------------------------------------------------------------------- |
1079 // |
1080 // |
1080 void CMmSecurityTsy::CompleteVerifySecurityCodeL( |
1081 void CMmSecurityTsy::CompleteVerifySecurityCodeL( |
1081 TInt aErrorCode ) |
1082 TInt aErrorCode ) |
1082 { |
1083 { |
1083 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETEVERIFYSECURITYCODEL_1, "TSY: CMmSecurityTsy::CompleteVerifySecurityCode - Error:%d", aErrorCode); |
1084 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETEVERIFYSECURITYCODEL_1, "TSY: CMmSecurityTsy::CompleteVerifySecurityCode - Error:%{TSymbianErrorCodes}", aErrorCode); |
1084 |
1085 |
1085 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
1086 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
1086 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneVerifySecurityCode ); |
1087 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneVerifySecurityCode ); |
1087 |
1088 |
1088 if ( CMmPhoneTsy::EMultimodePhoneReqHandleUnknown != reqHandle ) |
1089 if ( CMmPhoneTsy::EMultimodePhoneReqHandleUnknown != reqHandle ) |
1264 // --------------------------------------------------------------------------- |
1265 // --------------------------------------------------------------------------- |
1265 // |
1266 // |
1266 void CMmSecurityTsy::CompleteAbortSecurityCode( |
1267 void CMmSecurityTsy::CompleteAbortSecurityCode( |
1267 TInt aErrorCode ) |
1268 TInt aErrorCode ) |
1268 { |
1269 { |
1269 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETEABORTSECURITYCODE_1, "TSY: CMmSecurityTsy::CompleteAbortSecurityCode - Error:%d", aErrorCode); |
1270 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETEABORTSECURITYCODE_1, "TSY: CMmSecurityTsy::CompleteAbortSecurityCode - Error:%{TSymbianErrorCodes}", aErrorCode); |
1270 |
1271 |
1271 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
1272 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
1272 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneAbortSecurityCode ); |
1273 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneAbortSecurityCode ); |
1273 |
1274 |
1274 if ( CMmPhoneTsy::EMultimodePhoneReqHandleUnknown != reqHandle ) |
1275 if ( CMmPhoneTsy::EMultimodePhoneReqHandleUnknown != reqHandle ) |
1297 // |
1298 // |
1298 void CMmSecurityTsy::CompleteGetLockInfo( |
1299 void CMmSecurityTsy::CompleteGetLockInfo( |
1299 CMmDataPackage* aDataPackage, |
1300 CMmDataPackage* aDataPackage, |
1300 TInt aErrorCode ) |
1301 TInt aErrorCode ) |
1301 { |
1302 { |
1302 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETEGETLOCKINFO_1, "LTSY: CMmSecurityTsy::CompleteGetLockInfo - Error:%d", aErrorCode); |
1303 OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMSECURITYTSY_COMPLETEGETLOCKINFO_1, "LTSY: CMmSecurityTsy::CompleteGetLockInfo - Error:%{TSymbianErrorCodes}", aErrorCode); |
1303 |
1304 |
1304 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
1305 TTsyReqHandle reqHandle = iMmPhoneTsy->iTsyReqHandleStore-> |
1305 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneGetLockInfo ); |
1306 ResetTsyReqHandle( CMmPhoneTsy::EMultimodePhoneGetLockInfo ); |
1306 |
1307 |
1307 // check if handle is present |
1308 // check if handle is present |