Commit Graph

81 Commits

Author SHA1 Message Date
Szymon Janc
d404ab9874 android/handsfree: Add initial code for AT commands processing
Currently always reply with error and disconnect connection.
2014-02-05 09:53:54 +01:00
Szymon Janc
db17fbe467 android/handsfree: Add initial files
This adds initial HAL and daemon code for Handsfree profile.
2014-02-05 09:53:53 +01:00
Marcin Kraglak
981459271d android/unit: Add android IPC unit tests
It will test ipc library. First test case will check
ipc_init() call.
2014-02-03 14:15:00 +01:00
Luiz Augusto von Dentz
7568d14b66 android/haltest: Add init and cleanup calls to rc methods 2014-01-26 16:19:24 -08:00
Luiz Augusto von Dentz
44ef6f0c4c android: Add initial skeleton for AVRCP in the HAL 2014-01-26 16:19:24 -08:00
Luiz Augusto von Dentz
c466e79d6b android: Add initial skeleton for AVRCP in the daemon 2014-01-26 16:19:24 -08:00
Luiz Augusto von Dentz
51753d8e6e android/AVCTP: Strip dependencies
This strips AVCTP code of any dependency of core and btio to make it
transport agnostic.
2014-01-26 16:19:24 -08:00
Lukasz Rymanowski
29eb4fe6f5 android/audio: Fix for loading audio lib
clock_gettime requires linking with -rt for glibc versions before 2.17
2014-01-23 19:55:14 +02:00
Luiz Augusto von Dentz
e7bb627371 android: Move audio.a2dp.default.la build definitions
This way they are not spread in different parts of Makefile.am
2014-01-23 11:37:17 +02:00
Andrzej Kaczmarek
68141f0889 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.
2014-01-23 11:34:19 +02:00
Johan Hedberg
1a9051e9ee Rename glib-helper to uuid-helper 2014-01-21 14:12:47 +02:00
Jakub Tyszkowski
8cc27935d3 android/ipc-tester: Skeleton for ipc negative tester
Add skeleton for ipc negative testing.
2014-01-20 23:23:27 +01:00
Johan Hedberg
fb922ee610 emulator/bthost: Add SMP support 2014-01-20 16:26:33 +02:00
Jakub Tyszkowski
65e8e6ba32 android/pts: Add PTS test results document for AVCTP
This will allow for better tracking of current state of implementation.
2014-01-20 13:31:19 +01:00
Jakub Tyszkowski
bdfac94fcf android/pts: Add PTS test results document for AVRCP
This will allow for better tracking of current state of implementation.
2014-01-20 13:31:18 +01:00
Jakub Tyszkowski
24062f87e1 android/pts: Add PTS test results document for A2DP
This will allow for better tracking of current state of implementation.
2014-01-20 13:31:18 +01:00
Marcel Holtmann
d715a2ee3c android: Sort the documentation files a little bit 2014-01-17 18:32:58 -08:00
Szymon Janc
72c77073a4 android: Add sample init.bluetooth.rc file
This file is intended to be included from device init.rc.
2014-01-17 20:41:45 +01:00
Lukasz Rymanowski
987fae9513 android/hal-audio: Add audio_ipc_cmd
Add function to handle send/receive on audio_sk.
2014-01-16 16:01:40 +02:00
Szymon Janc
944a282821 android: Fix distcheck build
Add missing monitor/rfcomm.h to android-tester sources. This fix
following build error on make distcheck:

  CC       emulator/android_android_tester-bthost.o
../emulator/bthost.c:40:28: fatal error: monitor/rfcomm.h: No such
    file or directory
 #include "monitor/rfcomm.h"
