diff -r 000000000000 -r 4e1aa6a622a0 sysstatemgmt/systemstatemgr/test/tcmn/resource/tgracefulofflinepatch.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/systemstatemgr/test/tcmn/resource/tgracefulofflinepatch.rss Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,73 @@ +// 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: Test Resource file to define KStartupBootIntoOffline and KPSSimStatus P&S key +// in techview. +// +// +// + +#include +#include + +UID2 KUidSsmCommandListResourceFile + +// SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file. +// The SSM relies on this having a resource ID of 1. +RESOURCE SSM_COMMAND_LIST_ROOT + { + command_list_mapping = r_command_list_mapping; + } + +RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping + { + mappings = + { + SSM_COMMANDLISTID_TO_RESOURCEID + { + command_list_id = ESsmStartupSubStateNonCritical; + resource_id = r_cmds; + } + }; + } + +RESOURCE SSM_COMMAND_LIST r_cmds + { + commands = + { + r_command_ps_bootmode + , r_command_ps_simusable + , r_command_ps_globalsystemstate + }; + } + +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_bootmode + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000011; // KStartupBootIntoOffline + value = 101; // EBootIntoNormalMode + } + +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_simusable + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000031; // KPSSimStatus + value = 101; // ESimUsable + } + +RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_globalsystemstate + { + category = 0x101F8766; // KPSUidStartup + key = 0x00000041; // KPSGlobalSystemState + value = 109; // ESwStateNormalRfOn + } +