Commit Graph

135 Commits

Author SHA1 Message Date
Sebastian Chlad
7441f6c6a9 android/pts: Add test files for DIS 2014-06-27 19:15:03 +02:00
Sebastian Chlad
76d93eab9a android/pts: Add test files for ScPP 2014-06-27 18:09:44 +02:00
Luiz Augusto von Dentz
579a639f09 android/scpp: Strip dependencies from scan plugin
This strip any dependecy from scan plugin so the code can be reused
by HoG implementation.
2014-06-27 18:09:43 +02:00
Jakub Tyszkowski
126dbad0d1 android/mcaptest: Add skeleton for mcap test tool
This adds skeleton for simple tool for testing mcap library. As mcap-lib
uses bt_io, this tool works in daemon-like mode, by utilizing Glib's main
loop.
2014-06-26 18:04:39 +02:00
Sebastian Chlad
b8b7e26531 android/pts: Add PTS tests for HoG 2014-06-18 15:22:29 +02:00
Jakub Tyszkowski
da0f5b64ae android/pts: Add PICS and PIXIT for HOGP 2014-06-13 16:35:10 +02:00
Luiz Augusto von Dentz
48b4dfbccf android/hog: Strip dependencies from input plugin
This strip any dependecy from input plugin so the code can be used by
hidhost interface.
2014-06-12 14:25:32 +03:00
Szymon Janc
c4f4fdc964 android: Re-enable support for Android 4.4.2
Due to very unfortunate change Android 4.4.3-r1.1 BT GATT HAL API is
not backward compatible. This adds support for 4.4.3-r1.1 and 4.4.2.

On android PLATFORM_VERSION is used to determine which API should be
used. On Linux we always build with latest API.
2014-06-12 12:19:02 +02:00
Szymon Janc
81e1cd3cb8 android: Add Android CTS tests results 2014-06-10 15:34:02 +02:00
Andrzej Kaczmarek
683aa4bf36 android/hal-audio-aptx: Add initial support for aptX codec
This patch adds support for aptX codec. Since this is proprietary codec
it requires to obtain license form vendor (CSR) in order to use it.
Also shared library which provices encoder implementation is required
since this implementation only wraps it into audio HAL.
2014-06-06 11:27:45 +03:00
Andre Guedes
be05ab5d2c android: Fix compile error
During configure, if SBC is not installed in the system, we may use
SBC_CFLAGS and SBC_LIBS variables to indicate where SBC headers and
binaries can be found.

However, SBC_CFLAGS variable is not used in android/Makefile.am,
causing the following compile error:

$ ./bootstrap-configure SBC_CFLAGS=-I../sbc SBC_LIBS=-L../sbc/src/
$ make

(...)

android/hal-audio-sbc.c:22:21: fatal error: sbc/sbc.h: No such file or directory
 #include <sbc/sbc.h>
^
compilation terminated.
make[1]: *** [android/android_audio_a2dp_default_la-hal-audio-sbc.lo] Error 1

