dfdc3bbccdeb48a747b073a0825d1aa6277e9c1f |
|
22-Dec-2017 |
Mikhail Naganov <mnaganov@google.com> |
soundtrigger: Refactor the default implementation to be extensible Introduce an inner "trampoline" class that implements ISoundTriggerHw. This allows minor uprev implementation to inherit from SoundTriggerHalImpl and reuse its functionality. Split SoundModelClient into an abstract common part and version-specific part. This allows the client to be redefined for the types used in callback interface extensions. Split the impl library into "core" part and the part implementing HIDL_FETCH_ISoundTriggerHw function to avoid clash with the same function introduced in minor uprev implementation. Bug: 68823037 Change-Id: Ibec647f1aa7bc6a2a0bdfd1c9f9a066e4779a1bf Test: make
/hardware/interfaces/soundtrigger/2.0/default/SoundTriggerHalImpl.h
|
0bbc4aa61fa5a199a7546db28270f472aec4030b |
|
22-Dec-2017 |
Mikhail Naganov <mnaganov@google.com> |
soundtrigger: Apply clang-format to 2.0 default implementation The implementation needs to be updated to become extensible. The current coding style is not consistent with the style required for hardware/interfaces. Reformatted with: clang-format -style=file -i <...>/SoundTriggerHalImpl.* No manual changes. Bug: 68823037 Change-Id: I5f5cbb599190a515dec8afe9026ca835b8fd20fa Test: make
/hardware/interfaces/soundtrigger/2.0/default/SoundTriggerHalImpl.h
|
3acaa668c102cf096a9e3bc540d7a74ca3ac5c36 |
|
13-Apr-2017 |
Mikhail Naganov <mnaganov@google.com> |
soundtrigger: Use "default" instance name for HAL service "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
/hardware/interfaces/soundtrigger/2.0/default/SoundTriggerHalImpl.h
|
efc683588e423718c71220afbe6a176b6eca5a51 |
|
01-Mar-2017 |
Mathias Agopian <mathias@google.com> |
fallout of cleaning-up libutils includes Test: run & compile Bug: n/a Change-Id: I9ad9f3358cceb15d3d8c97d2444fb74ee04bd9f8
/hardware/interfaces/soundtrigger/2.0/default/SoundTriggerHalImpl.h
|
27ef4d872d9f6bbbc62d03b807cae694a3c6e2e8 |
|
15-Oct-2016 |
Eric Laurent <elaurent@google.com> |
audio: add audio HAL service and sound trigger HAL implementation Audio HAL service is common to audio, audio effect, sound trigger and bradcast radio HALs. Bug: 32022304 Change-Id: I3952b9c6de3a6b34e757942120320cf8ae036ed5
/hardware/interfaces/soundtrigger/2.0/default/SoundTriggerHalImpl.h
|