summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Suprabh Shukla <suprabh@google.com> 2024-05-08 01:06:07 -0700
committer Suprabh Shukla <suprabh@google.com> 2024-05-15 15:41:28 -0700
commit68e9bc59f440b1eccc9d378f019a0d8afa43c39a (patch)
tree180bea3aea320a3f9767d9381036f503c62969ee /libs/androidfw/misc.cpp
parent52bd4f135acdb36fbc7f3a4402bb29416e3ba06c (diff)
Use metered firewalls for metered uid policy
Since the underlying code in connectivity manager is moving to metered firewalls to denote the uid policy for metered restrictions, NPMS can start using them now. Rather than having a single PENALTY_BOX, we have separate firewalls for user and admin imposed restrictions. Once NPMS uses the appropriate firewalls for these, it does not need to separately convey the blocked reasons for metered restrictions on uids to the ConnectivityManager. Flag: com.android.server.net.use_metered_firewall_chains Test: atest FrameworksServicesTests:NetworkManagementServiceTest Test: atest FrameworksServicesTests:NetworkPolicyManagerTest Test: atest CtsHostsideNetworkPolicyTests Bug: 336693007 Change-Id: I8da11ff663257d3dafcb5e22ae3313a9255ef0a6 Merged-In: I8da11ff663257d3dafcb5e22ae3313a9255ef0a6
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions