Add ConnectivityAnnotations class

This change is to address API review, add respective
@IntDef for network policy API.

Typedef cannot be exposed as SystemApi so add
ConnectivityAnnotations class and add an annotation library
so that it can be used in module and platform.

Bug: 183972925
Test: m, build doc target framework-doc-stubs_annotations.zip
      and check the APIs have an attribute IntDef annotation
Change-Id: Ie3ec40cf48818edd422a4550377774eae387d3b2
6 files changed
tree: 2a6ec415fc8c722c3e958615845e04c8e78b5039
  1. framework/
  2. service/
  3. test/
  4. tests/
  5. OWNERS
  6. TEST_MAPPING