56
|
1 |
// Copyright (c) 2007-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 "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 |
// Version of security server session to enable testing of low memory conditions
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef R_LOW_MEMORY_SECURITY_SVR_SESSION_H
|
|
20 |
#define R_LOW_MEMORY_SECURITY_SVR_SESSION_H
|
|
21 |
|
|
22 |
#include <rm_debug_api.h>
|
|
23 |
|
|
24 |
class RLowMemorySecuritySvrSession : public Debug::RSecuritySvrSession
|
|
25 |
{
|
|
26 |
public:
|
|
27 |
TInt GetList(const Debug::TListId aListId, TDes8& aListData, TUint32& aDataSize);
|
|
28 |
TInt GetList(const TThreadId aThreadId, const Debug::TListId aListId, TDes8& aListData, TUint32& aDataSize);
|
|
29 |
TInt GetList(const TProcessId aProcessId, const Debug::TListId aListId, TDes8& aListData, TUint32& aDataSize);
|
|
30 |
protected:
|
|
31 |
virtual void FailAlloc(const TInt aCount) = 0;
|
|
32 |
virtual void HeapReset() = 0;
|
|
33 |
virtual void MarkHeap() = 0;
|
|
34 |
virtual void MarkHeapEnd() = 0;
|
|
35 |
};
|
|
36 |
|
|
37 |
#endif //R_LOW_MEMORY_SECURITY_SVR_SESSION_H
|
|
38 |
|