android_packages_modules_Co.../tests/unit/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Hu bdf82a2aa0 Process all responses if the network is null in MdnsServiceTypeClient
If the network is null in MdnsServiceTypeClient, it should use
MdnsSocketClient for single socket only. So it's expected to
process any response from only the socket (network).

Move the stopDiscovery outside the listener check loop.
Because the stop should only be called once.

Add a test to verify the response processing with a non-null
network MdnsServiceTypeClient

Bug: 265787401
Test: atest FrameworksNetTests
Change-Id: I76965302037f050e0ac3b2cfdbaa5a855e2283c7
2023-05-09 15:19:29 +08:00
..
internal/net Add unit tests for new VpnProfile fields 2023-02-15 15:01:28 +00:00
server Process all responses if the network is null in MdnsServiceTypeClient 2023-05-09 15:19:29 +08:00