A NSW police officer accused of throwing a two-year-old boy "headfirst at the ground" — as well as stalking and assaulting a woman — kept his job after several unsuccessful prosecutions.