android_packages_modules_Co.../tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Motomu Utsumi 5759bf45a5 Update enforceMeteredApnPolicy to follow the compat flag
On V+, ConnectivityService uses uid blocking state in BpfMap instead of
asking NetworkPolicyManager.
But, there was one behavior difference because NetworkPolicyManager
considers the network is always not blocked for apps without Internet
permission.
To ensure backward compatibility, the
NETWORK_BLOCKED_WITHOUT_INTERNET_PERMISSION flag was introduced in
aosp/3076606, aosp/3088285.

This CL updates enforceMeteredApnPolicy to respect this flag for
backward compatibility.

Test: CSEnforceMeteredApnPolicy
Bug: 404428733
Bug: 370383309
Flag: EXEMPT bugfix
Change-Id: I631f4f840818e1d40f20fccae1ec1a2cbbb6a166
2025-04-21 12:19:45 +09:00
..
benchmark [DON'T BLOCK] Test ownership migration rules 2024-01-31 14:10:00 +00:00
common Add MatchNonThreadLocalNetworks flag in NetworkCapabilities 2025-03-21 10:36:41 +08:00
cts Merge "Clean up the CtsNetTestCasesMaxTargetSdk filters" into main 2025-04-18 01:09:38 -07:00
deflake Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07:00
integration Wait for the clat interface to be created 2025-04-15 09:40:25 -07:00
native Remove unused libprocessgroup dependency 2025-01-17 11:20:39 -08:00
smoketest [DON'T BLOCK] Test ownership migration rules 2024-01-31 14:10:00 +00:00
unit Update enforceMeteredApnPolicy to follow the compat flag 2025-04-21 12:19:45 +09:00