OSDN Git Service

sound trigger HAL: add specialized methods for extended sound models
authorEric Laurent <elaurent@google.com>
Thu, 13 Oct 2016 22:11:24 +0000 (15:11 -0700)
committerEric Laurent <elaurent@google.com>
Fri, 14 Oct 2016 22:24:22 +0000 (15:24 -0700)
commita4b776c97a07498aa76e186d5eec88ea8b32dbdf
tree0332622f8c4e8e60c16b104f1577ed90b3a061a7
parent12adb906e53e2359d099fbf16d342413d82fd8e8
sound trigger HAL: add specialized methods for extended sound models

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
soundtrigger/2.0/ISoundTriggerHw.hal
soundtrigger/2.0/ISoundTriggerHwCallback.hal