android_packages_modules_Co.../tests/unit
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
..
java Mdns: Skip networks with NET_CAPABILITY_LOCAL_NETWORK 2025-08-14 20:44:36 +08:00
jni BpfBitmap: some minor optimizations 2025-08-12 16:02:23 -07:00
res Add golden sample test for storing transport types kill switch support 2025-06-12 13:31:38 +08:00
Android.bp Create CommonConnectivityJni to share between modules 2025-07-23 05:47:12 +00:00
AndroidManifest.xml Add QUERY_ALL_PACKAGES to FrameworksNetTestsLib 2023-09-19 15:32:21 +09:00
AndroidTest.xml [SettingsProvider] fix connectivity test 2022-04-20 09:29:40 -07:00
jarjar-excludes.txt Allow jarjar com.android.server* 2023-02-14 15:43:43 +00:00
jarjar-rules.txt Add jarjar rule for com.android.testutils.TestBpfMap 2022-02-03 22:53:07 +01:00
OWNERS Set test component in common OWNERS 2023-06-21 02:54:13 +00:00