Commit Graph

31 Commits

Author SHA1 Message Date
Jerzy Kasenberg
674d6fe8a5 android: Add calls to pan methods to haltest
This patch allows to call pan methods in haltest.
2013-10-23 13:00:46 +03:00
Jerzy Kasenberg
7c33cf97a3 android: Add calls to socket methods in haltest
This patch adds calls to socket methods.
2013-10-23 12:59:39 +03:00
Johan Hedberg
ef2d3dd3d2 android: Add stubs for daemon-side HID support 2013-10-23 10:14:58 +03:00
Szymon Janc
5f4a871d84 android/hal: Add initial code for notification handling
This adds a dedicated thread that will read from notification sockets
and dispatch it to appropriate service notification function.
2013-10-22 16:17:26 +03:00
Jerzy Kasenberg
8c126ed522 android: Add calls to hidhost interface to haltest
This patch adds code so hidhost interface can be tested.
2013-10-22 14:11:38 +03:00
Szymon Janc
4e4307e2a8 android: Add IPC helper for sending command responses and notification
If send failed mainloop is stopped.
2013-10-21 22:48:03 +03:00
Szymon Janc
2b9988f3f7 android/hal: Move IPC and sockets related code to separate file
hal-ipc will provide functionality related to IPC initialization and
sockets handling (including upcoming callbacks thread).

This allow to remove code from bluetooth HAL not related to adapter.
2013-10-21 22:45:28 +03:00
Luiz Augusto von Dentz
954c35d070 android: Add A2DP skeleton
This adds initial skeleton for A2DP Android HAL.
2013-10-21 13:44:12 +03:00
Szymon Janc
8e7a4c34b8 android: Remove not needed cutils/log.h stub 2013-10-20 22:38:53 +03:00
Szymon Janc
8241f7de72 android: Use hal-log.h for logging in bluetooth HAL
This will allow to log both on Android and Linux (in haltest).
2013-10-20 22:38:23 +03:00
Szymon Janc
7d07e65034 android: Add wrapper for HAL logging
Provide logging API similar to standard logging used in daemon. This
will allow to log on both Android and Linux (i.e. in haltest).

Another advantage is that now LOG_TAG and message format are configured
from single location.
2013-10-20 22:37:59 +03:00
Jerzy Kasenberg
50fcb041aa android: Add tab completion to haltest
This patch adds tab completion to interfaces, methods and parameters
in haltest.
2013-10-18 16:43:18 +03:00
Andrei Emeltchenko
631304f92b android: Add PAN skeleton
Add skeleton for pan Android HAL. This is modified version
from Frederic Danis earlier patch set.
2013-10-18 14:30:14 +03:00
Andrei Emeltchenko
537d14b68d android: Add HID Host skeleton
Add skeleton for hidhost Android HAL. This is modified version
from Frederic Danis earlier patch set.
2013-10-18 14:30:14 +03:00
Andrei Emeltchenko
81f69b15ca android: Rename hal_bt_sock.c to hal-btsock.c 2013-10-18 14:30:14 +03:00
Andrei Emeltchenko
705b0cd2ff android: Rename hal_bluetooth.c to hal-bluetooth.c 2013-10-18 14:30:14 +03:00
Andrei Emeltchenko
e101e48a9d android: Implement read_info_complete callback
Handle read info complete callback from mgmt interface.
2013-10-18 14:13:34 +03:00
Szymon Janc
1b78f83a1e build: Add missing Android files to EXTRA_DIST 2013-10-18 10:15:14 +03:00
Szymon Janc
11c3ef8a93 android: Fix haltest build on Linux
On Linux HAL library is build into haltest binary and can be access
directly. Provide simple implementation of hw_get_module() that does
it.
2013-10-18 10:14:52 +03:00
Szymon Janc
848c12cc71 build: Add haltest command line tester
This is intended for testing Android daemon and HAL library on Linux.
2013-10-18 10:14:48 +03:00
Luiz Augusto von Dentz
90f1f94600 build: Add missing android/cutils/properties.h to EXTRA_DIST 2013-10-17 17:40:07 +03:00
Luiz Augusto von Dentz
247d828934 build: Enable building android HAL as libhal-internal.la 2013-10-17 17:32:48 +03:00
Luiz Augusto von Dentz
172b03b644 android: Add cutils/log.h 2013-10-17 17:13:03 +03:00
Szymon Janc
402e81b418 build: Add Android HAL headers to EXTRA_DIST 2013-10-17 16:02:04 +03:00
Andrei Emeltchenko
c03c91b624 android: sdp: Reuse BlueZ SDP server in Android
Reuse existing SDP server code in Android GPL daemon.
2013-10-16 18:36:19 +03:00
Andrei Emeltchenko
3c9f4d64a5 android: Add basic mgmt initialization sequence
Initialize bluetooth controller via mgmt interface.
2013-10-16 18:34:34 +03:00
Andrei Emeltchenko
b8d1523b5c android: Create HAL API header skeleton
Header describes the protocol between Android HAL threads and BlueZ
daemon. The header is added to host build and not to Android since
it is smart enough to include it automatically.
2013-10-16 18:34:10 +03:00
Szymon Janc
12238eaeed build: Add android/hal-ipc-api.txt to EXTRA_DIST 2013-10-14 18:27:24 +03:00
Frederic Danis
f3d3c66320 android: Android version of log.c
Add logging for Android, currently print logs to stderr and stdout.
2013-10-04 15:25:40 +03:00
Frederic Danis
eaed4c1552 build: Add BlueZ Android daemon 2013-10-04 15:24:47 +03:00
Frederic Danis
cd402b079e build: Add skeleton for BlueZ Android
Retrieve Bluetooth version from configure.ac.
2013-10-04 15:22:32 +03:00