android_packages_modules_Co.../service-t
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai eb80e8ad9f Mdns: Skip networks with NET_CAPABILITY_LOCAL_NETWORK
MdnsSocketProvider expects no overlap between NetworkCallbacks,
Tethering, and Wifi P2P. However, local NetworkAgents can cause
overlap, leading to duplicate sockets. This commit fixes the issue by
skipping networks with NET_CAPABILITY_LOCAL_NETWORK.

Alternatively, the NetworkRequest should addForbiddenCapability
for local networks. However, since this is a module API, it is
not visible to standalone applications.

Flag: EXEMPT bug fix
Test: atest ConnectivityCoverageTests:android.net.connectivity.com.android.server.connectivity.mdns.MdnsSocketProviderTest \
      --update-device
Test: m service-connectivity-mdns-standalone-build-test
Test: atest CtsNetTestCases:android.net.cts.NsdManagerTest \
      CtsNetTestCases:android.net.cts.NsdManagerDownstreamTetheringTest
Bug: 437038495
Change-Id: I78dd7d98ad80147ca26ec6130b6081ef4efb2ecc
2025-08-14 20:44:36 +08:00
..
jni service-t/jni/com_android_server_net_NetworkStats{Factory,Service}: improve jni 2025-08-10 10:34:13 -07:00
native/libs/libnetworkstats BpfNetworkStats: introduce poor man's ifindex2name() cache 2025-08-12 20:39:20 -07:00
src Mdns: Skip networks with NET_CAPABILITY_LOCAL_NETWORK 2025-08-14 20:44:36 +08:00
Android.bp Add proto to store network configuration 2025-07-24 16:41:00 +09:00
lint-baseline-service-connectivity-mdns-standalone-build-test.xml Baseline Lint FlaggedApi violations 2024-06-18 09:15:06 +02:00
lint-baseline.xml service-t/lint-baseline.xml - remove BpfInterfaceMapUpdater 2024-01-25 15:15:26 -08:00
Sources.bp Drop path property from cpp filegroup modules 2023-10-04 23:18:46 +00:00