android_packages_modules_Co.../tests/unit/java/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr f0abfb976b Add support for an L2CAP server network
This change creates an AcceptThread inside ReservedServerOffer which
accepts all incoming L2CAP connections and creates an L2capNetwork for
each of them.

Note that these networks are indistinguishable, so CS will tear all but
the first one down. This is working as intended.

If the L2capNetwork or the AcceptThread encounter any error during
execution, the reserved offer is torn down and the reserving app will
receive an onUnavailable() callback (by virtue of reservation
semantics).

Test: atest NetworkReservationTest
Change-Id: I49d078fb32ff48c1201a8a4dc65cbe785dcc9179
2025-02-13 09:17:56 -08:00
..
internal/net Move platform VPN related test to FrameworksVpnTests 2024-03-01 07:03:14 +00:00
metrics Report isKnownService in discovery stop metrics 2024-05-29 08:23:37 +00:00
server Add support for an L2CAP server network 2025-02-13 09:17:56 -08:00