sysstatemgmt/ssmcmdlists/data/noncriticalswpcmdlists.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 14 Sep 2010 23:45:36 +0300
branchRCL_3
changeset 23 c26be94c8889
parent 22 8cb079868133
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
* Command lists for the noncritical phase SWP:
*   - non-critical phase Started
*
*/

#include <ssm/conditionresourcetypes.rh>
#include <ssm/ssmcmd.rh>

#include "ssmswp.hrh"
#include "ssmdlldatadefs.rh"

// Identify command list type
UID2 KUidSsmCommandListResourceFile

// ---------------------------------------------------------------------------
// r_entry_point
// This must be the first resource
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST_ROOT r_entry_point
    {
    command_list_mapping = r_map;
    }

// ---------------------------------------------------------------------------
// r_map
// Mapping of command list ids to resource ids.
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST_MAPPING r_map
    {
    mappings =
        {
        SSM_COMMANDLISTID_TO_RESOURCEID
            {
            command_list_id = ESsmNonCriticalPhaseStarted;
            resource_id = r_noncriticalphase_commands;
            }
        };
    }

// ===========================================================================
// Command lists in alphabetical order
// ===========================================================================
//

// ---------------------------------------------------------------------------
// r_started_commands
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST r_noncriticalphase_commands
    {
    commands =
        {
        // prio 0xFFF1
        r_cmd_publishswp,
        // prio 0x7FF2
        r_cmd_activitymonscreensaver,	//RSHI-85E4P2
        // prio 0x7FF1
        r_cmd_screensaver,	//RSHI-85E4P2
        // prio 0x7EFF
        r_cmd_activitymonlogs,
        // prio 0x7EFE
        r_cmd_logs,
        // prio 0x7EFD
        r_cmd_activitymonpbk2,
        // prio 0x7EFC
        r_cmd_pbk2,
        // prio 0x7EFB
        r_cmd_activitymonmce,
        // prio 0x7EFA
        r_cmd_mce,
        // prio 0x7EF9
        r_cmd_activitymonclock,
        // prio 0x7EF8
        r_cmd_clock,	//ESLT-842J9W
        // prio 0x7EF7
        r_cmd_activitymonvideocenter,
        // prio 0x7EF6
        r_cmd_videocenter,
        // prio 0x7EF5
        r_cmd_activitymoniaupdatebg,
        // prio 0x7EF4
        r_cmd_iaupdatebg,
        // prio 0x7EEF
        r_cmd_activitymonautosync,
        // prio 0x7EEE
        r_cmd_autosync
#ifdef FF_ATT_ADDRESS_BK
        //prio 0x7EEA
        ,r_cmd_activitymonaab,
        //prio 0x7EE9
        r_cmd_aab
#endif
		// prio 0x7EE8
		,r_cmd_activitymoncalendar,
		// prio 0x7EE7
		r_cmd_calendar //CR:MMUN-82ZHAD
    	};
    }

// -----------------------------------------------------------------------------
// r_cmd_aab
// -----------------------------------------------------------------------------
//
#ifdef FF_ATT_ADDRESS_BK 
RESOURCE SSM_START_APP_INFO r_cmd_aab
    {
    priority = 0x7EE9;
    name = "z:\\sys\\bin\\AABPhonebookapp.exe";
    retries = 2;
    background = 1; // To background
    monitor_info = r_mon_3_restarts_ignore;
    }
#endif

// ---------------------------------------------------------------------------
// r_cmd_activitymonlogs
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonlogs
    {
    priority = 0x7EFF;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonpbk2
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonpbk2
    {
    priority = 0x7EFD;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonmce
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonmce
    {
    priority = 0x7EFB;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonclock
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonclock
    {
    priority = 0x7EF9;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonvideocenter
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonvideocenter
    {
    priority = 0x7EF7;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymoniaupdatebg
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymoniaupdatebg
    {
    priority = 0x7EF5;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonscreensaver
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonscreensaver
    {
    priority = 0x7FF2;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonautosync
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonautosync
    {
    priority = 0x7EEF;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonaab
// ---------------------------------------------------------------------------
//
#ifdef FF_ATT_ADDRESS_BK
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonaab
    {
    priority = 0x7EEA;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }
#endif

// ---------------------------------------------------------------------------
// r_cmd_activitymoncalendar
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymoncalendar
    {
    priority = 0x7EE8;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_autosync
// ---------------------------------------------------------------------------
//	
RESOURCE SSM_START_PROCESS_INFO r_cmd_autosync
    {
    priority = 0x7EEE;
    execution_behaviour = ESsmFireAndForget;
    retries = 3;
    name = "cctautosync.exe";
    }

// ---------------------------------------------------------------------------
// r_cmd_calendar
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_calendar
	{
   	priority = 0x7EE7;
	name = "calendar.exe";
	execution_behaviour = ESsmFireAndForget;
	retries = 3;
	background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_clock
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_clock
    {
    priority = 0x7EF8;
    name = "clock.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_iaupdatebg
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_iaupdatebg
    {
    priority = 0x7EF4;
    name = "iaupdatebg.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    conditional_information = r_cond_feat_iadv2;
    }

// ---------------------------------------------------------------------------
// r_cmd_mce
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_mce
    {
    priority = 0x7EFA;
    name = "mce.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_pbk2
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_pbk2
    {
    priority = 0x7EFC;
    name = "z:\\sys\\bin\\phonebook2.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_publishswp
// ---------------------------------------------------------------------------
//
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_cmd_publishswp
    {
    priority = 0xFFF1;
    severity = ECmdCriticalSeverity;
    }

// ---------------------------------------------------------------------------
// r_cmd_logs
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_logs
    {
    priority = 0x7EFE;
    name = "z:\\sys\\bin\\logs.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_screensaver
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_screensaver
    {
    priority = 0x7FF1;
    name = "z:\\sys\\bin\\screensaver.exe";
    background = 1; // To background
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    monitor_info = r_mon_3_restarts_ignore;
    }

// ---------------------------------------------------------------------------
// r_cmd_videocenter
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_videocenter
    {
    priority = 0x7EF6;
    name = "cseschedulerserver.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    }

// ===========================================================================
// Conditional blocks in alphabetical order
// ===========================================================================
//
// ---------------------------------------------------------------------------
// r_cond_feat_iadv2
// ---------------------------------------------------------------------------
//
RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_iadv2
    {
    feature_id = KFeatureIdFfIaupdatePhase2;
    }

// ===========================================================================
// DLL data items in alphabetical order
// ===========================================================================
//

// ---------------------------------------------------------------------------
// r_dlldata_activitymonitor_timeout
// ---------------------------------------------------------------------------
//
RESOURCE CMD_PARAM_TIMEOUT r_dlldata_activitymonitor_timeout
    {
    timeout = 2;
    }


// monitoring.rss contains resource definitions, so it may not be included
// before entry point.
#include "monitoring.rss"