os/kernelhwsrv/kerneltest/e32test/usb/t_usb_device/include/apitests.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1997-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 the License "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:
    14 // e32test/usb/t_usb_device/include/apitests.h
    15 // 
    16 //
    17 
    18 #ifndef __APITESTS_H__
    19 #define __APITESTS_H__
    20 
    21 extern void SetupDescriptors(LDDConfigPtr aLddPtr,RDEVCLIENT* aPort, TUint16 aPid = 0);
    22 
    23 extern void TestEndpointDescriptor(RDEVCLIENT* aPort,TInt aIfSetting, TInt aEpNumber,TUsbcEndpointInfo aEpInfo);
    24 
    25 extern void TestInvalidSetInterface (RDEVCLIENT* aPort,TInt aNumSettings);
    26 
    27 extern void TestInvalidReleaseInterface (RDEVCLIENT* aPort,TInt aNumSettings);
    28 
    29 extern void TestDescriptorManipulation(TBool aHighSpeed, RDEVCLIENT* aPort, TInt aNumSettings);
    30 
    31 extern void TestOtgExtensions(RDEVCLIENT* aPort);
    32 
    33 extern void TestEndpoint0MaxPacketSizes(RDEVCLIENT* aPort);
    34 
    35 #endif	// __APITESTS_H__