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 ()
void CompleteCellInfoIndReq ( CMmDataPackage *, TInt )
void CompleteCellInfoReq ( CMmDataPackage *, TInt )
void CompleteGetCipheringIndicatorStatus ( CMmDataPackage *, TInt )
void CompleteGetCurrentActiveUSimApplication ( CMmDataPackage *, TInt )
void CompleteGetDetectedNetworksCancel ( TInt )
void CompleteGetNetworkRegistrationStatus ( TInt )
void CompleteGetPreferredNetworksListPhase1 ( TInt , CMmDataPackage *)
void CompleteNotifyCurrentNetworkChange ( CMmDataPackage *, TInt )
void CompleteNotifyModeChange ( CMmDataPackage *, TInt )
void CompleteNotifyNITZInfoChange ( CMmDataPackage *)
void CompleteNotifyNetworkRegistrationStatusChange ( CMmDataPackage *, TInt )
void CompleteNotifyNetworkSecurityLevelChange ( CMmDataPackage *)
void CompleteNotifyNetworkSelectionSettingChange ( CMmDataPackage *)
void CompleteNotifySignalStrengthChange ( CMmDataPackage *)
void CompleteSelectNetwork ( TInt )
void CompleteSelectNetworkCancel ( TInt )
void CompleteSetNetworkSelectionSetting ( TInt )
void CompleteStorePreferredNetworksList ( TInt )
TInt DoExtFuncL (const TTsyReqHandle , const TInt , const TDataPackage &)
RMobilePhone::TMobilePhonePrivacy & GetCallPrivacyInformation ()
RMobilePhone::TMobilePhoneNetworkMode GetNetworkMode ()
RMobilePhone::TMobilePhoneRegistrationStatus GetNetworkRegistrationStatus ()
CMmNetTsy * NewL ( CMmPhoneTsy *)
void ProcessGetAuthorizationInfoPhase1L ( CMmDataPackage *, TInt )
TInt ProcessGetDetectedNetworksPhase1L ( CMmDataPackage *, TInt )
void ReceivedCallPrivacyInformation ( CMmDataPackage *)
Private Member Functions
CMmNetTsy ()
TInt CancelToDosL (const TInt )
void CompleteNotifyStorePreferredNetworksListChange ()
void ConstructL ()
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 *)
void HandleCellInfoUpdate ( 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 )
void ReadVariantOptions ()
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 TInt aIpc,
const TTsyReqHandle aTsyReqHandle
) [virtual]

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

Parameters

const TInt aIpc request IPC number
const TTsyReqHandle aTsyReqHandle TSY request handle

CancelToDosL(const TInt)

TInt CancelToDosL ( const TInt aIpc ) [private]

Handles cancel methods that cause message sending to DOS.

Parameters

const TInt aIpc request IPC number

CipheringIndicatorForcedOff()

TBool CipheringIndicatorForcedOff ( )

Returns ETrue if the ciphering indication is forced off.

CompleteCellInfoIndReq(CMmDataPackage *, TInt)

void CompleteCellInfoIndReq ( CMmDataPackage * aDataPackage,
TInt aResult
) [virtual]

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

Parameters

CMmDataPackage * aDataPackage the data package returned by the LTSY. In this case it will not contain any relevant information.
TInt aResult the 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)

void CompleteCellInfoReq ( CMmDataPackage * aDataPackage,
TInt aResult
) [virtual]

The LTSY has completed a cell information get request

Parameters

CMmDataPackage * aDataPackage the data package with the cell information
TInt aResult the result of the get request

CompleteGetCipheringIndicatorStatus(CMmDataPackage *, TInt)

void CompleteGetCipheringIndicatorStatus ( CMmDataPackage * aDataPackage,
TInt aError
)

Completes an outstanding GetCipheringIndicatorStatus

Parameters

CMmDataPackage * aDataPackage
TInt aError

CompleteGetCurrentActiveUSimApplication(CMmDataPackage *, TInt)

void CompleteGetCurrentActiveUSimApplication ( CMmDataPackage * aDataPackage,
TInt aErrorValue
)

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

Parameters

CMmDataPackage * aDataPackage
TInt aErrorValue

CompleteGetDetectedNetworksCancel(TInt)

void CompleteGetDetectedNetworksCancel ( TInt aErrorCode ) const [virtual]

Completes GetDetectedNetworksCancel request.

Parameters

TInt aErrorCode Error code

CompleteGetNetworkRegistrationStatus(TInt)

void CompleteGetNetworkRegistrationStatus ( TInt aErrorValue ) [virtual]

Complete Get Network Registration Status

Parameters

TInt aErrorValue EPOC error code

CompleteGetPreferredNetworksListPhase1(TInt, CMmDataPackage *)

