| df393641 |
emulator: Add HCI_Write_SSP_Debug_Mode support |
Johan Hedberg |
11 years ago |
1 file, +11, -0 |
| eda66f70 |
tools/smp-tester: Fix expected key distribution to match latest bluetooth-next |
Johan Hedberg |
11 years ago |
1 file, +2, -2 |
| 3589834a |
gitignore: Add unit/avctp to .gitignore |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -0 |
| 1d7219ce |
android/avrcp: Close AVRCP channel on error
This fixes resource leak. |
Andrei Emeltchenko |
11 years ago |
1 file, +8, -2 |
| 3ad3dd33 |
avrcp: Fix printing order for browsing avrcp header |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -1 |
| 0985cc24 |
avrcp: Fix printing incorrect order for avrcp control header |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -2 |
| 6d9fcff7 |
android/hal-audio: Fix style issues |
Andrei Emeltchenko |
11 years ago |
1 file, +14, -15 |
| 69a8e1c3 |
android/hal-audio: Fix memory leak
Free preset if set_blocking() fails. |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -1 |
| 014471ca |
android/hal-audio: Do not allocate memory if fd < 0
Fixes memory leak when returning bad fd we still allocate memory which
is not freed in the caller function audio_open_output_stream(). |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -1 |
| d8beaba7 |
android/hal-audio: Check calloc return value
calloc() might return NULL and is usually checked for NULL in BlueZ. |
Andrei Emeltchenko |
11 years ago |
1 file, +2, -0 |
| 905815f4 |
audio/AVRCP: Fix not setting playable flag for folder
When listing items some folders may be set as playable but the code was
ignoring it making it impossible to play any folder. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +10, -1 |
| b012b92d |
audio/AVRCP: Fix using the wrong octet for folder type
Folder type is the 9 octet not the 10. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +1, -1 |
| 9c05a16c |
audio/player: Fix using invalid end index
When the End index is not set in ListItems the code automatically pick
the number of items as end index but the start index start with 0 so
the correct is to use number of items - 1. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +2, -1 |
| c60216b0 |
tools: Add command to btmgmt to enable/disable debug keys setting |
Marcel Holtmann |
11 years ago |
1 file, +7, -0 |
| 4c97742e |
monitor: Decode debug-keys mgmt setting information |
Marcel Holtmann |
11 years ago |
1 file, +1, -1 |
| 9f79f001 |
tools: Decode debug keys feature within btmgmt info command |
Marcel Holtmann |
11 years ago |
1 file, +1, -0 |
| 5c69dbc1 |
lib: Add constants for handling debug keys setting |
Marcel Holtmann |
11 years ago |
1 file, +4, -0 |
| 373c0231 |
tools: Remove test for invalid key_type for long term keys |
Marcel Holtmann |
11 years ago |
1 file, +1, -24 |
| b5321e29 |
tools: Adjust mgmt-tester to new default supported features |
Marcel Holtmann |
11 years ago |
1 file, +3, -3 |
| a68c2cbb |
core: Rename authentication to key_type in mgmt_ltk_info |
Marcel Holtmann |
12 years ago |
2 files, +5, -5 |
| 47c6cad7 |
doc: Describe the new debug keys command and setting |
Marcel Holtmann |
12 years ago |
1 file, +23, -0 |
| dc5be1d0 |
tools: Correct a few typos in mgmt-tester |
Marcel Holtmann |
12 years ago |
1 file, +4, -4 |
| 17f7bfba |
doc: Change the authentication parameter into key_type parameter |
Marcel Holtmann |
12 years ago |
1 file, +17, -6 |
| 484beade |
doc: List the possible key types for link keys |
Marcel Holtmann |
12 years ago |
1 file, +29, -4 |
| 9b6ab7eb |
android/pts: Correct typo |
Sebastian Chlad |
12 years ago |
1 file, +1, -1 |
| 5529d54e |
android/pts: Add Android version to PTS tests
This trivial patch adds Android version to the PTS test results.
It helps tracking tests status. |
Sebastian Chlad |
12 years ago |
8 files, +8, -0 |
| c9bed7fc |
android: Add avtest to debug builds |
Sebastian Chlad |
12 years ago |
1 file, +22, -0 |
| 62ea41c2 |
audio/AVRCP: Fix crash when player target is not initialized
Remote device may not have both roles always which can lead to crash if
it does support trigger commands that would access the player. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +25, -17 |
| 6bb342be |
android/pts: PTS test results for PBAP |
Sebastian Chlad |
12 years ago |
1 file, +88, -15 |
| 2b07b9b2 |
android/pts: PTS test results for OPP |
Sebastian Chlad |
12 years ago |
1 file, +20, -17 |
| 818ac15c |
android/pts: PTS test results for AVCTP |
Sebastian Chlad |
12 years ago |
1 file, +9, -9 |
| d096e7d7 |
android/pts: PTS test results for L2CAP |
Sebastian Chlad |
12 years ago |
1 file, +11, -9 |
| bac4bbe3 |
monitor: Add SMP key distribution decoding |
Johan Hedberg |
12 years ago |
1 file, +23, -4 |
| 034bf368 |
audio/AVRCP: Fix not freeing pending_pdu if session is detroyed
This fixes possibly leaking pending_pdu if the session is destroyed. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +2, -0 |
| 5d701173 |
unit/avctp: Add TP/NFR/BI-01-C test
To verify that the IUT (TG) reports to the test system (CT) the
reception of a control message intended for an invalid PID (PID not
registered for reception of messages). |
Andrei Emeltchenko |
12 years ago |
1 file, +4, -0 |
| cbe04032 |
unit/avctp: Add TP/NFR/BV-02-C test
To verify that the IUT (TG) formats correctly the following fields of
the AVCTP response message: “transaction label”, "message type(R)", PID,
“packet type”, IPID and “message information”. Check that AVCTP send
response packet along with other information. Payload is out of scope of
this test (AVC_CTYPE_REJECTED is OK). |
Andrei Emeltchenko |
12 years ago |
1 file, +13, -0 |
| 7e1c7f5b |
unit/avctp: Add AVCTP unit test skeleton and first test
Adds test TP/NFR/BV-01-C. To verify that the IUT (CT) formats correctly
the following fields of the AVCTP command message: “transaction label”,
"message type(C)", PID, “packet type”, IPID and “message information”. |
Andrei Emeltchenko |
12 years ago |
2 files, +266, -0 |
| 6fd7e0f2 |
android/a2dp: Fix crash on remote disconnection
Remove setups when a2dp device is removed. This fix following:
Invalid read of size 4
at 0x115E32: bt_stream_close (a2dp.c:1352)
by 0x111DFB: ipc_handle_msg (ipc.c:95)
by 0x11234B: audio_watch_cb (audio-ipc.c:67)
by 0x48BD9C7: ??? (in /system/lib/libglib.so)
Address 0x4a590f4 is 12 bytes inside a block of size 20 free'd
at 0x4897E6C: free (in
/system/lib/valgrind/vgpreload_memcheck-arm-linux.so)
by 0x48C5E2B: g_free (in /system/lib/libglib.so)
Invalid read of size 4
at 0x113638: avdtp_close (avdtp.c:3201)
by 0x115E39: bt_stream_close (a2dp.c:1352)
by 0x111DFB: ipc_handle_msg (ipc.c:95)
by 0x11234B: audio_watch_cb (audio-ipc.c:67)
by 0x48BD9C7: ??? (in /system/lib/libglib.so)
Address 0x4a594a4 is 28 bytes inside a block of size 1,100 free'd
at 0x4897E6C: free (in
/system/lib/valgrind/vgpreload_memcheck-arm-linux.so)
by 0x48C5E2B: g_free (in /system/lib/libglib.so) |
Szymon Janc |
12 years ago |
1 file, +33, -16 |
| 4e6071ff |
android/avctp: Move AVC_HEADER_LENGTH from avctp header
There is currently inconsistence in the avctp code with
AVC_HEADER_LENGTH defined in avctp.h but AVCTP_HEADER_LENGTH defined in
avctp.c. Move definition to place it is actually used in consistent way. |
Andrei Emeltchenko |
12 years ago |
2 files, +2, -1 |
| 0429c69f |
avctp: Fix wrong error message |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -1 |
| ec1d828e |
avctp: Use predefined HEADER_LENGTH instead of sizeof
Make code consistent with using HEADER_LENGTH already defined and used
instead of sizeof(). Remove also ugly type conversion. |
Andrei Emeltchenko |
12 years ago |
1 file, +6, -6 |
| cfcc04d3 |
avctp: trivial: Do not break short line |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -2 |
| 745d4f80 |
avctp: Use already calculated avc header
This removes long (81 characters) line as a side effect. |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -1 |
| 632b388c |
android/avctp: Fix wrong error message |
Andrei Emeltchenko |
12 years ago |
1 file, +1, -1 |
| e315d108 |
android/avctp: Use predefined HEADER_LENGTH instead of sizeof
Make code consistent with using HEADER_LENGTH defined. Remove also type
conversion. |
Andrei Emeltchenko |
12 years ago |
1 file, +6, -6 |
| 3f839fa9 |
audio/AVRCP: Fix sending invalid response to GetCapabilities
The attribute count has to be initialized with 0 since we reuse the same
buffer for both command and responses it may be already be set causing
invalid response to be generated. |
Luiz Augusto von Dentz |
12 years ago |
1 file, +1, -0 |
| 2a07e06b |
android/bluetooth: Fix unbonding device on auth failure
This was causing removal of device info from storage and resulting in
loosing bond after bluetoothd restart. |
Szymon Janc |
12 years ago |
1 file, +7, -2 |
| e099ed45 |
android/README: Update with kernel requirements |
Szymon Janc |
12 years ago |
1 file, +24, -1 |
| 6b59feb9 |
android/README: Add information about SBC requirement |
Szymon Janc |
12 years ago |
1 file, +4, -0 |
| 637b8ca4 |
android/README: Fix typo |
Szymon Janc |
12 years ago |
1 file, +1, -1 |