| 5827e1f0 |
android: Fix Handsfree volume command notification description |
Szymon Janc |
11 years ago |
1 file, +1, -0 |
| b79d1f2d |
android/hal-msg: Match handsfree structures to IPC document |
Szymon Janc |
11 years ago |
1 file, +14, -14 |
| ea609c0b |
android/avdtp: Fix coding style
Respect 80 columns limit. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +23, -14 |
| 6f166ec0 |
bnep: Calculate ifindex after NULL check |
Andrei Emeltchenko |
11 years ago |
1 file, +3, -1 |
| 00c35d3f |
android/avdtp: Fix passing NULL pointer to memcpy
The patch fixes following clang warning:
...
profiles/audio/avdtp.c:3293:2: warning: Null pointer passed as an
argument to a 'nonnull' parameter
memcpy(cap->data, data, length);
^ ~~~~ |
Andrei Emeltchenko |
11 years ago |
1 file, +6, -1 |
| 47f6853f |
android/avdtp: Fix passing NULL pointer to memcpy
send_request can be called as
send_request(session, FALSE, NULL, AVDTP_DISCOVER, NULL, 0) with NULL
pointer which is passed to memcpy(). |
Andrei Emeltchenko |
11 years ago |
1 file, +10, -2 |
| 600ad0f6 |
android/haltest: Remove unneeded assignment |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -3 |
| d2e481c3 |
android/build: Some whitespace fixes |
Szymon Janc |
11 years ago |
1 file, +6, -6 |
| 6a43401f |
android/build: Match compiler options used in autotools and Android.mk |
Szymon Janc |
11 years ago |
1 file, +10, -1 |
| 4190ac12 |
android/a2dp: Fix audio deregistration
Unregistering a SEP can trigger abort_cfm callback if some device is
connected thus we should free setups list after all endpoints are
unregistered to avoid error in abort_cfm due to non-existing setup. |
Andrzej Kaczmarek |
11 years ago |
1 file, +3, -3 |
| 496dd38b |
android/a2dp: Disconnect headset on IPC failure
In case audio IPC is suddenly disconnected (most likely due to crash of
mediaserver process) we should disconnect headset since it is no longer
associated with valid setup and cannot be used properly. |
Andrzej Kaczmarek |
11 years ago |
1 file, +7, -0 |
| 17b55a1f |
android/hal-audio: Write SBC parameters to logcat |
Andrzej Kaczmarek |
11 years ago |
1 file, +81, -0 |
| 3290badf |
android/hal-audio: Ignore write call when closing
We should not try to neither auto-resume nor write when state is set to
NONE as this is case when we're being closed and it's ok do ignore
write request. |
Andrzej Kaczmarek |
11 years ago |
1 file, +4, -0 |
| 217b2102 |
android/a2dp: Notify audio state on SEP close |
Andrzej Kaczmarek |
11 years ago |
1 file, +13, -1 |
| 4e50a5f7 |
android/a2dp: Shutdown AVDTP gracefully
When shutting down AVDTP connection we first abort and wait for stream
to go to idle state before disconnecting signalling channel. |
Andrzej Kaczmarek |
11 years ago |
1 file, +17, -4 |
| a7032c97 |
android/haltest: Close file in case of error |
Andrei Emeltchenko |
11 years ago |
1 file, +10, -3 |
| 7bb2a168 |
android/pan: Bring bridge interface down before removing it
Otherwise bridge will be 'in use' and won't be removed. |
Szymon Janc |
11 years ago |
1 file, +27, -0 |
| 5ab76c60 |
android/pan: Pass error in nap_remove_bridge
Don't return EOPNOTSUPP but just pass error from errno. |
Szymon Janc |
11 years ago |
1 file, +4, -1 |
| b4fbbb03 |
android/pan: Use ioctl instead of sysfs for setting forward delay
Using sysfs is causing problems due to filesystem permissions
(bluetoothd is running as bluetooth user) and bluetoothd already has
required capabilities for setting forward delay through ioctl. |
Szymon Janc |
11 years ago |
1 file, +15, -16 |
| ce8bf58e |
android/pan: Fix bnep interface name
Android uses bt-pan static interface in PAN profile. In server role
it uses it as bridge name. But current implementaion passes interface
names like bnep0, bnep1... Android Framework is unaware of this name
and unable to allocate IP address after profile connection setup. |
Ravi kumar Veeramally |
11 years ago |
1 file, +11, -2 |
| 375bed1c |
android/pan: Fix unregistering NAP bridge
This fix not removing NAP bridge in case of error or last device
disconnect. |
Szymon Janc |
11 years ago |
1 file, +20, -6 |
| 29bf1a3a |
android/pan: Move functions up to avoid forward declarations |
Szymon Janc |
11 years ago |
1 file, +66, -66 |
| 800c6b66 |
profiles/network: Allow to pass interface name to bnep_new |
Szymon Janc |
11 years ago |
4 files, +12, -5 |
| 92cdd7a6 |
profiles/network: Use interface name passed to bnep_connadd |
Szymon Janc |
11 years ago |
2 files, +7, -2 |
| 74986484 |
android/client-audio: Fix not stopping play thread on write error |
Szymon Janc |
11 years ago |
1 file, +2, -2 |
| 7af429c0 |
android/pan: Use g_slist_free_full to free devices list
Calling g_slist_remove within the callback of g_slist_foreach is very
inefficient as it has to iterate in the list twice to figure which
element to remove. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +14, -12 |
| 1d1fc983 |
android/hidhost: Use g_slist_free_full to free devices list
Calling g_slist_remove within the callback of g_slist_foreach is very
inefficient as it has to iterate twice in the list to figure which
element to remove. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +17, -18 |
| 939d25f0 |
android/AVRCP: Fix possible invalid read
Like in A2DP case it is not safe to call g_slist_remove within
g_slist_free_full callback. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +8, -3 |
| 8da3f380 |
android/A2DP: Fix invalid read
Invalid read of size 8
at 0x30EE465A78: g_slice_free_chain_with_offset (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x418209: bt_a2dp_unregister (a2dp.c:1576)
by 0x4039E6: main (main.c:347)
Address 0x4f2d248 is 8 bytes inside a block of size 16 free'd
at 0x4A07577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x30EE44EF7E: g_free (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x30EE4655CA: g_slice_free1 (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x30EE465F0C: g_slist_remove (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x41645F: a2dp_device_free (a2dp.c:174)
by 0x30EE466477: g_slist_foreach (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x30EE46649A: g_slist_free_full (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x418209: bt_a2dp_unregister (a2dp.c:1576)
by 0x4039E6: main (main.c:347) |
Luiz Augusto von Dentz |
11 years ago |
1 file, +8, -3 |
| cbce18be |
audio/AVCTP: Lookup key name from key_map table
The key_map table already contain the key name. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +17, -57 |
| b47d64f7 |
audio/AVCTP: Add keys that can be mapped to uinput
This adds the remaining AV/C keys that can be mapped to uinput. |
Luiz Augusto von Dentz |
11 years ago |
4 files, +114, -0 |
| 83c7a21f |
android/client-audio: Add sine generator as fallback
When no audio file path is provided use sine generator. |
Jakub Tyszkowski |
11 years ago |
2 files, +56, -4 |
| 5002b8a9 |
android/client-audio: Add init_check
Add calling init check for audio device. |
Jakub Tyszkowski |
11 years ago |
1 file, +8, -0 |
| 11bdba6e |
android/client-audio: Add setting sample rate
Add setting sample rate for output stream. |
Jakub Tyszkowski |
11 years ago |
1 file, +12, -0 |
| 0a728775 |
android/client-audio: Add set_parameters
Add seting output stream parameters using key=value pairs string
(key1=value1;key2=value2). |
Jakub Tyszkowski |
11 years ago |
1 file, +14, -0 |
| 0fa227bd |
android/client-audio: Add get_parameters for output
Get current parameters for the audio stream. |
Jakub Tyszkowski |
11 years ago |
1 file, +20, -0 |
| 9613c040 |
android/client-audio: Add getting sample rate
Get current sample rate for output stream. |
Jakub Tyszkowski |
11 years ago |
1 file, +10, -0 |
| 5c4241f5 |
android/client-audio: Add getting audio format
Get current audio format for output stream. |
Jakub Tyszkowski |
11 years ago |
1 file, +31, -0 |
| 3fd697c5 |
android/client-audio: Add get_channels
Get audio channels configuration. |
Jakub Tyszkowski |
11 years ago |
1 file, +46, -0 |
| 6f94ee9b |
android/client-audio: Add get_buffer_size for output
Get buffer size for output stream. |
Jakub Tyszkowski |
11 years ago |
1 file, +10, -0 |
| e19841f0 |
android/client-audio: Add get_latency for output
Get output stream latency. |
Jakub Tyszkowski |
11 years ago |
1 file, +10, -0 |
| d40b147c |
android/client-audio: Add playback suspend/resume
Add audio stream suspending and resuming. |
Jakub Tyszkowski |
11 years ago |
1 file, +35, -0 |
| 66e32e61 |
android/client-audio: Add audio file playback
This patch adds audio file playback capability. Proper 16-bit signed
float stereo PCM file is needed. |
Jakub Tyszkowski |
11 years ago |
1 file, +163, -0 |
| 4d36a193 |
android/client-audio: Add open/close output stream
Add opening and closing output stream. |
Jakub Tyszkowski |
11 years ago |
1 file, +40, -1 |
| 1e831f05 |
android/client-av: Fix checking for a2dp interface |
Jakub Tyszkowski |
11 years ago |
1 file, +2, -2 |
| 16c6bf15 |
android: Disconnect AVRCP once A2DP is disconnected
If A2DP is disconnected also disconnect AVRCP. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +2, -0 |
| a8a4a233 |
android: Connect AVRCP once A2DP is connected
In case of being the initiator of the A2DP connection also attempt to
connect AVRCP. |
Luiz Augusto von Dentz |
11 years ago |
1 file, +2, -0 |
| 65cfccf1 |
android/AVRCP: Add bt_avrcp_disconnect
This adds bt_avrcp_disconnect function which can be used to disconnect
AVRCP sessions. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +27, -0 |
| d0d30cac |
android/AVRCP: Add bt_avrcp_connect
This adds bt_avrcp_connect function which can be used to request AVRCP
connections. |
Luiz Augusto von Dentz |
11 years ago |
2 files, +57, -5 |
| ed713a83 |
android/handsfree: Fix memory leak
Free classes if sdp_get_access_protos fails. |
Andrei Emeltchenko |
11 years ago |
1 file, +1, -0 |