Commit graph

3964 commits

Author SHA1 Message Date
Ivan Podogov
28281b652b Merge "Allow HID Device to connect to a specific device" am: 0c45c105a5
am: 176b7ce269

Change-Id: I5436a00ae735089f712ec4dabfee5ef90f83a637
2017-01-04 13:02:25 +00:00
Ivan Podogov
176b7ce269 Merge "Allow HID Device to connect to a specific device"
am: 0c45c105a5

Change-Id: I0484de1f5b45ec9927048225f64e9da4bc2e9e5c
2017-01-04 12:59:56 +00:00
Treehugger Robot
0c45c105a5 Merge "Allow HID Device to connect to a specific device" 2017-01-04 12:56:52 +00:00
Pavlin Radoslavov
a230f1225a Merge "Add a mechanism for configuring the A2DP Source codecs" am: 2b4315b859 am: 44df1b76e6 am: a7cb1a9e3f
am: ccfaecd80f

Change-Id: Ifd88121512c1366adeb7d5671be1d438052dedcf
2017-01-04 03:54:25 +00:00
Pavlin Radoslavov
ccfaecd80f Merge "Add a mechanism for configuring the A2DP Source codecs" am: 2b4315b859 am: 44df1b76e6
am: a7cb1a9e3f

Change-Id: Ifc9f057be559ad961ab7fbd2273eccace24792ef
2017-01-04 03:49:14 +00:00
Pavlin Radoslavov
a7cb1a9e3f Merge "Add a mechanism for configuring the A2DP Source codecs" am: 2b4315b859
am: 44df1b76e6

Change-Id: I20b2d9ad0b1d45767098bbca39ba0219df9175e5
2017-01-04 03:44:46 +00:00
Pavlin Radoslavov
44df1b76e6 Merge "Add a mechanism for configuring the A2DP Source codecs"
am: 2b4315b859

Change-Id: Iadc01b2751f76787697dc09f5a0b269a5e69352e
2017-01-04 03:39:56 +00:00
Treehugger Robot
2b4315b859 Merge "Add a mechanism for configuring the A2DP Source codecs" 2017-01-04 03:35:42 +00:00
Pavlin Radoslavov
3c6e4eb659 Add a mechanism for configuring the A2DP Source codecs
* Introduced new generic API for representing A2DP codec configuration
  or capability: codec type, priority, sample rate, bits per sample,
  channel mode, and codec-specific fields.
  The new structure is btav_a2dp_codec_config_t

* Split the A2DP callback structure into two: one for A2DP Source callbacks,
  and one for A2DP Sink callbacks:
  OLD: btav_callbacks_t
  NEW: btav_source_callbacks_t and btav_sink_callbacks_t

* Split the A2DP BT-AV interface into two: one for A2DP Source, and one for
  A2DP Sink:
  OLD: btav_interface_t
  NEW: btav_source_interface_t and btav_sink_interface_t

Test: A2DP streaming to headsets, TestPlans/71390
Bug: 30958229
Change-Id: If6a10bb95eb0fa4106123283b934d372aebad2bc
2017-01-03 17:34:14 -08:00
Crystal Qin
ee2f29de40 Add new purpose to the HAL layer.
Test: There will be a CTS test CL.
Change-Id: Ic623b7be8949fe0adb3706958a9be59f267057c4
2017-01-03 16:57:21 -08:00
Ivan Podogov
7c8a3ef8f4 Allow HID Device to connect to a specific device
Test: make
Change-Id: If923a2ed8a4b0b58ecce4a1f60090adb91a0d3c6
2016-12-30 15:05:26 +00:00
Hemant Gupta
88b23ba5c1 Merge "Bluetooth: Add support for HID Device Role" am: 73ff921aa7 am: c5aaad19c7 am: e2ab0ac96c
am: 16efc12fe1

Change-Id: I954d1a0e0008eaa00daeaed0d1c93fc1af73f4cd
2016-12-29 20:10:08 +00:00
Hemant Gupta
16efc12fe1 Merge "Bluetooth: Add support for HID Device Role" am: 73ff921aa7 am: c5aaad19c7
am: e2ab0ac96c

Change-Id: Ifb14c7f982393278acc16d682efbd5ebc920e032
2016-12-29 20:00:57 +00:00
Hemant Gupta
e2ab0ac96c Merge "Bluetooth: Add support for HID Device Role" am: 73ff921aa7
am: c5aaad19c7

Change-Id: I8e4a304aaacd3d5956eaf042832da40f32e7422e
2016-12-29 19:47:52 +00:00
Hemant Gupta
c5aaad19c7 Merge "Bluetooth: Add support for HID Device Role"
am: 73ff921aa7