void CompleteGetPreferredNetworksListPhase1 ( TInt aError,
CMmDataPackage * aDataPackage
)

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

Parameters

TInt aError
CMmDataPackage * aDataPackage

CompleteNotifyCurrentNetworkChange(CMmDataPackage *, TInt)

void CompleteNotifyCurrentNetworkChange ( CMmDataPackage * aDataPackage,
TInt aResult
) [virtual]

Current network information has changed, the client req is completed

Parameters

CMmDataPackage * aDataPackage Includes new NW and location info
TInt aResult Result code

CompleteNotifyModeChange(CMmDataPackage *, TInt)

void CompleteNotifyModeChange ( CMmDataPackage * aDataPackage,
TInt aResult
) [virtual]

Completes the NotifyModeChange request

Parameters

CMmDataPackage * aDataPackage
TInt aResult

CompleteNotifyNITZInfoChange(CMmDataPackage *)

void CompleteNotifyNITZInfoChange ( CMmDataPackage * aDataPackage ) [virtual]

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

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyNetworkRegistrationStatusChange(CMmDataPackage *, TInt)

void CompleteNotifyNetworkRegistrationStatusChange ( CMmDataPackage * aDataPackage,
TInt aResult
) [virtual]

Completes the NotifyNetworkRegistrationStatusChange request

Parameters

CMmDataPackage * aDataPackage the data package with the network registration status
TInt aResult Result code

CompleteNotifyNetworkSecurityLevelChange(CMmDataPackage *)

void CompleteNotifyNetworkSecurityLevelChange ( CMmDataPackage * aDataPackage )

Completes an outstanding NotifyNetworkSecurityLevelChange

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyNetworkSelectionSettingChange(CMmDataPackage *)

void CompleteNotifyNetworkSelectionSettingChange ( CMmDataPackage * aDataPackage ) [virtual]

completes the NotifyNetworkSelectionSettingChange request

Parameters

CMmDataPackage * aDataPackage

CompleteNotifySignalStrengthChange(CMmDataPackage *)

void CompleteNotifySignalStrengthChange ( CMmDataPackage * aDataPackage ) [virtual]

signal strength has changed, the client request is completed

Parameters

CMmDataPackage * aDataPackage

CompleteNotifyStorePreferredNetworksListChange()

void CompleteNotifyStorePreferredNetworksListChange ( ) [private]

Completes the notification request for storing Preferred Networks List

CompleteSelectNetwork(TInt)

void CompleteSelectNetwork ( TInt aErrorCode ) [virtual]

Notifies the client when the network selection setting changes.

Parameters

TInt aErrorCode Error code

CompleteSelectNetworkCancel(TInt)

void CompleteSelectNetworkCancel ( TInt aErrorCode ) [virtual]

Notifies client when network selection setting is cancelled.

Parameters

TInt aErrorCode Error code

CompleteSetNetworkSelectionSetting(TInt)

void CompleteSetNetworkSelectionSetting ( TInt aSuccessCode ) [virtual]

Notifies client when network selection mode changes.

Parameters

TInt aSuccessCode Success code

CompleteStorePreferredNetworksList(TInt)

void CompleteStorePreferredNetworksList ( TInt aError )

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

Parameters

TInt aError

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

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

TInt DoExtFuncL ( const TTsyReqHandle aTsyReqHandle,
const TInt aIpc,
const TDataPackage & aPackage
)

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

Parameters

const TTsyReqHandle aTsyReqHandle TSY request handle
const TInt aIpc request IPC number
const TDataPackage & aPackage packaged request parameters

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

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

This functions sends the cell information request to the LTSY.

Parameters

const TTsyReqHandle aTsyReqHandle the TSY request handle
TPckg < RMobilePhone::TMultimodeType > * aCellInfoPckg the packaged cell information data structure

DoNotifyCellInfoChangeL(const TTsyReqHandle)

TInt DoNotifyCellInfoChangeL ( const TTsyReqHandle aTsyReqHandle ) [private]

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

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle

GetAuthorizationInfoPhase1Cancel()

TInt GetAuthorizationInfoPhase1Cancel ( ) [private]

This function cancels an outstanding request for authorization info

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

TInt GetAuthorizationInfoPhase1L ( const TTsyReqHandle aTsyReqHandle,
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 ( TTsyReqHandle aTsyReqHandle,
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 TTsyReqHandle aTsyReqHandle ) [private]

This function cancels an outstanding cell information getter request.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle

GetCellInfoL(const TTsyReqHandle, TDes8 *)

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

This function returns the cell information.

Parameters

const TTsyReqHandle aTsyReqHandle the 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 TTsyReqHandle aTsyReqHandle,
const TDataPackage & aDataPackage
) [private]

Gets the status of the ciphering indicator

Parameters

