Grzegorz Kolodziejczyk
67584deb49
android/hal-gatt-api: Add Server Connection Notification
2014-03-02 22:19:34 +01:00
Grzegorz Kolodziejczyk
8dfab692fe
android/hal-gatt-api: Add Server Register Notification
2014-03-02 22:19:34 +01:00
Jakub Tyszkowski
f977eb5c98
android/hal-gatt-api: Add Client Listen event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
52588d5ca3
android/hal-gatt-api: Add Client Read Remote RSSI event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
1a2c59b384
android/hal-gatt-api: Add Client Exec Write event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
e37d6f37a9
android/hal-gatt-api: Add Client Write Descriptor event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
57d3b65810
android/hal-gatt-api: Add Client Read Descriptor event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
f051427612
android/hal-gatt-api: Add Client Write Characteristic event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
9eb57885c1
android/hal-gatt-api: Add Client Read Characteristic event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
ec374548a4
android/hal-gatt-api: Add Client Notify event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
95f2c9e067
android/hal-gatt-api: Add Client Register for Notification event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
4140026853
android/hal-gatt-api: Add Client Get Included Service event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
c7ca8b13a9
android/hal-gatt-api: Add Client Get Descriptor event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
6624b03c56
android/hal-gatt-api: Add Client Get Characteristic event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
0589710b48
android/hal-gatt-api: Add Client Search Result event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
9828ebe8d2
android/hal-gatt-api: Add Client Search Complete event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
7093092de1
android/hal-gatt-api: Add Client Disconnect event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
6df9839372
android/hal-gatt-api: Add Client Connect event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
3417c8beff
android/hal-gatt-api: Add Client Scan Result event
2014-03-02 22:18:56 +01:00
Jakub Tyszkowski
5f77a85d55
android/hal-gatt-api: Add Client Register event
2014-03-02 22:18:56 +01:00
Luiz Augusto von Dentz
c3b30229bf
android: Fix not cleaup AVRCP service
...
This causes the following leak:
744 (72 direct, 672 indirect) bytes in 1 blocks are definitely lost in loss record 114 of 119
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 0x41C2ED: avrcp_new (avrcp-lib.c:203)
by 0x41B4F8: connect_cb (avrcp.c:708)
by 0x4212AB: connect_cb (btio.c:232)
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 0x403A54: main (main.c:490)
2014-03-02 20:42:57 +02:00
Luiz Augusto von Dentz
8a50b1f2eb
android/avctp: Fix leaking passthrough handler
...
In case the handler is not destroyed by the owner automatically free it
as there is no use for it after the session is freed.
2014-03-02 20:42:57 +02:00
Marcel Holtmann
537dba6265
android: Fix ntoh24 and hton24 for big endian platforms
2014-03-01 12:01:21 -08:00
Szymon Janc
0fad8a94a1
android/socket: Fix errno handling in rfsock_set_buffer
2014-03-01 17:22:23 +01:00
Szymon Janc
30806e2eb9
android/hal-ipc: Fix double include of errno.h
2014-03-01 17:22:23 +01:00
Szymon Janc
7dbad8ee51
android/hal-audio: Fix error code handling in audio_ipc_init
...
Make audio_ipc_init follow convention of returning negative code on
error. This also fix passing negative error code to strerror in case
of pthread_create failure (this function returns non-negative code
on error).
2014-03-01 17:22:23 +01:00
Szymon Janc
21ad4b8f15
android/hal-audio: Fix errno handling in set_blocking
2014-03-01 17:22:23 +01:00
Szymon Janc
a374c5dc73
android/socket: Use same RFCOMM channels for services as Linux daemon
...
Use numbers from doc/assigned-numbers.txt.
2014-03-01 13:39:22 +01:00
Szymon Janc
95db67e01f
android/hal-pan: Fix empty parameters list in functio definition
2014-02-28 19:08:49 +01:00
Szymon Janc
dd5a24fd35
android/hal-pan: Fix using wrong structure in pan_cleanup
2014-02-28 19:07:37 +01:00
Szymon Janc
c9a95f87eb
android/ipc-tester: Fix structure passed to core unregister tests
2014-02-28 19:01:15 +01:00
Szymon Janc
7d95d027b1
android: Create comon header for IPC
...
This header contains IPC specific structures and code not related to
BT and audio HAL protocols. This allows to fully decouple IPC from
HAL messages.
This is first step to make HAL part of IPC unit-testable and reusable
between BT HAL and audio HAL.
2014-02-28 15:22:45 +01:00
Szymon Janc
d61f3fc72e
android/a2dp: Use common IPC for audio socket
...
This makes audio HAL to use same code for IPC as BT HAL.
2014-02-28 15:22:45 +01:00
Szymon Janc
3f7daeb0e8
android: Add support for disabling notifications in IPC
2014-02-28 15:22:45 +01:00
Szymon Janc
a3b0e736af
android/unit: Update test-ipc with disconnect handler support
2014-02-28 15:22:45 +01:00
Szymon Janc
5862f2f6a5
android: Add support for registering disconnect callback in IPC
...
Allow to register callback which is called in case of IPC failure
(eg malformed message) or disconnection. This makes caller responsible
for performing expected action in such case.
2014-02-28 15:22:45 +01:00
Szymon Janc
dd1e44fce1
android: Refactor IPC init
...
This allows to pass socket path and max service ID while initializaing
IPC. This is first step to allow use it both for BT and Audio HALs.
2014-02-28 15:22:45 +01:00
Sebastian Chlad
a7471c5334
android/pics: Add PICS and PIXIT for HFP
...
Added PICS and PIXIT target Android 4.4
2014-02-28 13:10:41 +01:00
Sebastian Chlad
b0ce17b5df
android/pics: Add PICS and PIXIT for HSP
...
Added PICS and PIXIT target Android 4.4
2014-02-28 13:09:25 +01:00
Andrei Emeltchenko
b0d2871a18
android/avrcp: Implement get player attributes text
2014-02-28 11:02:15 +02:00
Andrei Emeltchenko
2fdd6528a5
android/avrcp: Add list player attributes command
2014-02-28 11:02:15 +02:00
Andrei Emeltchenko
c1977e7f3c
android/avrcp: Refactor get_caps() to allow parameter
...
Allow passing parameter specifying capability ID.
2014-02-28 10:59:00 +02:00
Grzegorz Kolodziejczyk
8fbe112020
android/hal-gatt-api: Add Server Send Response
2014-02-27 22:11:56 +01:00
Grzegorz Kolodziejczyk
1574417acd
android/hal-gatt-api: Add Server Send Indication
2014-02-27 22:11:56 +01:00
Grzegorz Kolodziejczyk
ea61f8890d
android/hal-gatt-api: Add Server Delete Service
2014-02-27 22:11:56 +01:00
Grzegorz Kolodziejczyk
00641251a8
android/hal-gatt-api: Add Server Stop Service
2014-02-27 22:11:56 +01:00
Grzegorz Kolodziejczyk
011f1b8e13
android/hal-gatt-api: Add Server Start Service
2014-02-27 22:11:56 +01:00
Grzegorz Kolodziejczyk
8859abc7ab
android/hal-gatt-api: Add Server Descriptor
2014-02-27 22:11:56 +01:00
Grzegorz Kolodziejczyk
7a98837153
android/hal-gatt-api: Add Server Characteristic
2014-02-27 22:11:56 +01:00
Grzegorz Kolodziejczyk
ec71b193cb
android/hal-gatt-api: Add Server Included Service
2014-02-27 22:11:56 +01:00