class CSaaStateAdaptation : public CAdaptationBase |
Public Member Functions | |
---|---|
~CSaaStateAdaptation() | |
CSaaStateAdaptation * | NewL(CStartupAdaptationAdapter *) |
void | ProcessEventL(TSsmCoopSysEventType) |
Private Member Functions | |
---|---|
CSaaStateAdaptation(CStartupAdaptationAdapter *) | |
void | ConstructL() |
StartupAdaptation::TGlobalState | MapToStartupAdaptationState(TSsmState) |
void | NotifyCancel() |
void | NotifyCoopSysEvent(TDes8 &, TRequestStatus &) |
TDesC8 * | ParameterPckg() |
void | Release() |
void | RequestCancel() |
void | RequestComplete(const StartupAdaptation::TCommand, TDesC8 &) |
void | RequestCoopSysPerformRestartActions(TInt, TRequestStatus &) |
void | RequestCoopSysPerformRfsActions(TSsmRfsType, TRequestStatus &) |
void | RequestCoopSysPerformShutdownActions(TInt, TRequestStatus &) |
void | RequestCoopSysSelfTest(TRequestStatus &) |
void | RequestCoopSysStateChange(TSsmState, TRequestStatus &) |
Inherited Attributes | |
---|---|
CAdaptationBase::iAdapter |
CSaaStateAdaptation | ( | CStartupAdaptationAdapter * | aAdapter | ) | [private] |
CStartupAdaptationAdapter * aAdapter |
StartupAdaptation::TGlobalState | MapToStartupAdaptationState | ( | TSsmState | aState | ) | [private, static] |
Maps a TSsmState object into the associated StartupAdaptation::TGlobalState value.
Uses the following mappings:
ESWStateStartingUiServices = TSsmState(ESsmStartup, ESWStateStartingUiServices - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateStartingCriticalApps = TSsmState(ESsmStartup, ESWStateStartingCriticalApps - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateSelfTestOK = TSsmState(ESsmStartup, ESWStateSelfTestOK - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); // States for the security check phase. ESWStateSecurityCheck = TSsmState(ESsmStartup, ESWStateSecurityCheck - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateCriticalPhaseOK = TSsmState(ESsmStartup, ESWStateCriticalPhaseOK - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateEmergencyCallsOnly = TSsmState(ESsmStartup, ESWStateEmergencyCallsOnly - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); // Terminal states defined by the boot mode (and some other variables such as offline mode). ESWStateTest = TSsmState(ESsmStartup, ESWStateTest - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateCharging = TSsmState(ESsmStartup, ESWStateCharging - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateAlarm = TSsmState(ESsmStartup, ESWStateAlarm - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateNormalRfOn = TSsmState(ESsmNormal, ESWStateNormalRfOn - ESWStateStartingUiServices + ESsmStartupSubStateCriticalStatic); ESWStateNormalRfOff = TSsmState(ESsmNormal, ESWStateNormalRfOff - ESWStateStartingUiServices + ESsmStartupSubStateCriticalStatic); ESWStateNormalBTSap = TSsmState(ESsmNormal, ESWStateNormalBTSap - ESWStateStartingUiServices + ESsmStartupSubStateCriticalStatic); // States for notifying adaptation about a terminal state change. ESWStateAlarmToCharging = TSsmState(ESsmStartup, ESWStateAlarmToCharging - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateChargingToAlarm = TSsmState(ESsmStartup, ESWStateChargingToAlarm - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateChargingToNormal = TSsmState(ESsmStartup, ESWStateChargingToNormal - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); ESWStateAlarmToNormal = TSsmState(ESsmStartup, ESWStateAlarmToNormal - ESWStateStartingUiServices + ESsmStartupSubStateNonCritical); // Shutdown-related states. ESWStateShuttingDown = TSsmState(ESsmShutdown, KSsmAnySubState); // Error states during critical phase. ESWStateFatalStartupError = TSsmState(ESsmFail, KSsmAnySubState);
Returns 0 on invalid TSsmState
TSsmState aState |
CSaaStateAdaptation * | NewL | ( | CStartupAdaptationAdapter * | aAdapter | ) | [static] |
CStartupAdaptationAdapter * aAdapter |
void | NotifyCoopSysEvent | ( | TDes8 & | aEvent, |
TRequestStatus & | aStatus | |||
) | [private, virtual] |
TDes8 & aEvent | |
TRequestStatus & aStatus |
TDesC8 * | ParameterPckg | ( | ) | [private, virtual] |
See CAdaptationBase for description of method.
void | ProcessEventL | ( | TSsmCoopSysEventType | aEventType | ) |
Processes the event passed in and distributes to waiting client or queues event.
TSsmCoopSysEventType aEventType |
void | RequestComplete | ( | const StartupAdaptation::TCommand | aCommandId, |
TDesC8 & | aRetPckg | |||
) | [private, virtual] |
Callback function called by the adaptation adapter when the command from this adaptation has been completed
const StartupAdaptation::TCommand aCommandId | |
TDesC8 & aRetPckg |
void | RequestCoopSysPerformRestartActions | ( | TInt | aReason, |
TRequestStatus & | aStatus | |||
) | [private, virtual] |
TInt aReason | |
TRequestStatus & aStatus |
void | RequestCoopSysPerformRfsActions | ( | TSsmRfsType | aRfsType, |
TRequestStatus & | aStatus | |||
) | [private, virtual] |
TSsmRfsType aRfsType | |
TRequestStatus & aStatus |
void | RequestCoopSysPerformShutdownActions | ( | TInt | aReason, |
TRequestStatus & | aStatus | |||
) | [private, virtual] |
TInt aReason | |
TRequestStatus & aStatus |
void | RequestCoopSysSelfTest | ( | TRequestStatus & | aStatus | ) | [private, virtual] |
TRequestStatus & aStatus |
void | RequestCoopSysStateChange | ( | TSsmState | aState, |
TRequestStatus & | aStatus | |||
) | [private, virtual] |
TSsmState aState | |
TRequestStatus & aStatus |
StartupAdaptation::TGlobalStateChangePckg | iGlobalStatePckg | [private] |
StartupAdaptation::TResetReasonPckg | iResetReasonPckg | [private] |
StartupAdaptation::TRFSReasonPckg | iRfsReasonPckg | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.