Commit Graph

19 Commits

Author SHA1 Message Date
Szymon Janc
7624ea2d42 android: Don't pass notification socket on services register
It is no longer needed as proper socket is use by IPC helpers.
2013-11-28 18:02:27 +02:00
Szymon Janc
daf1186c38 android: Use ipc_send_notif for sending notifications 2013-11-28 18:02:26 +02:00
Szymon Janc
6456e15664 android: Remove socket parameter from ipc_send_rsp
Use command socket provided to IPC on init.
2013-11-28 18:02:26 +02:00
Luiz Augusto von Dentz
21b1bd698b android/AVDTP: Strip dependencies
This strips AVDTP code of any dependency of core and btio to make it
transport agnostic.
2013-11-25 16:50:31 +02:00
Luiz Augusto von Dentz
ee750796da android/a2dp: Cleanup devices on unregister
This cleanup any existing devices in bt_a2dp_unregister
2013-11-21 10:15:51 +02:00
Ravi kumar Veeramally
b32461d42d android: Handle multiple init(register) and cleanup(unregister) calls properly
This can be tested with haltest.
2013-11-19 18:15:37 +02:00
Andrei Emeltchenko
e818990935 android/A2DP: Use sdp_data_free for freeing sdp data types 2013-11-19 12:15:51 +02:00
Andrei Emeltchenko
fafd7c20b1 android/A2DP: trivial: Use NULL for zero pointer 2013-11-19 12:15:19 +02:00
Szymon Janc
fc10c55498 android: Improve IPC helper to not send invalid status response
This fix issue with sending invalid success response from several
places where ipc_send_rsp was used for reporting success. Instead of
using using ipc_send for success response, make helper handle that.
2013-11-18 15:17:22 +02:00
Andrei Emeltchenko
f9d15c95af android/a2dp: Use NULL for zero pointer 2013-11-18 13:04:22 +02:00
Luiz Augusto von Dentz
711331d28f android/a2dp: Add implementation of SDP record
This adds the following record:

Service Name: Audio Source
Service RecHandle: 0x10001
Service Class ID List:
  "Audio Source" (0x110a)
Protocol Descriptor List:
  "L2CAP" (0x0100)
    PSM: 25
  "AVDTP" (0x0019)
    uint16: 0x103
Profile Descriptor List:
  "Advanced Audio" (0x110d)
    Version: 0x0103
2013-11-14 17:27:48 +02:00
Luiz Augusto von Dentz
41599b1d3b android/a2dp: Add initial implementation of HAL_OP_A2DP_DISCONNECT 2013-11-14 14:25:39 +02:00
Luiz Augusto von Dentz
9cb73c97f8 android/a2dp: Add initial implementation of HAL_OP_A2DP_CONNECT 2013-11-14 14:25:24 +02:00
Luiz Augusto von Dentz
46c8cd97fc android/a2dp: Add initial implementation of socket handling
This adds initial code to handle incoming connection and notifying
connection states.
2013-11-14 14:20:53 +02:00
Szymon Janc
d842e88a47 android: Rename a2dp HAL related IPC API to match service name
Use 'Android HAL name' string from IPC doc as base for names.
2013-11-07 17:58:39 +02:00
Szymon Janc
052e481adc android: Pass notification socket fd to service handlers
IPC helpers were converted to accept socket, not GIOChannel so there
is no need of passing former to handlers.
2013-11-07 17:05:47 +02:00
Szymon Janc
32f29761bf android: Make IPC helpers accept file descriptor
There is no need to pass GIOChannel as writes are done immediately.
2013-11-07 17:05:07 +02:00
Luiz Augusto von Dentz
00e69a7570 android/a2dp: Add initial code for handling commands 2013-11-04 21:12:25 +02:00
Luiz Augusto von Dentz
5daffcb642 android: Add initial skeleton for a2dp in the daemon 2013-11-04 21:12:23 +02:00