android_packages_modules_Co.../tests/unit/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 12a0c6a17d Raise the max listener per client limit to 200
Raise the max listener per client limit from 10 to 200.

A frequent use-case for NsdManager is to file a DiscoveryListener,
and try to resolve/listen for every service using a ServiceInfoCallback.

The current limit of 10 callbacks is easy to hit in that case, since it
would happen if there are at least 10 devices on the network.

Raise the limit to 200 to avoid such problems. In practice it is very
unlikely that there would be more than 200 services on a network; if
advertised by different devices, they would barely fit in a /24 IPv4
prefix, so a limit of 200 should generally be high enough.

Note that for discovery 200 listeners does not mean that batches of 200
queries will be sent: listeners on the same service type are grouped
together so only one query is sent for the type, and results are
distributed to matching listeners.

Note also that the limit is currently only checked when registering
discovery or advertising requests. This should be also checked when
registering other kinds of listeners in a future change.

Bug: 324377460
Test: atest
Change-Id: I86fc00777e9dea3e5192b575581ba562e7401e42
2024-02-13 11:41:58 +09:00
..
connectivity Add SatelliteAccessController class to support messaging on Satellite Internet 2024-02-07 16:10:20 +00:00
connectivityservice Support Satellite Network Preferred uid's multi layer request 2024-02-07 16:16:42 +00:00
ethernet Connectivity Tests: join handler thread after calling quitSafely 2023-03-17 01:01:09 -07:00
net clean up lint warnings 2024-01-26 15:24:19 -08:00
BpfLoaderRcUtilsTest.kt Log bpf rc file if it differs from the template files. 2023-11-29 19:58:15 +09:00
BpfNetMapsTest.java Merge changes Ie1a36c3c,Id727cf7b,Ifba198d9 into main 2023-11-07 19:32:51 +00:00
ConnectivityServiceTest.java Support Satellite Network Preferred uid's multi layer request 2024-02-07 16:16:42 +00:00
IpSecServiceParameterizedTest.java Reland "Support getting transform state in IpSecService" 2023-12-12 22:19:55 +00:00
IpSecServiceRefcountedResourceTest.java Add some non-connectivity-module-test back to ConnectivityCoverageTests 2022-05-27 07:16:46 +00:00
IpSecServiceTest.java Experimental support for IPv6 UDP encap. 2023-02-08 15:05:07 +09:00
IpSecXfrmControllerTest.java [XFRM_MSG_NEWSA] Support polling SA state with netlink message 2023-12-11 18:43:34 +00:00
IpSecXfrmControllerTestHex.java [XFRM_MSG_NEWSA] Support polling SA state with netlink message 2023-12-11 18:43:34 +00:00
LegacyTypeTrackerTest.kt Build ethernet framework source into framework-connectivity-tiramisu 2022-03-14 14:06:35 +00:00
NetIdManagerTest.kt Address comments on aosp/1781202 2022-08-17 07:11:55 +00:00
NsdServiceTest.java Raise the max listener per client limit to 200 2024-02-13 11:41:58 +09:00
VpnManagerServiceTest.java Update VPN tests to mock out createAttributionContext 2023-06-12 18:06:47 +00:00
VpnTestBase.java Test VPN app exclusion 2022-06-29 06:15:41 +00:00