os/security/cryptoservices/filebasedcertificateandkeystores/source/generic/server/tokenserverdebug.h
Update contrib.
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of the License "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
15 * TokenServerDebug class implementation
25 #ifndef __TOKENSERVERDEBUG_H__
26 #define __TOKENSERVERDEBUG_h__
33 * OOM testing functionality.
36 class TokenServerDebug
39 // Server-side OOM testing
40 static void StartOOMTest();
41 static void IncHeapFailPoint();
42 static void ResetHeapFail();
43 static void PauseOOMTest();
44 static void ResumeOOMTest();
47 static void HeapCheckStart();
48 static void HeapCheckEnd();
50 static void HeapErrorL(TBool aError);
53 static TInt iStartCount;
54 static TInt iPauseCount;
55 static TInt iInitialAllocCount;