CSecurityDispatcher Class Reference
class CSecurityDispatcher : public CBase
|
This class is responsible for packing and unpacking data belonging to Security related requests to the Licensee LTSY.
Public Member Functions
|
|
~CSecurityDispatcher
()
|
void
|
CallbackAbortSecurityCode
(
TInt
)
|
void
|
CallbackBootNotifySecurityReady
(
TInt
)
|
void
|
CallbackCheckSecurityCode
(
TInt
)
|
void
|
CallbackCheckSecurityCodeCancel
(
TInt
)
|
void
|
CallbackDisablePhoneLock
(
TInt
)
|
void
|
CallbackGetCipheringInfo
(
TInt
,
TBool
)
|
void
|
CallbackGetCurrentActivePin
(
TInt
,
RMobilePhone::TMobilePhoneSecurityCode
)
|
void
|
CallbackGetLockInfo
(
TInt
,
RMobilePhone::TMobilePhoneLockStatus
,
RMobilePhone::TMobilePhoneLockSetting
)
|
void
|
CallbackGetPin1DisableSupported
(
TInt
,
TBool
)
|
void
|
CallbackGetSecurityCodeInfo
(
TInt
,
RMobilePhone::TMobilePhoneSecurityCode
,
TInt
)
|
void
|
CallbackIsSecurityCodeBlocked
(
TInt
,
TBool
)
|
void
|
CallbackNotifyCipheringInfoChange
(
TInt
, const
RMmCustomAPI::TCipheringInfo
&)
|
void
|
CallbackNotifyLockInfoChange
(
TInt
,
RMobilePhone::TMobilePhoneLockStatus
,
RMobilePhone::TMobilePhoneLockSetting
,
RMobilePhone::TMobilePhoneLock
)
|
void
|
CallbackNotifySecurityEvent
(
TInt
,
RMobilePhone::TMobilePhoneSecurityEvent
)
|
void
|
CallbackSetLockSetting
(
TInt
)
|
void
|
CallbackSync
(
CRequestQueueOneShot::TIpcDataPackage
&)
|
void
|
CallbackVerifySecurityCode
(
TInt
)
|
TInt
|
DispatchAbortSecurityCodeL
(const
CMmDataPackage
*)
|
TInt
|
DispatchCheckSecurityCodeCancelL
(const
CMmDataPackage
*)
|
TInt
|
DispatchCheckSecurityCodeL
(const
CMmDataPackage
*)
|
TInt
|
DispatchDisablePhoneLockL
(const
CMmDataPackage
*)
|
TInt
|
DispatchGetCipheringInfoL
()
|
TInt
|
DispatchGetCurrentActivePinL
()
|
TInt
|
DispatchGetLockInfoL
(const
CMmDataPackage
*)
|
TInt
|
DispatchGetPin1DisableSupportedL
()
|
TInt
|
DispatchGetSecurityCodeInfoL
(const
CMmDataPackage
*)
|
TInt
|
DispatchIsSecurityCodeBlockedL
(const
CMmDataPackage
*)
|
TInt
|
DispatchSetLockSettingL
(const
CMmDataPackage
*)
|
TInt
|
DispatchVerifySecurityCodeL
(const
CMmDataPackage
*)
|
CSecurityDispatcher
*
|
NewL
(
MLtsyDispatchFactoryV1
&,
MmMessageManagerCallback
&,
CRequestQueueOneShot
&)
|
CSecurityDispatcher
*
|
NewLC
(
MLtsyDispatchFactoryV1
&,
MmMessageManagerCallback
&,
CRequestQueueOneShot
&)
|
void
|
SetDispatcherHolder
(
TDispatcherHolder
&)
|
Constructor & Destructor Documentation
CSecurityDispatcher(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
~CSecurityDispatcher()
~CSecurityDispatcher
|
(
|
)
|
[virtual]
|
Member Functions Documentation
CallbackAbortSecurityCode(TInt)
void
|
CallbackAbortSecurityCode
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackBootNotifySecurityReady(TInt)
void
|
CallbackBootNotifySecurityReady
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackCheckSecurityCode(TInt)
void
|
CallbackCheckSecurityCode
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackCheckSecurityCodeCancel(TInt)
void
|
CallbackCheckSecurityCodeCancel
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackDisablePhoneLock(TInt)
void
|
CallbackDisablePhoneLock
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackGetCipheringInfo(TInt, TBool)
void
|
CallbackGetCipheringInfo
|
(
|
TInt
|
aError,
|
|
TBool
|
aIndStatus
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TBool
aIndStatus
|
Ciphering indicator status.
|
CallbackGetCurrentActivePin(TInt, RMobilePhone::TMobilePhoneSecurityCode)
void
|
CallbackGetCurrentActivePin
|
(
|
TInt
|
aError,
|
|
RMobilePhone::TMobilePhoneSecurityCode
|
aSecCode
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
RMobilePhone::TMobilePhoneSecurityCode
aSecCode
|
Security code.
|
CallbackGetLockInfo(TInt, RMobilePhone::TMobilePhoneLockStatus, RMobilePhone::TMobilePhoneLockSetting)
void
|
CallbackGetLockInfo
|
(
|
TInt
|
aError,
|
|
RMobilePhone::TMobilePhoneLockStatus
|
aLockStatus,
|
|
RMobilePhone::TMobilePhoneLockSetting
|
aLockSetting
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
RMobilePhone::TMobilePhoneLockStatus
aLockStatus
|
Lock status (unknown, locked, unlocked or blocked).
|
RMobilePhone::TMobilePhoneLockSetting
aLockSetting
|
Lock setting (unknown, enabled, disabled or replaced).
|
CallbackGetPin1DisableSupported(TInt, TBool)
void
|
CallbackGetPin1DisableSupported
|
(
|
TInt
|
aError,
|
|
TBool
|
aIsSupported
|
|
)
|
|
Packages the data returned by the Licensee LTSY and completes the EMmTsyPhoneGetPin1DisableSupportedIPC back to the Common TSY.
Parameters
TInt
aError
|
The error code to complete back.
|
TBool
aIsSupported
|
Is SIM support disabling of PIN1.
|
CallbackGetSecurityCodeInfo(TInt, RMobilePhone::TMobilePhoneSecurityCode, TInt)
void
|
CallbackGetSecurityCodeInfo
|
(
|
TInt
|
aError,
|
|
RMobilePhone::TMobilePhoneSecurityCode
|
aSecCode,
|
|
TInt
|
aRemainingEntryAttempts
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
RMobilePhone::TMobilePhoneSecurityCode
aSecCode
|
Security code.
|
TInt
aRemainingEntryAttempts
|
Number of remaining security code entry attempts before the corresponding lock gets blocked.
|
CallbackIsSecurityCodeBlocked(TInt, TBool)
void
|
CallbackIsSecurityCodeBlocked
|
(
|
TInt
|
aError,
|
|
TBool
|
aIsBlocked
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
TBool
aIsBlocked
|
Is security code blocked.
|
CallbackNotifyCipheringInfoChange(TInt, const RMmCustomAPI::TCipheringInfo &)
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
const
RMmCustomAPI::TCipheringInfo
& aInfo
|
Ciphering information data structure: ciphering indicator and ciphering status.
|
CallbackNotifyLockInfoChange(TInt, RMobilePhone::TMobilePhoneLockStatus, RMobilePhone::TMobilePhoneLockSetting, RMobilePhone::TMobilePhoneLock)
void
|
CallbackNotifyLockInfoChange
|
(
|
TInt
|
aError,
|
|
RMobilePhone::TMobilePhoneLockStatus
|
aStatus,
|
|
RMobilePhone::TMobilePhoneLockSetting
|
aSetting,
|
|
RMobilePhone::TMobilePhoneLock
|
aLock
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
RMobilePhone::TMobilePhoneLockStatus
aStatus
|
Status of the lock (unknown, locked, unlocked or blocked).
|
RMobilePhone::TMobilePhoneLockSetting
aSetting
|
Lock setting (unknown, enabled, disabled or replaced).
|
RMobilePhone::TMobilePhoneLock
aLock
|
Lock information.
|
CallbackNotifySecurityEvent(TInt, RMobilePhone::TMobilePhoneSecurityEvent)
void
|
CallbackNotifySecurityEvent
|
(
|
TInt
|
aError,
|
|
RMobilePhone::TMobilePhoneSecurityEvent
|
aSecEvent
|
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
RMobilePhone::TMobilePhoneSecurityEvent
aSecEvent
|
Security event.
|
CallbackSetLockSetting(TInt)
void
|
CallbackSetLockSetting
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
CallbackSync(CRequestQueueOneShot::TIpcDataPackage &)
CallbackVerifySecurityCode(TInt)
void
|
CallbackVerifySecurityCode
|
(
|
TInt
|
aError
|
)
|
|
Parameters
TInt
aError
|
The error code to be returned to the CTSY Dispatcher.
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Second phase constructor.
DispatchAbortSecurityCodeL(const CMmDataPackage *)
Unpack data related to EMobilePhoneAbortSecurityCode and pass request on to Licensee LTSY.
DispatchCheckSecurityCodeCancelL(const CMmDataPackage *)
Unpack data related to ECustomCheckSecurityCodeCancelIPC and pass request on to Licensee LTSY.
DispatchCheckSecurityCodeL(const CMmDataPackage *)
Unpack data related to ECustomCheckSecurityCodeIPC and pass request on to Licensee LTSY.
DispatchDisablePhoneLockL(const CMmDataPackage *)
Unpack data related to ECustomDisablePhoneLockIPC and pass request on to Licensee LTSY.
DispatchGetCipheringInfoL()
TInt
|
DispatchGetCipheringInfoL
|
(
|
)
|
|
Pass request on to Licensee LTSY.
DispatchGetCurrentActivePinL()
TInt
|
DispatchGetCurrentActivePinL
|
(
|
)
|
|
Pass request on to Licensee LTSY.
DispatchGetLockInfoL(const CMmDataPackage *)
Unpack data related to EMobilePhoneGetLockInfo and pass request on to Licensee LTSY.
DispatchGetPin1DisableSupportedL()
TInt
|
DispatchGetPin1DisableSupportedL
|
(
|
)
|
|
Pass request on to Licensee LTSY.
DispatchGetSecurityCodeInfoL(const CMmDataPackage *)
Unpack data related to EMobilePhoneGetSecurityCodeInfo and pass request on to Licensee LTSY.
DispatchIsSecurityCodeBlockedL(const CMmDataPackage *)
Unpack data related to ECustomIsBlockedIPC and pass request on to Licensee LTSY.
DispatchSetLockSettingL(const CMmDataPackage *)
Unpack data related to EMobilePhoneSetLockSetting and pass request on to Licensee LTSY.
DispatchVerifySecurityCodeL(const CMmDataPackage *)
Unpack data related to EMobilePhoneVerifySecurityCode and pass request on to Licensee LTSY.
NewL(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
NewLC(MLtsyDispatchFactoryV1 &, MmMessageManagerCallback &, CRequestQueueOneShot &)
SetDispatcherHolder(TDispatcherHolder &)
Set the dispatcher holder.
Member Data Documentation
TDispatcherHolder * iDispatcherHolder
MLtsyDispatchSecurityAbortSecurityCode * iLtsyDispatchSecurityAbortSecurityCode
MLtsyDispatchSecurityCheckSecurityCode * iLtsyDispatchSecurityCheckSecurityCode
MLtsyDispatchSecurityCheckSecurityCodeCancel * iLtsyDispatchSecurityCheckSecurityCodeCancel
MLtsyDispatchSecurityDisablePhoneLock * iLtsyDispatchSecurityDisablePhoneLock
MLtsyDispatchSecurityGetCipheringInfo * iLtsyDispatchSecurityGetCipheringInfo
MLtsyDispatchSecurityGetCurrentActivePin * iLtsyDispatchSecurityGetCurrentActivePin
MLtsyDispatchSecurityGetLockInfo * iLtsyDispatchSecurityGetLockInfo
MLtsyDispatchSecurityGetPin1DisableSupported * iLtsyDispatchSecurityGetPin1DisableSupported
MLtsyDispatchSecurityGetSecurityCodeInfo * iLtsyDispatchSecurityGetSecurityCodeInfo
MLtsyDispatchSecurityIsSecurityCodeBlocked * iLtsyDispatchSecurityIsSecurityCodeBlocked
MLtsyDispatchSecuritySetLockSetting * iLtsyDispatchSecuritySetLockSetting
MLtsyDispatchSecurityVerifySecurityCode * iLtsyDispatchSecurityVerifySecurityCode
MLtsyDispatchFactoryV1 & iLtsyFactoryV1
MmMessageManagerCallback & iMessageManagerCallback
CRequestQueueOneShot & iRequestAsyncOneShot
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.