summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/BluetoothStatusCodes.java
Commit message (Collapse)AuthorAgeFilesLines
* Migrating frameworks/base BT filesRoopa Sattiraju2022-01-171-361/+0
| | | | | | Bug: 206121418 Test: Compile Change-Id: Idb55371e9d678296fe46e5f4231ec2d12ec8b978
* Make BluetoothHeadset APIs used by Telecom into System APIsRahul Sabnis2022-01-121-15/+84
| | | | | | | | Tag: #feature Bug: 195156304 Test: Manual CTS-Coverage-Bug: 211914959 Change-Id: I13d6f553f5b9d6ca7c2ae9a42450875b16cd1490
* Merge "Add BluetoothLeBroadcast profile API." am: afd5a827a7 am: 562b6f9093 ↵Qasim Javed2021-12-061-0/+60
|\ | | | | | | | | | | | | | | am: aaca31b70b am: 5768697168 Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1881629 Change-Id: I274435e25c827f60adf667cfb59aaf055fa106cd
| * Add BluetoothLeBroadcast profile API.Qasim Javed2021-12-051-0/+60
| | | | | | | | | | | | | | | | | | | | | | Implementation for the APIs will be added later. Bug: 205174140 Bug: 208222281 Tag: #feature Test: gd/cert/run Change-Id: I8781be89cba45a6e7a76fec7df24790a9f02d6a6
| * Deprecate GATT callbacks and methods that were not memory safe andRahul Sabnis2021-11-051-1/+23
| | | | | | | | | | | | | | | | | | | | | | replace with memory safe versions. Tag: #feature Bug: 195157393 Test: Manual CTS-Coverage-Bug: 205190062 Merged-In: I5ae604ec20febcf646bfe6a8f866b218448349c1 Change-Id: I5ae604ec20febcf646bfe6a8f866b218448349c1
* | Refactor Bluetooth scan mode APIsEtienne Ruffieux2021-11-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Deprecate GATT callbacks and methods that were not memory safe andRahul Sabnis2021-11-041-1/+23
|/ | | | | | | | | | replace with memory safe versions. Tag: #feature Bug: 195157393 Test: Manual CTS-Coverage-Bug: 205190062 Change-Id: I5ae604ec20febcf646bfe6a8f866b218448349c1
* Expose isCISCentralSupported() and ↵Patty2021-10-271-0/+5
| | | | | | | | | | isLePeriodicAdvertisingSyncTransferSenderSupported() API Tag: #feature Bug: 200749925 Bug: 150670922 Test: Compile Change-Id: I45c674dcc8719d209f0e790aa9716bbbf0052fce
* Add BluetoothDevice#connect and BluetoothDevice#disconnect as System APIsRahul Sabnis2021-09-291-1/+1
| | | | | | | Tag: #feature Bug: 201462141 Test: Manual Change-Id: I79332c63e99efd9e90036ba2c693835151cc1240
* Update BluetoothDevice#setAlias based on API council feedback: nowRahul Sabnis2021-05-171-0/+205
accepts null input and returns an int (with error codes). Update CompanionDeviceManager#canPairWithoutPrompt to take a UserHandle instead of an int. Adds BluetoothStatusCodes class for all new Bluetooth error / success codes. Moved OOB and hci disconnect constants to the new BluetoothStatusCodes class. Tag: #feature Bug: 184714087 Test: atest BluetoothDeviceTest#test_setAlias_getAlias Change-Id: Ife03506f2cf68800f5824cb5fa94fec8aa34a39c