sysstatemgmt/systemstatemgr/test/tcmn/resource/tgracefulofflinepatch.rss
changeset 0 4e1aa6a622a0
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description: Test Resource file to define KStartupBootIntoOffline and KPSSimStatus P&S key
       
    14 //  in techview. 
       
    15 // 
       
    16 // 
       
    17 //
       
    18 
       
    19 #include <ssm/ssmcmd.rh>
       
    20 #include <ssm/ssmsubstates.hrh>
       
    21 
       
    22 UID2 KUidSsmCommandListResourceFile
       
    23 
       
    24 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
       
    25 // The SSM relies on this having a resource ID of 1.
       
    26 RESOURCE SSM_COMMAND_LIST_ROOT
       
    27 	{
       
    28 	command_list_mapping = r_command_list_mapping;
       
    29 	}
       
    30 
       
    31 RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping
       
    32 	{
       
    33 	mappings =
       
    34 		{
       
    35 		SSM_COMMANDLISTID_TO_RESOURCEID
       
    36 			{
       
    37 			command_list_id = ESsmStartupSubStateNonCritical;
       
    38 			resource_id = r_cmds;
       
    39 			}
       
    40 		};
       
    41 	}
       
    42 
       
    43 RESOURCE SSM_COMMAND_LIST r_cmds
       
    44    	{
       
    45 	commands =
       
    46 		{
       
    47 		r_command_ps_bootmode
       
    48 		, r_command_ps_simusable
       
    49 		, r_command_ps_globalsystemstate
       
    50 		};
       
    51 	}
       
    52 	
       
    53 RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_bootmode
       
    54     {
       
    55     category = 0x101F8766; // KPSUidStartup
       
    56     key = 0x00000011;      // KStartupBootIntoOffline
       
    57     value = 101;           // EBootIntoNormalMode
       
    58     }	
       
    59 	
       
    60 RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_simusable
       
    61     {
       
    62     category = 0x101F8766; // KPSUidStartup
       
    63     key = 0x00000031;      // KPSSimStatus
       
    64     value = 101;           // ESimUsable
       
    65     }
       
    66 
       
    67 RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_globalsystemstate
       
    68     {
       
    69     category = 0x101F8766; // KPSUidStartup
       
    70     key      = 0x00000041; // KPSGlobalSystemState
       
    71     value    = 109;        // ESwStateNormalRfOn
       
    72     }
       
    73