summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/BluetoothAdapter.java
Commit message (Collapse)AuthorAgeFilesLines
* Migrating frameworks/base BT filesRoopa Sattiraju2022-01-171-4413/+0
| | | | | | Bug: 206121418 Test: Compile Change-Id: Idb55371e9d678296fe46e5f4231ec2d12ec8b978
* Merge "Temporarily comment out usages of PropertyInvalidatedCache in ↵Rahul Sabnis2022-01-141-25/+63
|\ | | | | | | | | | | | | | | Bluetooth code while it is pending migration to module-utils" am: 325365b74d am: 17d16a9f73 am: 280c0e9cfb am: 1f48a76478 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1947703 Change-Id: I4c23485a14736907a9157cf4b25943602763b7a3
| * Merge "Temporarily comment out usages of PropertyInvalidatedCache in ↵Rahul Sabnis2022-01-141-25/+63
| |\ | | | | | | | | | | | | | | | | | | | | | Bluetooth code while it is pending migration to module-utils" am: 325365b74d am: 17d16a9f73 am: 280c0e9cfb Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1947703 Change-Id: I0baca5b82b90633a4932aece978b1b0616cf331c
| | * Temporarily comment out usages of PropertyInvalidatedCache in Bluetooth codeRahul Sabnis2022-01-121-25/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | while it is pending migration to module-utils Tag: #feature Bug: 210468958 Test: Manual Change-Id: Iab59d235ca59fe2b5863fb4714eaccbc64fa915c
* | | Merge "Make BluetoothHeadset APIs used by Telecom into System APIs"Rahul Sabnis2022-01-121-8/+9
|\ \ \
| * | | Make BluetoothHeadset APIs used by Telecom into System APIsRahul Sabnis2022-01-121-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 195156304 Test: Manual CTS-Coverage-Bug: 211914959 Change-Id: I13d6f553f5b9d6ca7c2ae9a42450875b16cd1490
* | | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: ddcee937c1 ↵Treehugger Robot2022-01-121-0/+7
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | am: 66a9d57579 am: 8ef0cb74f7 am: ab91a34e7c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1942955 Change-Id: I5d7016014182677983832415bbdf603ddd98310f
| * | Merge "gtbs: Add Generic Telephone Bearer Service support" am: ddcee937c1 ↵Treehugger Robot2022-01-121-0/+7
| |\| | | | | | | | | | | | | | | | | | | | | | am: 66a9d57579 am: 8ef0cb74f7 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1942955 Change-Id: I42f0e6c218a33e642207b46bc58a1b53cb6eee2a
| | * gtbs: Add Generic Telephone Bearer Service supportMariusz Skamra2022-01-111-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 159786353 Bug: 213412267 Sponsor: jpawlowski@ Test: build Change-Id: Iecd56b91ce59f6b014878691fe4c6fae826b73f9
* | | Merge "Revert "gtbs: Add Generic Telephone Bearer Service support"" am: ↵chapin2022-01-071-7/+0
|\| | | | | | | | | | | | | | | | | | | | | | | 279b828fd8 am: 84913280a8 am: 35117a7596 am: 815d4cedea Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1940083 Change-Id: I49a731122e7bdf8498ed00a30568a71cf66cad47
| * | Merge "Revert "gtbs: Add Generic Telephone Bearer Service support"" am: ↵chapin2022-01-071-7/+0
| |\| | | | | | | | | | | | | | | | | | | | | | 279b828fd8 am: 84913280a8 am: 35117a7596 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1940083 Change-Id: I16e62355558973caf77b9a0ab7c00a273af756b2
| | * Merge "Revert "gtbs: Add Generic Telephone Bearer Service support""chapin2022-01-071-7/+0
| | |\
| | | * Revert "gtbs: Add Generic Telephone Bearer Service support"Jack He2022-01-071-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "gtbs: Add Generic Telephone Bearer Service implementation" Revert submission 1873900-gtbs Reason for revert: broke cellular call over BT, see b/213412267 Reverted Changes: I284ddacfc:gtbs: Add Generic Telephone Bearer Service impleme... I8264ade4b:gtbs: Add Generic Telephone Bearer Service support... I996cd5ff9:Add support for Generic Telephone Bearer service (... Bug: 213412267 Tag: #feature Test: answer cellular call by pressing button on HFP headset Change-Id: I9c6b12b794b7378fd852238ad06890f46922c095
* | | | Merge "Prepare PropertyInvalidatedCache for SystemApi"Lee Shombert2022-01-061-4/+4
|\ \ \ \
| * | | | Prepare PropertyInvalidatedCache for SystemApiLee Shombert2022-01-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 152453213 Tag: #refactor This commit prepares PropertyInvalidatedCache to function as a system api. Specifically, the methods recompute() and bypass() which may be overridden by clients are now public (instead of protected). This forces an update to all existing clients, to accommodate the change in method visibility. Two small changes have been made as cleanup: 1. The awkwardly named debugCompareQueryResults() is now resultEquals(), which is more or less consistent with how other equality tests are named in Android. This name change affects two clients. 2. PackageManager has changed to use resultEquals() instead of maybeCheckConsistency(). This provides a simpler and more consistent use of the APIs. maybeCheckConsistency() has been made private. Test: atest PropertyInvalidatedCacheTests Change-Id: I4110f8e887a4fd8c784141e8892557a9d1b80a94
* | | | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: cb64b957f7 ↵Treehugger Robot2022-01-051-0/+7
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | am: c245603eab am: 3bcdbfb925 am: 3e1a493f6e Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873900 Change-Id: I719487c08ddb419f1a9eb3d02771a082a2a59902
| * | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: cb64b957f7 ↵Treehugger Robot2022-01-051-0/+7
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c245603eab am: 3bcdbfb925 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873900 Change-Id: I2ad007b8a4e6920fb69fc7af16b9e67ec5b2f476
| | * | Merge "gtbs: Add Generic Telephone Bearer Service support"Treehugger Robot2022-01-051-0/+7
| | |\|
| | | * gtbs: Add Generic Telephone Bearer Service supportMariusz Skamra2021-12-171-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 159786353 Sponsor: jpawlowski@ Test: build Change-Id: I8264ade4b07df17fc0207437dfdcae7028cc20ff
* | | | Merge "Moved AttributionSource related APIs in AttributionSource" am: ↵Etienne Ruffieux2021-12-161-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70d456d06c am: 52ddc063b0 am: e5d5eefb16 am: 52dfe57f07 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922817 Change-Id: I60fa5ecea7c9b1bffbd8bfaf0ed85cafb80fa5bc
| * | | Merge "Moved AttributionSource related APIs in AttributionSource" am: ↵Etienne Ruffieux2021-12-161-1/+1
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70d456d06c am: 52ddc063b0 am: e5d5eefb16 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922817 Change-Id: Id6bcfb0cca120540dd251dda22c713539c5c2b8c
| | * | Merge "Moved AttributionSource related APIs in AttributionSource"Etienne Ruffieux2021-12-161-1/+1
| | |\ \
| | | * | Moved AttributionSource related APIs in AttributionSourceEtienne Ruffieux2021-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modified myAttributionSource() to check for global AS for process in ActivityThread and fallback to building new AS with PackageManager#getPackageForUid(myUid()) if null. Tag: #feature Bug: 210467846 Bug: 210468546 Test: build Change-Id: I7aa75395469bf0bb806100420faaf98c52057355 CTS-Coverage-Bug: 210906055
| * | | | Merge "Replaced Bluetooth SystemProperties.set by sysprop" am: 4d612ad87b ↵Etienne Ruffieux2021-12-151-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: a9e669070b am: c748403369 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1914690 Change-Id: I6b6d7c76f16d392a18ab5aadf1d351a72a693e8c
| | * | | Merge "Replaced Bluetooth SystemProperties.set by sysprop"Etienne Ruffieux2021-12-151-2/+2
| | |\ \ \ | | | |_|/ | | |/| |
| | | * | Replaced Bluetooth SystemProperties.set by syspropEtienne Ruffieux2021-12-151-2/+2
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 197210455 Test: set/get sysprop with SystemProperties Merged-In: I613808dbc930c90e391df9857a173a86aedc4acf Change-Id: I613808dbc930c90e391df9857a173a86aedc4acf
* | | | Merge "Remove unused references to android.app.ActivityThread in ↵Rahul Sabnis2021-12-141-3/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothAdapter" am: 202ab8ff95 am: e768d3d44a am: 5cf0381ccb am: 22e2d77b7a Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1920977 Change-Id: I6c30732ad6932b48bdde5be6f15f7f53c96924fa
| * | | Merge "Remove unused references to android.app.ActivityThread in ↵Rahul Sabnis2021-12-141-3/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothAdapter" am: 202ab8ff95 am: e768d3d44a am: 5cf0381ccb Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1920977 Change-Id: I7a3d708119d2bf05cee4d9963559622171e1c3af
| | * | Merge "Remove unused references to android.app.ActivityThread in ↵Rahul Sabnis2021-12-141-3/+0
| | |\ \ | | | | | | | | | | | | | | | BluetoothAdapter"
| | | * | Remove unused references to android.app.ActivityThread inRahul Sabnis2021-12-131-3/+0
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BluetoothAdapter Tag: #feature Bug: 210468546 Test: Manual Change-Id: Ia473afe6bcf4d0824e2fd2c6ca2ce562d0ecbde3
* | | | Merge "Replaced Bluetooth SystemProperties.set by sysprop"Etienne Ruffieux2021-12-141-2/+2
|\ \ \ \
| * | | | Replaced Bluetooth SystemProperties.set by syspropEtienne Ruffieux2021-12-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 197210455 Test: set/get sysprop with SystemProperties Change-Id: I613808dbc930c90e391df9857a173a86aedc4acf
* | | | | Merge "Copy attributable to Bluetooth" am: b4950bde08 am: a6d1bd6b57 am: ↵Treehugger Robot2021-12-141-1/+0
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 1cdca58b06 am: 82451a9a6c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922462 Change-Id: I510639073615474d1774991645da87c6f71277dd
| * | | | Merge "Copy attributable to Bluetooth" am: b4950bde08 am: a6d1bd6b57 am: ↵Treehugger Robot2021-12-141-1/+0
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 1cdca58b06 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922462 Change-Id: I085488123dd1214264eb90b4c0b720f2aa69b899
| | * | | Copy attributable to BluetoothWilliam Escande2021-12-141-1/+0
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Attributable is called by bluetooth and it's hidden. By copying into bluetooth we are now allowed to call it Bug: 210467788 Test: build Tag: #refactor Change-Id: I73ea07c9439988ab5477c82799f718c6d81513be
* | | | Merge "Change isCISCentralSupported() to isLeAudioSupported() API" am: ↵Treehugger Robot2021-12-101-5/+5
|\| | | | |_|/ |/| | | | | | | | | | | | | | | | | 62749e874a am: d954a3dd2a am: 2a756fc34a am: a780e58bef Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1906211 Change-Id: I876a8e86a13e4d10c7f26b8032a66bbfe117eba2
| * | Merge "Change isCISCentralSupported() to isLeAudioSupported() API" am: ↵Treehugger Robot2021-12-101-5/+5
| |\| | | | | | | | | | | | | | | | | | | | | | 62749e874a am: d954a3dd2a am: 2a756fc34a Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1906211 Change-Id: I0e5f44854419cf333f79ae7fb5f25a1a8ee03c6b
| | * Merge "Change isCISCentralSupported() to isLeAudioSupported() API"Treehugger Robot2021-12-101-5/+5
| | |\
| | | * Change isCISCentralSupported() to isLeAudioSupported() APIPatty2021-11-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag: #feature Bug: 200749925 Bug: 150670922 Test: atest BasicAdapterTest Change-Id: Ie606f45e148f6d9026495279d718a3cc1523c36f
* | | | Merge "Refactor Bluetooth scan mode APIs"Etienne Ruffieux2021-11-291-93/+71
|\ \ \ \
| * | | | Refactor Bluetooth scan mode APIsEtienne Ruffieux2021-11-161-93/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed setScanMode(int, long), setScanMode(int mode) is now a SystemApi. Made getDiscoverableTimeout a public API. setDiscoverableTimeout is now SystemApi and takes java.time.Duration as parameter. Tag: #feature Bug: 195150096 Test: Manual Change-Id: I824b24464987e1db87efc193d30452a6d9d0411e
* | | | | Merge "BT_MAINLINE Delete getControllerActivityEnergyInfo" am: 4045c6f336 ↵Rahul Sabnis2021-11-241-35/+0
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | am: a74b7f7406 am: 8dd67f3e31 am: b435eb33de Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1896735 Change-Id: Ic5f6cb5507e747f570cc273d40fd843772069482
| * | | Merge "BT_MAINLINE Delete getControllerActivityEnergyInfo" am: 4045c6f336 ↵Rahul Sabnis2021-11-241-35/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: a74b7f7406 am: 8dd67f3e31 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1896735 Change-Id: I393a6820be537ba580b4aa260d93f48f997358ba
| | * | BT_MAINLINE Delete getControllerActivityEnergyInfoWilliam Escande2021-11-181-35/+0
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | This hidden api is deprecated since 2016. Removing it because it's not used and it's calling 3 hidden apis Bug: 200200870 Tag: #refactor Test: Build Change-Id: Ib84e069dc663def3d6a2d6f64717d76d39b59fb9
* | | Merge "BluetoothAdapter: Extend getActiveDevice with LeAudio" am: a8c0faa120 ↵Treehugger Robot2021-11-121-2/+5
|\| | | | | | | | | | | | | | | | | | | | | | | am: f1fecf587c am: c1f3da3748 am: 7ef1545a4c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1890537 Change-Id: Id4f689d756d9db31ae93d9a13f7bbe886fba2719
| * | Merge "BluetoothAdapter: Extend getActiveDevice with LeAudio" am: a8c0faa120 ↵Treehugger Robot2021-11-121-2/+5
| |\| | | | | | | | | | | | | | | | | | | | | | am: f1fecf587c am: c1f3da3748 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1890537 Change-Id: I86995e90655264fa7ac5920f65dd7d159bdf49c2
| | * BluetoothAdapter: Extend getActiveDevice with LeAudioŁukasz Rymanowski2021-11-121-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 150670922 Sponsor: jpawlowski@ Test: NA Change-Id: I82662de5fe7f86b28dee1edff38761cf48343c5a
* | | Merge "Expose isCISCentralSupported() and ↵Treehugger Robot2021-10-281-0/+60
|\| | | | | | | | | | | | | | | | | | | | | | | isLePeriodicAdvertisingSyncTransferSenderSupported() API" am: 29f37405b0 am: 61d4e7ca47 am: fd2248fca7 am: 7b7621a489 am: da8229a6ac Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1860616 Change-Id: I0a20b33910e0a0584be97bda929997508e692ba0
| * | Merge "Expose isCISCentralSupported() and ↵Treehugger Robot2021-10-281-0/+60
| |\| | | | | | | | | | | | | | | | | | | | | | isLePeriodicAdvertisingSyncTransferSenderSupported() API" am: 29f37405b0 am: 61d4e7ca47 am: fd2248fca7 am: 7b7621a489 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1860616 Change-Id: I41fb07fbcb3d3a2c2f03ca0ae3b991b01afcec70
| | * Expose isCISCentralSupported() and ↵Patty2021-10-271-0/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | isLePeriodicAdvertisingSyncTransferSenderSupported() API Tag: #feature Bug: 200749925 Bug: 150670922 Test: Compile Change-Id: I45c674dcc8719d209f0e790aa9716bbbf0052fce