aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothAdapter.java
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge "Add broadcast feature supported API" am: 754da27e6e am: 005953a206 ↵Treehugger Robot2022-01-211-19/+45
| |\| | | | | | | | | | | | | | | | | | | | | | am: 6deb66b271 Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1952563 Change-Id: I234cf2b39a6fdd597bb33603a2021c3115176fae
| | * Add broadcast feature supported APIAlice Kuo2022-01-201-19/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose isLeAudioBroadcastSourceSupported and isLeAudioBroadcastAssistantSupported API. It would check the controller capabilities for now, and plan to check the profile enable status later. Bug: 150670922 Bug: 208368819 Test: make build Change-Id: Ic68a19575e09dc8cf525c28afaca92ea44158981 Merged-In: Ic68a19575e09dc8cf525c28afaca92ea44158981
* | | Add FrameworkInitializer for BluetoothRoopa Sattiraju2022-01-231-8/+11
| | | | | | | | | | | | | | | | | | Bug: 195146428 Test: Compile and bring up Change-Id: Ia78685566466abd877fc8f7c471061d5b1492d9a
* | | Add the broadcast feature supported APIsAlice Kuo2022-01-201-20/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose isLeAudioBroadcastSourceSupported and isLeAudioBroadcastAssistantSupported APIs. It would just check the controller capabilities for now, and plan to check the profile enable status later. Ignore-AOSP-First: Fix merge conflict Bug: 150670922 Bug: 208368819 Test: make build Change-Id: Ic68a19575e09dc8cf525c28afaca92ea44158981
* | | 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: 2df97c9b59 am: 9331dd0bca am: b89147989c 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: 2df97c9b59 am: 9331dd0bca 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: e1d04447a1 ↵Treehugger Robot2022-01-121-0/+7
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | am: 2302ac278e am: a545cffb24 am: 13dc047f37 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1942955 Change-Id: I5d7016014182677983832415bbdf603ddd98310f
| * | Merge "gtbs: Add Generic Telephone Bearer Service support" am: e1d04447a1 ↵Treehugger Robot2022-01-121-0/+7
| |\| | | | | | | | | | | | | | | | | | | | | | am: 2302ac278e am: a545cffb24 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
|\| | | | | | | | | | | | | | | | | | | | | | | 2e710d4981 am: 906dfb91f2 am: 9cb63c54af am: 3a47763d05 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
| |\| | | | | | | | | | | | | | | | | | | | | | 2e710d4981 am: 906dfb91f2 am: 9cb63c54af 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: a3617fa067 ↵Treehugger Robot2022-01-051-0/+7
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | am: e88edb4937 am: b16fd6dc54 am: 2b11fe8d9b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1873900 Change-Id: I719487c08ddb419f1a9eb3d02771a082a2a59902
| * | | Merge "gtbs: Add Generic Telephone Bearer Service support" am: a3617fa067 ↵Treehugger Robot2022-01-051-0/+7
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: e88edb4937 am: b16fd6dc54 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
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 062731bce5 am: a2fae36e21 am: e6179d6fc6 am: 46638c1b10 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
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 062731bce5 am: a2fae36e21 am: e6179d6fc6 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: 2d65acb4c3 ↵Etienne Ruffieux2021-12-151-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: fe38541fd1 am: 1efab19160 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: 7c3c05e7b5 am: ffa2e0f19f am: cd083326a5 am: 0af5660386 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: 7c3c05e7b5 am: ffa2e0f19f am: cd083326a5 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: 5393f1f597 am: ↵Treehugger Robot2021-12-141-1/+0
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 0e012ce997 am: bf32b65e70 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1922462 Change-Id: I510639073615474d1774991645da87c6f71277dd
| * | | | Merge "Copy attributable to Bluetooth" am: b4950bde08 am: 5393f1f597 am: ↵Treehugger Robot2021-12-141-1/+0
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 0e012ce997 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
|\| | | | |_|/ |/| | | | | | | | | | | | | | | | | ab4f8c3274 am: adde056054 am: 4765d23a5f am: bc61c52f80 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
| |\| | | | | | | | | | | | | | | | | | | | | | ab4f8c3274 am: adde056054 am: 4765d23a5f 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: cd49fe4b7a ↵Rahul Sabnis2021-11-241-35/+0
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / / | | | | | | | | | | | | | | | | am: 8c5918d6fd am: e03b155f69 am: 63a89b3187 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1896735 Change-Id: Ic5f6cb5507e747f570cc273d40fd843772069482
| * | | Merge "BT_MAINLINE Delete getControllerActivityEnergyInfo" am: cd49fe4b7a ↵Rahul Sabnis2021-11-241-35/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 8c5918d6fd am: e03b155f69 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: c565a30366 am: a46cdf18fa am: 6979474cbe 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: c565a30366 am: a46cdf18fa 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