[RFPM05] Add UidNetdPermissionInfo class

Add UidNetdPermissionInfo class to store netd permission info of
each uid. Use the bit mask for combining all netd permission into
one value which can update and get the uid permission easily.
Moreover, aosp/1340042 add carryover package info into this class
which centralizes all netd permissions relevant data.

Bug: 132784544
Test: atest FrameworksNetTests
Change-Id: I3b81ea2a5017e8f4d0d603144a33c9b08640d7ba
2 files changed
tree: 907d450030fa3520c5c29fbcafc3daa4526bfc9e
  1. core/
  2. services/
  3. tests/