android_packages_modules_Co.../Tethering/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Quang Anh Luong d1f8cea4df Only allow one pending bluetooth request at a time
Currently there may be multiple identical bluetooth requests waiting for
the PAN service to connect before their listeners are notified. To
simplify future code, we should only allow one pending request/listener
pair at a time, and reject every subsequent request with
TETHER_ERROR_SERVICE_UNAVAILABLE.

This should be OK because
1) Bluetooth tethering is hardly used at all
2) Settings disallows extra startTethering calls between the first call
   and the bluetooth service starting
3) Apps are expected to handle TETHER_ERROR_SERVICE_UNAVAILABLE
   correctly.

Bug: 216524590
Test: atest TetheringTest
Change-Id: I8375d495575715f428e893316f7cd7e5a7ebba59
2025-03-10 21:02:50 -07:00
..
integration testTetherBpfOffloadUdpV4: disable on S/Sv2 with old DnsResolver 2025-03-10 15:53:48 -07:00
mts Make java_sdk_library dependencies explicit 2024-09-10 00:01:31 +00:00
privileged Rename TapPacketReader to PollPacketReader for broader applicability 2024-10-15 13:42:05 +09:00
unit Only allow one pending bluetooth request at a time 2025-03-10 21:02:50 -07:00
Android.bp [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
jarjar-rules.txt ConnectivityCoverageTests refactoring 2022-04-06 19:35:28 +09:00