History log of /frameworks/av/media/libaudiohal/4.0/StreamHalHidl.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a8975a7e857fd745fc88d226d86b53ae088eafb9 27-Mar-2018 Kevin Rocard <krocard@google.com> Audio V4: propagate metadata to the HAL

This is needed for the earring aid use case.

Bug: 38184704
Bug: 69623109
Test: check that the correct metadata are propagate to the HALs.
Change-Id: I285aac9fbb5431cc32c6fbccebdbff4914e6ab92
Signed-off-by: Kevin Rocard <krocard@google.com>
/frameworks/av/media/libaudiohal/4.0/StreamHalHidl.cpp
9ff780e58ff96ff98acaae4166bb218880bf9e73 20-Mar-2018 jiabin <jiabin@google.com> Support query microphones information.

Get list of all/currently active microphones from hal.

Bug: 64038649
Test: Manual Testing and Cts test
Change-Id: Id39cae38ba040f9bc91571e713487f87c2eb67b0
/frameworks/av/media/libaudiohal/4.0/StreamHalHidl.cpp
b9cfbf1fdcfcf3e09f894c8dbf32ce915489a3e2 24-Feb-2018 Kevin Rocard <krocard@google.com> Audio V4: Introduce 4.0 shim to HIDL

The difference between the 2.0 and the 4.0 is very small
by design and most of the modification have been made in a
retro compatible way
The intent is to be able to merge the two implementation
but it could not be done in this patch due to time constrains.

Bug: 38184704
Test: compile
Change-Id: I4738928313b7fd1f6332c0f22bb802d4fba41d82
Merged-In: I4738928313b7fd1f6332c0f22bb802d4fba41d82
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
/frameworks/av/media/libaudiohal/4.0/StreamHalHidl.cpp
51e076a8fc69d4275cabc3e6d54eab44d590280d 28-Feb-2018 Kevin Rocard <krocard@google.com> Audio V4: Update namespace and version of 4.0 shim

Put the shim in a V4_0 namespace to comply with the ODR.
Make the include guard unique.
Split from the error prone interface adaptation change for safer review.

Patch generated with:
sed -i 's/V2_0/V4_0/g' *
sed -i "/include.*2.0/s/2\.0/4.0/" *
sed -i '/namespace android *{/anamespace V4_0 {' *
sed -Ei 's/(ifndef|define|endif)(.*)_H/\1\2_4_0_H/' *
sed -Ei 's#}(.*)namespace android$#}\1namespace V4_0\n\0#' *

Bug: 38184704
Test: Compile
Change-Id: I7d3aa46b3dfec664cbeea8a6b946456b8e8f06e3
Merged-In: I7d3aa46b3dfec664cbeea8a6b946456b8e8f06e3
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
/frameworks/av/media/libaudiohal/4.0/StreamHalHidl.cpp
4bcd67fbb4eca3654ea929742bdf6ccc7c70daec 28-Feb-2018 Kevin Rocard <krocard@google.com> Audio V4: Copy 2.0 audiohal to 4.0

For easier review of the changes, first copy 2.0 to 4.0, the changes
are made in the following patch.

Bug: 38184704
Test: compile
Change-Id: I5bf16e5f8e7b61cc13e86c06b899ec4e6624a961
Merged-In: I5bf16e5f8e7b61cc13e86c06b899ec4e6624a961
Cherry-picked from master
Signed-off-by: Kevin Rocard <krocard@google.com>
/frameworks/av/media/libaudiohal/4.0/StreamHalHidl.cpp