sysstatemgmt/systemstatereferenceplugins/test/tintcustcmd/src/tcustcmd_step_devicesecuritypincheck.cpp
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    86 	
    86 	
    87 	//Start the test exe which defines startup related property keys
    87 	//Start the test exe which defines startup related property keys
    88 	RProcess processHandle;
    88 	RProcess processHandle;
    89 	
    89 	
    90 	TInt temp = processHandle.Create(KExeToDefineStartUpPS, KNullDesC);
    90 	TInt temp = processHandle.Create(KExeToDefineStartUpPS, KNullDesC);
    91 	TRequestStatus status1;
       
    92 	processHandle.Rendezvous(status1);
       
    93 	processHandle.Resume();
    91 	processHandle.Resume();
    94 	User::WaitForRequest(status1);
       
    95 	processHandle.Close();
    92 	processHandle.Close();
    96 		
    93 		
    97 	processHandle.Create(KExeToDefineStartUpStatePS, KNullDesC);
    94 	processHandle.Create(KExeToDefineStartUpStatePS, KNullDesC);
    98     TRequestStatus status2;
    95 	processHandle.Resume();
    99     processHandle.Rendezvous(status2);
       
   100     processHandle.Resume();
       
   101     User::WaitForRequest(status2);
       
   102 	processHandle.Close();
    96 	processHandle.Close();
   103 
    97 
   104 	//For stopping the key simulation
    98 	//For stopping the key simulation
   105 	iStopSimulatekey = CStopSimulateDevicekey::NewL(this);
    99 	iStopSimulatekey = CStopSimulateDevicekey::NewL(this);
   106  	
   100