android_packages_modules_Co.../tests/unit/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Paul Hu 01d2f643be Do not check active socket from other callbacks
Not all SocketTypeClients are cleaned up when their corresponding
sockets are closed. This occurs because the active socket check
for each callback examines the socket from all callbacks, even
those scheduled for removal in later notifications. To fix this,
check the active socket from the current callback only.

Fix: 317461509
Test: atest FrameworksNetTests NsdManagerTest
      Manually test with multiple discovery requests and
      Wifi on/off.
Change-Id: I2f81bb8e75f2c038d5e9dc025b208dcc6b441112
2024-01-23 10:31:08 +00:00
..
internal/net Test VpnProfile is not modified in startLegacyVpn 2023-11-16 12:28:12 +08:00
metrics Revert "Implement NetworkRequestsState atom" 2023-12-28 18:19:20 +00:00
server Do not check active socket from other callbacks 2024-01-23 10:31:08 +00:00