const TTsyReqHandle aTsyReqHandle Request 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 TTsyReqHandle aTsyReqHandle,
RMobilePhone::TAID * aAID
) [private]

This function gets current active usim application

Parameters

const TTsyReqHandle aTsyReqHandle
RMobilePhone::TAID * aAID pointer to client side data

GetCurrentMode(const TTsyReqHandle, RMobilePhone::TMobilePhoneNetworkMode *)

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

This function returns current mode

Parameters

const TTsyReqHandle aTsyReqHandle Request handle
RMobilePhone::TMobilePhoneNetworkMode * aMode Mode

GetCurrentModeCancel(const TTsyReqHandle)

TInt GetCurrentModeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

This function cancels GetCurrentMode.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle

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

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

This function returns current network.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aNetworkInfoPckg network info
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea location area

GetCurrentNetworkNoLocation(const TTsyReqHandle, TDes8 *)

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

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

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aNetworkInfoPckg network info

GetDetectedNetworksCancelL(const TTsyReqHandle)

TInt GetDetectedNetworksCancelL ( const TTsyReqHandle aTsyReqHandle ) const [private]

Cancels an outstanding GetDetectedNetworks request.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle

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

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

These functions are used to get detected networks.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle
RMobilePhone::TClientId * aClient Client id
TInt * aBufSize Pointer to the buffer size

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

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

Second phase of fetching detected networks.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle
RMobilePhone::TClientId * aClient Client id
TDes8 * aBuf

GetHomeNetwork(const TTsyReqHandle, TDes8 *)

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

This function returns home network.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aNetworkInfoPckg Pointer to network info

GetNITZInfo(const TTsyReqHandle, RMobilePhone::TMobilePhoneNITZ *)

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

Get network time info.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
RMobilePhone::TMobilePhoneNITZ * aNWTimeInfo NW time

GetNetworkCaps(const TTsyReqHandle, TUint32 *)

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

This function returns network capabilities

Parameters

const TTsyReqHandle aTsyReqHandle Request handle
TUint32 * aCaps Capabilities

GetNetworkMode()

RMobilePhone::TMobilePhoneNetworkMode GetNetworkMode ( ) const

Get network mode

GetNetworkName(const TTsyReqHandle, TDes8 *, TDes8 *)

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

This function returns current network name.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aNetworkNamePckg network name
TDes8 * aPlmnPckg location package

GetNetworkRegistrationStatus()

RMobilePhone::TMobilePhoneRegistrationStatus GetNetworkRegistrationStatus ( ) const

Get the known network status

GetNetworkRegistrationStatusCancel(const TTsyReqHandle)

TInt GetNetworkRegistrationStatusCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

This function cancels network registration status request.

Parameters

const TTsyReqHandle aTsyReqHandle

GetNetworkRegistrationStatusL(const TTsyReqHandle, RMobilePhone::TMobilePhoneRegistrationStatus *)

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

This function returns current network registration status.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
RMobilePhone::TMobilePhoneRegistrationStatus * aStatus Registration status

GetNetworkSecurityLevel(const TTsyReqHandle, RMobilePhone::TMobilePhoneNetworkSecurity *)

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

Gets the security level of the current network

Parameters

const TTsyReqHandle aTsyReqHandle Request handle
RMobilePhone::TMobilePhoneNetworkSecurity * aNetworkSecurityLevel

GetNetworkSelectionSetting(const TTsyReqHandle, TDes8 *)

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

Get network selection setting mode.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aSettingPckg New setting mode

GetPreferredNetworksListCancel(const TTsyReqHandle)

TInt GetPreferredNetworksListCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

Cancels the request for Getting Preferred Networks List

Parameters

const TTsyReqHandle aTsyReqHandle

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

TInt GetPreferredNetworksListPhase1L ( const TTsyReqHandle aTsyReqHandle,
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 TTsyReqHandle aTsyReqHandle,
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 TTsyReqHandle aTsyReqHandle,
TUint32 * aCaps
) const [private]

This function returns signal capabilities

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TUint32 * aCaps Capabilities

GetSignalStrength(const TTsyReqHandle, TInt32 *, TInt8 *)

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

This function returns signal strength.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle
TInt32 * aSignalStrength Signal strength
TInt8 * aBar Signal bar

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

void HandleCellInfoUpdate ( CMmDataPackage * aDataPackage,
TInt aResult,
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 * aDataPackage the information received from the LTSY
TInt aResult the result of the LTSY operation
RArray < TCellInformationRequest > & aRequests the 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

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 TTsyReqHandle aTsyReqHandle ) [private]

This function cancels an outstanding cell information change notification request.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle

NotifyCellInfoChangeL(const TTsyReqHandle, TDes8 *)

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

This function is used to request current cell information change notifications

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aCellInfoPckg cell info