Change-Id: I7039b917a9117ed96f9a98256b1a865a71406560
2016-12-29 19:38:47 +00:00
Treehugger Robot
73ff921aa7 Merge "Bluetooth: Add support for HID Device Role" 2016-12-29 19:29:17 +00:00
Hemant Gupta
7ed5a7f0e6 Bluetooth: Add support for HID Device Role
This patch adds support for HID Device Role in HAL so that jni
layer can communicate wtih Bluedroid Stack when calling HID Device
API's and callbacks.

Bug: 33011576
Change-Id: I591f477ee58924a9003d6e733dcbbc4e8a7d3202
2016-12-27 22:29:56 +00:00
Jakub Pawlowski
928bb6bd3a Merge "Modernize BLE Scanner implementation (1/3)" am: 6cab9cb65a am: ad7024a4f1 am: 80fc5e29d0
am: b1b48e8490

Change-Id: Id459da0eb191020bdeb926f0aaebf4c735e0681b
2016-12-20 00:56:32 +00:00
Jakub Pawlowski
b1b48e8490 Merge "Modernize BLE Scanner implementation (1/3)" am: 6cab9cb65a am: ad7024a4f1
am: 80fc5e29d0

Change-Id: I5f7de66fc08a945d8078c17cac39415ddc76fc42
2016-12-20 00:52:32 +00:00
Jakub Pawlowski
80fc5e29d0 Merge "Modernize BLE Scanner implementation (1/3)" am: 6cab9cb65a
am: ad7024a4f1

Change-Id: Ic9abc5fda12605806a56b5bb96a2830cbfa610b0
2016-12-20 00:48:01 +00:00
Jakub Pawlowski
ad7024a4f1 Merge "Modernize BLE Scanner implementation (1/3)"
am: 6cab9cb65a

Change-Id: Ieeba20fffda6ea0ef8a7c77bada495f4608d1f97
2016-12-20 00:44:01 +00:00
Jakub Pawlowski
6e7f208b95 Merge "Expose Bluetooth 5.0 properties to JNI" am: 39b4f8eeff am: 7556b97c51 am: 0f62641e30
am: 566dfe4dec

Change-Id: I54cba2f03f5f897f794d500195bfbaff96fa7e5f
2016-12-20 00:39:31 +00:00
Jakub Pawlowski
6cab9cb65a Merge "Modernize BLE Scanner implementation (1/3)" 2016-12-20 00:36:41 +00:00
Jakub Pawlowski
566dfe4dec Merge "Expose Bluetooth 5.0 properties to JNI" am: 39b4f8eeff am: 7556b97c51
am: 0f62641e30

Change-Id: If22fbe10f010225ed0843adabfe25917205a8b47
2016-12-20 00:35:31 +00:00
Jakub Pawlowski
0f62641e30 Merge "Expose Bluetooth 5.0 properties to JNI" am: 39b4f8eeff
am: 7556b97c51

Change-Id: I74c8269721d2bc370d1a8edd8a3ca3eccd64f8df
2016-12-20 00:31:01 +00:00
Jakub Pawlowski
7556b97c51 Merge "Expose Bluetooth 5.0 properties to JNI"
am: 39b4f8eeff

Change-Id: I21ac22d1d343689a33bbc0db713bf962138d1526
2016-12-20 00:26:59 +00:00
Jakub Pawlowski
442eae00eb Modernize BLE Scanner implementation (1/3)
Get rid of BTA state machine states for BLE scanning.

Test: sl4a FilteringTest
Bug: 30622771
Change-Id: I4319584c6f6c701dc49be6f52887985d2f1e112c
2016-12-19 16:20:44 -08:00
Jakub Pawlowski
39b4f8eeff Merge "Expose Bluetooth 5.0 properties to JNI" 2016-12-20 00:19:56 +00:00
Jakub Pawlowski
de927e666b Merge "BLE scan filter setup simplification (1/3)" am: 452dc05ff0 am: 49e561347c am: 5bb9d41d8b
am: 619009ebe3

Change-Id: I295e210a12447450fa2e6a6d0acebda9943e57ef
2016-12-19 22:40:34 +00:00
Jakub Pawlowski
619009ebe3 Merge "BLE scan filter setup simplification (1/3)" am: 452dc05ff0 am: 49e561347c
am: 5bb9d41d8b

Change-Id: I1fb398c2200e8a358c6576a31e3e84d141a8101e
2016-12-19 22:36:37 +00:00
Jakub Pawlowski
5bb9d41d8b Merge "BLE scan filter setup simplification (1/3)" am: 452dc05ff0
am: 49e561347c

Change-Id: I44a3c8657199dcac010785c607f9c2aabeda8d6e
2016-12-19 22:33:06 +00:00
Jakub Pawlowski
49e561347c Merge "BLE scan filter setup simplification (1/3)"
am: 452dc05ff0

