RSsmMiscAdaptation Class Reference

class RSsmMiscAdaptation : public RSsmAdaptationBase

Client interface for Miscellaneous Adaptation part of the Adaptation server.

Inherits from

Public Member Functions
IMPORT_C voidCancel()
IMPORT_C voidGetGlobalStartupMode(TDes8 &, TRequestStatus &)
IMPORT_C voidGetHiddenReset(TDes8 &, TRequestStatus &)
IMPORT_C voidPrepareSimLanguages(TSsmLanguageListPriority, TDes8 &, TRequestStatus &)
IMPORT_C voidSecurityStateChange(TInt, TDes8 &, TRequestStatus &)
IMPORT_C CArrayFix< TInt32 > *SimLanguagesArrayL(TInt)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
RSsmAdaptationBase::Connect()
RSsmAdaptationBase::Connect(TInt)
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

Cancel()

IMPORT_C voidCancel()

Cancels the current outstanding request on this R class.

If the request is successfully cancelled then the TRequestStatus associated with that request will be completed with KErrCancel.

GetGlobalStartupMode(TDes8 &, TRequestStatus &)

IMPORT_C voidGetGlobalStartupMode(TDes8 &aModePckg,
TRequestStatus &aRequest
)

Retrieves the startup mode from the adaptation.

Note:

This API can only be called by processes with the SecureID of the System State Manager.

Parameters

TDes8 & aModePckgA descriptor packaging a TInt object, such as TPckg<TInt>. The descriptor referenced should exist until aStatus is completed. When aStatus is completed with KErrNone this descriptor will contain the startup mode. The meaning of this startup mode value is dependent on the adaptation.
TRequestStatus & aRequestThe request status. This is set to KErrNone on completion, KErrNotSupported if this operations is not supported by the adaptation, KErrPermissionDenied if the current process does not have the SecureID of the System State Manager, otherwise one of the other system-wide error codes.

GetHiddenReset(TDes8 &, TRequestStatus &)

IMPORT_C voidGetHiddenReset(TDes8 &aHiddenResetPckg,
TRequestStatus &aStatus
)

Retrieve information about Hidden reset.

Note:

This API can only be called by processes with the SecureID of the System State Manager.

Parameters

TDes8 & aHiddenResetPckgA descriptor packaging a TBool object, such as TPckg<TBool>. The descriptor referenced should exist until aStatus is completed. When aStatus is completed with KErrNone this descriptor will contain ETrue if Hidden reset is to be done , EFalse otherwise.
TRequestStatus & aStatusThe request status. This is set to KErrNone on successful completion, KErrNotSupported if this operations is not supported by the adaptation, KErrPermissionDenied if the current process does not have the SecureID of the System State Manager, KErrDisconnected if there is no handle to adaptation server, otherwise one of the other system-wide error codes.

PrepareSimLanguages(TSsmLanguageListPriority, TDes8 &, TRequestStatus &)

IMPORT_C voidPrepareSimLanguages(TSsmLanguageListPriorityaPriority,
TDes8 &aSizePckg,
TRequestStatus &aStatus
)

Prepares the SIM languages list for retrieval.

Note:

This API can only be called by processes with the SecureID of the System State Manager.

RSsmMiscAdaptation::SimLanguagesArrayL()

Parameters

TSsmLanguageListPriority aPrioritySpecifies which languages list should be prepared for retrieval.
TDes8 & aSizePckgA descriptor packaging a TInt object, such as TPckg<TInt>. The descriptor referenced should exist until aStatus is completed. When aStatus is completed with KErrNone this descriptor will contain the number of elements in the language list.
TRequestStatus & aStatusThe request status. This is set to KErrNone on completion, KErrNotSupported if this operations is not supported by the adaptation, KErrPermissionDenied if the current process does not have the SecureID of the System State Manager, otherwise one of the other system-wide error codes.

SecurityStateChange(TInt, TDes8 &, TRequestStatus &)

IMPORT_C voidSecurityStateChange(TIntaState,
TDes8 &aResponsePckg,
TRequestStatus &aStatus
)

Communicates a security state change with the adaptation.

Note:

This API can only be called by processes with the SecureID of the System State Manager.

Parameters

TInt aStateThe security state that has been changed to by the security state machine. The meaning of this value is dependent on the adaptation.
TDes8 & aResponsePckgA descriptor packaging a TInt object, such as TPckg<TInt>. The descriptor referenced should exist until aStatus is completed. This descriptor will contain the response from the adaptation to this security state change. The meaning of this value is dependent on the adaptation.
TRequestStatus & aStatusThe request status. This is set to KErrNone on completion, KErrNotSupported if this operations is not supported by the adaptation, KErrPermissionDenied if the current process does not have the SecureID of the System State Manager, otherwise one of the other system-wide error codes.

SimLanguagesArrayL(TInt)

IMPORT_C CArrayFix< TInt32 > *SimLanguagesArrayL(TIntaSimLanguageCount)

Retrieves the SIM lanugages list.

This will retrieve the SIM languages list in a dynamic array, the list was prepared by a previous successful call to PrepareSimLanguages().

Note:

This API can only be called by processes with the SecureID of the System State Manager.

RSsmMiscAdaptation::PrepareSimLanguages

Parameters

TInt aSimLanguageCountThe count of the languages as prepared in a previous call to PrepareSimLanguages(). This count is used to allocate and expand the size of the flat buffer.