The son of two police officers and his gym friend have avoided jail at Oxford Crown Court after being caught selling cocaine in Oxfordshire.