RSsmEmergencyCallRfAdaptation Class Reference

class RSsmEmergencyCallRfAdaptation : public RSsmAdaptationBase

Client interface for EmergencyCallRf Adaptation part of the Adaptation server.

Inherits from

Public Member Functions
IMPORT_C voidActivateRfForEmergencyCall(TRequestStatus &)
IMPORT_C voidCancel()
IMPORT_C voidDeactivateRfForEmergencyCall(TRequestStatus &)
IMPORT_C TIntSetAsPriorityClient()
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

ActivateRfForEmergencyCall(TRequestStatus &)

IMPORT_C voidActivateRfForEmergencyCall(TRequestStatus &aStatus)

Requests the adaptation to enable RF communication for emergency calls.

capability
WriteDeviceData
capability
PowerMgmt

Parameters

TRequestStatus & aStatusThe request status. This is set to KErrNone on successful completion of self tests, KErrNotSupported if this operations is not supported by the adaptation, KErrPermissionDenied if the current process does not have sufficient capabilities, otherwise one of the other system-wide error codes.

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.

DeactivateRfForEmergencyCall(TRequestStatus &)

IMPORT_C voidDeactivateRfForEmergencyCall(TRequestStatus &aStatus)

Requests the adaptation to disable RF communication for emergency calls.

capability
WriteDeviceData
capability
PowerMgmt

Parameters

TRequestStatus & aStatusThe request status. This is set to KErrNone on successful completion of self tests, KErrNotSupported if this operations is not supported by the adaptation, KErrPermissionDenied if the current process does not have sufficient capabilities, otherwise one of the other system-wide error codes.

SetAsPriorityClient()

IMPORT_C TIntSetAsPriorityClient()

The Session calling this API will be set as priorityClient. This has to be called after Connect() and before calling ActivateRfForEmergencyCall(). This will allow priority client to make emergency call during OOM condition. Session having Telephony SecureId can only be set as a PriorityClient by SSM. This API preloads the emergencyclient dll if it is not loaded and also allows to use reserved memory in OOM condition