Commit Graph

70 Commits

Author SHA1 Message Date
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
Szymon Janc
abf6515b78 android/pts: Add PTS PIXIT for GAP
This complements PTS PICS configuration.
2013-12-12 10:27:51 +02:00
Szymon Janc
f85cb5e150 android/pts: Add PTS test results for DID
This will allow for better tracking of current state of implementation.
2013-12-12 10:27:50 +02:00
Szymon Janc
b902c1ae3b android/pts: Add PTS PIXIT for DID
This complements PTS PICS configuration.
2013-12-12 10:27:48 +02:00
Marcin Kraglak
8746e1cff9 android/tester: Add stack initialization of stack in setup
This add stack initialization and cleanup in setup/teardown.
2013-12-11 13:10:07 +02:00
Marcin Kraglak
cbd17c1d63 android/tester: Add pre-setup and post-teardown routines
This will add hciemu initialization and cleanup. These functions
will be called to create hci emulator and cleanup it.
2013-12-11 13:10:07 +02:00
Marcin Kraglak
95268775bf android/tester: Add android-tester
This commit add android-tester.c to tree and Makefile.am.
This will contain set of unit tests for testing android daemon.
2013-12-11 13:10:07 +02:00
Ravi kumar Veeramally
64b76dd6ae android/pan: Implement pan connect method in daemon
Implements the PAN connect method in android daemon with PANU role
only. Setting up the bnep environment, adds connection and makes
bnep interface up are part of bnep_connect call. Notifies bnep
interface on control state call back and connection status on
connection state call back.
2013-11-29 17:10:19 +02:00
Jakub Tyszkowski
d6cd131128 android/pics: Add PTS PICS for PBAP
PTS PICS for PBAP, targeting Android 4.4.
2013-11-28 16:47:03 +02:00
Jakub Tyszkowski
3244fc249d android/pics: Add PTS PICS for OPP
PTS PICS for OPP, targeting Android 4.4.
2013-11-28 11:44:08 +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
Jakub Tyszkowski
47536a57a9 android/pics: Add PTS PICS for DID
PTS PICS for DID, targeting Android 4.4.
2013-11-25 14:47:40 +02:00