android_packages_modules_Co.../Tethering
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
..
apex bpf: switch to mainline netbpfload on Android S/SV2 2025-03-05 14:27:59 -08:00
apishim Simplify tethering active session counting 2024-10-03 16:04:56 +08:00
common/TetheringLib no-op: Refactor bluetooth tethering listener 2025-02-13 18:50:27 +09:00
jni remove dead register_com_android_networkstack_tethering_BpfUtils 2023-11-07 17:23:11 -08:00
res Import translations. DO NOT MERGE ANYWHERE 2025-01-22 15:31:38 -08:00
src Only allow one pending bluetooth request at a time 2025-03-10 21:02:50 -07:00
tests Only allow one pending bluetooth request at a time 2025-03-10 21:02:50 -07:00
Android.bp try-catch when calling createContextAsUser 2025-01-22 11:22:59 +08:00
AndroidManifest.xml Use MANAGE_USERS permission to check for admin user 2024-10-28 17:31:22 +08:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-19 08:56:10 +00:00
jarjar-rules.txt Fix jarjar rules for tethering apk 2022-05-31 15:20:52 +08:00
lint-baseline.xml Baseline NewApi issues 2024-01-25 02:41:58 +00:00
OWNERS Revert "Add owners block for migration" 2021-05-31 10:34:04 +00:00
proguard.flags Proguard JNI methods 2025-01-02 08:29:25 -08:00