Uno specs in the documentation tab here say:
The Arduino Uno board can be powered via the USB connection or with an external power supply. The power source is selected automatically.
As far as I can see though, it doesn't say which of those supplies is active if both are present.
What's the rule?