Move NetworkCapabilitiesUtils to framework-common

Also move CollectionUtils which is a dependency.

NetworkCapabilitiesUtils is needed in BatteryStatsImpl, which is in
frameworks/base/core, so it uses the framework-common library.

The current framework-common target cannot use androidx annotations due
to users of this filegroup. This is being addressed in another change;
use android.annotation annotations in the meantime.

Bug: 174436414
Test: m
Change-Id: Ie188572a6db7c1bea37550a3410d7d828409a902
3 files changed
tree: 6fecf2ed079db9e3003394eefc2329b88eae149d
  1. common/
  2. .gitignore
  3. OWNERS
  4. PREUPLOAD.cfg
  5. TEST_MAPPING