android_packages_modules_Co.../tests
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
..
benchmark Add kill switch for storing transport types 2025-06-10 17:57:11 +08:00
common Implement opt-in to custom tabs in captive portals. 2025-07-11 15:03:51 +09:00
cts Add EthernetManagerTests for NCM-only interfaces 2025-07-23 12:39:35 -07:00
deflake Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07:00
integration Implement opt-in to custom tabs in captive portals. 2025-07-11 15:03:51 +09: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 Include NET_CAPABILITY_NOT_VCN_MANAGED for tethering local network agent 2025-08-06 11:24:33 +08:00