Commits

Commit Message Author Age Changes
72d2c6c4 android/ipc-tester: Add case for BT Set remote prop This patch adds test for verifying data length inside hal_cmd_set_remote_device_prop struct. Jakub Tyszkowski 12 years ago 1 file, +49, -0
b39585c0 android/ipc-tester: Add case for BT Set adapter prop This patch adds test for verifying data length inside hal_cmd_set_adapter_prop struct. Jakub Tyszkowski 12 years ago 1 file, +51, -0
2b964fac android/ipc-tester: Add cases for A2DP msg size Add cases testing message size veification for A2DP opcodes. Jakub Tyszkowski 12 years ago 1 file, +18, -0
0d06fdd1 android/ipc-tester: Add cases for PAN msg size Add cases testing message size verification for PAN opcodes. Jakub Tyszkowski 12 years ago 1 file, +30, -0
aa6d6793 android/ipc-tester: Add case for HIDHOST Send Data This adds test for verifying data length inside hal_cmd_hidhost_send_data struct. Jakub Tyszkowski 12 years ago 1 file, +49, -0
7620fee1 android/ipc-tester: Add case for HIDHOST Set Report This patch adds test for verifying data length inside hal_cmd_hidhost_set_report struct. Jakub Tyszkowski 12 years ago 1 file, +49, -0
177fe934 android/ipc-tester: Add case for HIDHOST Set Info This patch adds test for verifying data length inside hal_cmd_hidhost_set_info struct. Jakub Tyszkowski 12 years ago 1 file, +49, -0
fddce772 android/ipc-tester: Add cases for HIDHOST msg size Add cases testing message size verification for HIDHOST opcodes. Jakub Tyszkowski 12 years ago 1 file, +74, -0
2708345e android/ipc-tester: Add cases for SOCK msg size Add cases testing message size verification for SOCK opcodes. Jakub Tyszkowski 12 years ago 1 file, +18, -0
c19c7df0 android/A2DP: Fix invalid read after unregistering an endpoint The endpoint is unregistered but it was still accessible via endpoints list causing the following trace when audio HAL is closed: Invalid read of size 8 at 0x414A49: unregister_endpoint (a2dp.c:114) by 0x3862466477: g_slist_foreach (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x386246649A: g_slist_free_full (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x414985: audio_disconnected (a2dp.c:1446) by 0x40FD5C: audio_watch_cb (audio-ipc.c:79) by 0x38624492A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x3862449627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x3862449A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4034D5: main (main.c:449) Address 0x4cd5e68 is 8 bytes inside a block of size 32 free'd at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x386244EF7E: g_free (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4159FD: bt_audio_close (a2dp.c:1296) by 0x40F629: ipc_handle_msg (ipc.c:95) by 0x40FD9F: audio_watch_cb (audio-ipc.c:67) by 0x38624492A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x3862449627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x3862449A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2) by 0x4034D5: main (main.c:449) Luiz Augusto von Dentz 12 years ago 1 file, +1, -0
acc4dfbf android/hal-audio: Don't try to unregister endpoints on handler exit audio_sk is already closed at this point so just cleanup any leftovers in enpoints states. Szymon Janc 12 years ago 1 file, +2, -1
878564f8 android/hal-audio: Simplify and fix locking This fix various issues with locking like missing unlock on audio_ipc_cmd() return or accesing audio_sk without holding lock. close_thread is removed to simplify code and shutdown on listen_sk is used to indicate that that handler thread should stop. Szymon Janc 12 years ago 1 file, +38, -32
29eb4fe6 android/audio: Fix for loading audio lib clock_gettime requires linking with -rt for glibc versions before 2.17 Lukasz Rymanowski 12 years ago 1 file, +1, -1
23e4997c build: Don't enable Android build for make distcheck Marcel Holtmann 12 years ago 1 file, +1, -2
6dd61fad doc: Update l2cap-tester test count Johan Hedberg 12 years ago 1 file, +2, -2
e27ca4c1 btproxy: Fix resource leak Close file descriptors before leaving. Andrei Emeltchenko 12 years ago 1 file, +4, -1
fbf6a7b7 tools/l2cap-tester: Add basic ATT Server test case Johan Hedberg 12 years ago 1 file, +8, -1
de33c982 tools/l2cap-tester: Add basic ATT Client test case Johan Hedberg 12 years ago 1 file, +19, -5
1189258e tools/l2cap-tester: Fix checking for NULL test data Johan Hedberg 12 years ago 1 file, +1, -1
e7bb6273 android: Move audio.a2dp.default.la build definitions This way they are not spread in different parts of Makefile.am Luiz Augusto von Dentz 12 years ago 1 file, +2, -2
69baf873 android/hal-audio: Fix code style Luiz Augusto von Dentz 12 years ago 1 file, +2, -4
8392aa08 android/hal-audio: Return proper latency for stream This patch implements get_latency() for output stream properly by returning some meaningful value, i.e. calculated duration of single media packet increased by fixed A2DP playback latency. This is the same as PulseAudio does. Andrzej Kaczmarek 12 years ago 1 file, +24, -1
c194584a android/hal-audio: Add proper SBC encoding Input and output stream is configured in a way that each input buffer can be encoded to exactly one output buffer. Reading from AudioFlinger is synchronized based on amounts of frames which were expected to be sent since stream was resumed, i.e. as long as we sent enough data we can wait for period of single media packet before we need another buffer from input. Without synchronization we'd receive next input buffer as soon as we process current one. Andrzej Kaczmarek 12 years ago 1 file, +99, -3
955c88d6 android/hal-audio: Read fd from Output Stream response Andrzej Kaczmarek 12 years ago 1 file, +12, -4
b95bc741 android/hal-audio: Return proper buffer size to AudioFlinger Andrzej Kaczmarek 12 years ago 1 file, +16, -1
95cbb7d4 android/hal-audio: Add resume to codec callbacks Once stream is resumed it may be required to reset some state of codec, i.e. in case of SBC we need to reset monotonic clock and frames count which are used for synchronization. Andrzej Kaczmarek 12 years ago 1 file, +19, -0
d7bf6c3c android/hal-audio: Calculate SBC stream parameters This patch adds necessary calculations for SBC stream parameters. Both input and output buffers are expected to have exact amount of data to fill single media packet (based on transport channel MTU). Frame duration will be used to synchronize input and output streams. Andrzej Kaczmarek 12 years ago 1 file, +97, -6
0551b9ec android/hal-audio: Initialize SBC encoder Andrzej Kaczmarek 12 years ago 1 file, +22, -0
d4e07501 android/hal-audio: Rename sbc_init to avoid collision with libsbc Andrzej Kaczmarek 12 years ago 1 file, +3, -3
68141f08 android: Build Audio HAL with SBC Build for Android requires libsbc sources to be available in external/bluetooth/sbc. Build for host requires libsbc package to be installed. Andrzej Kaczmarek 12 years ago 3 files, +44, -2
adaa54bd android: Add MTU data to Open Stream Audio IPC MTU value for transport channel is sent in Open Stream response, which is required to calculate number of frames which can be packed into single media packet. This is to avoid including GPLv2 licensed headers in Audio HAL implementation. Andrzej Kaczmarek 12 years ago 2 files, +7, -2
282f0d07 android/tester: Update hidhost tests with DeviceID SDP search Szymon Janc 12 years ago 1 file, +82, -52
c95e067c android/hidhost: Fix vid and pid information For HID device vendor, product and version numbers should be retrieved using Device ID profile which is mandatory for devices implementing HIDP. Andrzej Kaczmarek 12 years ago 1 file, +55, -18
90873320 android/pan: Remove not needed intialization to NULL Szymon Janc 12 years ago 1 file, +1, -1
2649f6dc android/pan: Fix possible NULL dereference It is better to return here since dev is not allocated and assigned NULL value. Andrei Emeltchenko 12 years ago 1 file, +1, -1
98ab7a7a android/ipc: trivial: Remove empty line Andrei Emeltchenko 12 years ago 1 file, +0, -1
9a438436 core: Remove __TEXTFILE_H header inclusion protection Marcel Holtmann 12 years ago 4 files, +2, -7
8b8a5315 tools: Close file descriptors in the calling function Marcel Holtmann 12 years ago 1 file, +5, -5
6fe5d7f4 unit/avdtp: Remove extra zero table entry Remove not needed table entry copied, probably, from unit/sdp Andrei Emeltchenko 12 years ago 1 file, +1, -1
fb231d60 unit/sdp: Remove extra zero table entry It is enough to have one zero table entry at the end of the table. Andrei Emeltchenko 12 years ago 1 file, +1, -1
d8af57d8 btproxy: Fix resource leak Close file descriptors if setup_proxy fails. Andrei Emeltchenko 12 years ago 1 file, +4, -1
a163b8c0 android/pan: Fix wrong freeing dev It does make sense free() dev after it is used. g_free() is not needed here since it will be already executed in bt_pan_notify_conn_state(). Andrei Emeltchenko 12 years ago 1 file, +0, -1
f32b7f50 tools/l2cap-tester: Fix indentation Johan Hedberg 12 years ago 1 file, +1, -1
5bededf1 android: Refactor paths in Android.mk Using source paths relative to android/ directory created mess in Android's obj directory since object files are created also relative to bluetoothd_intermediates (thus can be created outside it). To avoid this we set LOCAL_PATH to absolute path (in terms of Android build root) of directory in which bluez/ is located and change and update source paths accordingly. This also allows us to build in future glib and sbc easily using Android.mk in BlueZ. Andrzej Kaczmarek 12 years ago 1 file, +112, -112
c6c1cd9a android: Add l2ping to debug builds Andrzej Kaczmarek 12 years ago 1 file, +22, -0
23075a9b android: Add btmgmt to debug builds Andrzej Kaczmarek 12 years ago 1 file, +30, -0
732b97d2 android/ipc: Leave the connect callback to handle errors It is not necessary to check connect errors since there is a watch created for that. Luiz Augusto von Dentz 12 years ago 1 file, +1, -6
c26f5203 android/A2DP: Add retry logic to Audio IPC In case the audio HAL disconnects without cleaning up its endpoints treat it as unclean disconnection and attempt to reconnect. Luiz Augusto von Dentz 12 years ago 5 files, +83, -12
5b67d64e doc: Update android-tester coverage statistics Szymon Janc 12 years ago 1 file, +2, -2
82a56092 android/tester: Add HIDhost GetReport test Ravi kumar Veeramally 12 years ago 1 file, +64, -0
Previous Next