Police have been given the power to randomly search passengers for weapons across Adelaide's public transport network ahead of New Year's Eve celebrations.