Classical and quantum magneto-oscillations of current flow near a p-n junction in graphene