Commit graph

3963 commits

Author SHA1 Message Date
Pavlin Radoslavov
28124d4384 Merge "Update the A2DP Codec Config API" am: 451a32cb56
am: 6c3ad4427f

Change-Id: I17b6e5618ae01e96f94685c131e1008e6e942f33
2017-01-31 19:13:07 +00:00
Pavlin Radoslavov
6c3ad4427f Merge "Update the A2DP Codec Config API"
am: 451a32cb56

Change-Id: Idec7f69d45c559a4f0e482c273d0964f2948aa0c
2017-01-31 19:06:53 +00:00
Pavlin Radoslavov
451a32cb56 Merge "Update the A2DP Codec Config API" 2017-01-31 19:02:36 +00:00
Pavlin Radoslavov
1f103a4b6c Update the A2DP Codec Config API
Previously, the JNI upcall would contain only the current codec config.
In the new API, the upcall contains:
 1. The current codec config
 2. The list of codecs containing the local codecs capabilities
 3. The list of codecs containing the selectable codecs capabilities.
    This list is the intersection of the local codecs capabilities
    and the capabilities of the paired device.

Also, changed the btav_a2dp_codec_priority_t type to enum.

Test: A2DP streaming with headsets and switching the codecs
Change-Id: Icb1c7e0ac6a81e4283fb5353ec2c36712587e0e1
2017-01-27 17:15:52 -08:00
Pavlin Radoslavov
5394b2669e Merge "Integration of the AAC codec for A2DP source" am: 314f08379f am: 428b764c7a am: b39dfc5954
am: b3f85b06bc

Change-Id: I660a6bf63940d5702e8c71e3a7387604470e343f
2017-01-26 19:42:20 +00:00
Pavlin Radoslavov
b3f85b06bc Merge "Integration of the AAC codec for A2DP source" am: 314f08379f am: 428b764c7a
am: b39dfc5954

Change-Id: I0f112ef179e78afca1a3659ed450bac5fedd2ad2
2017-01-26 19:31:10 +00:00
Pavlin Radoslavov
b39dfc5954 Merge "Integration of the AAC codec for A2DP source" am: 314f08379f
am: 428b764c7a

Change-Id: Ib47915bc6839dffa1f0e5d84965799f17326dd69
2017-01-26 19:25:41 +00:00
Pavlin Radoslavov
428b764c7a Merge "Integration of the AAC codec for A2DP source"
am: 314f08379f

Change-Id: I64efc3565d1b6e6f69ed9a35a0fbdcd9c97faffb
2017-01-26 19:20:12 +00:00
Treehugger Robot
314f08379f Merge "Integration of the AAC codec for A2DP source" 2017-01-26 19:12:55 +00:00
Pavlin Radoslavov
f9b17fed4b Integration of the AAC codec for A2DP source
Test: A2DP streaming to AAC headsets
Bug: 30958229

Change-Id: If019f9df71d4c3cab868c1d8749592aac4a87aa3
2017-01-26 00:16:00 +00:00
TreeHugger Robot
ec9df01278 Merge "Add device id attestation tags" 2017-01-25 05:03:50 +00:00
Bartosz Fabianowski
9d2f5b911e Add device id attestation tags
This syncs the keymaster defs with the Keymaster 3.0 HAL definition
after the addition of device id attestation.

Bug: 34597337
Test: CTS CtsKeystoreTestCases and GTS DeviceIdAttestationHostTest

Change-Id: I75a4b7cca6da83b239fba97964415788dbcd8862
2017-01-24 23:07:23 +01:00
TreeHugger Robot
28f52775eb Merge "Add gnss-base.h" 2017-01-24 15:51:57 +00:00
Crystal Qin
d6a95dacdb Merge "Add new purpose to the HAL layer." 2017-01-20 18:13:50 +00:00
Peng Xu
5ca54d7ce8 Merge "[sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up" am: 28764df8a3 am: 889c710408 am: 091cb5ba7e
am: a984e56b86  -s ours

Change-Id: Iad82280813cb56b0a8d5db70bfb8c8c83e93905e
2017-01-19 01:37:11 +00:00
Peng Xu
a984e56b86 Merge "[sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up" am: 28764df8a3 am: 889c710408
am: 091cb5ba7e

Change-Id: Ifa8afd97b47e8a3d0e0e2accfac4b8e76e871029
2017-01-19 01:27:00 +00:00
Peng Xu
091cb5ba7e Merge "[sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up" am: 28764df8a3
am: 889c710408

Change-Id: Iea420792fe3ec68d34fbba43afa1bcc366680951
2017-01-19 01:22:26 +00:00
Peng Xu
889c710408 Merge "[sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up"
am: 28764df8a3

