1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2008-2009 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". |
12 // |
12 // |
13 // Description: |
13 // Description: |
14 // |
14 // |
15 |
15 |
16 #ifdef USING_CTSY_DISPATCHER |
16 #ifdef USING_CTSY_DISPATCHER |
17 |
|
18 #include "OstTraceDefinitions.h" |
|
19 #ifdef OST_TRACE_COMPILER_IN_USE |
|
20 #include "cmmphonetsywithdispatcherTraces.h" |
|
21 #endif |
|
22 |
17 |
23 /** |
18 /** |
24 * This file contains additional function definitions for the CMmPhoneTsy class |
19 * This file contains additional function definitions for the CMmPhoneTsy class |
25 * in CTSY for use when the CTSY is used with the CTSY Dispatcher. |
20 * in CTSY for use when the CTSY is used with the CTSY Dispatcher. |
26 */ |
21 */ |
55 if(aPhoneId.iSerialNumber.Length() > 0) |
50 if(aPhoneId.iSerialNumber.Length() > 0) |
56 { |
51 { |
57 iPhoneIdentity.iSerialNumber.Copy(aPhoneId.iSerialNumber); |
52 iPhoneIdentity.iSerialNumber.Copy(aPhoneId.iSerialNumber); |
58 } |
53 } |
59 |
54 |
60 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_1, "TSY: CMmPhoneTsy::CompleteGetPhoneId :"); |
55 TFLOGSTRING("TSY: CMmPhoneTsy::CompleteGetPhoneId :"); |
61 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_2, "Manufacturer: %S,", iPhoneIdentity.iManufacturer); |
56 TFLOGSTRING2(" Manufacturer: %S,", &iPhoneIdentity.iManufacturer); |
62 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_3, "Model: %S,", iPhoneIdentity.iModel); |
57 TFLOGSTRING2(" Model: %S,", &iPhoneIdentity.iModel); |
63 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_4, "Revision: %S,", iPhoneIdentity.iRevision); |
58 TFLOGSTRING2(" Revision: %S,", &iPhoneIdentity.iRevision); |
64 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_5, "SerialNumber: %S", iPhoneIdentity.iSerialNumber); |
59 TFLOGSTRING2(" SerialNumber: %S", &iPhoneIdentity.iSerialNumber); |
65 } |
60 } |
66 |
61 |
67 //reset req handle. Returns the deleted req handle |
62 //reset req handle. Returns the deleted req handle |
68 iTsyReqHandleStore->ResetTsyReqHandle(EMultimodePhoneGetPhoneId ); |
63 iTsyReqHandleStore->ResetTsyReqHandle(EMultimodePhoneGetPhoneId ); |
69 |
64 |