This patch fixes this error by appending SBC_CFLAGS to android_audio_
a2dp_default_la_CFLAGS.
2014-06-05 20:36:48 +03:00
Luiz Augusto von Dentz
3452e079b4 android/hidhost: Rework uHID code to use bt_uhid 2014-05-30 09:04:28 +03:00
Lukasz Rymanowski
3785fca57c android/gatt: Add crypto needed for sign write 2014-05-26 10:28:16 +02:00
Andrzej Kaczmarek
342269ddfb android/hal-audio: Decouple SBC codec from core HAL
Codec abstraction in hal-audio is now good enough to allow splitting
code into core and codec implementation easily so this patch moves
SBC codec code into separate file and provides interface required for
other codecs to be implemented.
2014-05-23 09:20:40 +02:00
Sebastian Chlad
81c45d5f75 android/pts: Run PTS tests for SM 2014-05-14 20:53:45 +02:00
Sebastian Chlad
9ae1bc2e15 android/pts: Add PTS testing files for MPS
Adding all required files for MPS: PICS, PIXIT as well as pts
tests listing.
2014-05-13 18:11:20 +02:00
Andrei Emeltchenko
f5ae98bd94 android: Add resampler support
The patch adds support for resampling audio in host and Android. There
are Android wrappers for SPEEXDSP library added to host.
2014-05-13 14:17:18 +03:00
Andrei Emeltchenko
bda174dd1c android/haltest: Add testing for SCO HAL
Adds testing support for SCO HAL.
2014-05-13 14:16:52 +03:00
Andrei Emeltchenko
cdfa78049e android/hal-sco: Implement IPC on SCO HAL 2014-05-13 14:16:52 +03:00
Andrei Emeltchenko
fed8f328c6 android: Add SCO IPC API
SCO API will be used when communicating with SCO HAL.
2014-05-13 14:16:51 +03:00
Sebastian Chlad
9289ee073d android/pts: Add test listing for MCAP 2014-05-13 12:45:32 +02:00
Sebastian Chlad
25c8c72c94 android/pts: Add PTS test listing for HDP 2014-05-13 12:45:32 +02:00
Marcel Holtmann
d6904c298d android: Add BITE results for SPP 2014-05-10 19:19:03 -07:00
Marcel Holtmann
f4c8243f5f android: Add BITE results for RFCOMM 2014-05-10 19:18:38 -07:00
Marcel Holtmann
a7b48f9a1c android: Add PICS for SDP 2014-05-10 19:13:02 -07:00
Marcel Holtmann
95aa5247fb android: Add PICS for SPP 2014-05-10 19:12:40 -07:00
Marcel Holtmann
d61b915a97 android: Add PICS for RFCOMM 2014-05-10 19:12:01 -07:00
Sebastian Chlad
abfd5dc6b6 android/pts: Add PICS and PIXITs for SM 2014-05-10 20:24:24 +02:00
Sebastian Chlad
11addb86df android/pts: Run GATT PTS tests 2014-05-09 15:29:53 +02:00
Sebastian Chlad
4146a5bd08 android/pts: PTS tests results for IOPT
PICS, PIXITs as well as PTS tests results for IOPT.
2014-05-09 14:48:18 +02:00
Andrei Emeltchenko
3ca4f940f6 android/hal-sco: Add audio HAL for SCO handling
This adds audio HAL for handling SCO. Following needs to be added to
audio_policy.conf:

  sco {
    outputs {
      sco {
        ...
        devices AUDIO_DEVICE_OUT_ALL_SCO
        ...
      }
    }
2014-05-09 13:42:32 +03:00
Marcin Kraglak
1d6148a038 gatt: Add skeleton of gatt-db
This change adds new() and destroy() fuctions for gatt_db,
which will be used for storing local attributes.
2014-04-25 09:49:50 +02:00
Ravi kumar Veeramally
8b862c87d9 android/client: Add initial support for health profile 2014-04-23 21:59:16 +02:00
Ravi kumar Veeramally
dceee75c55 android: Add initial MCAP common code
The patch keeps all MCAP specific logic in mcap-lib until it receives
proper unit tests and then eventually will be used by health profile
code as well.
2014-04-07 12:59:06 +02:00
Sebastian Chlad
e1d6f7875e android/hsp: Add MCAP and HDP files 2014-03-31 15:27:33 +02:00
Lukasz Rymanowski
f1f2ad6046 emulator: Use timeout for sending inquiry results
With this patch btdev uses timeout to schedule inquiry results
It also allows btdev to receive hci commands during inquiry.
Previously btdev was blocked since all the inquiry result were sent in
single loop
2014-03-20 14:11:25 +02:00
Lukasz Rymanowski
0c62d593c4 android/gatt: Add GATT Connect
This patch introduce connect LE device functionality.

There is gatt_device representing remote le device. Each gatt device
has a list own list of clients as it is possible that more apps
would like to use same remote device.

Possible connect scenarios:

1.  There is no ACL connection to device:
Then new dev is put on conn_wait_queue and le scan is enabled.
Once device is found we do connect it.

Once device is connected then device is moved form conn_wait_queue to
conn_list and success event is sent to client(s) with conn_id

2. Device is already connected:
Then we update client list, reply with success and do send connect event.

3. For unregisterd clients or uknown conn_id, failed response is sent.
2014-03-17 10:41:46 +01:00
Marcel Holtmann
8b644c3537 android: Make sure that ipc-common.h is included 2014-03-14 10:37:28 -07:00
Sebastian Chlad
037a592b11 android/hsp: PTS tests results for HSP 2014-03-14 14:42:12 +01:00
Ravi kumar Veeramally
72b36c7854 android/health: Add health.c|h file with basic calls
Add health.c|h with basic calls for register and unregister profile.
2014-03-14 13:34:16 +01:00
Ravi kumar Veeramally
d7e5e16a36 android/hal-health: Add hal-health.c with initial get interface call 2014-03-14 13:34:16 +01:00
Sebastian Chlad
b562bdba09 android/pts: Add HFP PTS tests results
Adding PTS test results for HFP 1.6
2014-03-13 15:19:24 +01:00
Sebastian Chlad
0cae6f71ed android/pics: Add PICS and PIXIT for GATT
Adding PICS and PIXIT for GATT targetting Android 4.4
2014-03-06 09:27:59 +01:00
Jakub Tyszkowski
90ce3b7bfc android/hal-gatt: Add skeleton for GATT HAL
This adds skeleton with stubs and proper build system entries.
2014-03-03 16:11:07 +01:00
Grzegorz Kolodziejczyk
319245da2b android/gatt: Add initial files
This adds initial daemon code for GATT profile.
2014-03-03 16:11:07 +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
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
Johan Hedberg
32b444a25d build: Link crypto code with the emulator 2014-02-26 17:59:37 +02:00
Szymon Janc
64d17c7904 android: Add pts-pan.txt to EXTRA_DIST 2014-02-24 12:12:25 +01:00