Change-Id: Ie706c021ac3696cb45b0deee93265e1a9eee2893
2017-01-19 01:16:43 +00:00
Peng Xu
28764df8a3 Merge "[sensors] SENSOR_TYPE_DYNAMIC_SENSOR_META should be wake up" 2017-01-19 01:11:49 +00:00
Peng Xu
f26095e809 Merge "[sensor] Sync automatically generated code after interface change" 2017-01-19 00:37:03 +00:00
Hridya Valsaraju
bd0aa25859 Add gnss-base.h
Test: make -j32

Change-Id: I9dea63ff745735a9785a4fb9fd214c11e95df6f6
2017-01-18 15:09:35 -08:00
Peng Xu
7d17b580ac [sensor] Sync automatically generated code after interface change
Sync up the automatically generated sensors-base.h after changes
to hardware/interfaces.

Test: compiles
Change-Id: I5d4e9f8b39bcbe8f62a4a0c20c70e637827f9146
2017-01-18 14:17:30 -08:00
Peng Xu
cc7cf04068 Merge "[sensors] clarify sensor and direct channel handle size" 2017-01-18 00:57:17 +00:00
Peng Xu
f144435ef4 [sensors] clarify sensor and direct channel handle size
* clarify direct channel handle must be less than INT32_MAX.
* sensor handle should fit in int32_t and positive.

Test: compiles ok
Change-Id: Iaf4573cf3a66b992fd354217096140a6001c4078
2017-01-17 15:14:49 -08:00
Jim Miller
e392a54071 Add missing lockout code to fingerprint.h
This is already in the framework, but wasn't visible in HAL 2.1. Required to
properly enforce HIDL 2.1 compliance.

Bug: 33199080

Test: Fingerprint enroll, remove, unlock, fingerprint arbitration.
Change-Id: I3400005df57fe6ac0f42f70fa17786876202be1f
2017-01-17 11:45:41 -08:00
Peng Xu
ea2bf36c08 Merge "Add gralloc1 flags for direct mode sensors and SSBO/UBO buffers." 2017-01-14 09:48:17 +00:00
Peng Xu
95f79b1879 [sensors] Minor tuning of hal definition
* Swap GEOMAGNETIC_FIELD with MAGNETIC_FIELD for more accurate
    definition.
  * Clarify that string type will be omitted for well defined sensor
    types.
  * Remove legacy 8-bit restriction to sensor handle. This is an
    unnecessary limit for since long time ago. Still leave the define
    for code compatibility and change the value to 32.
  * update sensors-base.h with companion .hal file change.

Test: test with sensorlogger, all sensor works
Change-Id: I6ff7022146eb25f7efdce87b70bf5ed488a70c6d
2017-01-13 10:58:23 -08:00
Ashutosh Joshi
da8827a283 Merge "Add an uncalibrated accelerometer type." 2017-01-13 17:47:33 +00:00
Craig Donner
ce40541781 Add gralloc1 flags for direct mode sensors and SSBO/UBO buffers.
Bug: 30985702
Test: non-functional change
Change-Id: I9703f6ae81b95b65d0fc822a06a53b6f2318ef29
2017-01-12 15:52:02 -08:00
Peng Xu
08a4dd9e89 [sensors] Adding HAL API support for direct report mode
Added HAL function and constant definition for sensor direct
report mode. This new mode allows sensor hardware to communicate
with application directly via a lock-free queue based on shared
memory to achieve low latency and high report frequency.

Test: compiles and runs
Bug: 30985702
Change-Id: I79c73bcdcc45d43b5a236d65874e5071a589cecd
2017-01-12 12:19:12 -08:00
Ashutosh Joshi
d1e2562a79 Add an uncalibrated accelerometer type.
Add an uncalibrated accelerometer sensor type.

Test: Build compiles.

Change-Id: Iddc3b03abf0ba9beeec542eecf138b06d08355f2
2017-01-11 11:11:11 -08:00
Ashutosh Joshi
9eb5bbd45f Drop support for old Sensor HALs.
Dropping support for Sensor HAL version 1.0.
Sensor HALs version 1.1 and 1.2 are already depracated.
This makes version 1.3 as the earliest supported version.

Test: Sensors CTS tests still pass.
Change-Id: I806ce1d0d9277cbb312d9f90749975420cef2109
2017-01-09 17:09:35 -08:00
Tomasz Wasilczyk
3c7297a55a Make metadata field mandatory for program info struct.
Test: VTS, manual
Change-Id: I105f960442839f512db593615e2f2548ffdded35
2017-01-06 14:19:52 -08:00
Eino-Ville Talvala
18782aa54e Camera: Update for service changes, part 2
- Indicate that HALv3.0 and v3.1 are no longer supported
- Update tests that reuse camera service plumbing to match
  service code changes

