Iraqi officials say the attacks were aimed at police patrols in Baghdad .