- Jul 25, 2018
-
- Jul 24, 2018
-
-
Fen Wang authored
Make it possible to set PROPERTY_PRODUCT_MODEL in device configuration. Bug: Change-Id: I4d34d4ec368f7eb8bd50e2d5431bb120a284f4e3
-
Treehugger Robot authored
-
- Jul 18, 2018
-
-
Hansong Zhang authored
am: 555a8d03 Change-Id: Ia4cee8a5437c430dc75fbf16db9cc381ed4f2e1c
-
Hansong Zhang authored
* Remove unused code * Update BgConnHash to return size_t for hashcode * Change BLE scan_int and scan_win to uint16_t according to spec Bug: 111562702 Test: SL4A BLE test and manual with BLE mouse Change-Id: Ieff3acbfaa95b7d804e57021d562218d9fbe42cc
-
Cheney Ni authored
When bonding, there is an ACL_UP event to the upper layers and some apps may want to fetch SDP in return. This can break pairing. In cases SDP fails, it causes the procedure to be finished before the LinkKey is generated. And thus the LinkKey is not committed to NVRAM and the device is not paired. Bug: 111189110 Test: : Pair / Unpair BT accessories manually Change-Id: Iaefbe8b6c1fc3e78f0f120220992df84699a2eb8
-
- Jul 17, 2018
-
-
Treehugger Robot authored
-
Jack He authored
Test: make, ./dump_metrics_ascii.py proto/bluetooth/metrics/bluetooth.proto Change-Id: Ie671fa2c2ceb9f93ed62495b592a2cf9d69ff41b
-
Ben YoungTae Kim authored
am: 30a58db2 Change-Id: I0a0d4cc4a0e8f32d3b3407c370389260f864a3e7
- Jul 16, 2018
-
-
Ben YoungTae Kim authored
For multiple headset connections, it will be increased to support multiple services(HFP/AV/CT) for each links. Test: Connect to 4 or more headsets and play music Bug: 110972513 Change-Id: I56f69e12fb1a4a614c69fa383e9c53675a189fc9
-
- Jul 13, 2018
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Benson Li authored
* When trying to connect SCO to non-active and active device back to back, the first connection to non-active device must fail gracefully * Otherwise, BTA SCO state machine may stuck in a irrecoverable state * Schedule to send AUDIO_CONNECTING state before starting SCO connection to avoid race condition between connecting state and connection failure Bug: 111101075 Test: Manual test, make a call and switch path A->speaker->B on phone UI Change-Id: I9bfa389e04863944d88f2bca49d27f1247fa072b
-
Jack He authored
Bug: 110818719 Test: connect 5 devices, switch to speaker using dialer, switch to Bluetooth device using settings, repeat for all devices Change-Id: I68d8a892c99e106250245c4f56327555a13543ae
- Jul 12, 2018
-
-
Hansong Zhang authored
am: 31135bb5 Change-Id: Ica7758b35c6739c8c881cb7c1cd0370bd35d9b40
-
Treehugger Robot authored
-
- Jul 10, 2018
-
-
Hansong Zhang authored
Check whether the RegisterNotification request from CT is valid, and safely reject invalid request Bug: 111260441 Test: manually test with RIVA WAND speaker Change-Id: Ia2edd94e50fa7cb5b61be54f297adf971060a924
-
Treehugger Robot authored
-
Jakub Pawlowski authored
am: 80b719d5 Change-Id: I63fa3d67eb96f3e50396bff5d844a9e4b4336cc3
-
Jakub Pawlowski authored
am: 078f3bb8 Change-Id: I293dc741e31950adeebf2f65c49f7449f74db17e
-
Jakub Pawlowski authored
This fixes issue introduced in commit ddf6320b Registration for Service Changed notifications was disabled, because there was no good way back then to have "opportunistic" app. Since opportunistic apps were introduced, and the code in GATT_ConfigServiceChangeCCC is already marking connection as opportunistic, reenable notification registration. Test: manual verification, that Service Changed descriptor is set Change-Id: Iefaec3914829fa4a4a60dc3c3790c3daa9f4f4d8
-
Jakub Pawlowski authored
We are sending LE fixed channel notification to classic callback. Stop doing that. This triggers following warning in log output on every LE connection: W bt_smp : smp_br_connect_callback is called on unexpected transport 2 Test: manual with phone, verify warning is gone when connecting over LE Change-Id: I47597fa03744fb1bff03d287f790ea32fa033cc7
-
- Jul 09, 2018
-
-
Ugo Yu authored
Add a missing ack in A2DP start failed case when A2DP offload is enabled. Bug: 111207927 Test: Manual Change-Id: I96a7ad322ea7ce6da5084a48fdd3dec980ce57b8
-
- Jul 02, 2018
-
-
Pavlin Radoslavov authored
am: 28faf875 Change-Id: Ibdb89a81251633762771e55c00b2f1f492b14094
-
Pavlin Radoslavov authored
If the remote device sent us AVDTP Suspend, and then AVDTP Start, don't trigger AVDTP Suspend from the local device in response to the AVDTP Start. Also: * Add a call btif_av_stream_start_offload() inside btif_a2dp_on_started() if we were started remotely. * Fix the order of calling btif_a2dp_on_started() and triggering an internal BTIF_AV_SUSPEND_STREAM_REQ_EVT event. Otherwise, BTA Suspend might be called before btif_av_stream_start_offload() Bug: 110015851 Bug: 110186160 Test: Manual Change-Id: I908d19f8caf5130b96a64153ff39bd4b52879713
-
- Jun 29, 2018
-
-
Treehugger Robot authored
- Jun 28, 2018
-
-
Benson Li authored
Implement HandleSetAddressedPlayer() to check if remote set valid player ID and properly respond to remote. Bug: 110632860 Test: PTS Test AVRCP/TG/MPS/BI-01-C AVRCP/TG/MPS/BV-02-C Change-Id: Ice13e7ea97cdac369c4d021171a24bf9d96c9da8
-
Myles Watson authored
am: fdb3552c Change-Id: Ie853b1c2c21848fa6da57c3db8b0dd59229725a5
-
Treehugger Robot authored
- Jun 27, 2018
-
-
Myles Watson authored
Test: Toggle Bluetooth, ls -alZ /vendor/bin/hw/*blue* Change-Id: Ibf72f8bacc2f4975d06f4892e3b33ef6fb08aab7 Merged-In: Ibf72f8bacc2f4975d06f4892e3b33ef6fb08aab7
-
- Jun 26, 2018
-
-
Pavlin Radoslavov authored
am: ddabcc7d Change-Id: I62b171d4f71ca81e36c06312f93b817482ecf615
-
Josh Gao authored
dump closes a file descriptor that is still owned by a ParcelFileDescriptor which leads eventually to a double close. Test: treehugger Change-Id: Id351b5429cb17b48e37313850a363d739d78c4a1
-
Pavlin Radoslavov authored
If command_timed_out() is triggered and we cannot acquire the commands_pending_response_mutex to print the debug info, then proceed with the rest of the operations until the process aborts. Similarly, if startup_timer_expired() is triggered and we are blocked by a deadlock, just abort() because there is no way to recover. Bug: 110441099 Test: Code compilation Change-Id: I367332bbbd9c1d887bd2bc829b9f617114fc96fc
-