telephonyprotocols/pdplayer/umts/spudfsm/src/tpdpstatemodifingactive.cpp
changeset 73 70d75957b98f
parent 44 8b72faa1200f
equal deleted inserted replaced
69:b982c3e940f3 73:70d75957b98f
    18 
    18 
    19 /**
    19 /**
    20  @file 
    20  @file 
    21  @internalComponent
    21  @internalComponent
    22 */
    22 */
    23  
       
    24 
       
    25 
    23 
    26 #include "OstTraceDefinitions.h"
    24 #include "OstTraceDefinitions.h"
    27 #ifdef OST_TRACE_COMPILER_IN_USE
    25 #ifdef OST_TRACE_COMPILER_IN_USE
    28 #include "tpdpstatemodifingactiveTraces.h"
    26 #include "tpdpstatemodifingactiveTraces.h"
    29 #endif
    27 #endif
    33 #include "pdpfsmnmspace.h"
    31 #include "pdpfsmnmspace.h"
    34 #include "cpdpfsm.h"
    32 #include "cpdpfsm.h"
    35 
    33 
    36 TInt TPdpStateModifyingActive::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode)
    34 TInt TPdpStateModifyingActive::Input (CPdpFsm& aFsm, const TInt aOperation, const TInt aErrorCode)
    37 {
    35 {
    38 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_1, ">>TPdpStateModifyingActive::Input()");
       
    39 	OstTraceDefExt2(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_2, "aOperation : %S(%d)", *(LogOperation(aFsm, aOperation)), aOperation);
       
    40 
       
    41 	switch (aOperation)
    36 	switch (aOperation)
    42 	{
    37 	{
    43 	case PdpFsm::EPdpContextModified:
    38 	case PdpFsm::EPdpContextModified:
    44 		aFsm.ChangeStateToOpen();
    39 		aFsm.ChangeStateToOpen();
    45 		SpudManNotify(aFsm, KContextModifyActiveEvent, KErrNone);
    40 		SpudManNotify(aFsm, KContextModifyActiveEvent, KErrNone);
    46 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_3, "<<TPdpStateModifyingActive::Input()");
       
    47 		return KErrNone;
    41 		return KErrNone;
    48 	case PdpFsm::EPdpContextModifiedFailed:
    42 	case PdpFsm::EPdpContextModifiedFailed:
    49 		aFsm.ChangeStateToOpen();
    43 		aFsm.ChangeStateToOpen();
    50 		SpudManNotify(aFsm, KContextModifyActiveEvent, aErrorCode);
    44 		SpudManNotify(aFsm, KContextModifyActiveEvent, aErrorCode);
    51 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_4, "<<TPdpStateModifyingActive::Input()");
    45 		OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_4, "*** PDP CONTEXT MODIFY FAILED ***");
    52 		return KErrNone;
    46 		return KErrNone;
    53 	}
    47 	}
    54 	
    48 	
    55 	// default error handling
    49 	// default error handling
    56 	OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, TPDPSTATEMODIFYINGACTIVE_INPUT_5, "<<TPdpStateModifyingActive::Input()");
       
    57 	return TPdpState::Input(aFsm, aOperation, aErrorCode);
    50 	return TPdpState::Input(aFsm, aOperation, aErrorCode);
    58 }
    51 }
    59 
       
    60