- Mar 27, 2019
-
-
Myles Watson authored
Test: Upload a change with long lines Change-Id: Iba4a08f9556219bfada9a13272463acbf7ddbdce
-
Treehugger Robot authored
-
- Mar 23, 2019
-
-
Chienyuan authored
Test: sudo ./bluetooth_test_common Change-Id: Ibbf8622a705d3523638ef6cc9e6a62130b877637
-
- Mar 22, 2019
-
-
Hansong Zhang authored
Previously osi/alarm cannot be cancelled or freed while in a callback. Replace it with common/Timer. It's safe to be cancelled in a callback and well tested. Bug: 119533256 Test: manual Change-Id: I73c7c98d683c85ec8f0f4256c3e4bccf3e11b56a
-
Treehugger Robot authored
-
- Mar 21, 2019
-
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Mar 20, 2019
-
-
Elliott Hughes authored
-
Cheney Ni authored
This CL follows the review suggestions at aosp/920718 and aosp/925233 to refine logs. Bug: none Test: check logs manually Change-Id: I3c57afaf6d416752687a7a697a310fe98c8ee495
-
Cheney Ni authored
There is a similar WAR of aosp/522661 at A2DP legacy HAL. In order to suport MONO channel mode, the PCM audio is pulled as STEREO and mixed into MONO by the Bluetooth Audio HAL. Test: Playing SBC mono with Headset Bug: 127593318 Change-Id: I78f3973ba6c8c733dc18122288a915daed97be65
-
Jack He authored
* Add an event_value field to log status value such as - encryption enabled state - simple pairing mode - secure connection host support - delete all flag * Use the event_value field to log above information during classic pairing process instead Bug: 128966402 Test: make Change-Id: I2a87c3837754bfc5bcd55f72325400c428c2ca25
-
- Mar 18, 2019
-
-
Cheney Ni authored
Because the stack may run without the new BluetoothAudio HAL like GSI under old devices, it will be nullptr to getService from the IBluetoothAudioProvidersFactory in such condition. We take nullptr as unsupported, and fallback to the legacy HAL. Bug: 128419724 Test: Manually running A2DP and hearing aid with / without the HAL Change-Id: I606abc3e5b63b7857c3307c879fd4cbe46dd05d9
-
- Mar 16, 2019
-
-
Stanley Tng authored
When there is a data buffer flush (which indicates data congestion), the received RSSI will be queried for this connection multiple times and logged in the dumpsys. Bug: 124331686 Test: Manual test Change-Id: I686f4e34bda3f8067b42d6b41ca8bf316a5bf6f1
-
- Mar 15, 2019
-
-
Elliott Hughes authored
Test: builds Change-Id: I75c3311ce00fccc79b8efc198ce69ffed96e805a
-
- Mar 14, 2019
-
-
Jorge Moreira Broche authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Mar 13, 2019
-
-
Nick Kralevich authored
-
Joseph Pirozzo authored
-
Cheney Ni authored
When the headset was disconnecting, the audio HAL may not be able to suspend the stream successfully, and it is no need to abort the process for such acceptable failure. This change also adds extra log messages about HIDL status. Bug: 127654107 Test: Play / pause music via the Bluetooth manually Change-Id: I335fcf75708343c7971ebd97514fea5db50f17a0
-
Treehugger Robot authored
-
Xin Li authored
-
Jorge E. Moreira authored
Rootcanal's test console is in a tcp socket which is forbiden for HALs by the Android security policy. Bug: 128355308 Test: run in cuttlefish, ensure no 'avc: denied' messages show up Change-Id: I74bf07c34166d2df399f33194cbb41e57178edc2
-
- Mar 12, 2019
-
-
Jorge E. Moreira authored
Bug: 128355308 Test: build Change-Id: I3cb9140b34af18569a983122eef3bd642516440c
-
Nick Kralevich authored
Have the caller null out the array rather than rely on the callee performing a memset. Bug: 121194976 Test: compiles. No runtime tests performed. Change-Id: I1ce3f0530080769b97be0af313e822b74fd375ce
-
Joseph Pirozzo authored
If a HF client fails to connect (due to collision), clean up state such that subsequent connection attempts will pass. Bug: 118422992 Test: Connect HF client to AG Change-Id: I093cf3d229956c66d9e8501eb882071600321555
-
Cheney Ni authored
When the Bluetooth state changes from ON to BLE_ON, the hearing aid instance was cleaned up, but not encoder state. Since the Bluetooth process is kept at BLE_ON but not exited, the new instance of the hearing aids would see the encoder as initialized without starting a new Bluetooth audio session, and caused the audio HAL to be unable to talk to the stack. We now reset the encoder state when cleaning up the instance, so it will start a session next time during the first connection of a new hearing aid instance. Bug: 127610666 Test: ON / OFF BT with BLE_ON and switch active device manually Change-Id: I426fed4ea22c0b858bee273727fca6e2e7481e84
-
Weichin Weng authored
-
- Mar 11, 2019
-
-
The Android Open Source Project authored
Bug: 127812889 Change-Id: I733a17b7dd1e24a6f4a19aac2d45e312b15e0199
-
weichinweng authored
When the HCI Snoop logs wraparound, the Hearing Aid Audio Control Command "Start" is lost. For the case, we can enable No Start Cmd feature to set a fake "Start" to extract audio data. Bug: 127745964 Test: ./dump_hearingaid_audio.py -c1 1 -c2 3 -ns true btsnoop_hci.log Change-Id: Id7f67da0d5476faf38352ab57339fed8e358bac6
-
- Mar 09, 2019
-
-
Treehugger Robot authored
-
- Mar 08, 2019
-
-
Treehugger Robot authored
-
android-build-team Robot authored
Change-Id: I8098c6f610e684be5b84a984b163088d255420b8
-
Ajay Panicker authored
If a device disconnects right before a update message gets queued, the device becomes null and there is a crash when the callback for the update executes on the disconnected device. This patch switches the device reference from being Unretained to using a weak pointer so that the callback just doesn't execute if the device is disconnected. Bug: 120431125 Test: Use the same test as b/120477414 as that bug causes a disconnect at the same time as a media update. Change-Id: I1dcc08e5c9866106e7ec0dad52505e34b42da600
-
- Mar 07, 2019
-
-
Martin Brabham authored
Ensures we release the wakelock when turning off if any module hasn't stopped timers properly Bug: 123289721 Test: atest net_test_bluetooth Change-Id: Ibec5c262d2ec33ce22f2c8bb2a9b838e8d6b90a7
-
Joseph Pirozzo authored
Implement code to register for the AVRCP notification EVENT_PLAYBACK_POS_CHANGED such that playback position gets update on skip to beginning, and during audio scrubbing from phone. Bug: 119119967 Test: Play music, scrub audio to another position on phone, observe playback position is in sync. Change-Id: Ib8459dece7629622649ba6ed340dcd697c700b09
-
- Mar 06, 2019
-
-
Jakub Pawlowski authored
When connection attempt is canceled, we put the transport control block (p_tcb) into CLOSING state, but we never close or free it. For LE devices that have not established the connection, it's safe to go straight to CLOSED state and free the p_tcb. This issue was introduced during connection manager refactor. Bug: 127242749 Test: GattConnectTest Change-Id: I8e45ead9b071c60e95d2e60dcea8afdbaefb92b1
-
Jakub Pawlowski authored
-
- Mar 05, 2019
-
-
Treehugger Robot authored
-