diff -r 630d2f34d719 -r 07a122eea281 telephonyprotocols/pdplayer/umts/spudfsm/src/cpdpfsmfactory.cpp --- a/telephonyprotocols/pdplayer/umts/spudfsm/src/cpdpfsmfactory.cpp Tue Aug 31 16:23:08 2010 +0300 +++ b/telephonyprotocols/pdplayer/umts/spudfsm/src/cpdpfsmfactory.cpp Wed Sep 01 12:40:21 2010 +0100 @@ -1,4 +1,4 @@ -// Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 2004-2009 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" @@ -20,20 +20,14 @@ @internalComponent */ - - -#include "OstTraceDefinitions.h" -#ifdef OST_TRACE_COMPILER_IN_USE -#include "cpdpfsmfactoryTraces.h" -#endif - #include "cpdpfsmfactory.h" +#include "spudfsmdebuglogger.h" // NewL CPdpFsmFactory* CPdpFsmFactory::NewL () { - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_NEWL_1, ">>CPdpFsmFactory::NewL()"); - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_NEWL_2, "<>CPdpFsmFactory::CPdpFsmFactory()"); - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_CTOR_2, "<>CPdpFsmFactory::~CPdpFsmFactory()"); + SPUDFSMVERBOSE_FNLOG("CPdpFsmFactory::~CPdpFsmFactory()"); iContexts.DeleteAll(); iContexts.Reset(); delete iEtelDriverInput; - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_DTOR_2, "<>CPdpFsmFactory::InitL()"); + SPUDFSMVERBOSE_FNLOG("CPdpFsmFactory::InitL()"); iPdpFsmInterface = aPdpFsmInterface; @@ -100,21 +92,20 @@ iEtelDriverInput = new (ELeave) REtelDriverInput; iEtelDriverInput->OpenL (*iPdpFsmInterface); - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_INITL_2, "<>CPdpFsmFactory::Close()"); + SPUDFSMVERBOSE_FNLOG("CPdpFsmFactory::Close()"); // in OOM conditions iEtelDriveInput may not have successfully // been created, check here for safety. if (iEtelDriverInput != NULL) { iEtelDriverInput->Close(); } - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_CLOSE_2, "<>CPdpFsmFactory::GetContext()"); - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_GETFSMCONTEXT_2, "<>CPdpFsmFactory::NewFsmContext()"); + SPUDFSMVERBOSE_FNLOG("CPdpFsmFactory::NewFsmContext()"); #ifndef SYMBIAN_NON_SEAMLESS_NETWORK_BEARER_MOBILITY TInt ret = KErrNone; @@ -154,7 +145,6 @@ iContexts[aPdpId] = p; ); } - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_NEWFSMCONTEXTL_2, "<CreatePdpL(i, aContextType); } - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_NEWFSMCONTEXTL_3, "<>CPdpFsmFactory::DeleteFsmContext()"); + SPUDFSMVERBOSE_FNLOG("CPdpFsmFactory::DeleteFsmContext()"); ASSERT(ContextIsValid(aPdpId)); delete iContexts[aPdpId]; iContexts[aPdpId] = NULL; - OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CPDPFSMFACTORY_DELETEFSMCONTEXT_2, "<