Follow-up commit of aosp/2367328

This commit resolves comments addressed in aosp/2367328.

- Allow the feature to work on all types of networks.
- Improve error handling.
- Rename ‘settings’ to ‘rangeConfigs’.
- Rename ‘mUidsAbleToSelectThisNetwork’ to ‘mAllowedUids’.
- Add more comments.
- Extends test to verify if UIDs are reset when the setting for a
  network is not provided in the INetd::setNetworkAllowlist.

Bug: 263219497
Test: netd_integration_tests
Change-Id: I6c0d0f92939678b1eac4a7ea621e46bd410199b9
7 files changed
tree: 8fddd2ce981f95c15caf079a954a656ca4f1c006
  1. client/
  2. include/
  3. netutils_wrappers/
  4. server/
  5. tests/
  6. .editorconfig
  7. Android.bp
  8. NOTICE
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING