LockDomainCRKeys.h File Reference

const TUid KCRUidLockConf

const TUid KCRUidLockConf

const TUint32 KKeyguardHardwareConf

const TUint32 KKeyguardHardwareConf

Products must configure this value depending on what lock/unlock approach is supported by the device hardware

Possible product modes are are:

EKeyguardDefaultHardware = 0 // no addional hardware support EKeyguardOnePositionSwitch = 1 // one position spring adjusted switch EKeyguardTwoPositionSwitch = 2 // on-off type keyguard switch

EKeyguardDefaultHardware is default in the platform.

const TUint32 KLockKeyguardAllow

const TUint32 KLockKeyguardAllow

Products and applications can set on run-time if keyguard feature should be momentarily disabled/enabled.

Possible run-time modes are are:

EKeyguardNotAllowed = 0 // enabling keyguard is not allowed EKeyguardAllowed = 1 // keyguard works normally

EKeyguardAllowed is default in the platform.

const TUint32 KLockTimerInterval

const TUint32 KLockTimerInterval

Products and applications can configure lock timer interval in microseconds.

KLockDefaultInterval of 2000000 microseconds is default in the platform.

const TUint32 KLockPolicyMode

const TUint32 KLockPolicyMode

Products and applications can change between different Keylock policy configurations by changing policy mode.

Possible run-time modes are are:

ELockDefault = 0 // Used key configuration in default setup ELockSlider = 1 // Used key configuration in slider setup

Products can define new modes if needed.

Configuration ELockDefault is default in the platform.

const TUint32 KLockFirstPrimaryKey

const TUint32 KLockFirstPrimaryKey

Key code sequence number. 1 = primary key , 2 = secondary key. Key number is identified in a hexadecimal reserved in mask 0x00000X00.

const TUint32 KLockFirstSecondaryKey

const TUint32 KLockFirstSecondaryKey

const TUint32 KLockDefaultLockPrimaryConf00

const TUint32 KLockDefaultLockPrimaryConf00

============================================================================ Policy mode default (left soft key+* for unlock/lock and left soft key for device lock) (not used directly) ============================================================================ First scan code key used for locking the phone in the default mode. Works when mode = ELockDefault and type = EActivateKeyguard. Default value is left soft key value with scan code 0xa4.

const TUint32 KLockDefaultLockSecondaryConf00

const TUint32 KLockDefaultLockSecondaryConf00

Second scan code key used for locking the phone in the default mode. Works when mode = ELockDefault and type = EActivateKeyguard. Default value is star key on ITU-keypad with scan code 0x2a.

const TUint32 KLockDefaultUnlockPrimaryConf00

const TUint32 KLockDefaultUnlockPrimaryConf00

First scan code key used for unlocking the phone in the default mode. Works when mode = ELockDefault and type = EDeactivateKeyguard. Default value is left soft key with scan code 0xa4.

const TUint32 KLockDefaultUnlockSecondaryConf00

const TUint32 KLockDefaultUnlockSecondaryConf00

Second scan code key used for unlocking the phone in the default mode. Works when mode = ELockDefault and type = EDeactivateKeyguard. Default value is star key with scan code 0x2a.

const TUint32 KLockDefaultSecQueryPrimaryConf00

const TUint32 KLockDefaultSecQueryPrimaryConf00

Scan code key used for showing security query when device is locked in the default mode. Works when mode = ELockDefault and type = EDevicelockQuery. Default value is left soft key with scan code 0xa4.

const TUint32 KLockSliderLockPrimaryConf00

const TUint32 KLockSliderLockPrimaryConf00

============================================================================ Policy mode slider (left soft key+right soft key for unlock/lock and left soft key for device lock) (not used directly) ============================================================================ First scan code key used for locking the phone in the slider mode. Works when mode = ELockSlider and type = EActivateKeyguard. Default value is left soft key with scan code 0xa4.

const TUint32 KLockSliderLockSecondaryConf00

const TUint32 KLockSliderLockSecondaryConf00

Second scan code key used for locking the phone in the slider mode. Works when mode = ELockSlider and type = EActivateKeyguard. Default value is right soft key with scan code 0xa5.

const TUint32 KLockSliderUnlockPrimaryConf00

const TUint32 KLockSliderUnlockPrimaryConf00

First scan code key used for unlocking the phone in the slider mode. Works when mode = ELockSlider and type = EDeactivateKeyguard. Default value is left soft key with scan code 0xa4.

const TUint32 KLockSliderUnlockSecondaryConf00

const TUint32 KLockSliderUnlockSecondaryConf00

Second scan code key used for unlocking the phone in the slider mode. Works when mode = ELockSlider and type = EDeactivateKeyguard. Default value is right soft key with scan code 0xa5.

const TUint32 KLockSliderSecQueryPrimaryConf00

const TUint32 KLockSliderSecQueryPrimaryConf00

Scan code key used for showing security query when device is locked in the slider mode. Works when mode = ELockSlider and type = EDevicelockQuery. Default value is left soft key with scan code 0xa4.