startup/stem_noncriticalswpcmdlists.rss
changeset 13 4f959124999b
equal deleted inserted replaced
12:ab7598bdae30 13:4f959124999b
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Command lists for the noncritical phase SWP:
       
    16 *   - non-critical phase Started
       
    17 *
       
    18 */
       
    19 
       
    20 #include <ssm/conditionresourcetypes.rh>
       
    21 #include <ssm/ssmcmd.rh>
       
    22 
       
    23 #include "ssmswp.hrh"
       
    24 #include "ssmdlldatadefs.rh"
       
    25 
       
    26 // Identify command list type
       
    27 UID2 KUidSsmCommandListResourceFile
       
    28 
       
    29 // ---------------------------------------------------------------------------
       
    30 // r_entry_point
       
    31 // This must be the first resource
       
    32 // ---------------------------------------------------------------------------
       
    33 //
       
    34 RESOURCE SSM_COMMAND_LIST_ROOT r_entry_point
       
    35     {
       
    36     command_list_mapping = r_map;
       
    37     }
       
    38 
       
    39 // ---------------------------------------------------------------------------
       
    40 // r_map
       
    41 // Mapping of command list ids to resource ids.
       
    42 // ---------------------------------------------------------------------------
       
    43 //
       
    44 RESOURCE SSM_COMMAND_LIST_MAPPING r_map
       
    45     {
       
    46     mappings =
       
    47         {
       
    48         SSM_COMMANDLISTID_TO_RESOURCEID
       
    49             {
       
    50             command_list_id = ESsmNonCriticalPhaseStarted;
       
    51             resource_id = r_noncriticalphase_commands;
       
    52             }
       
    53         };
       
    54     }
       
    55 
       
    56 // ===========================================================================
       
    57 // Command lists in alphabetical order
       
    58 // ===========================================================================
       
    59 //
       
    60 
       
    61 // ---------------------------------------------------------------------------
       
    62 // r_started_commands
       
    63 // ---------------------------------------------------------------------------
       
    64 //
       
    65 RESOURCE SSM_COMMAND_LIST r_noncriticalphase_commands
       
    66     {
       
    67     commands =
       
    68         {
       
    69         // prio 0xFFF1
       
    70         r_cmd_publishswp,
       
    71         // prio 0x7EFF
       
    72         r_cmd_activitymonitor1,
       
    73         // prio 0x7EFE
       
    74         r_cmd_logs,
       
    75         // prio 0x7EFD
       
    76         r_cmd_activitymonitor2,
       
    77         // prio 0x7EFC
       
    78         r_cmd_pbk2,
       
    79         // prio 0x7EFB
       
    80         r_cmd_activitymonitor3,
       
    81         // prio 0x7EFA
       
    82         r_cmd_mce,
       
    83         // prio 0x7EF9
       
    84         r_cmd_activitymonitor4,
       
    85         // prio 0x7EF8
       
    86         r_cmd_clock,	//ESLT-842J9W
       
    87         // prio 0x7EF7
       
    88         r_cmd_activitymonitor5,
       
    89         // prio 0x7EF6
       
    90         r_cmd_videocenter,
       
    91         // prio 0x7EF5
       
    92         r_cmd_activitymonitor6,
       
    93         // prio 0x7EF4
       
    94         r_cmd_iaupdatebg,
       
    95         // prio 0x7EF3
       
    96         r_cmd_activitymonitor7,
       
    97         // prio 0x7EF2
       
    98         r_cmd_screensaver,
       
    99         // prio 0x7EEF
       
   100         r_cmd_activitymonitor8,
       
   101         // prio 0x7EEE
       
   102         r_cmd_autosync
       
   103 #ifdef FF_ATT_ADDRESS_BK
       
   104         //prio 0x7EEA
       
   105         ,r_cmd_activitymonitor9,
       
   106         //prio 0x7EE9
       
   107         r_cmd_aab
       
   108 #endif
       
   109 		// prio 0x7EE8
       
   110 		,r_cmd_activitymonitor10,
       
   111 		// prio 0x7EE7
       
   112 		r_cmd_calendar //CR:MMUN-82ZHAD
       
   113     	};
       
   114     }
       
   115 
       
   116 // -----------------------------------------------------------------------------
       
   117 // r_cmd_aab
       
   118 // -----------------------------------------------------------------------------
       
   119 //
       
   120 #ifdef FF_ATT_ADDRESS_BK 
       
   121 RESOURCE SSM_START_APP_INFO r_cmd_aab
       
   122     {
       
   123     priority = 0x7EE9;
       
   124     name = "z:\\sys\\bin\\AABPhonebookapp.exe";
       
   125     retries = 2;
       
   126     background = 1; // To background
       
   127     monitor_info = r_mon_3_restarts_ignore;
       
   128     }
       
   129 #endif
       
   130 
       
   131 // ---------------------------------------------------------------------------
       
   132 // r_cmd_activitymonitor1
       
   133 // ---------------------------------------------------------------------------
       
   134 //
       
   135 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor1
       
   136     {
       
   137     priority = 0x7EFF;
       
   138     severity = ECmdCriticalSeverity;
       
   139     execution_behaviour = ESsmWaitForSignal;
       
   140     dllname = "ssmactivitycmd.dll";
       
   141     ordinal = 1; // SsmActivityCmdNewL
       
   142     retries = 2;
       
   143     dll_data = r_dlldata_activitymonitor_timeout;
       
   144     }
       
   145 
       
   146 // ---------------------------------------------------------------------------
       
   147 // r_cmd_activitymonitor2
       
   148 // ---------------------------------------------------------------------------
       
   149 //
       
   150 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor2
       
   151     {
       
   152     priority = 0x7EFD;
       
   153     severity = ECmdCriticalSeverity;
       
   154     execution_behaviour = ESsmWaitForSignal;
       
   155     dllname = "ssmactivitycmd.dll";
       
   156     ordinal = 1; // SsmActivityCmdNewL
       
   157     retries = 2;
       
   158     dll_data = r_dlldata_activitymonitor_timeout;
       
   159     }
       
   160 
       
   161 // ---------------------------------------------------------------------------
       
   162 // r_cmd_activitymonitor3
       
   163 // ---------------------------------------------------------------------------
       
   164 //
       
   165 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor3
       
   166     {
       
   167     priority = 0x7EFB;
       
   168     severity = ECmdCriticalSeverity;
       
   169     execution_behaviour = ESsmWaitForSignal;
       
   170     dllname = "ssmactivitycmd.dll";
       
   171     ordinal = 1; // SsmActivityCmdNewL
       
   172     retries = 2;
       
   173     dll_data = r_dlldata_activitymonitor_timeout;
       
   174     }
       
   175 
       
   176 // ---------------------------------------------------------------------------
       
   177 // r_cmd_activitymonitor4
       
   178 // ---------------------------------------------------------------------------
       
   179 //
       
   180 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor4
       
   181     {
       
   182     priority = 0x7EF9;
       
   183     severity = ECmdCriticalSeverity;
       
   184     execution_behaviour = ESsmWaitForSignal;
       
   185     dllname = "ssmactivitycmd.dll";
       
   186     ordinal = 1; // SsmActivityCmdNewL
       
   187     retries = 2;
       
   188     dll_data = r_dlldata_activitymonitor_timeout;
       
   189     }
       
   190 
       
   191 // ---------------------------------------------------------------------------
       
   192 // r_cmd_activitymonitor5
       
   193 // ---------------------------------------------------------------------------
       
   194 //
       
   195 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor5
       
   196     {
       
   197     priority = 0x7EF7;
       
   198     severity = ECmdCriticalSeverity;
       
   199     execution_behaviour = ESsmWaitForSignal;
       
   200     dllname = "ssmactivitycmd.dll";
       
   201     ordinal = 1; // SsmActivityCmdNewL
       
   202     retries = 2;
       
   203     dll_data = r_dlldata_activitymonitor_timeout;
       
   204     }
       
   205 
       
   206 // ---------------------------------------------------------------------------
       
   207 // r_cmd_activitymonitor6
       
   208 // ---------------------------------------------------------------------------
       
   209 //
       
   210 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor6
       
   211     {
       
   212     priority = 0x7EF5;
       
   213     severity = ECmdCriticalSeverity;
       
   214     execution_behaviour = ESsmWaitForSignal;
       
   215     dllname = "ssmactivitycmd.dll";
       
   216     ordinal = 1; // SsmActivityCmdNewL
       
   217     retries = 2;
       
   218     dll_data = r_dlldata_activitymonitor_timeout;
       
   219     }
       
   220 
       
   221 // ---------------------------------------------------------------------------
       
   222 // r_cmd_activitymonitor7
       
   223 // ---------------------------------------------------------------------------
       
   224 //
       
   225 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor7
       
   226     {
       
   227     priority = 0x7EF3;
       
   228     severity = ECmdCriticalSeverity;
       
   229     execution_behaviour = ESsmWaitForSignal;
       
   230     dllname = "ssmactivitycmd.dll";
       
   231     ordinal = 1; // SsmActivityCmdNewL
       
   232     retries = 2;
       
   233     dll_data = r_dlldata_activitymonitor_timeout;
       
   234     }
       
   235 
       
   236 // ---------------------------------------------------------------------------
       
   237 // r_cmd_activitymonitor8
       
   238 // ---------------------------------------------------------------------------
       
   239 //
       
   240 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor8
       
   241     {
       
   242     priority = 0x7EEF;
       
   243     severity = ECmdCriticalSeverity;
       
   244     execution_behaviour = ESsmWaitForSignal;
       
   245     dllname = "ssmactivitycmd.dll";
       
   246     ordinal = 1; // SsmActivityCmdNewL
       
   247     retries = 2;
       
   248     dll_data = r_dlldata_activitymonitor_timeout;
       
   249     }
       
   250 
       
   251 // ---------------------------------------------------------------------------
       
   252 // r_cmd_activitymonitor9
       
   253 // ---------------------------------------------------------------------------
       
   254 //
       
   255 #ifdef FF_ATT_ADDRESS_BK
       
   256 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor9
       
   257     {
       
   258     priority = 0x7EEA;
       
   259     severity = ECmdCriticalSeverity;
       
   260     execution_behaviour = ESsmWaitForSignal;
       
   261     dllname = "ssmactivitycmd.dll";
       
   262     ordinal = 1; // SsmActivityCmdNewL
       
   263     retries = 2;
       
   264     dll_data = r_dlldata_activitymonitor_timeout;
       
   265     }
       
   266 #endif
       
   267 
       
   268 // ---------------------------------------------------------------------------
       
   269 // r_cmd_activitymonitor10
       
   270 // ---------------------------------------------------------------------------
       
   271 //
       
   272 RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor10
       
   273     {
       
   274     priority = 0x7EE8;
       
   275     severity = ECmdCriticalSeverity;
       
   276     execution_behaviour = ESsmWaitForSignal;
       
   277     dllname = "ssmactivitycmd.dll";
       
   278     ordinal = 1; // SsmActivityCmdNewL
       
   279     retries = 2;
       
   280     dll_data = r_dlldata_activitymonitor_timeout;
       
   281     }
       
   282 
       
   283 // ---------------------------------------------------------------------------
       
   284 // r_cmd_autosync
       
   285 // ---------------------------------------------------------------------------
       
   286 //	
       
   287 RESOURCE SSM_START_PROCESS_INFO r_cmd_autosync
       
   288     {
       
   289     priority = 0x7EEE;
       
   290     execution_behaviour = ESsmFireAndForget;
       
   291     retries = 3;
       
   292     name = "cctautosync.exe";
       
   293     }
       
   294 
       
   295 // ---------------------------------------------------------------------------
       
   296 // r_cmd_calendar
       
   297 // ---------------------------------------------------------------------------
       
   298 //
       
   299 RESOURCE SSM_START_APP_INFO r_cmd_calendar
       
   300 	{
       
   301    	priority = 0x7EE7;
       
   302 	name = "calendar.exe";
       
   303 	execution_behaviour = ESsmFireAndForget;
       
   304 	retries = 3;
       
   305 	background = 1; // To background
       
   306     }
       
   307 
       
   308 // ---------------------------------------------------------------------------
       
   309 // r_cmd_clock
       
   310 // ---------------------------------------------------------------------------
       
   311 //
       
   312 RESOURCE SSM_START_APP_INFO r_cmd_clock
       
   313     {
       
   314     priority = 0x7EF8;
       
   315     name = "clock.exe";
       
   316     execution_behaviour = ESsmWaitForSignal;
       
   317     timeout = 10000;
       
   318     background = 1; // To background
       
   319     }
       
   320 
       
   321 // ---------------------------------------------------------------------------
       
   322 // r_cmd_iaupdatebg
       
   323 // ---------------------------------------------------------------------------
       
   324 //
       
   325 RESOURCE SSM_START_PROCESS_INFO r_cmd_iaupdatebg
       
   326     {
       
   327     priority = 0x7EF4;
       
   328     name = "iaupdatebg.exe";
       
   329     execution_behaviour = ESsmWaitForSignal;
       
   330     timeout = 10000;
       
   331     conditional_information = r_cond_feat_iadv2;
       
   332     }
       
   333 
       
   334 // ---------------------------------------------------------------------------
       
   335 // r_cmd_mce
       
   336 // ---------------------------------------------------------------------------
       
   337 //
       
   338 RESOURCE SSM_START_APP_INFO r_cmd_mce
       
   339     {
       
   340     priority = 0x7EFA;
       
   341     name = "mce.exe";
       
   342     execution_behaviour = ESsmWaitForSignal;
       
   343     timeout = 10000;
       
   344     background = 1; // To background
       
   345     }
       
   346 
       
   347 // ---------------------------------------------------------------------------
       
   348 // r_cmd_pbk2
       
   349 // ---------------------------------------------------------------------------
       
   350 //
       
   351 RESOURCE SSM_START_APP_INFO r_cmd_pbk2
       
   352     {
       
   353     priority = 0x7EFC;
       
   354     name = "z:\\sys\\bin\\phonebook2.exe";
       
   355     execution_behaviour = ESsmWaitForSignal;
       
   356     timeout = 10000;
       
   357     background = 1; // To background
       
   358     }
       
   359 
       
   360 // ---------------------------------------------------------------------------
       
   361 // r_cmd_publishswp
       
   362 // ---------------------------------------------------------------------------
       
   363 //
       
   364 RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_cmd_publishswp
       
   365     {
       
   366     priority = 0xFFF1;
       
   367     severity = ECmdCriticalSeverity;
       
   368     }
       
   369 
       
   370 // ---------------------------------------------------------------------------
       
   371 // r_cmd_logs
       
   372 // ---------------------------------------------------------------------------
       
   373 //
       
   374 RESOURCE SSM_START_APP_INFO r_cmd_logs
       
   375     {
       
   376     priority = 0x7EFE;
       
   377     name = "z:\\sys\\bin\\logs.exe";
       
   378     execution_behaviour = ESsmWaitForSignal;
       
   379     timeout = 10000;
       
   380     background = 1; // To background
       
   381     }
       
   382 
       
   383 // ---------------------------------------------------------------------------
       
   384 // r_cmd_screensaver
       
   385 // ---------------------------------------------------------------------------
       
   386 //
       
   387 RESOURCE SSM_START_APP_INFO r_cmd_screensaver
       
   388     {
       
   389     priority = 0x7EF2;
       
   390     name = "z:\\sys\\bin\\screensaver.exe";
       
   391     background = 1; // To background
       
   392     execution_behaviour = ESsmWaitForSignal;
       
   393     timeout = 10000;
       
   394     monitor_info = r_mon_3_restarts_ignore;
       
   395     }
       
   396 
       
   397 // ---------------------------------------------------------------------------
       
   398 // r_cmd_videocenter
       
   399 // ---------------------------------------------------------------------------
       
   400 //
       
   401 RESOURCE SSM_START_PROCESS_INFO r_cmd_videocenter
       
   402     {
       
   403     priority = 0x7EF6;
       
   404     name = "cseschedulerserver.exe";
       
   405     execution_behaviour = ESsmWaitForSignal;
       
   406     timeout = 10000;
       
   407     }
       
   408 
       
   409 // ===========================================================================
       
   410 // Conditional blocks in alphabetical order
       
   411 // ===========================================================================
       
   412 //
       
   413 // ---------------------------------------------------------------------------
       
   414 // r_cond_feat_iadv2
       
   415 // ---------------------------------------------------------------------------
       
   416 //
       
   417 RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_iadv2
       
   418     {
       
   419     feature_id = KFeatureIdFfIaupdatePhase2;
       
   420     }
       
   421 
       
   422 // ===========================================================================
       
   423 // DLL data items in alphabetical order
       
   424 // ===========================================================================
       
   425 //
       
   426 
       
   427 // ---------------------------------------------------------------------------
       
   428 // r_dlldata_activitymonitor_timeout
       
   429 // ---------------------------------------------------------------------------
       
   430 //
       
   431 RESOURCE CMD_PARAM_TIMEOUT r_dlldata_activitymonitor_timeout
       
   432     {
       
   433     timeout = 2;
       
   434     }
       
   435 
       
   436 
       
   437 // monitoring.rss contains resource definitions, so it may not be included
       
   438 // before entry point.
       
   439 #include "stem_monitoring.rss"