Commits

Commit Message Author Age Changes
17e6a279 gobex: Fix memory leak This fixes the following leak introduced by the authentication patches: 16 bytes in 1 blocks are definitely lost in loss record 62 of 158 at 0x4C291D4: calloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E7FEC6: g_malloc0 (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x403226: prepare_auth_rsp.isra.4 (gobex.c:564) by 0x404DE4: handle_response (gobex.c:1015) by 0x405C7B: incoming_data (gobex.c:1351) by 0x4E7A2A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7A627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E7AA39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x40DC34: test_auth (test-gobex.c:966) by 0x4E9E5E0: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9E7A5: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4E9EB1A: g_test_run_suite (in /usr/lib64/libglib-2.0.so.0.3800.2) Luiz Augusto von Dentz 11 years ago 1 file, +1, -0
2cbff741 android/gatt: Fix passing wrong event len in le dev found This fix wrong notification length passing to ipc. Grzegorz Kolodziejczyk 11 years ago 1 file, +1, -1
293741af android/hal-gatt: Add comments with events for IPC handlers Szymon Janc 11 years ago 1 file, +31, -3
9eb62963 android/hal: Fix coding style in IPC handler tables Szymon Janc 11 years ago 2 files, +77, -76
43d653e5 android/hal-gatt: Add missing length checks for variable length events Szymon Janc 11 years ago 1 file, +26, -0
a60ec37e android/avrcp-lib: Replace bt_get* and bt_put* with get* and put* Luiz Augusto von Dentz 11 years ago 1 file, +9, -9
18814241 android/avrcp-lib: Remove unused define Luiz Augusto von Dentz 11 years ago 1 file, +0, -3
544668dd unit/avrcp: Add /TP/MCN/SRC/BV-05-C test Test verifies that GetItemAttributes command issued by the Controller on a Media Item in the Search folder. Andrei Emeltchenko 11 years ago 1 file, +14, -0
e6b41f01 unit/avrcp: Add /TP/MCN/SRC/BV-03-C test Test verifies that GetFolderItems is issued with parameter AVRCP_MEDIA_SEARCH. Andrei Emeltchenko 11 years ago 1 file, +11, -0
752ee583 unit/avrcp: Fix possible buffer overflow text[] needs to be of size number for get_value_text() Andrei Emeltchenko 11 years ago 1 file, +6, -1
82d40ad0 android/avrcp: Fix clang warning Check len before memcpy(). Fixes: ... android/avrcp-lib.c:885:3: warning: Null pointer passed as an argument to a 'nonnull' parameter memcpy(&ptr[4], text[i], len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... Andrei Emeltchenko 11 years ago 1 file, +4, -1
393a6527 unit/avrcp: Add /TP/MCN/SRC/BV-01-C test Test verifies that Search command issued by the Controller. Andrei Emeltchenko 11 years ago 1 file, +13, -0
ac3484e9 android/avrcp: Add avrcp_search function Luiz Augusto von Dentz 11 years ago 2 files, +66, -1
076e5e2c unit/avrcp: Add /TP/MCN/CB/BV-07-C test Test verifies that GetItemAttributes command issued by the Controller. Andrei Emeltchenko 11 years ago 1 file, +14, -0
272d7759 android/avrcp: Add avrcp_get_item_attributes() function Luiz Augusto von Dentz 11 years ago 2 files, +109, -29
47c2a232 unit/avrcp: Add /TP/MCN/CB/BV-04-C test Test verifies that the ChangePath command issued by the Controller. Andrei Emeltchenko 11 years ago 1 file, +12, -0
8731902f android/avrcp: Add avrcp_change_path() function Luiz Augusto von Dentz 11 years ago 2 files, +55, -0
04fc7bc5 unit/avrcp: Add /TP/MCN/CB/BV-01-C test Test verifies that the GetFolderItems command issued by the Controller with VFS parameter. Andrei Emeltchenko 11 years ago 1 file, +17, -0
34fd1b4e unit/avrcp: Add Connection establishment and release tests Tests are checking connection establishment and release for browsing channel. Since we are connected through socketpair the tests are dummy. Andrei Emeltchenko 11 years ago 1 file, +13, -0
99125619 unit/avrcp: Add /TP/MPS/BV-01-I test Test verifies that Controller is able to request the list of available Media Players. Andrei Emeltchenko 11 years ago 1 file, +14, -0
909ae0ca unit/avrcp: Add /TP/MPS/BV-08-C test Test verifies that GetFolderItems cmd for the Media Player List issued by the Controller. Andrei Emeltchenko 11 years ago 1 file, +12, -0
36d6b226 android/avrcp: Add avrcp_get_folder_items() function Luiz Augusto von Dentz 11 years ago 2 files, +73, -0
e405b408 unit/avrcp: Add /TP/MPS/BV-03-C test Test verifies that SetBrowsedPlayer command issued by the Controller. Andrei Emeltchenko 11 years ago 1 file, +8, -0
973a2d8a unit/avrcp: Add browsing channel support in unit testing Andrei Emeltchenko 11 years ago 1 file, +87, -2
007909a8 android/avrcp: Add avrcp_set_browsed_player() function Luiz Augusto von Dentz 11 years ago 2 files, +154, -5
6114561a android/avrcp: Add avrcp_connect_browsing() Add support for browsing channel Andrei Emeltchenko 11 years ago 2 files, +8, -0
97518af9 android/avrcp-lib: Add support for parsing SetAddressed response Luiz Augusto von Dentz 11 years ago 3 files, +36, -7
ac93ba0e gobex: Fix asserting when resending connect request In case connect requests needs to be resent to authenticate the timeout handle should be removed otherwise it may end up asserting: ERROR:gobex/gobex.c:251:req_timeout: assertion failed: (p != NULL) Luiz Augusto von Dentz 11 years ago 1 file, +2, -0
ccd67f61 btio: Remove unnecessary get_peers() function Johan Hedberg 11 years ago 1 file, +4, -24
8dec0f65 btio: Do RFCOMM peer address lookup only when really necessary Johan Hedberg 11 years ago 1 file, +30, -4
56f44338 btio: Do L2CAP peer address lookup only when really necessary Johan Hedberg 11 years ago 1 file, +69, -7
989ff1d0 tools/btmgmt: Fix bogus comment in eir_get_flags function This was due to copy-and-paste. Szymon Janc 11 years ago 1 file, +1, -1
aca6d609 tools/btmgmt: Add option to pass adress type to disconnect command This is needed to disconnect LE devices. Szymon Janc 11 years ago 1 file, +36, -4
4b294a94 tools/btmgmt: Print AD flags for LE devices This is usefull for GAP qualification tests. Szymon Janc 11 years ago 1 file, +32, -0
aeed3155 android/gatt: Handle unregister gatt server command This adds unregister gatt server app command handling. Grzegorz Kolodziejczyk 11 years ago 1 file, +25, -1
0e0f715a android/gatt: Handle register gatt server command This adds register gatt server command handling. Grzegorz Kolodziejczyk 11 years ago 1 file, +75, -2
27fadad1 android/gatt: Remove redundant hal cmd check This removes redundant hal cmd check (is received in cmd UUID == NULL). Grzegorz Kolodziejczyk 11 years ago 1 file, +0, -6
fc07271d android/gatt: Refator bt_gatt_register function This fix possible memory leaks and not unregistering IPC handlers if function failed. Szymon Janc 11 years ago 1 file, +17, -16
1ec0a0ca android/gatt: Cleanup bt_gatt_unregister function This also fix memory leak when destroying gatt_clients queue. Szymon Janc 11 years ago 1 file, +3, -3
058ce459 android/gatt: Simplify matching functions We should match uuid from element_id struct to avoid uuid creation every time. Jakub Tyszkowski 11 years ago 1 file, +2, -6
873bf9d4 android/gatt: Add helpers for element_id to hal structs conversion We have helpers for hal structs to element_id conversion, so we should use symetrical element_id to hal struct helpers when sending notifications. Jakub Tyszkowski 11 years ago 1 file, +23, -22
e12e8a3b android/gatt: Move element_id creation helpers up This helpers should be in one place, in file's upper part. Jakub Tyszkowski 11 years ago 1 file, +14, -14
adaf6d26 android: Fix coding style in IPC handler tables Johan Hedberg 11 years ago 2 files, +96, -91
3b933c95 android/gatt: Handle write characteristic client command This adds write characteristic client command handling. Grzegorz Kolodziejczyk 11 years ago 1 file, +107, -2
fdea682b android/gatt: Handle read characteristic client command This adds read characteristic client command handling. Grzegorz Kolodziejczyk 11 years ago 1 file, +137, -2
dbf917d9 TODO: Mark OBEX Authentication as done Luiz Augusto von Dentz 11 years ago 1 file, +0, -5
00d4081a obexd: Remove code related to OBEX authentication gobex can now generate responses authentication challenge so this code is no longer needed. Luiz Augusto von Dentz 11 years ago 1 file, +0, -91
df95622c unit/test-gobex: Add test for OBEX authentication fail Luiz Augusto von Dentz 11 years ago 1 file, +40, -0
4f1414e3 unit/test-gobex: Add test for OBEX authentication Luiz Augusto von Dentz 11 years ago 1 file, +55, -0
774aae64 gobex: Respond to authentication challenge This implements authentication response as defined in OBEX specification since it is a mandatory feature for many Bluetooth profiles. Luiz Augusto von Dentz 11 years ago 1 file, +113, -14
Previous Next