2014-01-16 12:32:10 +01:00
Jakub Tyszkowski
1d6fbfb1da android/pics: Add PICS and PIXIT for AVCTP
Add PICS/PIXIT for AVCTP, targeting Android 4.4.
2014-01-16 09:04:41 +01:00
Szymon Janc
8622810347 android: Remove support for old Android versions
This removes compatibility with Android 4.3 and older. Android 4.4 is
current target. Due to bug in Audio HAL in 4.2 build was failing on
that version anyway.
2014-01-14 12:57:18 +01:00
Jakub Tyszkowski
28429dcd1e android/pics: Add PICS and PIXIT for A2DP
Add PICS/PIXIT for A2DP targeting Android 4.4.
2014-01-13 11:04:26 +01:00
Jakub Tyszkowski
4a88ffb177 android/pics: Add PICS and PIXIT for AVRCP
Add PICS/PIXIT for AVRCP targeting Android 4.4.
2014-01-13 11:04:26 +01:00
Luiz Augusto von Dentz
5e0582451a android: Fix not using AM_CFLAGS in the HAL modules
Both bluetooth.audio.so and audio.a2dp.default.so should use AM_CFLAGS
ortherwise some quite obvious errors that otherwise would break the
build may be pushed upstream.
2014-01-10 17:45:17 +02:00
Luiz Augusto von Dentz
ea873d1a6a android/haltest: Add support for loading Audio HAL
This makes audio.a2dp.default.so to be loaded by haltest.
2014-01-10 15:37:46 +02:00
Luiz Augusto von Dentz
48a962ec6d android: Load bluetooth.default.so as a module
This makes haltest and android-tester to load bluetooth.default.so
instead of linking directly to it.
2014-01-10 15:07:23 +02:00
Luiz Augusto von Dentz
dd0d7e7559 android: Convert libhal-internal to a plugin
This convert the static library libhal-internal.la to
bluetooth.default.la when building with autotools.
2014-01-10 14:05:55 +02:00
Luiz Augusto von Dentz
4cd86000dd android: Convert libaudio-internal to a plugin
This convert the static library libaudio-internal.la to
audio.a2dp.default.so when building with autotools.
2014-01-10 14:05:55 +02:00
Marcel Holtmann
fbba0f7d5f android: Fix typo in audio plugin file list 2014-01-08 21:33:41 -08:00
Marcel Holtmann
d18e1ad69c shared: Add skeleton for generic IO framework 2014-01-08 19:39:09 -08:00
Marcel Holtmann
eb4d95c560 shared: Use internal queue handling for mgmt interface 2014-01-08 15:01:04 -08:00
Lukasz Rymanowski
a176ce6ce7 android/audio: Add listener thread on the Audio HAL socket
This patch add thread which is reponsible for listen on audio HAL
socket, open a2dp endpoint(s) and maintain socket.
When bluetooth daemon goes down, HAL audio plugin starts to listen on
Audio HAL socket again.
2014-01-08 17:41:14 +02:00
Luiz Augusto von Dentz
294bfb1001 android/ipc: Add initial code for audio IPC
This add initial code for listen and accept connections on the abstract
socket defined for the audio IPC.
2014-01-07 13:37:50 +02:00
Szymon Janc
b057f428da android/build: Fix building HAL library on Linux
PLATFORM_SDK_VERSION was not passed while building HAL library on Linux
host resulting in 4.3+ features not being build.
2014-01-01 18:29:19 +02:00
Szymon Janc
ffde7eee83 android: Add HCI snooping tool
This tool is intended to be run as Android service. It supports
writing HCI snoop data in old btsnoop format only. By default traffic
is stored in /sdcard/btsnoop_hci.log file (can be overridded with
option - mainly for testing on Linux host). Only index 0 is sniffed.
2014-01-01 18:26:47 +02:00
Lukasz Rymanowski
7b5890f57d android/audio: Fix Makefile.am for libaudio
Use CFLAGS instread of CPPFLAGS
2013-12-30 14:23:42 +02:00
Sebastian Chlad
94b43b6463 android/pts: Add PICS, PIXITs and PTS for L2CAP
This allows better tracking of the current state of implementation
2013-12-19 13:52:10 +01:00
Jakub Tyszkowski
dadc54aa5f android/pts: Add PTS test results for MAP
Stock Bluedroid PTS results.
2013-12-17 13:34:40 +02:00
Jakub Tyszkowski
4b3820cc8a android/pts: Add PTS PICS and PIXIT for MAP
Add PICS and PIXIT targetting Android 4.4 and PTS version 5.0.
2013-12-17 13:34:40 +02:00
Lukasz Rymanowski
2c2a56f546 android/audio: Add audio-hal initial skeleton
This patch adds audio module for A2DP.
Also adds empty callbacks for stream_out, stream_in and hw_device
methods.
2013-12-16 17:41:56 +02:00
Luiz Augusto von Dentz
b8b681197e android: Add initial Android Bluetooth Audio protocol API doc
This IPC is used to communicate Android BlueZ daemon and AudioFlinger
plugin.
2013-12-16 17:41:49 +02:00
Szymon Janc
6377731097 android/pts: Add PTS test results for PBAP
This will allow for better tracking of current state of implementation.
2013-12-13 11:16:39 +02:00
Szymon Janc
e157f7e5f4 android/pts: Add PTS test results for OPP
This will allow for better tracking of current state of implementation.
2013-12-13 11:16:32 +02:00
Szymon Janc
7ac1987f2e android/pts: Add PTS test results for HID
This will allow for better tracking of current state of implementation.
2013-12-13 11:16:20 +02:00
Szymon Janc
1807ade25c android/pts: Add PTS test results for GAP
This will allow for better tracking of current state of implementation.
2013-12-13 11:16:10 +02:00
Szymon Janc
30c902cb06 android/pts: Add PTS PIXIT for PBAP
This complements PTS PICS configuration.
2013-12-12 10:27:58 +02:00
Szymon Janc
9bf0cead81 android/pts: Add PTS PIXIT for PAN
This complements PTS PICS configuration.
2013-12-12 10:27:56 +02:00
Szymon Janc
b313cde393 android/pts: Add PTS PIXIT for OPP
This complements PTS PICS configuration.
2013-12-12 10:27:54 +02:00
Szymon Janc
efb63a2a09 android/pts: Add PTS PIXIT for HID
This complements PTS PICS configuration.
2013-12-12 10:27:53 +02:00