equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
15 * TestUtil - server implementation |
15 * TestUtil - server implementation |
16 * |
16 * |
17 */ |
17 */ |
18 |
18 |
19 |
19 |
20 |
|
21 |
|
22 /** |
20 /** |
23 @file |
21 @file |
24 @test |
22 @test |
25 @internalComponent |
23 @internalComponent |
26 */ |
24 */ |
444 aMessage.WriteL(1, numFiles); |
442 aMessage.WriteL(1, numFiles); |
445 aMessage.Complete(KErrNone); |
443 aMessage.Complete(KErrNone); |
446 CleanupStack::PopAndDestroy(dirPath); |
444 CleanupStack::PopAndDestroy(dirPath); |
447 break; |
445 break; |
448 } |
446 } |
|
447 case ESetSecureClock: |
|
448 { |
|
449 TTime currentTime(0); |
|
450 currentTime.UniversalTime(); |
|
451 TTimeIntervalSeconds increment(aMessage.Int0()); |
|
452 currentTime += increment; |
|
453 User::SetUTCTimeSecure(currentTime); |
|
454 aMessage.Complete(KErrNone); |
|
455 |
|
456 } |
|
457 break; |
449 default: |
458 default: |
450 { |
459 { |
451 PanicClient(aMessage,EPanicIllegalFunction); |
460 PanicClient(aMessage,EPanicIllegalFunction); |
452 break; |
461 break; |
453 } |
462 } |