NotifyCurrentNetworkChangeCancel(const TTsyReqHandle)

TInt NotifyCurrentNetworkChangeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

This function cancels an outstanding current network change notification request.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle

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

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

This function is used to request current network change notifications

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aNetworkInfoPckg network info
RMobilePhone::TMobilePhoneLocationAreaV1 * aArea location area

NotifyCurrentNetworkNoLocationChangeCancel(const TTsyReqHandle)

TInt NotifyCurrentNetworkNoLocationChangeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

This function cancels an outstanding current network change notification request.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle

NotifyCurrentNetworkNoLocationChangeL(const TTsyReqHandle, TDes8 *)

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

This function is used to request current network change notifications

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
TDes8 * aNetworkInfoPckg network info

NotifyModeChange(RMobilePhone::TMobilePhoneNetworkMode *)

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

This function is used to request mode change notifications.

Parameters

RMobilePhone::TMobilePhoneNetworkMode * aMode Mode

NotifyModeChangeCancel(const TTsyReqHandle)

TInt NotifyModeChangeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

This function cancels an outstanding mode change notification req

Parameters

const TTsyReqHandle aTsyReqHandle Request handle

NotifyNITZInfoChange(RMobilePhone::TMobilePhoneNITZ *)

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

Notify network time info change.

Parameters

RMobilePhone::TMobilePhoneNITZ * aNWTimeInfo NW time info

NotifyNITZInfoChangeCancel(const TTsyReqHandle)

TInt NotifyNITZInfoChangeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

Cancel notifications of network time info changes.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy 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 * aStatus Registration status

NotifyNetworkRegistrationStatusChangeCancel(const TTsyReqHandle)

TInt NotifyNetworkRegistrationStatusChangeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

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

Parameters

const TTsyReqHandle aTsyReqHandle Tsy 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 * aSettingPckg New setting mode

NotifyNetworkSelectionSettingChangeCancel(const TTsyReqHandle)

TInt NotifyNetworkSelectionSettingChangeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

Notify network selection setting change.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle

NotifySignalStrengthChange(TInt32 *, TInt8 *)

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

This function is used to request signal strength change notifications

Parameters

TInt32 * aSignalStrength signal strength
TInt8 * aBar absolute number of bars

NotifySignalStrengthChangeCancel(const TTsyReqHandle)

TInt NotifySignalStrengthChangeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

This function cancels an outstanding signal strength change notification request

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle

NotifyStorePreferredNetworksListChange()

TInt NotifyStorePreferredNetworksListChange ( ) [private]

Subscribes the notification for storing Preferred networks List

NotifyStorePreferredNetworksListChangeCancel(const TTsyReqHandle)

TInt NotifyStorePreferredNetworksListChangeCancel ( const TTsyReqHandle aTsyReqHandle ) [private]

Cancels the notification request for storing Preferred Networks List

Parameters

const TTsyReqHandle aTsyReqHandle

ProcessGetAuthorizationInfoPhase1L(CMmDataPackage *, TInt)

void ProcessGetAuthorizationInfoPhase1L ( CMmDataPackage * aDataPackage,
TInt aError
)

Copies buffer size to authorization info client

Parameters

CMmDataPackage * aDataPackage
TInt aError

ProcessGetDetectedNetworksPhase1L(CMmDataPackage *, TInt)

TInt ProcessGetDetectedNetworksPhase1L ( CMmDataPackage * aDataPackage,
TInt aErrorCode
)

First phase of fetching detected networks

Parameters

CMmDataPackage * aDataPackage
TInt aErrorCode Error code

ReadVariantOptions()

void ReadVariantOptions ( ) [private]

Reads from ini file the values of the variant flags

ReceivedCallPrivacyInformation(CMmDataPackage *)

void ReceivedCallPrivacyInformation ( CMmDataPackage * aDataPackage )

Get the call privacy information and informs all active calls

Parameters

CMmDataPackage * aDataPackage

SelectNetworkCancelL(const TTsyReqHandle)

TInt SelectNetworkCancelL ( const TTsyReqHandle aTsyReqHandle ) [private]

Cancels an outstanding asynchronous SetNetwork request.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle

SelectNetworkL(const TTsyReqHandle, const TDataPackage &)

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

Client manually selects a new network to register to.

Parameters

const TTsyReqHandle aTsyReqHandle Request handle
const TDataPackage & aDataPackage

SetNetworkSelectionSettingL(const TTsyReqHandle, const TDataPackage &)

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

Set new network selection mode.

Parameters

const TTsyReqHandle aTsyReqHandle Tsy request handle
const TDataPackage & aSettingPackage

StorePreferredNetworksListL(const TTsyReqHandle, TDes8 *)

TInt StorePreferredNetworksListL ( const TTsyReqHandle aTsyReqHandle,
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]