A characterization of all homogeneous real hypersurfaces in a complex projective space by observing the extrinsic shape of geodesics