System State
Manager Tutorials
The tutorials provides a quick start to create policies, plug-in
and the property changes that needs to be done. It assumes that you are familiar
with native programming and the basics of the SSM architecture, as described
in the SSM Concepts.
- Component Shutdown Aware
- Custom Command
- Running a Command Conditionally in a CommandList
A structure for conditional_information contains the reasons for conditional values. The software reason and hardware reason will be defined by an enum and will have a special value. This special value will mean that the command is unconditional on that ‘reason’.
- Creating a Static CommandList
SCLs contain a list of commands that are run by the SSM. The SysCLE runs these commands as per the policy. The policy for deciding which commandLists are run by the SysCLE is included within the system state Manager component (SysStateMgr.exe).
- Monitoring a System-Wide Property
A component with appropriate platform security capabilities can request a change to a system-wide property value. The SSM distributes notifications of the changing of system-wide property values to components that have requested notifications.
- Enabling Graceful Shutdown
Enabling graceful shutdown of a component is to determine whether the System State Manager (SSM) has to undergo staged shutdown or existing shutdown server mechanism must be used for device shutdown.
- Creating System Utility Policy plug-in
System Utility Policy plug-ins in the SSM Utility Server are intended to monitor some property of the system. It is used by the SSM for efficient handling of a system property change.
- Creating System-wide Property Policy Plug-in
System-wide Properties (SwP) are attributes of a device that have system-wide significance (for example, the power status or device lock status). The value of any System-wide property is normally independent of the System State, but the state and different properties can be combined with policy to generate a new status indications and actions.
- Creating System State Manager policy plug-in
The System State Manager will have policy associated with a transition in system state or a system-wide property. The transition from one state to another is implicit. The SSM policy is defined by a system state policy plug-in and an associated command list resource file.
- Creating State Adaptation plug-in
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.