equal
deleted
inserted
replaced
1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2004-2010 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". |
34 TBool CPassAllPolicy::Check(const RMessage2&, TPolicyType) const |
34 TBool CPassAllPolicy::Check(const RMessage2&, TPolicyType) const |
35 { |
35 { |
36 return ETrue; |
36 return ETrue; |
37 } |
37 } |
38 |
38 |
|
39 #pragma BullseyeCoverage off |
|
40 #pragma CTC SKIP |
|
41 |
39 //The method initializes aPolicy parameter with "EAlwaysPass" type policy instance and |
42 //The method initializes aPolicy parameter with "EAlwaysPass" type policy instance and |
40 //returns KErrNone. |
43 //returns KErrNone. |
41 TInt CPassAllPolicy::Get(TPolicyType, TSecurityPolicy& aPolicy) const |
44 TInt CPassAllPolicy::Get(TPolicyType, TSecurityPolicy& aPolicy) const |
42 { |
45 { |
43 __ASSERT(0); |
46 __ASSERT(0); |
44 aPolicy = TSecurityPolicy(TSecurityPolicy::EAlwaysPass); |
47 aPolicy = TSecurityPolicy(TSecurityPolicy::EAlwaysPass); |
45 return KErrNone; |
48 return KErrNone; |
46 } |
49 } |
|
50 |
|
51 #pragma CTC ENDSKIP |
|
52 #pragma BullseyeCoverage on |
47 |
53 |
48 #ifdef __DBDUMP__ |
54 #ifdef __DBDUMP__ |
49 void CPassAllPolicy::Dump(RFile& aFile) const |
55 void CPassAllPolicy::Dump(RFile& aFile) const |
50 { |
56 { |
51 _LIT8(KClassName, "Class: CPassAllPolicy. this=%X"); |
57 _LIT8(KClassName, "Class: CPassAllPolicy. this=%X"); |