sysstatemgmt/ssmcustcmds/ssmsystemcmds/src/ssminitpskeys.cpp
branchRCL_3
changeset 9 21e939dd208a
parent 0 4e1aa6a622a0
child 21 ccb4f6b3db21
equal deleted inserted replaced
8:8d1d8440b626 9:21e939dd208a
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
   272              KRTCPropertyKey,
   272              KRTCPropertyKey,
   273              KReadDeviceDataPolicy,
   273              KReadDeviceDataPolicy,
   274              KWriteDeviceDataPolicy );
   274              KWriteDeviceDataPolicy );
   275     SetL( KPSStarterUid, KRTCPropertyKey, 0 );
   275     SetL( KPSStarterUid, KRTCPropertyKey, 0 );
   276     
   276     
       
   277     INFO( "KPSUidStartup::KIgnoreSecurityEvent" );
       
   278     DefineL( KPSUidStartup,
       
   279              KIgnoreSecurityEvent,
       
   280              KReadDeviceDataPolicy,
       
   281              KWriteDeviceDataPolicy );
       
   282     SetL( KPSUidStartup,
       
   283           KIgnoreSecurityEvent,
       
   284           EPSIgnoreSecurityEventUninitialized );
       
   285     
   277 // Store FirstBoot Value from cenrep
   286 // Store FirstBoot Value from cenrep
   278 TInt csVal( 0 );
   287 TInt csVal( 0 );
   279 TInt psVal( 0 );
   288 TInt psVal( 0 );
   280     CSsmMapperUtility& util = MapperUtilityL(); 
   289     CSsmMapperUtility& util = MapperUtilityL(); 
   281     User::LeaveIfError( util.CrValue( KCRUidStartup, 
   290     User::LeaveIfError( util.CrValue( KCRUidStartup,