Test: Builds
Bug: 32991422
Change-Id: I13b800aea6f65270a2a621bd8a61705160fb2dc8
2017-01-05 15:23:54 -08:00
Eino-Ville Talvala
3462b08148 Camera tests: Update for service changes
Test: Builds
Bug: 32991422
Change-Id: I2cdae7f3541bb01be000c74fc162329ce768a899
2017-01-05 15:22:31 -08:00
Pavlin Radoslavov
8e3a480c90 Merge "Integration of the LDAC codec for A2DP source" am: c231e02492 am: 1f7df5e41d am: ca8d1cc38f
am: 7098b958c8

Change-Id: I3c168e2538ff462e6757dabf1cc25a79e3a9f808
2017-01-05 08:04:30 +00:00
Pavlin Radoslavov
7098b958c8 Merge "Integration of the LDAC codec for A2DP source" am: c231e02492 am: 1f7df5e41d
am: ca8d1cc38f

Change-Id: If8bf63107aaffb666c8fb16cb7b81317abfa4bf5
2017-01-05 08:00:03 +00:00
Pavlin Radoslavov
ca8d1cc38f Merge "Integration of the LDAC codec for A2DP source" am: c231e02492
am: 1f7df5e41d

Change-Id: I648dc4daf0380e827d1f121624b073873a81a66c
2017-01-05 07:55:30 +00:00
Pavlin Radoslavov
1f7df5e41d Merge "Integration of the LDAC codec for A2DP source"
am: c231e02492

Change-Id: I69e4397f102019a02637f04df18b169d21975387
2017-01-05 07:49:52 +00:00
Treehugger Robot
c231e02492 Merge "Integration of the LDAC codec for A2DP source" 2017-01-05 07:43:50 +00:00
Pavlin Radoslavov
5a261e8371 Merge "Integration of the aptX and aptX-HD codecs for A2DP source" am: 0184b42499 am: 4122ca2593 am: c9c5e3f7ce
am: 419fa989e6

Change-Id: I879aea49003eaf3ab65c4d40149e2b61922f1e98
2017-01-05 02:17:39 +00:00
Pavlin Radoslavov
419fa989e6 Merge "Integration of the aptX and aptX-HD codecs for A2DP source" am: 0184b42499 am: 4122ca2593
am: c9c5e3f7ce

Change-Id: I6aea107b5bd522e871cc97f965da0317edfc3c8c
2017-01-05 02:12:07 +00:00
Pavlin Radoslavov
c9c5e3f7ce Merge "Integration of the aptX and aptX-HD codecs for A2DP source" am: 0184b42499
am: 4122ca2593

Change-Id: Id6fae01022be55f9df1fd07554a6698cf2af4a11
2017-01-05 02:07:08 +00:00
Pavlin Radoslavov
be1bfcea29 Integration of the LDAC codec for A2DP source
The codec can be used if the encoding shared library is installed
on the device:
 libldacBT_enc.so

Test: A2DP streaming to LDAC headsets
Bug: 30958229
Change-Id: I53917bb3cc18630a34d39c80425cdf80a1221793
2017-01-04 18:05:49 -08:00
Pavlin Radoslavov
4122ca2593 Merge "Integration of the aptX and aptX-HD codecs for A2DP source"
am: 0184b42499

Change-Id: Id283755b29a3f2c6e922a076531da0cd57d4d685
2017-01-05 02:02:03 +00:00
Treehugger Robot
0184b42499 Merge "Integration of the aptX and aptX-HD codecs for A2DP source" 2017-01-05 01:56:35 +00:00
Pavlin Radoslavov
b2543a2f8e Integration of the aptX and aptX-HD codecs for A2DP source
Each of the codecs can be used if the corresponding encoding
shared library is installed on the device:
 - aptX: libaptX.so
 - aptX-HD: libaptXHD.so

Test: A2DP streaming to aptX and aptX-HD headsets
Bug: 30958229
Change-Id: If827933e4ea5d9d55eadff369db0eeeeb27a03ce
2017-01-04 16:31:14 -08:00
Ivan Podogov
d97310688e Merge "Allow HID Device to connect to a specific device" am: 0c45c105a5 am: 176b7ce269 am: 28281b652b
am: 79bc7ebb24

Change-Id: I1143cccfb204478ba28842a2d7007029a8078b93
2017-01-04 13:06:56 +00:00
Ivan Podogov
79bc7ebb24 Merge "Allow HID Device to connect to a specific device" am: 0c45c105a5 am: 176b7ce269
am: 28281b652b

Change-Id: Ie7510611b3fed966e4e4cc57b8fed91610a8bc1d
2017-01-04 13:04:26 +00:00
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