android_packages_modules_Co.../tests/unit
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 894f181c89 Use NsdServiceInfo ifIndex in MdnsDiscoveryManager
NsdServiceInfo may contain an interface index if it was obtained from a
previous discovery callback which found a service on an interface that
does not belong to any Network.

In that case, subsequent resolve or registerServiceInfoCallback queries
using that NsdServiceInfo should only be done on the matching interface.
Apps may otherwise receive replies from other networks, with different
interface addresses.

As a simple fix, still request sockets from all interfaces in that case,
but only create the MdnsServiceTypeClients on matching sockets.

The sockets are created / cleaned up based on the lifecycle of the
requests, which does not change.

Fixes: 332262554
Test: atest
Change-Id: I2bbb498d4a0d37725f019a4cf5e367fef76fa0e8
2024-04-03 12:58:51 +09:00
..
java Use NsdServiceInfo ifIndex in MdnsDiscoveryManager 2024-04-03 12:58:51 +09:00
jni [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
res Check network slicing declaration for network request 2023-02-28 17:38:30 +09:00
Android.bp Remove VpnProfileStore dependency from CSTest 2024-03-18 11:40:58 +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