question: public boolean validateStateTransition ( ) { Log . v ( LOG_TAG , String . format ( "Print state depository: %s" , printStates ( ) ) ) ; switch ( mTransitionDirection ) { case DO_NOTHING : Log . v ( LOG_TAG , "No direction requested, verifying network states" ) ; return validateNetworkStates ( ) ; case TO_CONNECTION : Log . v ( LOG_TAG , "Transition to CONNECTED" ) ; return validateNetworkConnection ( ) ; case TO_DISCONNECTION : Log . v ( LOG_TAG , "Transition to DISCONNECTED" ) ; return validateNetworkDisconnection ( ) ; default : Log . e ( LOG_TAG , "Invalid transition direction." ) ; return false ; } }
target:  Verify the state transition