kerneltest/e32test/power/d_lddpowerseqtest.inl
author John Imhofe
Mon, 19 Oct 2009 15:55:17 +0100
changeset 0 a41df078684a
child 280 2bfb1feef9de
permissions -rw-r--r--
Convert Kernelhwsrv package from SFL to EPL kernel\eka\compsupp is subject to the ARM EABI LICENSE userlibandfileserver\fatfilenameconversionplugins\unicodeTables is subject to the Unicode license kernel\eka\kernel\zlib is subject to the zlib license

// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "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:
// e32test\power\d_lddpowerseqtest.inl
// 
//

#ifndef __KERNEL_MODE__
inline TInt RLddTest1::Open()
	{ return DoCreate(KLddName,TVersion(0,1,1),KNullUnit,NULL,NULL); }
inline void RLddTest1::Test_power1down(TRequestStatus &aStatus, TUint &time)
	{ DoRequest(EPOWERDOWN_POWER1, aStatus, (TAny *)&time); }
inline void RLddTest1::Test_power2down(TRequestStatus &aStatus, TUint &time)
	{ DoRequest(EPOWERDOWN_POWER2, aStatus, (TAny *)&time); }
inline void RLddTest1::Test_power1up(TRequestStatus &aStatus, TUint &time)
	{ DoRequest(EPOWERUP_POWER1, aStatus, (TAny *)&time); }
inline void RLddTest1::Test_power2up(TRequestStatus &aStatus, TUint &time)
	{ DoRequest(EPOWERUP_POWER2, aStatus, (TAny *)&time); }
inline TInt RLddTest1::Test_setSleepTime(TUint time)
	{ return DoControl(ESET_SLEEPTIME, (TAny *)time); }
inline TInt RLddTest1::Unload()
	{ return User::FreeLogicalDevice(KLddName); }
#endif