Change-Id: Ie73fd42405f98b2cb96d05bdc5c2a06a7b811cdd
2016-12-19 22:29:35 +00:00
Jakub Pawlowski
9790298053 Expose Bluetooth 5.0 properties to JNI
Bug: 30622771
Test: sl4a ConcurrentBleAdvertisingTest
Change-Id: I44b1d6eedb421728076671b4d9be3ebb9d466b71
2016-12-19 14:25:40 -08:00
Jakub Pawlowski
452dc05ff0 Merge "BLE scan filter setup simplification (1/3)" 2016-12-19 22:23:41 +00:00
Jakub Pawlowski
b4a82ba556 BLE scan filter setup simplification (1/3)
Bug: 30622771
Test: sl4a BleScanTest
Change-Id: I41f53e2275c0d5da5244c72faefc7b330bd1a8f9
2016-12-19 11:53:00 -08:00
Jakub Pawlowski
c923760925 Merge "Refactor LE scanning HAL (1/3)" am: f43056dc4d am: 5b4676f9e0 am: 5aa9096f21
am: 6cef0172d3

Change-Id: Ic661b97bedb3dbbb0c000c85005d25ebbab2e050
2016-12-17 01:54:59 +00:00
Jakub Pawlowski
6cef0172d3 Merge "Refactor LE scanning HAL (1/3)" am: f43056dc4d am: 5b4676f9e0
am: 5aa9096f21

Change-Id: I742a6f1f269963002f496afe5ca5c0a0d2116ee5
2016-12-17 01:44:11 +00:00
Jakub Pawlowski
5aa9096f21 Merge "Refactor LE scanning HAL (1/3)" am: f43056dc4d
am: 5b4676f9e0

Change-Id: Ib393b8399156ed6bafb419cce3fb8d7c96740d9c
2016-12-17 01:36:05 +00:00
Jakub Pawlowski
5b4676f9e0 Merge "Refactor LE scanning HAL (1/3)"
am: f43056dc4d

Change-Id: Ia43146c21b63a02959e5d00f8e996693ae623e36
2016-12-17 01:26:09 +00:00
Jakub Pawlowski
f43056dc4d Merge "Refactor LE scanning HAL (1/3)" 2016-12-17 01:16:47 +00:00
Jakub Pawlowski
d5286ae2ed Refactor LE scanning HAL (1/3)
This patch converts btgatt_scanner_interface_t struct into
BleScannerInterface class. It also refactors three most important
methods from this interface: RegisterAdvertiser, Scan, and Unregister.
Rest of this interface will be updated in following patches.

Bug: 30622771
Test: sl4a BleScanApiTest
Change-Id: I0b7dddc1e9906d825096e23a83a39ecc681d232c
2016-12-16 14:29:07 -08:00
Romain Guy
d0eb44c6da Add support for *_FP16 pixel formats
Bug: 32984164
Test: compile
Change-Id: I0851c62f140801c6784fdb597b3d947402aa5876
2016-12-16 09:53:20 -08:00
Eric Laurent
9a6b8bb95a Merge "audio HAL: add functions for MMAP stream mode" 2016-12-16 17:02:49 +00:00
Nick Vaccaro
ebefc3f2f9 Merge "Sensors: MultiHal: add support for HIDL" 2016-12-16 00:25:11 +00:00
Nick Vaccaro
8a83708dae Sensors: MultiHal: add support for HIDL
Add get_multi_hal_module_info() to support using multi-hal
functionality within the HIDL sensor implementation.

Move externally relevant constants and prototypes to new multihal.h
file.

Add new Android.bp for Treble to build multi-hal into a static
library that is now included by the HIDL sensor implementation.

Bug: 32022308
Change-Id: I2b3afa9ff1e0a2e5a098e643dde99ec86bb88206
2016-12-15 14:09:34 -08:00
Eric Laurent
262e0f9316 audio HAL: add functions for MMAP stream mode
Bug: 33398120
Test: make marlin-eng

Change-Id: If5f50644e0bdc7757bfcf813bf552f0da648239d
2016-12-15 09:21:34 -08:00
Nick Desaulniers
18b5297230 resolve merge conflicts of d6aebac to nyc-mr2-dev-plus-aosp
am: c030a6ae08

Change-Id: Iefa8810864decb5fd2d0194beec73b51d9d1ee73
2016-12-15 07:13:50 +00:00
Nick Desaulniers
c030a6ae08 resolve merge conflicts of d6aebac to nyc-mr2-dev-plus-aosp
Change-Id: Idfd6e0021592b44953159483ada5cb5400043b34
2016-12-14 22:58:30 -08:00
Jongrak Kwon
d6aebac3ab hw_auth_token: use macro for HW_AUTH_TOKEN_VERSION
This is to support FPC SW20.6

Bug: 33251689
Change-Id: I9abbf7f9d21c7c8ed21920d94fcf5bf889d4b3f7
2016-12-14 13:31:01 -08:00
TreeHugger Robot
00f43fc376 Merge "fifo: add dependency needed after re-implementation of MonoPipe" 2016-12-14 00:29:01 +00:00