summaryrefslogtreecommitdiff
path: root/framework/api
AgeCommit message (Collapse)Author
2025-03-16Merge "Send opp uri information to device picker and nearby component" into main Haijie Hong
2025-03-12Send opp uri information to device picker and nearby component Haijie Hong
Bug: 395796600 Bug: 397852103 Test: atest BluetoothOppLauncherActivityTest Flag: com.android.bluetooth.flags.send_opp_device_picker_extra_intent Ignore-AOSP-First: merge conflict Change-Id: Ie0bb8957308d04ea8625ae3678a1cea0d5585a54
2025-03-11Refactor createBondOutOfBand API with BLUETOOTH_PRIVILEGED permission Srini S
createBondOutOfBand system API is annotated with only BLUETOOTH_CONNECT permission although BLUETOOTH_PRIVILEGED permission is also enforced internally. This change refactors createBondOutOfBand API and fixes the annotation. Test: mmm packages/modules/Bluetooth Test: atest PairingTest Test: atest OobPairingTest Flag: EXEMPT refactor Bug: 372295458 Change-Id: I6fae8e550b76d122e01a2963d3e8cc05e2b7079a
2025-02-1224Q3: Remove flag support_exclusive_manager Henri Chataing
Bug: 319716512 Test: m com.android.bt Flag: com::android::bluetooth::flags::support_exclusive_manager Change-Id: I29ce953ad3a480898e2f396297161c77323a3296
2025-01-16A2dp: relax getCodecStatus PRIVILEGED to allow cdm William Escande
Since aosp/3160584 getCodecStatus properly enforce the documented permission. This is breaking 3p apps that depends on reflection and hidden calls to this API, despite supposedly be forbidden. To adapt to current usage and to prepare a future eventual promotion to public API (don't quote me :D), this CL remove the systematic BLUETOOTH_PRIVILEGED enforcement and allow app with companionDeviceManager association to retrieve the list of codec status. Flag: Exempt trivial permission change Test: m com.android.bt Bug: 390289718 Bug: 389871692 Change-Id: Ib8dcb41af0e77364fcec2356836aa3331064ec74
2025-01-14Merge "Soft remove BluetoothLeScanner#startTruncatedScan" into main Treehugger Robot
2025-01-14Soft remove BluetoothLeScanner#startTruncatedScan Ömer Faruk Yılmaz
Bug: 322387442 Test: m com.android.btservices Change-Id: I25f964e8bf72fda33f27f28253ecf9f3e55d3fba
2025-01-13Merge "Remove flag settings_can_control_hap_preset" into main William Escande
2025-01-03Remove flag settings_can_control_hap_preset Angela Wang
Test: m Bluetooth Bug: 306236481 Bug: 300015207 Change-Id: I3cdfbe4bbc5e2b38647e6ba36eadc5f3fe0f24af
2025-01-02Remove flag allow_switching_hid_and_hogp Himanshu Rawat
Change-Id: I1f6a0a2cfedb80e729326c6bb6ad33dab0c5eb2b Test: mmm packages/modules/Bluetooth Flag: com.android.bluetooth.flags.allow_switching_hid_and_hogp Bug: 320762367
2024-12-24Extend permission check for setAdvertisingParameters Chienyuan Huang
Flag: com.android.bluetooth.flags.directed_advertising Bug: 378230500 Bug: 383304593 Test: m com.andorid.btservices Change-Id: Ifeb55d2df7486ad8e2ee490a34062f33f963eb56
2024-12-19Merge "Remove Sockets 24Q3 flag" into main Pomai Ahlo
2024-12-03Read RFCOMM socket offload capabilities from bluetooth low power proccesor Liang Li
Bug: 342012881 Bug: 367419086 Test: atest CtsBluetoothTestCases Change-Id: I0cdc2efb0d1448ee65a44ac6d41597e14ab23d5a
2024-12-03Add bluetooth offload socket API Liang Li
Bug: 342012881 Bug: 367419086 Test: atest CtsBluetoothTestCases Change-Id: I936f27ed5abc0f01a9687bd1ddf32f820fcb9799
2024-12-03Read socket offload capabilities from bluetooth low power proccesor Liang Li
Bug: 342012881 Bug: 367419086 Test: atest CtsBluetoothTestCases Change-Id: I581435207c9716ccdbedc3dbd77f81845d244a87
2024-11-28Add new API `getIdentityAddressType` to BluetoothDevice.java Ömer Faruk Yılmaz
Bug: 377171798 Bug: 373899888 Test: m com.android.btservices Change-Id: I48ddc08c40350bbd1050d53c0da0a23c978558b0
2024-11-23Merge changes Iafc1e1bf,Ie0bd37fb into main Jakub Pawłowski
* changes: Do not require BLUETOOTH_PRIVILEGED for KEY_MISSING broadcast Make KEY_MISSING into ordered broadcast
2024-11-23Merge "Bluetooth Framework support new BQR parameter for Android Bluetooth ↵ Barry Wang
Metric" into main
2024-11-22Merge changes I2fe407b9,Ia4c09787 into main Treehugger Robot
* changes: BluetoothLeAudioCodecConfig: Add OPUS codec type for LeAudio flags: Add leaudio_add_opus_codec_type
2024-11-22Do not require BLUETOOTH_PRIVILEGED for KEY_MISSING broadcast Jakub Pawlowski
Mulitiple device companion apps would be interested in receiving KEY_MISSING event, but they can't because it's now limited just to system apps. Test: mma -j32 Bug: 379309588 Flag: com.android.bluetooth.flags.key_missing_public Change-Id: Iafc1e1bf8a6e9c6bd6b71e19ca8a76fa768bed8b
2024-11-22Merge "BluetoothCodecType: Add codec ID for LHDCv5" into main Henri Chataing
2024-11-22Merge "Add new API for directed advertising" into main Chienyuan Huang
2024-11-22BluetoothLeAudioCodecConfig: Add OPUS codec type for LeAudio Łukasz Rymanowski
Bug: 378733725 Bug: 380029892 Test: mmm packages/modules/Bluetooth Flag: com.android.bluetooth.flags.leaudio_add_opus_codec_type Change-Id: I2fe407b9f9a7821b907617a84721837cfdb75ee6
2024-11-22Add new API for directed advertising Chienyuan Huang
Flag: com.android.bluetooth.flags.directed_advertising Bug: 378230500 Bug: 377516681 Test: m com.andorid.btservices Change-Id: I4e08fbb8d6ac918594422cf16a70926d14265276
2024-11-21BluetoothCodecType: Add codec ID for LHDCv5 Henri Chataing
Bug: 380118954 Test: m com.android.btservices Flag: com.android.bluetooth.flags.a2dp_lhdc_api Change-Id: Ib5d714d59597c0c18517a082e9bc993bf00ee953
2024-11-21Bluetooth Framework support new BQR parameter for Android Bluetooth Metric Barry
- Add QUALITY_REPORT_ID_ENERGY_MONITOR in BluetoothQualityReport class for support BQR energy monitor - Add QUALITY_REPORT_ID_RF_STATS in BluetoothQualityReport class for support BQR RF stats - Add new parameters in BqrCommon class for support new BQR parameters - Add BqrEnergyMonitor classs for support BQR energy monitor event. Bug: 358472003 Bug: 360807101 Bug: 364517559 Bug: 344812145 Flag: com.android.bluetooth.flags.support_bluetooth_quality_report_v6 Test: m com.google.android.btservices Test: manually verified (cherry picked from https://android-review.googlesource.com/q/commit:6668def0e10fdd44a9be5cc76dd2b3b5b6d6733f) Merged-In: I7762ac9b70c828a384a5d6f5548274fb3e1f6b7d Change-Id: I7762ac9b70c828a384a5d6f5548274fb3e1f6b7d
2024-11-20AICS: expose APIs William Escande
Bug: 372328699 Bug: 359916608 Flag: com.android.bluetooth.flags.aics_api Test: atest CtsBluetoothTestCases Change-Id: I8d417cc2793f62354534fa2b8ecd78827683a90e
2024-11-20Merge changes from topic "broadcast_to_unicast_fallback_group_api" into main Łukasz Rymanowski (xWF)
* changes: le_audio: Implement default setter for fallback to unicast group le_audio: Introduce set/get BroadcastToUnicastFallbackGroup API
2024-11-20Merge "update the API about the channel sounding security levels" into main Treehugger Robot
2024-11-19le_audio: Introduce set/get BroadcastToUnicastFallbackGroup API Grzegorz Kołodziejczyk
This CL extends the BluetoothLeAudio API to allow setting and getting a fallback Broadcast to Unicast group. Bug: 375421718 Bug: 375422410 Flag: com.android.bluetooth.flags.leaudio_broadcast_api_manage_primary_group Test: atest BluetoothLeAudioTest Change-Id: Ic0d64282b141c523b1813d2df1ae535bfbacf1c8
2024-11-18Add ENCRYPTION_CHANGE broadcast Jakub Pawlowski
Test: mma -j32 Bug: 297598060 Bug: 369753860 Flag: com.android.bluetooth.flag.encryption_change_broadcast Change-Id: I9cdadbee41a78fd4cfd8e252601de114b7acb194
2024-11-14update the API about the channel sounding security levels Steven Liu
Flag: com.android.bluetooth.flags.channel_sounding_25q2_apis Bug: 367409858 Bug: 378483013 Test: m com.android.btservices Change-Id: I531820bce02c900f70513deaebb4e02a0797dc03
2024-11-13Remove channel_sounding flag Chienyuan Huang
Bug: 317683528 Bug: 378557006 Test: m com.android.btservices Change-Id: Ic7151fa1d5b3f5bee6d623b064f5b3fbd2b7f0d9
2024-11-08Add new metadata APIs get/set for is_microphone_for_call_enabled jasonwshsu
* These API allows application can set/get microphone for call enable status for the bluetooth device. Default value is true. * Add visibility to SettingsLib for bluetooth java_aconfig_library Tag: #feature Bug: 372395197 Bug: 349255906 Test: atest DatabaseManagerTest Change-Id: Idda448b41a1a7ff0c7bf980f072752a80a8fc82f
2024-11-08Merge "Add socket settings interface" into main Bhakthavatsala Raghavendra
2024-11-07Add socket settings interface Bhakthavatsala Raghavendra
Add socket interface which allows users to control the various security requirements for the sockets. This also helps in extending socket for offload socket related parameters Bug: 366639787 Bug: 374358112 Test: mmm packages/module/Bluetooth Change-Id: If09796368e76b8375b879b1e3cc7a1c365b67799
2024-11-07Merge "[le audio] API broadcast to unicast fallback group changed callback" ↵ Rongxuan Liu
into main
2024-11-06[le audio] API broadcast to unicast fallback group changed callback Rongxuan Liu
onBroadcastToUnicastFallbackGroupChanged is introduced for app to get notified with broadcast to unicast fallback group update. Bug: 375421718 Bug: 375422410 Test: atest BluetoothLeAudioTest Test: atest LeAudioBroadcastServiceTest Change-Id: I02f0609c2f2c2da1b1472104253693131b05aebb
2024-11-05Framework implementation for HCI Vendor Specific Handling Antoine SOULIER
Bug: 360924438 Test: mma -j32 Flag: com.android.bluetooth.flags.hci_vendor_specific_extension Change-Id: I02baab09782a0e8fc88d36c7d9bc4c4fa518fb8c
2024-11-04Merge "[le audio] Add new APIs to get assistant local metadata for source" ↵ Rongxuan Liu
into main
2024-11-04[le audio] Add new APIs to get assistant local metadata for source Rongxuan Liu
getSourceMetadata is introduced to allow app to get sink's broadcast source metadata. Bug: 375421703 Bug: 375423982 Test: atest BluetoothLeBroadcastAssistantTest Test: atest BassClientServiceTest Test: manual test callback with LeAudioTestApp Change-Id: I695bc0fe42bba991b5d895b548c0d00b966d3952
2024-10-30Merge "Remove suppress lint from Socket Apis" into main Treehugger Robot
2024-10-29Remove suppress lint from Socket Apis Bhakthavatsala Raghavendra
Remove suppress lint from socket APIs and related changes Bug: 375832990 Flag: EXEMPT, Refactor Test: atest BumbleBluetoothTests:android.bluetooth.RfcommTest Test: atest BumbleBluetoothTests:android.bluetooth.DckL2capTest Change-Id: I48081f652a96f828edd7b7d016824e8d0abafd05
2024-10-28API change to support additional remote device metadata fields Rishab
Test: m com.android.btservices Bug: 358631232 Change-Id: I01c66584db3850287d98356cb8f6d3b5affd88c4
2024-10-23Errorprone enforce NullablePrimitive NullableVoid William Escande
Bug: 344658662 Test: m com.android.btservice Flag: Exempt refactor annotation only Change-Id: I20d951cb49b289b6eb880cb8d175f62242b1306c
2024-10-23Merge "Remove metadata_api_inactive_audio_device_upon_connection flag" into main Rongxuan Liu
2024-10-23Remove Sockets 24Q3 flag Pomai Ahlo
Remove flag for unix_file_socket_creation_failure Bug: 318886332 Test: m Bluetooth Flag: com.android.bluetooth.flags.unix_file_socket_creation_failure Change-Id: I7297241612aa2de87abd607520d6a838c09250a0
2024-10-23Merge "BluetoothLeAudio: Use new API flag for API changes on Mono errata" ↵ Łukasz Rymanowski (xWF)
into main
2024-10-22BluetoothLeAudio: Use new API flag for API changes on Mono errata Łukasz Rymanowski
Since API change is later then we want deliver stack changes, we use new flag for API changes Bug: 330847930 Bug: 372840605 Test: mmm packages/modules/Bluetooth Flag: com::android::bluetooth:flags::leaudio_mono_location_errata_api Change-Id: Icb811d399078f8b8bde2c84672f3519b983c34bf
2024-10-18Remove metadata_api_inactive_audio_device_upon_connection flag Rongxuan Liu
Bug: 322387487 Test: m com.android.btservices Change-Id: Ib1a905e95264b4cb7f5cf7618188b57e6b0299ce