Sort administrator UIDs for NetworkCapabilities.

Administrator UIDs stored in NetworkCapabilities should be sorted. This
allows for easier equals checks and hashCode computation. Additionally,
duplicate UIDs should be prevented.

Bug: 147903575
Test: atest FrameworksNetTests
Change-Id: Ia5387ca2ce7c3fcbd04dc7fbff5266f7bcc71694
2 files changed
tree: d5121ac720533c20cb1f0cddf68d5fcf480753dc
  1. core/
  2. services/
  3. tests/