diff -r 17af172ffa5f -r 630d2f34d719 telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstate.cpp --- a/telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstate.cpp Thu Aug 19 11:03:36 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstate.cpp Tue Aug 31 16:23:08 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -22,10 +22,16 @@ @internalComponent */ + + +#include "OstTraceDefinitions.h" +#ifdef OST_TRACE_COMPILER_IN_USE +#include "tpdpstateTraces.h" +#endif + #include #include "cpdpfsmfactory.h" #include "tpdpstate.h" -#include "spudfsmdebuglogger.h" #include "pdpfsmnmspace.h" #include "reteldriverinput.h" #include "PDPFSM.h" @@ -88,17 +94,18 @@ TPdpState::TPdpState() -#ifdef _DEBUG +#if (OST_TRACE_CATEGORY & OST_TRACE_CATEGORY_DEBUG) : iName() #endif { - SPUDFSMVERBOSE_FNLOG("TPdpState::TPdpState()"); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATE_CTOR_1, ">>TPdpState::TPdpState()"); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATE_CTOR_2, "<>TPdpState::Input()"); + OstTraceDef1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATE_INPUT_2, "aOperation : %d", aOperation); if (aOperation == PdpFsm::EContextDeleted || aOperation == SpudMan::EContextDelete || (aOperation == PdpFsm::EContextStatusChangeNetwork && aFsm.iContextStatus == RPacketContext::EStatusDeleted)) @@ -109,25 +116,26 @@ return KErrNone; } - SPUDFSMVERBOSE_LOG1(_L("!!! Unhandled Operation (%S)!!!"), LogOperation (aFsm, aOperation)); + OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATE_INPUT_3, "!!! Unhandled Operation (%S)!!!", *(LogOperation (aFsm, aOperation))); + OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATE_INPUT_4, "<