History log of /frameworks/av/media/libaudiohal/EffectsFactoryHalInterface.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/EffectsFactoryHalInterface.cpp
7588ff418aca63b1dc43a85afc1e86c40dd889a3 08-Jan-2018 Kevin Rocard <krocard@google.com> Audio V4: Split HAL wrapper for versioning

Both core and effect Hal now have one single point of entry.
This point of entry is their respective factories:
- DevicesFactoryHalInterface::create
- EffectsFactoryHalInterface::create

Each entry point looks for their respective services supported
version, starting from the highest (currently only 2.0) and
returning the subclass wrapping this version to the most recent audio.h
framework api.

Note that EffectBufferHalInterface were previously created from static
methods (mirror and allocate) which broke the single point of entry
requirement.
As a result, buffers have now to be created from the factory like the
other classes.

Note that the death handler also need to be its own library as it is
used by versioned code and is version independent.

Bug: 38184704
Test: compile
Change-Id: Iac9b1fda561bb486193d5b9e025a870f50cda530
Signed-off-by: Kevin Rocard <krocard@google.com>
/frameworks/av/media/libaudiohal/EffectsFactoryHalInterface.cpp