No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
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
bpf Fix memory leak in NetBpfLoad 2025-04-17 08:38:01 -07:00
clatd clatd: fix endianness of multicast drop 2025-03-21 12:55:32 -07:00
common Clean up flags to not only flag APIs 2025-04-02 16:23:17 +09:00
framework Update enforceMeteredApnPolicy to follow the compat flag 2025-04-21 12:19:45 +09:00
framework-t Avoid excessive allocation churn in network stats. 2025-04-15 10:46:35 -07:00
nearby Replace .toList() with .collect() am: 725078a6bd am: 6586d080f6 2025-02-03 17:40:50 -08:00
networksecurity Remove unused DataStore class 2025-04-10 12:30:05 +00:00
remoteauth Merge "packages/modules/Connectivity: remove usages of Mockito.verifyZeroInteractions" into main 2025-03-11 04:57:42 -07:00
service Update enforceMeteredApnPolicy to follow the compat flag 2025-04-21 12:19:45 +09:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t Avoid excessive allocation churn in network stats. 2025-04-15 10:46:35 -07:00
staticlibs Merge "Remove @JvmSerializableLambda usage in CarrierConfigRule" into main 2025-04-17 15:04:06 -07:00
tests Update enforceMeteredApnPolicy to follow the compat flag 2025-04-21 12:19:45 +09:00
Tethering Create the TetheringFeatureFlags class 2025-04-16 20:18:04 -07:00
thread Add unit test for ThreadNetworkControllerService#SetEnabled 2025-04-15 09:44:12 +00:00
tools Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07:00
.clang-format Add .clang-format 2025-03-23 19:59:10 -07:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Add jimictw@ to core networking OWNERS. 2025-01-24 01:06:33 -08:00
OWNERS_core_networking_xts Add yuyanghuang@ to OWNERS_core_networking_xts for APF firmware tests 2025-03-14 13:16:04 +09:00
PREUPLOAD.cfg Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
rustfmt.toml Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
TEST_MAPPING Add connectivity tests for presubmit on tv 2025-04-03 09:13:40 -07:00