android_packages_modules_Co.../service
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai fbf102a88b Include NET_CAPABILITY_NOT_VCN_MANAGED for tethering local network agent
Currently, NET_CAPABILITY_NOT_VCN_MANAGED is implicited added for
NetworkRequest built by normal apps.
However, the tethering network agent doesn't have this capability,
which makes the agent being exposed to VcnManager and cannot be
seen by normal apps.

Add NET_CAPABILITY_NOT_VCN_MANAGED to tethering NetworkAgent. Include
NET_CAPABILITY_NOT_VCN_MANAGED in local network capabilities for
metrics and API utilities to ensure correct evaluation of local
network connectivity. Update unit tests to reflect the new capability.

Flag: EXEMPT bug fix
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.CSSatisfiedByLocalNetworkMetricsTest \
      ConnectivityCoverageTests:android.net.connectivity.com.android.metrics.SatisfiedByLocalNetworkMetricsTest \
      --update-device
Test: manual generate request by CTS and statsd_testdrive -e 10247
Bug: 428098173
Change-Id: Ifa9ce0827abd22d887a0e8a2ab6f4d7391b2b8ed
2025-08-06 11:24:33 +08:00
..
aidl_api/connectivity_native_aidl_interface Vendor AIDL interface for port blocking via eBPF 2022-03-25 09:14:48 -07:00
binder/android/net/connectivity/aidl Vendor AIDL interface for port blocking via eBPF 2022-03-25 09:14:48 -07:00
jni change 'for-system' owner from root to clat 2025-03-14 09:23:23 -07:00
libconnectivity noop: change from deprecated __ANDROID_API_U__ to 34 2025-02-18 15:07:40 -08:00
native/libs/libclat libclat_test: use static libc++ 2025-02-21 11:59:49 -08:00
proto Add SystemMessages protos to Connectivity 2021-03-18 20:04:52 +09:00
ServiceConnectivityResources Automated log_list.json generation version 55.3 2025-06-12 10:10:54 -07:00
src/com/android Include NET_CAPABILITY_NOT_VCN_MANAGED for tethering local network agent 2025-08-06 11:24:33 +08:00
Android.bp Use beta flag for bluetoothTetheringRandomizedAddress 2025-07-17 21:30:07 +00:00
jarjar-excludes.txt Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
lint-baseline.xml Revert "Prepare for @RequiresApi class retention" 2024-06-26 19:14:30 +09:00
proguard.flags Move the Thread proguard flags to ConnectivityService's proguard.flags 2024-01-26 09:14:53 +00:00