CMmNetTsy Class Reference

class CMmNetTsy : public CBase

CMmPhoneTsy contains mode-independent phone functionality. Extension request handles and parameters are stored as attributes.

Inherits from

Public Member Functions
~CMmNetTsy(void)
TInt CancelService(const TInt, const TTsyReqHandle)
TBool CipheringIndicatorForcedOff()
voidCompleteCellInfoIndReq(CMmDataPackage *, TInt)
voidCompleteCellInfoReq(CMmDataPackage *, TInt)
voidCompleteGetCipheringIndicatorStatus(CMmDataPackage *, TInt)
voidCompleteGetCurrentActiveUSimApplication(CMmDataPackage *, TInt)
voidCompleteGetDetectedNetworksCancel(TInt)
voidCompleteGetNetworkRegistrationStatus(TInt)
voidCompleteGetPreferredNetworksListPhase1(TInt, CMmDataPackage *)
voidCompleteNotifyCurrentNetworkChange(CMmDataPackage *, TInt)
voidCompleteNotifyModeChange(CMmDataPackage *, TInt)
voidCompleteNotifyNITZInfoChange(CMmDataPackage *)
voidCompleteNotifyNetworkRegistrationStatusChange(CMmDataPackage *, TInt)
voidCompleteNotifyNetworkSecurityLevelChange(CMmDataPackage *)
voidCompleteNotifyNetworkSelectionSettingChange(CMmDataPackage *)
voidCompleteNotifySignalStrengthChange(CMmDataPackage *)
voidCompleteSelectNetwork(TInt)
voidCompleteSelectNetworkCancel(TInt)
voidCompleteSetNetworkSelectionSetting(TInt)
voidCompleteStorePreferredNetworksList(TInt)
TInt DoExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &)
RMobilePhone::TMobilePhonePrivacy &GetCallPrivacyInformation()
RMobilePhone::TMobilePhoneNetworkMode GetNetworkMode()
RMobilePhone::TMobilePhoneRegistrationStatus GetNetworkRegistrationStatus()
CMmNetTsy *NewL(CMmPhoneTsy *)
voidProcessGetAuthorizationInfoPhase1L(CMmDataPackage *, TInt)
TInt ProcessGetDetectedNetworksPhase1L(CMmDataPackage *, TInt)
voidReceivedCallPrivacyInformation(CMmDataPackage *)
Private Member Functions
CMmNetTsy()
TInt CancelToDosL(const TInt)
voidCompleteNotifyStorePreferredNetworksListChange()
voidConstructL()
TInt DoGetCellInfoReqL(const TTsyReqHandle, TPckg< RMobilePhone::TMultimodeType > *)
TInt DoNotifyCellInfoChangeL(const TTsyReqHandle)
TInt GetAuthorizationInfoPhase1Cancel()
TInt GetAuthorizationInfoPhase1L(const TTsyReqHandle, RMobilePhone::TClientId *, TInt *)
TInt GetAuthorizationInfoPhase2L(TTsyReqHandle, RMobilePhone::TClientId *, TDes8 *)
TInt GetCellInfoCancel(const TTsyReqHandle)
TInt GetCellInfoL(const TTsyReqHandle, TDes8 *)
TInt GetCipheringIndicatorStatusCancel(void)
TInt GetCipheringIndicatorStatusL(const TTsyReqHandle, const TDataPackage &)
TInt GetCurrentActiveUSimApplicationCancel()
TInt GetCurrentActiveUSimApplicationL(const TTsyReqHandle, RMobilePhone::TAID *)
TInt GetCurrentMode(const TTsyReqHandle, RMobilePhone::TMobilePhoneNetworkMode *)
TInt GetCurrentModeCancel(const TTsyReqHandle)
TInt GetCurrentNetwork(const TTsyReqHandle, TDes8 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)
TInt GetCurrentNetworkNoLocation(const TTsyReqHandle, TDes8 *)
TInt GetDetectedNetworksCancelL(const TTsyReqHandle)
TInt GetDetectedNetworksPhase1L(const TTsyReqHandle, RMobilePhone::TClientId *, TInt *)
TInt GetDetectedNetworksPhase2(const TTsyReqHandle, RMobilePhone::TClientId *, TDes8 *)
TInt GetHomeNetwork(const TTsyReqHandle, TDes8 *)
TInt GetNITZInfo(const TTsyReqHandle, RMobilePhone::TMobilePhoneNITZ *)
TInt GetNetworkCaps(const TTsyReqHandle, TUint32 *)
TInt GetNetworkName(const TTsyReqHandle, TDes8 *, TDes8 *)
TInt GetNetworkRegistrationStatusCancel(const TTsyReqHandle)
TInt GetNetworkRegistrationStatusL(const TTsyReqHandle, RMobilePhone::TMobilePhoneRegistrationStatus *)
TInt GetNetworkSecurityLevel(const TTsyReqHandle, RMobilePhone::TMobilePhoneNetworkSecurity *)
TInt GetNetworkSelectionSetting(const TTsyReqHandle, TDes8 *)
TInt GetPreferredNetworksListCancel(const TTsyReqHandle)
TInt GetPreferredNetworksListPhase1L(const TTsyReqHandle, RMobilePhone::TClientId const *, TInt *)
TInt GetPreferredNetworksListPhase2(const TTsyReqHandle, RMobilePhone::TClientId const *, TDes8 *)
TInt GetSignalCaps(const TTsyReqHandle, TUint32 *)
TInt GetSignalStrength(const TTsyReqHandle, TInt32 *, TInt8 *)
voidHandleCellInfoUpdate(CMmDataPackage *, TInt, RArray< TCellInformationRequest > &)
TBool IsAreaInfoChanged(const RMobilePhone::TMobilePhoneLocationAreaV1 &, const RMobilePhone::TMobilePhoneLocationAreaV1 &)
TBool IsNetworkInfoChanged(const RMobilePhone::TMobilePhoneNetworkInfoV8 &, const RMobilePhone::TMobilePhoneNetworkInfoV8 &)
TInt NotifyCellInfoChangeCancel(const TTsyReqHandle)
TInt NotifyCellInfoChangeL(const TTsyReqHandle, TDes8 *)
TInt NotifyCurrentNetworkChangeCancel(const TTsyReqHandle)
TInt NotifyCurrentNetworkChangeL(const TTsyReqHandle, TDes8 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)
TInt NotifyCurrentNetworkNoLocationChangeCancel(const TTsyReqHandle)
TInt NotifyCurrentNetworkNoLocationChangeL(const TTsyReqHandle, TDes8 *)
TInt NotifyModeChange(RMobilePhone::TMobilePhoneNetworkMode *)
TInt NotifyModeChangeCancel(const TTsyReqHandle)
TInt NotifyNITZInfoChange(RMobilePhone::TMobilePhoneNITZ *)
TInt NotifyNITZInfoChangeCancel(const TTsyReqHandle)
TInt NotifyNetworkRegistrationStatusChange(RMobilePhone::TMobilePhoneRegistrationStatus *)
TInt NotifyNetworkRegistrationStatusChangeCancel(const TTsyReqHandle)
TInt NotifyNetworkSecurityLevelChange(RMobilePhone::TMobilePhoneNetworkSecurity *)
TInt NotifyNetworkSecurityLevelChangeCancel(void)
TInt NotifyNetworkSelectionSettingChange(TDes8 *)
TInt NotifyNetworkSelectionSettingChangeCancel(const TTsyReqHandle)
TInt NotifySignalStrengthChange(TInt32 *, TInt8 *)
TInt NotifySignalStrengthChangeCancel(const TTsyReqHandle)
TInt NotifyStorePreferredNetworksListChange()
TInt NotifyStorePreferredNetworksListChangeCancel(const TTsyReqHandle)
voidReadVariantOptions()
TInt SelectNetworkCancelL(const TTsyReqHandle)
TInt SelectNetworkL(const TTsyReqHandle, const TDataPackage &)
TInt SetNetworkSelectionSettingL(const TTsyReqHandle, const TDataPackage &)
TInt StorePreferredNetworksListL(const TTsyReqHandle, TDes8 *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
HBufC8 *iAuthInfoBuffer
TInt *iAuthorizationInfoBufferSize
RMobilePhone::TClientId iAuthorizationInfoClientId
TInt *iBufSizeGetPrefPLMN
TCachedAttribute< RMobilePhone::TMobilePhoneCellInfoV9 >iCachedCellInfoV9
RArray< TCellInformationRequest >iCellInfoRequests
TBool iCipheringIndicatorForcedOff
RMobilePhone::TClientId *iClientIdGetPrefPLMN
CArrayPtrFlat< CListReadAllAttempt > *iGetDetectedNetworks
CBufBase *iGetPrefPLMNList
CMmPhoneTsy *iMmPhoneTsy
RMobilePhone::TMobilePhoneNetworkMode iMode
RMobilePhone::TMobilePhoneRegistrationStatus iNWRegistrationStatus
RMobilePhone::TMobilePhoneSelectionMethod iNWSelectionSettingMethod
RArray< TCellInformationRequest >iNotifyCellInfoRequests
RArray< TNwInfoRequest >iNotifyCurrentNwNoLocationRequests
RArray< TNwInfoRequestWithLocation >iNotifyCurrentNwRequests
RPointerArray< TGetNetworkRegisterationRequest >iRegisterationStatusRequests
RMobilePhone::TMobileCallCipheringIndicator *iRetCipheringIndicator
RMobilePhone::TAID *iRetCurrentActiveUSimApplication
RMobilePhone::TClientId *iRetDetectedNwClientId
TInt *iRetGetDetectedNwSize
RMobilePhone::TMobilePhoneLocationAreaV1 *iRetLocationArea
RMobilePhone::TMobilePhoneNetworkMode *iRetNWMode
RMobilePhone::TMobilePhoneRegistrationStatus *iRetNWRegistrationStatus
RMobilePhone::TMobilePhoneNetworkSelectionV1 *iRetNWSelectionSetting
RMobilePhone::TMobilePhoneNITZ *iRetNWTimeInfo
RMobilePhone::TMobilePhoneNetworkSecurity *iRetNetworkSecurityLevel
TInt8 *iRetSignalBars
TInt32 *iRetSignalRssi
TInt8 iSignalBars
TInt32 iSignalRssi
CMobilePhoneStoredNetworkList *iStorePrefPLMNList

Constructor & Destructor Documentation

CMmNetTsy()

CMmNetTsy()[private]

C++ default constructor.

~CMmNetTsy(void)

~CMmNetTsy(void)[virtual]

Destructor.

Parameters

void

Member Functions Documentation

CancelService(const TInt, const TTsyReqHandle)

TInt CancelService(const TIntaIpc,
const TTsyReqHandleaTsyReqHandle
)[virtual]

Cancels request that's IPC number and request handle are given in parameters

Parameters

const TInt aIpcrequest IPC number
const TTsyReqHandle aTsyReqHandleTSY request handle

CancelToDosL(const TInt)

TInt CancelToDosL(const TIntaIpc)[private]

Handles cancel methods that cause message sending to DOS.

Parameters

const TInt aIpcrequest IPC number

CipheringIndicatorForcedOff()

TBool CipheringIndicatorForcedOff()

Returns ETrue if the ciphering indication is forced off.

CompleteCellInfoIndReq(CMmDataPackage *, TInt)

voidCompleteCellInfoIndReq(CMmDataPackage *aDataPackage,
TIntaResult
)[virtual]

The LTSY has completed a request for notifications of changes in the cell information.

Parameters

CMmDataPackage * aDataPackagethe data package returned by the LTSY. In this case it will not contain any relevant information.
TInt aResultthe result of the request. KErrNone if the LTSY supports automatic notification of cell information changes. KErrNotSupported if the LTSY does not support notification of cell information changes. Any other standard error codes if there has been an error processing the request.

CompleteCellInfoReq(CMmDataPackage *, TInt)

voidCompleteCellInfoReq(CMmDataPackage *aDataPackage,
TIntaResult
)[virtual]

The LTSY has completed a cell information get request

Parameters

CMmDataPackage * aDataPackagethe data package with the cell information
TInt aResultthe result of the get request

CompleteGetCipheringIndicatorStatus(CMmDataPackage *, TInt)

voidCompleteGetCipheringIndicatorStatus(CMmDataPackage *aDataPackage,
TIntaError
)

Completes an outstanding GetCipheringIndicatorStatus

Parameters

CMmDataPackage * aDataPackage
TInt aError

CompleteGetCurrentActiveUSimApplication(CMmDataPackage *, TInt)

voidCompleteGetCurrentActiveUSimApplication(CMmDataPackage *aDataPackage,
TIntaErrorValue
)

Completes an outstanding GetCurrentActiveUSimApplicationL, which retrieves AID param from LTSY layer

Parameters

CMmDataPackage * aDataPackage
TInt aErrorValue

CompleteGetDetectedNetworksCancel(TInt)

voidCompleteGetDetectedNetworksCancel(TIntaErrorCode)const [virtual]

Completes GetDetectedNetworksCancel request.

Parameters

TInt aErrorCodeError code

CompleteGetNetworkRegistrationStatus(TInt)

voidCompleteGetNetworkRegistrationStatus(TIntaErrorValue)[virtual]

Complete Get Network Registration Status

Parameters

TInt aErrorValueEPOC error code

CompleteGetPreferredNetworksListPhase1(TInt, CMmDataPackage *)

voidCompleteGetPreferredNetworksListPhase1(TIntaError,
CMmDataPackage *aDataPackage
)

Completes an outstanding GetPreferredNetworksListPhase1L, which retrieves Preferred Networks List from LTSY Layer

Parameters

TInt aError
CMmDataPackage * aDataPackage

CompleteNotifyCurrentNetworkChange(CMmDataPackage *, TInt)

voidCompleteNotifyCurrentNetworkChange(CMmDataPackage *aDataPackage,
TIntaResult
)[virtual]

Current network information has changed, the client req is completed

Parameters

CMmDataPackage * aDataPackageIncludes new NW and location info
TInt aResultResult code

CompleteNotifyModeChange(CMmDataPackage *, TInt)

voidCompleteNotifyModeChange(CMmDataPackage *aDataPackage,
TIntaResult
)[virtual]

Completes the NotifyModeChange request

Parameters

CMmDataPackage * aDataPackage
TInt aResult

CompleteNotifyNITZInfoChange(CMmDataPackage *)

voidCompleteNotifyNITZInfoChange(CMmDataPackage *aDataPackage)[virtual]

Time info has been change, the client request is completed.

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyNetworkRegistrationStatusChange(CMmDataPackage *, TInt)

voidCompleteNotifyNetworkRegistrationStatusChange(CMmDataPackage *aDataPackage,
TIntaResult
)[virtual]

Completes the NotifyNetworkRegistrationStatusChange request

Parameters

CMmDataPackage * aDataPackagethe data package with the network registration status
TInt aResultResult code

CompleteNotifyNetworkSecurityLevelChange(CMmDataPackage *)

voidCompleteNotifyNetworkSecurityLevelChange(CMmDataPackage *aDataPackage)

Completes an outstanding NotifyNetworkSecurityLevelChange

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyNetworkSelectionSettingChange(CMmDataPackage *)

voidCompleteNotifyNetworkSelectionSettingChange(CMmDataPackage *aDataPackage)[virtual]

completes the NotifyNetworkSelectionSettingChange request

Parameters

CMmDataPackage * aDataPackage

CompleteNotifySignalStrengthChange(CMmDataPackage *)

voidCompleteNotifySignalStrengthChange(CMmDataPackage *aDataPackage)[virtual]

signal strength has changed, the client request is completed

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyStorePreferredNetworksListChange()

voidCompleteNotifyStorePreferredNetworksListChange()[private]

Completes the notification request for storing Preferred Networks List

CompleteSelectNetwork(TInt)

voidCompleteSelectNetwork(TIntaErrorCode)[virtual]

Notifies the client when the network selection setting changes.

Parameters

TInt aErrorCodeError code

CompleteSelectNetworkCancel(TInt)

voidCompleteSelectNetworkCancel(TIntaErrorCode)[virtual]

Notifies client when network selection setting is cancelled.

Parameters

TInt aErrorCodeError code

CompleteSetNetworkSelectionSetting(TInt)

voidCompleteSetNetworkSelectionSetting(TIntaSuccessCode)[virtual]

Notifies client when network selection mode changes.

Parameters

TInt aSuccessCodeSuccess code

CompleteStorePreferredNetworksList(TInt)

voidCompleteStorePreferredNetworksList(TIntaError)

Completes an outstanding StorePreferredNetworksListL, which stores Preferred Networks List to LTSY layer

Parameters

TInt aError

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

DoExtFuncL(const TTsyReqHandle, const TInt, const TDataPackage &)

TInt DoExtFuncL(const TTsyReqHandleaTsyReqHandle,
const TIntaIpc,
const TDataPackage &aPackage
)

Handles extended client requests. Uses TRAP to ensure functioning on memory allocation failure

Parameters

const TTsyReqHandle aTsyReqHandleTSY request handle
const TInt aIpcrequest IPC number
const TDataPackage & aPackagepackaged request parameters

DoGetCellInfoReqL(const TTsyReqHandle, TPckg< RMobilePhone::TMultimodeType > *)

TInt DoGetCellInfoReqL(const TTsyReqHandleaTsyReqHandle,
TPckg< RMobilePhone::TMultimodeType > *aCellInfoPckg
)[private]

This functions sends the cell information request to the LTSY.

Parameters

const TTsyReqHandle aTsyReqHandlethe TSY request handle
TPckg< RMobilePhone::TMultimodeType > * aCellInfoPckgthe packaged cell information data structure

DoNotifyCellInfoChangeL(const TTsyReqHandle)

TInt DoNotifyCellInfoChangeL(const TTsyReqHandleaTsyReqHandle)[private]

This function do the actual registration for an outstanding cell information change notification request.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

GetAuthorizationInfoPhase1Cancel()

TInt GetAuthorizationInfoPhase1Cancel()[private]

This function cancels an outstanding request for authorization info

GetAuthorizationInfoPhase1L(const TTsyReqHandle, RMobilePhone::TClientId *, TInt *)

TInt GetAuthorizationInfoPhase1L(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TClientId *aClient,
TInt *aBufSize
)[private]

Returns the length of authorization data

Parameters

const TTsyReqHandle aTsyReqHandle
RMobilePhone::TClientId * aClient
TInt * aBufSize

GetAuthorizationInfoPhase2L(TTsyReqHandle, RMobilePhone::TClientId *, TDes8 *)

TInt GetAuthorizationInfoPhase2L(TTsyReqHandleaTsyReqHandle,
RMobilePhone::TClientId *aClient,
TDes8 *aBuffer
)[private]

Returns the authorization data

Parameters

TTsyReqHandle aTsyReqHandle
RMobilePhone::TClientId * aClient
TDes8 * aBuffer

GetCallPrivacyInformation()

RMobilePhone::TMobilePhonePrivacy &GetCallPrivacyInformation()

Get the call privacy information and informs all active calls

GetCellInfoCancel(const TTsyReqHandle)

TInt GetCellInfoCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels an outstanding cell information getter request.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

GetCellInfoL(const TTsyReqHandle, TDes8 *)

TInt GetCellInfoL(const TTsyReqHandleaTsyReqHandle,
TDes8 *aCellInfoPckg
)[private]

This function returns the cell information.

Parameters

const TTsyReqHandle aTsyReqHandlethe TSY request handle
TDes8 * aCellInfoPckg

GetCipheringIndicatorStatusCancel(void)

TInt GetCipheringIndicatorStatusCancel(void)[private]

Cancels an outstanding GetCipheringIndicatorStatus request

Parameters

void

GetCipheringIndicatorStatusL(const TTsyReqHandle, const TDataPackage &)

TInt GetCipheringIndicatorStatusL(const TTsyReqHandleaTsyReqHandle,
const TDataPackage &aDataPackage
)[private]

Gets the status of the ciphering indicator

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
const TDataPackage & aDataPackage

GetCurrentActiveUSimApplicationCancel()

TInt GetCurrentActiveUSimApplicationCancel()[private]

This function cancels an outstanding request for get current active usim application

GetCurrentActiveUSimApplicationL(const TTsyReqHandle, RMobilePhone::TAID *)

TInt GetCurrentActiveUSimApplicationL(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TAID *aAID
)[private]

This function gets current active usim application

Parameters

const TTsyReqHandle aTsyReqHandle
RMobilePhone::TAID * aAIDpointer to client side data

GetCurrentMode(const TTsyReqHandle, RMobilePhone::TMobilePhoneNetworkMode *)

TInt GetCurrentMode(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TMobilePhoneNetworkMode *aMode
)const [private]

This function returns current mode

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
RMobilePhone::TMobilePhoneNetworkMode * aModeMode

GetCurrentModeCancel(const TTsyReqHandle)

TInt GetCurrentModeCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels GetCurrentMode.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle

GetCurrentNetwork(const TTsyReqHandle, TDes8 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)

TInt GetCurrentNetwork(const TTsyReqHandleaTsyReqHandle,
TDes8 *aNetworkInfoPckg,
RMobilePhone::TMobilePhoneLocationAreaV1 *aArea
)const [private]

This function returns current network.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aNetworkInfoPckgnetwork info
RMobilePhone::TMobilePhoneLocationAreaV1 * aArealocation area

GetCurrentNetworkNoLocation(const TTsyReqHandle, TDes8 *)

TInt GetCurrentNetworkNoLocation(const TTsyReqHandleaTsyReqHandle,
TDes8 *aNetworkInfoPckg
)const [private]

This function returns current network, but not the location area.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aNetworkInfoPckgnetwork info

GetDetectedNetworksCancelL(const TTsyReqHandle)

TInt GetDetectedNetworksCancelL(const TTsyReqHandleaTsyReqHandle)const [private]

Cancels an outstanding GetDetectedNetworks request.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle

GetDetectedNetworksPhase1L(const TTsyReqHandle, RMobilePhone::TClientId *, TInt *)

TInt GetDetectedNetworksPhase1L(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TClientId *aClient,
TInt *aBufSize
)[private]

These functions are used to get detected networks.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
RMobilePhone::TClientId * aClientClient id
TInt * aBufSizePointer to the buffer size

GetDetectedNetworksPhase2(const TTsyReqHandle, RMobilePhone::TClientId *, TDes8 *)

TInt GetDetectedNetworksPhase2(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TClientId *aClient,
TDes8 *aBuf
)[private]

Second phase of fetching detected networks.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
RMobilePhone::TClientId * aClientClient id
TDes8 * aBuf

GetHomeNetwork(const TTsyReqHandle, TDes8 *)

TInt GetHomeNetwork(const TTsyReqHandleaTsyReqHandle,
TDes8 *aNetworkInfoPckg
)const [private]

This function returns home network.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aNetworkInfoPckgPointer to network info

GetNITZInfo(const TTsyReqHandle, RMobilePhone::TMobilePhoneNITZ *)

TInt GetNITZInfo(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TMobilePhoneNITZ *aNWTimeInfo
)const [private]

Get network time info.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
RMobilePhone::TMobilePhoneNITZ * aNWTimeInfoNW time

GetNetworkCaps(const TTsyReqHandle, TUint32 *)

TInt GetNetworkCaps(const TTsyReqHandleaTsyReqHandle,
TUint32 *aCaps
)const [private]

This function returns network capabilities

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
TUint32 * aCapsCapabilities

GetNetworkMode()

RMobilePhone::TMobilePhoneNetworkMode GetNetworkMode()const

Get network mode

GetNetworkName(const TTsyReqHandle, TDes8 *, TDes8 *)

TInt GetNetworkName(const TTsyReqHandleaTsyReqHandle,
TDes8 *aNetworkNamePckg,
TDes8 *aPlmnPckg
)const [private]

This function returns current network name.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aNetworkNamePckgnetwork name
TDes8 * aPlmnPckglocation package

GetNetworkRegistrationStatus()

RMobilePhone::TMobilePhoneRegistrationStatus GetNetworkRegistrationStatus()const

Get the known network status

GetNetworkRegistrationStatusCancel(const TTsyReqHandle)

TInt GetNetworkRegistrationStatusCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels network registration status request.

Parameters

const TTsyReqHandle aTsyReqHandle

GetNetworkRegistrationStatusL(const TTsyReqHandle, RMobilePhone::TMobilePhoneRegistrationStatus *)

TInt GetNetworkRegistrationStatusL(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TMobilePhoneRegistrationStatus *aStatus
)[private]

This function returns current network registration status.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
RMobilePhone::TMobilePhoneRegistrationStatus * aStatusRegistration status

GetNetworkSecurityLevel(const TTsyReqHandle, RMobilePhone::TMobilePhoneNetworkSecurity *)

TInt GetNetworkSecurityLevel(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TMobilePhoneNetworkSecurity *aNetworkSecurityLevel
)const [private]

Gets the security level of the current network

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
RMobilePhone::TMobilePhoneNetworkSecurity * aNetworkSecurityLevel

GetNetworkSelectionSetting(const TTsyReqHandle, TDes8 *)

TInt GetNetworkSelectionSetting(const TTsyReqHandleaTsyReqHandle,
TDes8 *aSettingPckg
)[private]

Get network selection setting mode.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aSettingPckgNew setting mode

GetPreferredNetworksListCancel(const TTsyReqHandle)

TInt GetPreferredNetworksListCancel(const TTsyReqHandleaTsyReqHandle)[private]

Cancels the request for Getting Preferred Networks List

Parameters

const TTsyReqHandle aTsyReqHandle

GetPreferredNetworksListPhase1L(const TTsyReqHandle, RMobilePhone::TClientId const *, TInt *)

TInt GetPreferredNetworksListPhase1L(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TClientId const *aId,
TInt *aBufSize
)[private]

Returns minimum size of a buffer to retreive the current Preferred Networks List from SIM

Parameters

const TTsyReqHandle aTsyReqHandle
RMobilePhone::TClientId const * aId
TInt * aBufSize

GetPreferredNetworksListPhase2(const TTsyReqHandle, RMobilePhone::TClientId const *, TDes8 *)

TInt GetPreferredNetworksListPhase2(const TTsyReqHandleaTsyReqHandle,
RMobilePhone::TClientId const *aId,
TDes8 *aBuffer
)[private]

Copies the current Preferred Networks List into the given buffer

Parameters

const TTsyReqHandle aTsyReqHandle
RMobilePhone::TClientId const * aId
TDes8 * aBuffer

GetSignalCaps(const TTsyReqHandle, TUint32 *)

TInt GetSignalCaps(const TTsyReqHandleaTsyReqHandle,
TUint32 *aCaps
)const [private]

This function returns signal capabilities

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TUint32 * aCapsCapabilities

GetSignalStrength(const TTsyReqHandle, TInt32 *, TInt8 *)

TInt GetSignalStrength(const TTsyReqHandleaTsyReqHandle,
TInt32 *aSignalStrength,
TInt8 *aBar
)const [private]

This function returns signal strength.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
TInt32 * aSignalStrengthSignal strength
TInt8 * aBarSignal bar

HandleCellInfoUpdate(CMmDataPackage *, TInt, RArray< TCellInformationRequest > &)

voidHandleCellInfoUpdate(CMmDataPackage *aDataPackage,
TIntaResult,
RArray< TCellInformationRequest > &aRequests
)[private]

This functions is called when new cell information is received. It updates the cache and completes the client requests.

Parameters

CMmDataPackage * aDataPackagethe information received from the LTSY
TInt aResultthe result of the LTSY operation
RArray< TCellInformationRequest > & aRequeststhe client requests that need to be completed

IsAreaInfoChanged(const RMobilePhone::TMobilePhoneLocationAreaV1 &, const RMobilePhone::TMobilePhoneLocationAreaV1 &)

TBool IsAreaInfoChanged(const RMobilePhone::TMobilePhoneLocationAreaV1 &aPreviousNetInfo,
const RMobilePhone::TMobilePhoneLocationAreaV1 &aNewNetInfo
)[private]

Checks if two TMobilePhoneLocationAreaV1 differs

Parameters

const RMobilePhone::TMobilePhoneLocationAreaV1 & aPreviousNetInfo
const RMobilePhone::TMobilePhoneLocationAreaV1 & aNewNetInfo

IsNetworkInfoChanged(const RMobilePhone::TMobilePhoneNetworkInfoV8 &, const RMobilePhone::TMobilePhoneNetworkInfoV8 &)

TBool IsNetworkInfoChanged(const RMobilePhone::TMobilePhoneNetworkInfoV8 &aPreviousNetInfo,
const RMobilePhone::TMobilePhoneNetworkInfoV8 &aNewNetInfo
)[private]

Checks if two TMobilePhoneNetworkInfoV8 differs

Parameters

const RMobilePhone::TMobilePhoneNetworkInfoV8 & aPreviousNetInfo
const RMobilePhone::TMobilePhoneNetworkInfoV8 & aNewNetInfo

NewL(CMmPhoneTsy *)

CMmNetTsy *NewL(CMmPhoneTsy *aPhoneTsy)[static]

Two-phased constructor. return created phone object

Parameters

CMmPhoneTsy * aPhoneTsy

NotifyCellInfoChangeCancel(const TTsyReqHandle)

TInt NotifyCellInfoChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels an outstanding cell information change notification request.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

NotifyCellInfoChangeL(const TTsyReqHandle, TDes8 *)

TInt NotifyCellInfoChangeL(const TTsyReqHandleaTsyReqHandle,
TDes8 *aCellInfoPckg
)[private]

This function is used to request current cell information change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aCellInfoPckgcell info

NotifyCurrentNetworkChangeCancel(const TTsyReqHandle)

TInt NotifyCurrentNetworkChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels an outstanding current network change notification request.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

NotifyCurrentNetworkChangeL(const TTsyReqHandle, TDes8 *, RMobilePhone::TMobilePhoneLocationAreaV1 *)

TInt NotifyCurrentNetworkChangeL(const TTsyReqHandleaTsyReqHandle,
TDes8 *aNetworkInfoPckg,
RMobilePhone::TMobilePhoneLocationAreaV1 *aArea
)[private]

This function is used to request current network change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aNetworkInfoPckgnetwork info
RMobilePhone::TMobilePhoneLocationAreaV1 * aArealocation area

NotifyCurrentNetworkNoLocationChangeCancel(const TTsyReqHandle)

TInt NotifyCurrentNetworkNoLocationChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels an outstanding current network change notification request.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

NotifyCurrentNetworkNoLocationChangeL(const TTsyReqHandle, TDes8 *)

TInt NotifyCurrentNetworkNoLocationChangeL(const TTsyReqHandleaTsyReqHandle,
TDes8 *aNetworkInfoPckg
)[private]

This function is used to request current network change notifications

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
TDes8 * aNetworkInfoPckgnetwork info

NotifyModeChange(RMobilePhone::TMobilePhoneNetworkMode *)

TInt NotifyModeChange(RMobilePhone::TMobilePhoneNetworkMode *aMode)[private]

This function is used to request mode change notifications.

NotifyModeChangeCancel(const TTsyReqHandle)

TInt NotifyModeChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels an outstanding mode change notification req

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle

NotifyNITZInfoChange(RMobilePhone::TMobilePhoneNITZ *)

TInt NotifyNITZInfoChange(RMobilePhone::TMobilePhoneNITZ *aNWTimeInfo)[private]

Notify network time info change.

Parameters

RMobilePhone::TMobilePhoneNITZ * aNWTimeInfoNW time info

NotifyNITZInfoChangeCancel(const TTsyReqHandle)

TInt NotifyNITZInfoChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

Cancel notifications of network time info changes.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

NotifyNetworkRegistrationStatusChange(RMobilePhone::TMobilePhoneRegistrationStatus *)

TInt NotifyNetworkRegistrationStatusChange(RMobilePhone::TMobilePhoneRegistrationStatus *aStatus)[private]

This function is used to request network registration status change notifications.

Parameters

RMobilePhone::TMobilePhoneRegistrationStatus * aStatusRegistration status

NotifyNetworkRegistrationStatusChangeCancel(const TTsyReqHandle)

TInt NotifyNetworkRegistrationStatusChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels an outstanding network registration status change notification request.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

NotifyNetworkSecurityLevelChange(RMobilePhone::TMobilePhoneNetworkSecurity *)

TInt NotifyNetworkSecurityLevelChange(RMobilePhone::TMobilePhoneNetworkSecurity *aNetworkSecurityLevel)[private]

Notifies of the network security level change

Parameters

RMobilePhone::TMobilePhoneNetworkSecurity * aNetworkSecurityLevel

NotifyNetworkSecurityLevelChangeCancel(void)

TInt NotifyNetworkSecurityLevelChangeCancel(void)[private]

Cancels an oustanding NotifyNetworkSecurityLevelChange request

Parameters

void

NotifyNetworkSelectionSettingChange(TDes8 *)

TInt NotifyNetworkSelectionSettingChange(TDes8 *aSettingPckg)[private]

Notify a change in the network selection setting.

Parameters

TDes8 * aSettingPckgNew setting mode

NotifyNetworkSelectionSettingChangeCancel(const TTsyReqHandle)

TInt NotifyNetworkSelectionSettingChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

Notify network selection setting change.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

NotifySignalStrengthChange(TInt32 *, TInt8 *)

TInt NotifySignalStrengthChange(TInt32 *aSignalStrength,
TInt8 *aBar
)[private]

This function is used to request signal strength change notifications

Parameters

TInt32 * aSignalStrengthsignal strength
TInt8 * aBarabsolute number of bars

NotifySignalStrengthChangeCancel(const TTsyReqHandle)

TInt NotifySignalStrengthChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

This function cancels an outstanding signal strength change notification request

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle

NotifyStorePreferredNetworksListChange()

TInt NotifyStorePreferredNetworksListChange()[private]

Subscribes the notification for storing Preferred networks List

NotifyStorePreferredNetworksListChangeCancel(const TTsyReqHandle)

TInt NotifyStorePreferredNetworksListChangeCancel(const TTsyReqHandleaTsyReqHandle)[private]

Cancels the notification request for storing Preferred Networks List

Parameters

const TTsyReqHandle aTsyReqHandle

ProcessGetAuthorizationInfoPhase1L(CMmDataPackage *, TInt)

voidProcessGetAuthorizationInfoPhase1L(CMmDataPackage *aDataPackage,
TIntaError
)

Copies buffer size to authorization info client

Parameters

CMmDataPackage * aDataPackage
TInt aError

ProcessGetDetectedNetworksPhase1L(CMmDataPackage *, TInt)

TInt ProcessGetDetectedNetworksPhase1L(CMmDataPackage *aDataPackage,
TIntaErrorCode
)

First phase of fetching detected networks

Parameters

CMmDataPackage * aDataPackage
TInt aErrorCodeError code

ReadVariantOptions()

voidReadVariantOptions()[private]

Reads from ini file the values of the variant flags

ReceivedCallPrivacyInformation(CMmDataPackage *)

voidReceivedCallPrivacyInformation(CMmDataPackage *aDataPackage)

Get the call privacy information and informs all active calls

Parameters

CMmDataPackage * aDataPackage

SelectNetworkCancelL(const TTsyReqHandle)

TInt SelectNetworkCancelL(const TTsyReqHandleaTsyReqHandle)[private]

Cancels an outstanding asynchronous SetNetwork request.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle

SelectNetworkL(const TTsyReqHandle, const TDataPackage &)

TInt SelectNetworkL(const TTsyReqHandleaTsyReqHandle,
const TDataPackage &aDataPackage
)[private]

Client manually selects a new network to register to.

Parameters

const TTsyReqHandle aTsyReqHandleRequest handle
const TDataPackage & aDataPackage

SetNetworkSelectionSettingL(const TTsyReqHandle, const TDataPackage &)

TInt SetNetworkSelectionSettingL(const TTsyReqHandleaTsyReqHandle,
const TDataPackage &aSettingPackage
)[private]

Set new network selection mode.

Parameters

const TTsyReqHandle aTsyReqHandleTsy request handle
const TDataPackage & aSettingPackage

StorePreferredNetworksListL(const TTsyReqHandle, TDes8 *)

TInt StorePreferredNetworksListL(const TTsyReqHandleaTsyReqHandle,
TDes8 *aBuffer
)[private]

Stores the Preferred Networks List into the SIM

Parameters

const TTsyReqHandle aTsyReqHandle
TDes8 * aBuffer

Member Data Documentation

HBufC8 * iAuthInfoBuffer

HBufC8 *iAuthInfoBuffer[private]

IMS authorization info buffer Own.

TInt * iAuthorizationInfoBufferSize

TInt *iAuthorizationInfoBufferSize[private]

Size of authorization data buffer

RMobilePhone::TClientId iAuthorizationInfoClientId

RMobilePhone::TClientId iAuthorizationInfoClientId[private]

Pointer to authorization data client id

TInt * iBufSizeGetPrefPLMN

TInt *iBufSizeGetPrefPLMN[private]

TCachedAttribute< RMobilePhone::TMobilePhoneCellInfoV9 > iCachedCellInfoV9

TCachedAttribute< RMobilePhone::TMobilePhoneCellInfoV9 >iCachedCellInfoV9[private]

cell info version 9

RArray< TCellInformationRequest > iCellInfoRequests

RArray< TCellInformationRequest >iCellInfoRequests[private]

Stores all handle numbers and client-side pointers to complete cell information get requests.

TBool iCipheringIndicatorForcedOff

TBool iCipheringIndicatorForcedOff[private]

flag for forcing ciphering indicator off

RMobilePhone::TClientId * iClientIdGetPrefPLMN

RMobilePhone::TClientId *iClientIdGetPrefPLMN[private]

CArrayPtrFlat< CListReadAllAttempt > * iGetDetectedNetworks

CArrayPtrFlat< CListReadAllAttempt > *iGetDetectedNetworks[private]

for ProcessGetDetectedNetworksPhase1L Own.

CBufBase * iGetPrefPLMNList

CBufBase *iGetPrefPLMNList[private]

CMmPhoneTsy * iMmPhoneTsy

CMmPhoneTsy *iMmPhoneTsy[private]

Ptr to phonetsy

RMobilePhone::TMobilePhoneNetworkMode iMode

RMobilePhone::TMobilePhoneNetworkMode iMode[private]

Mode (GSM, DAMPS, CDMA, WCDMA,...)

RMobilePhone::TMobilePhoneRegistrationStatus iNWRegistrationStatus

RMobilePhone::TMobilePhoneRegistrationStatus iNWRegistrationStatus[private]

network registration status

RMobilePhone::TMobilePhoneSelectionMethod iNWSelectionSettingMethod

RMobilePhone::TMobilePhoneSelectionMethod iNWSelectionSettingMethod[private]

network selection setting status

RArray< TCellInformationRequest > iNotifyCellInfoRequests

RArray< TCellInformationRequest >iNotifyCellInfoRequests[private]

Stores all handle numbers and client-side pointers to notify cell information change.

RArray< TNwInfoRequest > iNotifyCurrentNwNoLocationRequests

RArray< TNwInfoRequest >iNotifyCurrentNwNoLocationRequests[private]

Stores all handle numbers and client-side pointers to notify current network information no location change.

RArray< TNwInfoRequestWithLocation > iNotifyCurrentNwRequests

RArray< TNwInfoRequestWithLocation >iNotifyCurrentNwRequests[private]

Stores all handle numbers and client-side pointers to notify current network information change.

RPointerArray< TGetNetworkRegisterationRequest > iRegisterationStatusRequests

RPointerArray< TGetNetworkRegisterationRequest >iRegisterationStatusRequests[private]

Stores all handle numbers and client-side pointers to network registeration requests

RMobilePhone::TMobileCallCipheringIndicator * iRetCipheringIndicator

RMobilePhone::TMobileCallCipheringIndicator *iRetCipheringIndicator[private]

pointer to the ciphering indicator

RMobilePhone::TAID * iRetCurrentActiveUSimApplication

RMobilePhone::TAID *iRetCurrentActiveUSimApplication[private]

Pointer to the current active usim application.

RMobilePhone::TClientId * iRetDetectedNwClientId

RMobilePhone::TClientId *iRetDetectedNwClientId[private]

Network client ID

TInt * iRetGetDetectedNwSize

TInt *iRetGetDetectedNwSize[private]

size of the available networks buffer

RMobilePhone::TMobilePhoneLocationAreaV1 * iRetLocationArea

RMobilePhone::TMobilePhoneLocationAreaV1 *iRetLocationArea[private]

pointer to the location area

RMobilePhone::TMobilePhoneNetworkMode * iRetNWMode

RMobilePhone::TMobilePhoneNetworkMode *iRetNWMode[private]

pointer to the current network mode

RMobilePhone::TMobilePhoneRegistrationStatus * iRetNWRegistrationStatus

RMobilePhone::TMobilePhoneRegistrationStatus *iRetNWRegistrationStatus[private]

pointer to the network registration status.

RMobilePhone::TMobilePhoneNetworkSelectionV1 * iRetNWSelectionSetting

RMobilePhone::TMobilePhoneNetworkSelectionV1 *iRetNWSelectionSetting[private]

pointer to the network selection setting

RMobilePhone::TMobilePhoneNITZ * iRetNWTimeInfo

RMobilePhone::TMobilePhoneNITZ *iRetNWTimeInfo[private]

pointer to the date and time

RMobilePhone::TMobilePhoneNetworkSecurity * iRetNetworkSecurityLevel

RMobilePhone::TMobilePhoneNetworkSecurity *iRetNetworkSecurityLevel[private]

pointer to the network security level

TInt8 * iRetSignalBars

TInt8 *iRetSignalBars[private]

pointer to the absolute number of signal bars

TInt32 * iRetSignalRssi

TInt32 *iRetSignalRssi[private]

pointer to the signal strength

TInt8 iSignalBars

TInt8 iSignalBars[private]

percentage of signal "bars" (0-100%) to be displayed.

TInt32 iSignalRssi

TInt32 iSignalRssi[private]

signal strength

CMobilePhoneStoredNetworkList * iStorePrefPLMNList

CMobilePhoneStoredNetworkList *iStorePrefPLMNList[private]