aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-12-01Remove ToT system/bt code as it has been migrated.HEADandroid-t-preview-2android-t-preview-1android-t-beta-3android-s-v2-beta-3android-s-qpr3-beta-1mastermainandroid-t-preview-1android-s-v2-beta-3android-s-qpr3-beta-1Baligh Uddin
New code location is platform/packages/modules/Bluetooth, removing ToT in aosp/master to ensure folks do not continue to upload patches in this project. BUG: 196026708 Test: TH Change-Id: I0fe927c913d61f85ca458af0f5620205152dc4db
2021-11-05Merge "Add an OWNERS block"emu-31-releaseBaligh Uddin
2021-11-05Merge "Pass the written value for gatt characteristic and descriptor write ↵Rahul Sabnis
callbacks to the java layer"
2021-11-05Pass the written value for gatt characteristic and descriptor writeRahul Sabnis
callbacks to the java layer Tag: #feature Bug: 195157393 Test: Manual Merged-In: I3dee0abd0a0f9e931588d015dd0cd43dd9f8e3d5 Change-Id: I3dee0abd0a0f9e931588d015dd0cd43dd9f8e3d5
2021-11-05Merge "Move offload start related flags from BTA_AV_SCB to BTA_AV_CB"Ted Wang
2021-11-05Merge "floss: Move Floss daemon selection file"Treehugger Robot
2021-11-05Merge "AVRCP - Check MTU size before adding browsing data"Treehugger Robot
2021-11-04Add an OWNERS blockBaligh Uddin
Put an owners block to freeze code movement during code migration to packages/modules/Bluetooth BUG: 196026708 Test: TH Change-Id: I938ffe3d2cd7cc8a82e679239cf3e5c4caa42102
2021-11-04Merge "BTAA: Do not register callback repeatedly in the same process"Mingguang Xu
2021-11-04Merge "Revert "topshim: Add btm_sec shim""Treehugger Robot
2021-11-04Revert "topshim: Add btm_sec shim"Abhishek Pandit-Subedi
This reverts commit 8ca275530199745bab56b2ce1d9811a749c3abb5. Reason for revert: Breaks Linux build. Test: ./build.py on gLinux Change-Id: Ic72ebb72bab9b455b56044c8347624c059d8c991
2021-11-04Merge "Fix wrong address type of DUAL mode device"Treehugger Robot
2021-11-04Merge "RootCanal: AddressResolutionEnable"Treehugger Robot
2021-11-04Merge "RootCanal: Less verbose scan responses"Treehugger Robot
2021-11-04LE audio: Check the HAL version is newer than HIDL 2.1Alice Kuo
The LE audio thing doesn't only support on HIDL HAL 2.1. We need to change the logic that it could be supported after HIDL HAL 2.1 Bug: 205080142 Bug: 150670922 Test: Bluetooth could turn on with newer HIDL HAL (2.2) Change-Id: I8c4e445de59b6ec417b2d17f7606ac9305759c11
2021-11-04BTAA: Do not register callback repeatedly in the same processMingguang Xu
Bug: 170315554 Tag: #feature Test: atest BluetoothInstrumentationTests Signed-off-by: Mingguang Xu <mingguangxu@google.com> Change-Id: I02967550af7e523236a0ebf8d734e7f8b83eb373
2021-11-04Merge "topshim: Add btm_sec shim"Treehugger Robot
2021-11-04Merge "legacy: Use get_btm_client_interface().eir.BTM_GetEirSupportedServices"Treehugger Robot
2021-11-04Merge "Report back pbap and map uuids to AdapterProperties in Java"Andrew Cheng
2021-11-04Report back pbap and map uuids to AdapterProperties in JavaAndrew Cheng
It seems services were supposed to be enabled by {@link btif_enable_service}, which would also automatically update the {@link btif_enabled_services} mask. This "enabled services mask" is the basis of the local UUIDs that is reported back up to Java (e.g., {@link AdapterProperties.getUuids}). However, it seems like only the HFP (server/client) and A2DP (source/sink) profiles go through this codepath, but not PBAP or MAP (server/client), which is why their UUIDs are not reported back to Java. This CL adds calls to {@link btif_enable_service} when the SDP records for PBAP/MAP (server/client) are created in order to update the "enabled services mask". This is analogous to how their UUIDs are added to the EIR when their SDP records are created. Because these services were enabled elsewhere, the codepath following the call to {@link btif_enable_service} needs to be modified to catch the respective service IDs and no-op (instead of enabling a service). Similar, the "enabled services mask" is updated when the respective SDP record is removed. Tag: #stability Bug: 204597459 Test: atest BluetoothInstrumentationTests Change-Id: I4c4f3db01c18b2db674ec639c2b714a3c4fec81b
2021-11-03floss: Move Floss daemon selection fileAbhishek Pandit-Subedi
Move location of bluetooth-daemon.current to /var/lib/bluetooth. This simplifies folder creation and sepolicy management. Bug: 204928178 Tag: #floss Test: Update ChromeOS scripts and verify correct value is picked up. Change-Id: Ib1ee3163096472bd051a761ccc5759a8e5d33f13
2021-11-03legacy: Use get_btm_client_interface().eir.BTM_GetEirSupportedServicesChris Manton
Bug: 193716447 Tag: #refactor Test: gd/cert/run Change-Id: I125eedaf46966ff77d2c7b98c3076b3b7b67b4f7
2021-11-03Merge changes I6c755e4a,I648aead5Treehugger Robot
* changes: topshim: Add A2dp Sink Disconnect topshim: Add A2dp Sink Connect and Set Active
2021-11-03Merge "Merge SP1A.211105.004 to aosp-master - DO NOT MERGE"Bill Yi
2021-11-03RootCanal: Less verbose scan responsesMyles Watson
Bug: 202018502 Test: cert/run Tag: #feature Change-Id: I69cb2190f4721e1532fa838c946df35333feb89c
2021-11-03RootCanal: AddressResolutionEnableMyles Watson
Bug: 202018502 Test: cert/run Tag: #feature Change-Id: I46f5745efabe8edfdbdf4cbcf05447283a3a225c
2021-11-03Merge "floss: Fix cannot find os/bt_keystore.h and missing include"Treehugger Robot
2021-11-03Merge "topshim: Add A2dp Sink Callback Dispatcher"Treehugger Robot
2021-11-03Merge changes I98a14186,Ic24f383aTreehugger Robot
* changes: topshim: Add controller shim topshim/facade: Don't link with libbluetooth twice
2021-11-03AVRCP - Check MTU size before adding browsing dataWilliam Escande
Packet remaining len was not checked when adding a AVRC_ITEM_PLAYER or AVRC_ITEM_FOLDER. Decrease remaining len when a item is added to packet Refactor a bit the method to always operate the same way, first checking the len -and break if any issue- then adding data to the packet. Change a bit how the len is changed to gain some extra bytes Break loop if an error occur Bug: 204097680 Tag: #feature Test: tbd Change-Id: Iac4fe35a911d09a7423320b8a6c2735bebb8c156
2021-11-03leaudio: Fix crash when removing device while streamingŁukasz Rymanowski
With this patch: 1) Device is removed from the group when it is disconnected 2) Empty group is removed only when related CIG does not exist Bug: 204945451 Bug: 150670922 Tag: #feature Sponsor: jpawlowski@ Test: atest --host bluetooth_le_audio_test bluetooth_le_audio_client_test Change-Id: I7079594253a504cd0320c6d4000c3d71cb6f0883
2021-11-02Merge SP1A.211105.004 to aosp-master - DO NOT MERGEBill Yi
Merged-In: I9da612947a9b6efdaf8e31f83f84075368352aa1 Merged-In: Ib47c2e2fc1b4a998bb5d31b55ea7c6cd7fe26eb7 Change-Id: I21fb2db3a75a2b5aae29014f62b99c43c4b98672
2021-11-03Fix wrong address type of DUAL mode deviceChienyuan
Tag: #refactor Bug: 204847594 Test: manual BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I55ef8accec2539a17f7594fa8da570cfb1f2f92b
2021-11-02legacy: Const-ify bta_dm_pin_cbackChris Manton
Bug: 187830698 Tag: #refactor Test: gd/cert/run Change-Id: I465878750fac5f03d9b3c9fdd877ebadcba71c5d
2021-11-02Merge "legacy: Const-ify bta_dm_inq_results_cb"Treehugger Robot
2021-11-02Merge "Add pan profile dumpsys"Treehugger Robot
2021-11-02Merge "Remove dynamic legacy module lookup aka STATIC_LIBBLUETOOTH"Treehugger Robot
2021-11-02floss: Fix cannot find os/bt_keystore.h and missing includeSonny Sasaka
Fixing breakage in Linux build. Bug: 203870024 Tag: #floss Test: Manual - Build on Linux Change-Id: I65424060d9f963e5f5bb94ace6294d908113a997
2021-11-02Merge "floss: Fill in topshim for headset interface"Treehugger Robot
2021-11-02Add pan profile dumpsysChris Manton
Bug: 188074901 Tag: #refactor Test: gd/cert/run Change-Id: I9a4591c8e541c651bc11a51a1d5c034854a5ea73
2021-11-02Merge "Implement Common Criteria Mode for GD"Treehugger Robot
2021-11-02legacy: Const-ify bta_dm_inq_results_cbChris Manton
Bug: 187830698 Tag: #refactor Test: gd/cert/run Change-Id: Ia318373818876716f035a29156d658f24137ca69
2021-11-02Merge "legacy: Const-ify bta_csis client API"Treehugger Robot
2021-11-02Move offload start related flags from BTA_AV_SCB to BTA_AV_CBTed Wang
Ignore a2dp offload start request when offloading already in progress. Tag: #stability Bug: 203127797 Test: Force to start offload duplicated Change-Id: I99858852866e71d60200a798dd31d61a20b2669c
2021-11-02Merge "GD Cert: Close event stream before assert fail"Treehugger Robot
2021-11-01legacy: Const-ify bta_csis client APIChris Manton
Bug: 187830698 Tag: #refactor Test: gd/cert/run Change-Id: Ib48d317e5136781451d5a8a0604256f85ea8a644
2021-11-01Merge "Add SupportsBlePrivacy for gd privacy policy"Treehugger Robot
2021-11-01Merge "legacy: Replace tBTA_DM_CONTRL_STATE => tBTM_CONTRL_STATE"Treehugger Robot
2021-11-01legacy: Embed tBTA_PAN_DATA as intended bta/pan/bta_pan_int.hChris Manton
Bug: 202068782 Tag: #refactor Test: gd/cert/run Change-Id: I7e00357c4722589a2b4ee1369ff5249d89221145
2021-11-01Merge "Plumb address resolution through main"Treehugger Robot