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
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
Sync up the automatically generated sensors-base.h after changes
to hardware/interfaces.
Test: compiles
Change-Id: I5d4e9f8b39bcbe8f62a4a0c20c70e637827f9146
* 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
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
* 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
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
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
- 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
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
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