"default" implies using "primary" legacy device module.
This doesn't change anything for binderized mode, because
the server was only registering itself as "sound_trigger.primary",
so it was the only possibility anyways.
Usage of "stub" (debugging) module is still possible
if audioflinger and corresponding services are built with
USE_LEGACY_LOCAL_AUDIO_HAL=true (added makefile check to ensure
that).
Test: "Ok Google" from screen off state on sailfish
Bug: 36570720
Change-Id: I88f1ebd4c1efd0f91e37458746c336a4beef33ae
Remove dummy Union definition added as work around for JAVA build
problem.
Bug: 34109137
Test: make
Change-Id: I5a8107de2deab1f4f62c3e0ae654dd768cf0e307
Files relying on transitive include of utils/Log.h (and things that it
includes) from MQDescriptor.h
Test: pass
Merged-In: Iff316b21bef556bb026378b7f89e97ded3febef4
Change-Id: Iff316b21bef556bb026378b7f89e97ded3febef4
Add a negative test for loading generic sound model with random data.
Test: vts-tradefed run commandAndExit vts -m VtsHalSoundtriggerV2_0Target
Bug: 35409266
Change-Id: I0bb6dd758d114bd094c88899abf06accdefb8efa
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.
Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5
audioserver crashes when sound_trigger legacy HAL does not exist on the device,
as mHwDevice is not initialized to NULL.
Bug: 32022304
Change-Id: I47642927e91c03817508d462cfcc58370e89b184
Signed-off-by: Thierry Strudel <tstrudel@google.com>
Remove trailing commas so that sound trigger config file is a valid
JSON.
Test: make vts, run sound trigger vts tests
Bug: 34223299
Change-Id: I4983f956c90a5000549566a4ff721b7a07439740
As all sound trigger HAL implementations use proprietary
sound models this just tests proper enumeration of HAL
properties and proper error response from HAL when methods are called
with obviously wrong arguments or out of sequence.
Test: build and run test
Bug: 32022431
Change-Id: I6eca0dc100843141752665f7a0d4749fc7eda6fc
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.
Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
Audio HAL service is common to audio, audio effect, sound trigger and
bradcast radio HALs.
Bug: 32022304
Change-Id: I3952b9c6de3a6b34e757942120320cf8ae036ed5
Initial HAL definition was using base struct types
(e.g SoundModel) to pass either a base struct or a struct
extended by composition.
This doesn't work with how autogenerated code passes data
over binder.
Bug: 32022304
Change-Id: I7d4ba6d063e80ba38af3db01043cafc7a084c426
Initial version of the sound trigger HAL for TREBLE model.
Functionally equivalent to legacy HAL.
Bug: 30222631
Test: build verified
Change-Id: I3cc904f21e1d81458ef877352b21c25a798cd355