The 'surroundFormats' section must allow specifying
vendor-provided formats (vendor extensions). This has been
fixed in Audio HAL V7. Backporting to earlier versions.
Bug: 173647783
Test: atest VtsHalAudioV5_0TargetTest
Change-Id: Ic0eb09df927af243d56038a8a102f0607bbaafaf
MPEG-H is a new surround audio codec. Add new enum format for MPEG-H in
the HIDL interface. Though MPEG-H has different profiles and audio
levels, only low complexity and baseline with audio level as 3 and 4 is
defined in this CL as they are relevant for the current and upcoming
commercial services.
Bug: 178619392
Test: make
Change-Id: I5672f3874f6cffe31a83b6d7e351d0bf56bfd038
Merged-In: I5672f3874f6cffe31a83b6d7e351d0bf56bfd038
If WB has lots of data, we should flush them by IdleMaint.
Bug: 179030981
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ib04a8c5f8b7153f2afe88b636415accbbf27c4f8
Add 'CoreUtils' library similar to 'HidlUtils' for the types
specific to the core HAL. Add 'EffectUtils' library similar to
'HidlUtils' for the types specific to the effects HAL. Move into
them and de-duplicate code previously scattered across the
default HAL implementation and libaudiohal. Add unit tests.
Removed 'AUDIO_{INPUT|OUTPUT}_FLAG_NONE' from the list of
values in the XSD file to avoid additional complexity due to
equivalence of this value to an empty list of flags.
Bug: 142480271
Test: m android.hardware.audio@X.0-impl
Test: m android.hardware.audio.effect@X.0-impl
Test: atest android.hardware.audio@7.0-util_tests
Test: atest android.hardware.audio.common@7.0-util_tests
Test: atest android.hardware.audio.effect@7.0-util_tests
Change-Id: I71a95cbe07fcc162dc6d74ff9665747a17ce5a80
Merged-In: I71a95cbe07fcc162dc6d74ff9665747a17ce5a80
This HAL version is not supported by the framework. Remove the code to
avoid confusion.
Bug: 178772241
Test: make
Change-Id: I278415d1945fbf5010539840efdc9e9502957f3f
Per buffer dmabuf changes can be backported to the 5.4 kernel.
Require the GetGpuDeviceInfo() to allow de-dupping imported dmabuf
memory form the total GPU memory for lost RAM calculation.
Test: atest VtsHalMemtrackTargetTest
Bug: 176477627
Change-Id: Ibaf48c84928b39d62f8552d1674c98d635e834f5
1. Fix test case for usage count limit tag = 1 case, when
hardware cannot enforce it, the tag should by enforced by keystore.
2. Add test case for usage count limit tag > 1.
3. Add test case to verify the usage count limit tag appears
correctly in the attestation certificate for asymmetic key.
Test: atest -c VtsAidlKeyMintTargetTest
Change-Id: I01df278b42a91a78c8888c13c4f81b7ec70cfa22
This HAL is not supported by the framework. It was confirmed that
no devices were using this HAL version and it will be removed
following this change.
Bug: 178772241
Test: make
Change-Id: Ie73e78ffde79345331753eb9ed4616653616ddf3
We need a way to distinguish between tags that are enforced by KeyMint
with security level "SOFTWARE" and tags that are not enforced by
KeyMint but are expected to be enforced by KEYSTORE.
Test: VtsAidlKeyMintTargetTest
Change-Id: I9f414bec43959577a50d49146029c9edb031be56
Revert "Add cuttilefish implementation for emergencyDial_1_6"
Revert submission 1548864-cp-edial-1-6
Reason for revert: some build use some vendor ril_service.cpp
Reverted Changes:
I515ea7381:Add cuttilefish implementation for emergencyDial_1...
I94319ab34:Add emergencyDial_1_6 in the HAL to modify the mul...
Change-Id: I83aedc19bb8eade10c330c2bca625495b9e359e9
The gyro sensor is simulated by CPU. The min delay was too short in
comparison with CPU time slice, which might result in CTS failure.
This commit increases the min delay so as to decrease the relative error
of time intervals.
Test: atest CtsSensorTestCases:android.hardware.cts.SingleSensorTests#testGyroscope_fastest
Bug: 177871363
Change-Id: I58bc08d30633250cacc5f7dddc6cd836c796475b
authorizationValue checked the uion value tag twice instead of checking
the actual tag value.
Test: N/A
Change-Id: I348b5ac06801a04ca7243088d758374148910d39
* Added modemReducedFeatureSet1 flag to HalDeviceCapabilities
* Applied flag to secondary link bandwidth getters in carrier bandwidth
Test: cts
Bug: 173806995
Merged-In: Icfca599607e02a6c3e258c11dc9eb7701b7afd3f
Change-Id: Icfca599607e02a6c3e258c11dc9eb7701b7afd3f
The system property will only disable heap memory initialization. If you
want to disable MTE (which I don't think was the subject of the original
patch), you can use the MTE sysprops: 'arm64.memtag.process.<pname> =
"off"'.
Bug: 135772972
Test: Device boots.
Change-Id: I180be76ff2f776f1ec1a607de848ff6c81da852d
* changes:
Update VTS tests for setDataWarningAndLimit
Add VTS tests for setDataWarningAndLimit HAL interface
Create VTS folder and put necessary setup code
[SP14] Add HAL to set warning quota to tehtering offload hardware
HAL V7 types were updated to better match data structure
definitions from the legacy HAL:
- Added 'AudioConfigBaseOptional' struct to match
legacy structs that have 'mask' field to specify
initialized fields.
- All fields in 'AudioConfigBase' made mandatory.
- Removed 'EffectConfigParameters' in favor of
'AudioConfigBaseOptional' and safe_unions.
- Added missing enum string values to ensure that round-trip
conversions from the legacy HAL to HIDL and back to legacy
preserve enum values.
Bug: 142480271
Test: atest android.hardware.audio.common@7.0-util_tests
Test: atest VtsHalAudioV6_0TargetTest
Test: atest VtsHalAudioV7_0TargetTest
Test: atest VtsHalAudioEffectV7_0TargetTest
Change-Id: If02a81b3f6790a8eb315fa57123141aad2419132
This change contains minimal modifications to perform test for
1.1 HAL. Test cases that exercise 1.1 HAL will be provideded
in follow-up patches.
Test: atest VtsHalTetheroffloadControlV1_1TargetTest
Bug: 149467454
Bug: 170699770
Bug: 170179169
Change-Id: I1df5b8d1241e9fd21930f0def395f98a8bbf3076
With current setDataLimit API, tethering offload hardware will
stop offload and trigger callback when the given limit bytes is
reached.
However, for data usage warning to work, an API that allows
tethering offload hardware to report event without stopping
offload hardware is needed.
Test: hidl-gen -Lformat android.hardware.tetheroffload.control@1.1
Bug: 149467454
Bug: 170699770
Bug: 170179169
Change-Id: I804d15f92251ef902dd2e1ff1c31ba157fa91067