diff -r 000000000000 -r 4e1aa6a622a0 sysstatemgmt/ssmcmdlists/data/noncriticalcmdlist.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/ssmcmdlists/data/noncriticalcmdlist.rss Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,1422 @@ +/* +* Copyright (c) 2009 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 list for the Non-critical startup state. +* +*/ + +#include +#include +#include +#include + +#include "ssmswp.hrh" +#include "ssmsubstateext.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 = ESsmStateNonCritical; + resource_id = r_cmds; + } + }; + } + +// =========================================================================== +// Command lists in alphabetical order +// =========================================================================== +// + +// --------------------------------------------------------------------------- +// r_cmds +// --------------------------------------------------------------------------- +// +RESOURCE SSM_COMMAND_LIST r_cmds + { + commands = + { + r_cmd_sastate, // This needs to be the first command in state, prio 0xFFF2 + r_cmd_publishstate, // prio 0xFFF1 + r_cmd_psstate, // prio 0xFFF0 + // prio 0xFFE7 + r_cmd_simcheck, + r_cmd_clearstartupreason, + r_cmd_createswp_uiphase, + r_cmd_createswp_rfstatus, + r_cmd_waitforofflinequery, + // prio 0xFFD7 + r_cmd_setswp_uistart, // After offline query has been made + r_cmd_adtupdater, // Location, date & time queries + r_cmd_bsengine, + r_cmd_waitforphone, + // prio 0xFFC7 + r_cmd_setswp_rfon, + r_cmd_setswp_rfoff, + r_cmd_waitidle, + // prio 0xFFB7 +#ifdef __JAVA + r_cmd_javacaptain, +#endif // __JAVA + r_cmd_watcher, + r_cmd_dmutilsrv, + r_cmd_mediasyncserver, // Should be executed before contentharvester + // prio 0xFFA7 + r_cmd_contentharvester, + r_cmd_harvestersrv, + r_cmd_predefinedcontacts, + r_cmd_xnthemesrv, + r_cmd_ncnlist, + r_cmd_satsrv, + r_cmd_cbssrv, + r_cmd_schedsrv, + r_cmd_aosrv, + r_cmd_ippushman, + r_cmd_remotefe, + r_cmd_supllistener, + r_cmd_autolock, + r_cmd_pocstarter, + r_cmd_gsserver, + r_cmd_vcommandmgr, + r_cmd_dmallreasons, + r_cmd_locod, +#ifdef FF_LBT_ENGINE + r_cmd_lbtsrv, +#endif // FF_LBT_ENGINE + r_cmd_fsemail, + // prio 0xFFA6 + r_cmd_dmfirstbootreason, + r_cmd_fota, + // prio 0x7F87 + r_cmd_waitcleanbootinfo, + // prio 0x7F97 + r_cmd_dcmo, + r_cmd_amastart, + // prio 0x7EFF + r_cmd_activitymonitor1, + // prio 0x7EFE + r_cmd_logs, + // prio 0x7EFD + r_cmd_activitymonitor2, + // prio 0x7EFC + r_cmd_pbk2, + // prio 0x7EFB + r_cmd_activitymonitor3, + // prio 0x7EFA + r_cmd_mce, + // prio 0x7EF9 + r_cmd_activitymonitor4, + // prio 0x7EF8 + r_cmd_clockapp, + // prio 0x7EF7 + r_cmd_activitymonitor5, + // prio 0x7EF6 + r_cmd_videocenter, + // prio 0x7EF5 + r_cmd_activitymonitor6, + // prio 0x7EF4 + r_cmd_iaupdatebg, + // prio 0x7EF3 + r_cmd_activitymonitor7, + // prio 0x7EF2 + r_cmd_screensaver, + // prio 0x7EEF + r_cmd_activitymonitor8, + // prio 0x7EEE + r_cmd_autosync, + // prio 0x7EED + r_cmd_activitymonitor9, + // prio 0x7EEC + r_cmd_mylocationsengine, + r_cmd_startupready // Last command, prio 0x0000 + }; + } + +// =========================================================================== +// Command items in alphabetical order +// =========================================================================== +// + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor1 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor1 + { + priority = 0x7EFF; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor2 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor2 + { + priority = 0x7EFD; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor3 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor3 + { + priority = 0x7EFB; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor4 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor4 + { + priority = 0x7EF9; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor5 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor5 + { + priority = 0x7EF7; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor6 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor6 + { + priority = 0x7EF5; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor7 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor7 + { + priority = 0x7EF3; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor8 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor8 + { + priority = 0x7EEF; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_activitymonitor9 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor9 + { + priority = 0x7EED; + severity = ECmdCriticalSeverity; + execution_behaviour = ESsmWaitForSignal; + dllname = "ssmactivitycmd.dll"; + ordinal = 1; // SsmActivityCmdNewL + retries = 2; + dll_data = r_dlldata_activitymonitor_timeout; + } + +// --------------------------------------------------------------------------- +// r_cmd_adtupdater +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_adtupdater + { + priority = 0xFFD7; + name = "adtupdater.exe"; + execution_behaviour = ESsmFireAndForget; + } + +// --------------------------------------------------------------------------- +// r_cmd_amastart +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_AMA_STARTER r_cmd_amastart + { + priority = 0x7F97; + conditional_information = r_cond_ps_normalboot; + } + +// --------------------------------------------------------------------------- +// r_cmd_autosync +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_autosync + { + priority = 0x7EEE; + execution_behaviour = ESsmFireAndForget; + retries = 3; + name = "cctautosync.exe"; + } + +// --------------------------------------------------------------------------- +// r_cmd_aosrv +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_aosrv + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\alwaysonlinestarter.exe"; + execution_behaviour = ESsmFireAndForget; + conditional_information = r_cond_feat_alwaysonline; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// r_cmd_bsengine +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_bsengine + { + priority = 0xFFD7; + name = "z:\\sys\\bin\\bsengine.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + } + +// --------------------------------------------------------------------------- +// r_cmd_autolock +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_APP_INFO r_cmd_autolock + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\lockapp.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + background = 1; // To background + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// r_cmd_cbssrv +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_cbssrv + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\cbsserver.exe"; + execution_behaviour = ESsmFireAndForget; + conditional_information = r_cond_feat_cellbroadcast; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// r_cmd_clockapp +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_APP_INFO r_cmd_clockapp + { + priority = 0x7EF8; + name = "z:\\sys\\bin\\clockapp.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + background = 1; // To background + } + +// --------------------------------------------------------------------------- +// r_cmd_createswp_rfstatus +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_cmd_createswp_rfstatus + { + priority = 0xFFE7; + severity = ECmdCriticalSeverity; + key = SWP_UID_SSM_RF_STATUS; + filename = "rfstatusswppolicy.dll"; + } + +// --------------------------------------------------------------------------- +// r_cmd_createswp_uiphase +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CREATE_SYSTEM_WIDE_PROPERTY r_cmd_createswp_uiphase + { + priority = 0xFFE7; + severity = ECmdCriticalSeverity; + key = SWP_UID_SSM_UI_PHASE; + filename = "ssmuiswppolicy.dll"; + } + +// --------------------------------------------------------------------------- +// r_cmd_contentharvester +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_contentharvester + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\contentharvester.exe"; + execution_behaviour = ESsmFireAndForget; //behavior changed from ESsmWaitForSignal as part of SCB CR MSOI-7XARNT + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// r_cmd_dcmo +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_dcmo + { + priority = 0x7F97; + execution_behaviour = ESsmFireAndForget; + dllname = "dcmostartupcustcmd.dll"; + ordinal = 1; // DCMO command + conditional_information = r_cond_feat_runtime_dcmo; + } + +// --------------------------------------------------------------------------- +// r_cmd_dmallreasons +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_dmallreasons + { + priority = 0xFFA7; + execution_behaviour = ESsmWaitForSignal; + dllname = "fotacustcmds.dll"; + ordinal = 1; // AllReasons command + retries = 2; + conditional_information = r_cond_syncml_dm_or_pnp_mobile_services; + } + +// --------------------------------------------------------------------------- +// r_cmd_dmfirstbootreason +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_dmfirstbootreason + { + priority = 0xFFA6; + execution_behaviour = ESsmWaitForSignal; + dllname = "fotacustcmds.dll"; + ordinal = 3; // FirstBoot command + retries = 2; + conditional_information = r_cond_pnp_mobile_services_and_firstboot; + } + +// --------------------------------------------------------------------------- +// r_cmd_dmutilsrv +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_dmutilsrv + { + priority = 0xFFB7; + name = "z:\\sys\\bin\\dmutilserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_reset; + conditional_information = r_cond_feat_sappolicymgmt; + } + +// --------------------------------------------------------------------------- +// r_cmd_fota +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_fota + { + priority = 0xFFA6; + execution_behaviour = ESsmWaitForSignal; + dllname = "fotacustcmds.dll"; + ordinal = 2; // Fota command + retries = 2; + conditional_information = r_cond_syncml_dm_fota_and_fotareset; + } + +// --------------------------------------------------------------------------- +// r_cmd_fsemail +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_APP_INFO r_cmd_fsemail + { + priority = 0xFFA7; + name = "fsmailserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + background = 1; // To background + monitor_info = r_mon_3_restarts_ignore; + conditional_information = r_cond_feat_emailfw; + } + +// --------------------------------------------------------------------------- +// r_cmd_gsserver +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_gsserver + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\gsserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_ignore; + conditional_information = r_cond_feat_tvout; + } + +// --------------------------------------------------------------------------- +// r_cmd_harvestersrv +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_harvestersrv + { + priority = 0xFFA7; + name = "harvesterserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// 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_loadsup_ippushman +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_ippushman + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\ippushman.exe"; + execution_behaviour = ESsmFireAndForget; // -- does not call Rendezvous() -- + conditional_information = r_cond_feat_ippush; + } + +// --------------------------------------------------------------------------- +// r_cmd_lbtsrv +// --------------------------------------------------------------------------- +// +#ifdef FF_LBT_ENGINE +RESOURCE SSM_START_PROCESS_INFO r_cmd_lbtsrv + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\lbtserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + } +#endif // FF_LBT_ENGINE + +// --------------------------------------------------------------------------- +// r_cmd_locod +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_locod + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\locod.exe"; + execution_behaviour = ESsmFireAndForget; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// 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_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_mediasyncserver +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_mediasyncserver + { + priority = 0xFFA6; + name = "z:\\sys\\bin\\mediasyncserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// r_cmd_ncnlist +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_ncnlist + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\ncnlist.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// 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_pocstarter +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_pocstarter + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\pocstarter.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + conditional_information = r_cond_feat_omapoc; + } + +// --------------------------------------------------------------------------- +// r_cmd_predefinedcontacts +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_predefinedcontacts + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\predefinedcontacts.exe"; + execution_behaviour = ESsmWaitForSignal; + retries = 2; + conditional_information = r_cond_firstboot_or_fotareset_or_deeprfsreset; + } + +// --------------------------------------------------------------------------- +// r_cmd_psstate +// --------------------------------------------------------------------------- +// +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_cmd_psstate + { + priority = 0xFFF0; + severity = ECmdCriticalSeverity; + category = 0x101F8766; // KPSUidStartup + key = 0x00000041; // KPSGlobalSystemState + value = 104; // ESwStateCriticalPhaseOK + } + +// --------------------------------------------------------------------------- +// r_cmd_publishstate +// --------------------------------------------------------------------------- +// +RESOURCE SSM_PUBLISH_SYSTEM_STATE r_cmd_publishstate + { + priority = 0xFFF1; + severity = ECmdCriticalSeverity; + retries = 2; + } + +// --------------------------------------------------------------------------- +// r_cmd_remotefe +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_remotefe + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\rsfwbootmounter.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + conditional_information = r_cond_feat_remotestoragefw; + } + +// --------------------------------------------------------------------------- +// r_cmd_sastate +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_sastate + { + priority = 0xFFF2; + severity = ECmdCriticalSeverity; + dllname = "customcmds.dll"; + ordinal = 8; + unload_on_finish = ENeverUnload; + retries = 2; + dll_data = r_dlldata_sastate; + } + +// --------------------------------------------------------------------------- +// r_cmd_satsrv +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_satsrv + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\satserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_ignore; + conditional_information = r_cond_feat_simcard; + } + +// --------------------------------------------------------------------------- +// r_cmd_schedsrv +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_schedsrv + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\schexe.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + } + +// --------------------------------------------------------------------------- +// r_cmd_screensaver +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_APP_INFO r_cmd_screensaver + { + priority = 0x7EF2; + name = "z:\\sys\\bin\\screensaver.exe"; + background = 1; // To background + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// r_cmd_setswp_rfoff +// --------------------------------------------------------------------------- +// +RESOURCE SSM_REQUEST_SYSTEM_WIDE_PROPERTY r_cmd_setswp_rfoff + { + priority = 0xFFC7; + severity = ECmdCriticalSeverity; + key = SWP_UID_SSM_RF_STATUS; + value = ESsmRfOff; + conditional_information = r_cond_simnotusable_or_bootoffline; + } + +// --------------------------------------------------------------------------- +// r_cmd_setswp_rfon +// --------------------------------------------------------------------------- +// +RESOURCE SSM_REQUEST_SYSTEM_WIDE_PROPERTY r_cmd_setswp_rfon + { + priority = 0xFFC7; + severity = ECmdCriticalSeverity; + key = SWP_UID_SSM_RF_STATUS; + value = ESsmRfOn; + conditional_information = r_cond_simusable_and_bootonline; + } + +// --------------------------------------------------------------------------- +// r_cmd_setswp_uistart +// --------------------------------------------------------------------------- +// +RESOURCE SSM_REQUEST_SYSTEM_WIDE_PROPERTY r_cmd_setswp_uistart + { + priority = 0xFFD7; + severity = ECmdCriticalSeverity; + key = SWP_UID_SSM_UI_PHASE; + value = ESsmUiPhaseStarted; + } + +// --------------------------------------------------------------------------- +// r_cmd_simcheck +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_simcheck + { + priority = 0xFFE7; + severity = ECmdCriticalSeverity; + dllname = "customcmds.dll"; + ordinal = 10; + unload_on_finish = ENeverUnload; + conditional_information = r_cond_ps_simusable; + } + +// --------------------------------------------------------------------------- +// r_cmd_startupready +// --------------------------------------------------------------------------- +// +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_cmd_startupready + { + priority = 0x0000; + severity = ECmdMediumSeverity; + category = 0x100059C9; + key = 2; + value = 1; + } + +// --------------------------------------------------------------------------- +// r_cmd_supllistener +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_supllistener + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\epos_omasupllistener.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_ignore; + conditional_information = r_cond_feat_omasuplplugins; + } + +// --------------------------------------------------------------------------- +// r_cmd_systemams +// --------------------------------------------------------------------------- +// +#ifdef __JAVA +RESOURCE SSM_START_PROCESS_INFO r_cmd_javacaptain + { + priority = 0xFFB7; + name = "javacaptain.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + } +#endif // __JAVA +// --------------------------------------------------------------------------- +// r_cmd_vcommandmgr +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_APP_INFO r_cmd_vcommandmgr + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\vcommandmanager.exe"; + background = 1; // To background + execution_behaviour = ESsmFireAndForget; // -- does not call Rendezvous() -- + conditional_information = r_cond_sind_and_no_sdnd; + } + +// --------------------------------------------------------------------------- +// r_cmd_videocenter +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_videocenter + { + priority = 0x7EF6; + name = "cseschedulerserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + } + +// --------------------------------------------------------------------------- +// r_cmd_waitcleanbootinfo +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_waitcleanbootinfo + { + priority = 0x7F87; + severity = ECmdCriticalSeverity; + dllname = "ssmsystemcmds.dll"; + ordinal = 6; // WaitPsKeyRange + dll_data = r_dlldata_waitcleanbootinfo; + retries = 2; + execution_behaviour = ESsmWaitForSignal; + } + +// --------------------------------------------------------------------------- +// r_cmd_waitforidle +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_waitidle + { + priority = 0xFFC7; + severity = ECmdCriticalSeverity; + dllname = "ssmsystemcmds.dll"; + ordinal = 5; // WaitPsKeyExact + dll_data = r_dlldata_waitidle; + unload_on_finish = ENeverUnload; + retries = 2; + execution_behaviour = ESsmWaitForSignal; + } + +// --------------------------------------------------------------------------- +// r_cmd_waitforofflinequery +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_waitforofflinequery + { + priority = 0xFFE7; + severity = ECmdCriticalSeverity; + dllname = "ssmsystemcmds.dll"; + ordinal = 6; // WaitPsKeyRange + dll_data = r_dlldata_waitofflinequery; + unload_on_finish = ENeverUnload; + retries = 2; + execution_behaviour = ESsmWaitForSignal; + } + +// --------------------------------------------------------------------------- +// r_cmd_waitforphone +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_waitforphone + { + priority = 0xFFD7; + severity = ECmdCriticalSeverity; + dllname = "ssmsystemcmds.dll"; + ordinal = 5; // WaitPsKeyExact + dll_data = r_dlldata_waitphone; + unload_on_finish = ENeverUnload; + retries = 2; + execution_behaviour = ESsmWaitForSignal; + } + +// --------------------------------------------------------------------------- +// r_cmd_watcher +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_watcher + { + priority = 0xFFB7; + name = "z:\\sys\\bin\\watcher.exe"; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// r_cmd_xnthemesrv +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_xnthemesrv + { + priority = 0xFFA7; + name = "z:\\sys\\bin\\xnthemeserver.exe"; + execution_behaviour = ESsmWaitForSignal; + timeout = 10000; + monitor_info = r_mon_3_restarts_ignore; + } + +// --------------------------------------------------------------------------- +// r_cmd_clearstartupreason +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_clearstartupreason + { + priority = 0xFFE7; + severity = ECmdCriticalSeverity; + dllname = "customcmds.dll"; + ordinal = 16; // Clearstartupreason + retries = 2; + execution_behaviour = ESsmWaitForSignal; + } + + +// =========================================================================== +// DLL data items in alphabetical order +// =========================================================================== +// + +// --------------------------------------------------------------------------- +// r_dlldata_activitymonitor_timeout +// --------------------------------------------------------------------------- +// +RESOURCE CMD_PARAM_TIMEOUT r_dlldata_activitymonitor_timeout + { + timeout = 2; + } + +// --------------------------------------------------------------------------- +// r_dlldata_sastate +// --------------------------------------------------------------------------- +// +RESOURCE CMD_PARAM_STATE_CHANGE r_dlldata_sastate + { + mainstate = 0; // ESsmStartup + substate = ESsmStateNonCritical; + } + +// --------------------------------------------------------------------------- +// r_dlldata_waitcleanbootinfo +// --------------------------------------------------------------------------- +// +RESOURCE CMD_PARAM_WAIT_PS_2 r_dlldata_waitcleanbootinfo + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000012; // KStartupCleanBoot + target1 = 101; // EStartupNormalBoot + target2 = 102; // EStartupCleanBoot + } + +// --------------------------------------------------------------------------- +// r_dlldata_waitidle +// --------------------------------------------------------------------------- +// +RESOURCE CMD_PARAM_WAIT_PS r_dlldata_waitidle + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000043; // KPSIdlePhase1Ok + target = 101; // EIdlePhase1Ok + } + +// --------------------------------------------------------------------------- +// r_dlldata_waitofflinequery +// --------------------------------------------------------------------------- +// +RESOURCE CMD_PARAM_WAIT_PS_2 r_dlldata_waitofflinequery + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000011; // KStartupBootIntoOffline + target1 = 101; // EBootIntoOnlineMode + target2 = 102; // EBootIntoOfflineMode + } + +// --------------------------------------------------------------------------- +// r_dlldata_waitphone +// --------------------------------------------------------------------------- +// +RESOURCE CMD_PARAM_WAIT_PS r_dlldata_waitphone + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000044; // KPSPhonePhase1Ok + target = 101; // EPhonePhase1Ok + } + + +// --------------------------------------------------------------------------- +// r_cmd_mylocationsengine +// --------------------------------------------------------------------------- +// +RESOURCE SSM_START_PROCESS_INFO r_cmd_mylocationsengine + { + priority = 0x7EEC; + name = "z:\\sys\\bin\\mylocationsengine.exe"; + execution_behaviour = ESsmFireAndForget; + } + +// =========================================================================== +// Conditional blocks in alphabetical order +// =========================================================================== +// + +// --------------------------------------------------------------------------- +// r_cond_ps_firstboot +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_PUB_SUB_VALUE r_cond_ps_firstboot + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000013; // KPSStartupFirstBoot + value = 101; // EPSStartupFirstBoot + } + +// --------------------------------------------------------------------------- +// r_cond_feat_alwaysonline +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_alwaysonline + { + feature_id = KFeatureIdAlwaysOnLine; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_cellbroadcast +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_cellbroadcast + { + feature_id = KFeatureIdCellBroadcast; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_emailfw +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_emailfw + { + feature_id = KFeatureIdFfEmailFramework; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_iadv2 +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_iadv2 + { + feature_id = KFeatureIdFfIaupdatePhase2; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_ippush +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_ippush + { + feature_id = KFeatureIdIpPush; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_omapoc +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_omapoc + { + feature_id = KFeatureIdOmaPoc; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_omasuplplugins +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_omasuplplugins + { + feature_id = KFeatureIdOmaSuplPlugins; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_pnp_mobile_services +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_pnp_mobile_services + { + feature_id = KFeatureIdPlugAndPlayMobileServices; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_remotestoragefw +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_remotestoragefw + { + feature_id = KFeatureIdRemoteStorageFw; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_runtime_dcmo; +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_runtime_dcmo + { + feature_id = KFeatureIdFfRuntimeDeviceCapabilityConfiguration; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_sappolicymgmt +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_sappolicymgmt + { + feature_id = KFeatureIdSapPolicyManagement; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_sdnd +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_sdnd + { + feature_id = KFeatureIdSdnd; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_simcard +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_simcard + { + feature_id = KFeatureIdSimCard; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_sind +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_sind + { + feature_id = KFeatureIdSind; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_syncml_dm +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_syncml_dm + { + feature_id = KFeatureIdSyncMlDm; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_syncml_dm_fota +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_syncml_dm_fota + { + feature_id = KFeatureIdSyncMlDmFota; + } + +// --------------------------------------------------------------------------- +// r_cond_feat_tvout +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_tvout + { + feature_id = KFeatureIdTvOut; + } + +// --------------------------------------------------------------------------- +// r_cond_firstboot_or_fotareset_or_deeprfsreset +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_OR r_cond_firstboot_or_fotareset_or_deeprfsreset + { + lhs = r_cond_fotareset_or_deeprfsreset; + rhs = r_cond_ps_firstboot; + } + +// --------------------------------------------------------------------------- +// r_cond_fotareset_or_deeprfsreset +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_OR r_cond_fotareset_or_deeprfsreset + { + lhs = r_cond_ps_fotareset; + rhs = r_cond_ps_deeprfsreset; + } + +// --------------------------------------------------------------------------- +// r_cond_no_sdnd +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_NOT r_cond_no_sdnd + { + sub_condition = r_cond_feat_sdnd; + } + +// --------------------------------------------------------------------------- +// r_cond_pnp_mobile_services_and_firstboot +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_AND r_cond_pnp_mobile_services_and_firstboot + { + lhs = r_cond_feat_pnp_mobile_services; + rhs = r_cond_ps_firstboot; + } + +// --------------------------------------------------------------------------- +// r_cond_ps_bootoffline +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_PUB_SUB_VALUE r_cond_ps_bootoffline + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000011; // KStartupBootIntoOffline + value = 102; // EBootIntoOfflineMode + } + +// --------------------------------------------------------------------------- +// r_cond_ps_bootonline +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_PUB_SUB_VALUE r_cond_ps_bootonline + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000011; // KStartupBootIntoOffline + value = 101; // EBootIntoOnlineMode + } + +// --------------------------------------------------------------------------- +// r_cond_ps_deeprfsreset +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_PUB_SUB_VALUE r_cond_ps_deeprfsreset + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000045; // KPSStartupReason + value = EDeepRFSReset; + } + +// --------------------------------------------------------------------------- +// r_cond_ps_fotareset +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_PUB_SUB_VALUE r_cond_ps_fotareset + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000045; // KPSStartupReason + value = EFirmwareUpdate; + } + +// --------------------------------------------------------------------------- +// r_cond_ps_normalboot +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_PUB_SUB_VALUE r_cond_ps_normalboot + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000012; // KStartupCleanBoot + value = 101; // EStartupNormalBoot + } + +// --------------------------------------------------------------------------- +// r_cond_ps_simusable +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_PUB_SUB_VALUE r_cond_ps_simusable + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000031; // KPSSimStatus + value = 101; // ESimUsable + } + +// --------------------------------------------------------------------------- +// r_cond_simnotusable +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_NOT r_cond_simnotusable + { + sub_condition = r_cond_ps_simusable; + } + +// --------------------------------------------------------------------------- +// r_cond_simnotusable_or_bootoffline +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_OR r_cond_simnotusable_or_bootoffline + { + lhs = r_cond_simnotusable; + rhs = r_cond_ps_bootoffline; + } + +// --------------------------------------------------------------------------- +// r_cond_simusable_and_bootonline +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_AND r_cond_simusable_and_bootonline + { + lhs = r_cond_ps_simusable; + rhs = r_cond_ps_bootonline; + } + +// --------------------------------------------------------------------------- +// r_cond_sind_and_no_sdnd +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_AND r_cond_sind_and_no_sdnd + { + lhs = r_cond_feat_sind; + rhs = r_cond_no_sdnd; + } + +// --------------------------------------------------------------------------- +// r_cond_syncml_dm_fota_and_fotareset +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_AND r_cond_syncml_dm_fota_and_fotareset + { + lhs = r_cond_feat_syncml_dm_fota; + rhs = r_cond_ps_fotareset; + } + +// --------------------------------------------------------------------------- +// r_cond_syncml_dm_or_pnp_mobile_services +// --------------------------------------------------------------------------- +// +RESOURCE SSM_CND_LOGICAL_OR r_cond_syncml_dm_or_pnp_mobile_services + { + lhs = r_cond_feat_syncml_dm; + rhs = r_cond_feat_pnp_mobile_services; + } + +// monitoring.rss contains resource definitions, so it may not be included +// before entry point. +#include "monitoring.rss"