You assume the mayor and her cops are on the same page here.
Yes. I watched the Wire, and the mayor bossed around the police commissioner, who bossed around the chief then the lieutenants.
I've never worked in the mayor's office, and I hardly cite The Wire as my only input on this.
I looked at WIKI, which told me the mayor's office administers all city services, public property, police and fire.