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/services/soundtrigger/Android.mk
|
6f9f1e2b30cf04c0dd058d88c625bf2565f7f0a7 |
|
05-Jan-2018 |
Mikhail Naganov <mnaganov@google.com> |
soundtrigger: Add support for HAL V2.1 Use HAL V2.1 methods if this version is deployed on the device. Initially the middleware layer requests for HAL V2.0, but if the interface can be cast to V2.1, then new methods are used. Made changes to avoid C-style type coercion as it was leading to erroneous results when using V2.1 and V2.0 data structures simultaneously. Bug: 68823037 Test: use "ok google" and music IQ with HAL V2.0 and V2.1 Change-Id: I34924afe3cd4fb45a75fa34888e6e5c72727dbce
/frameworks/av/services/soundtrigger/Android.mk
|
2ee7aab4a39139a86a24ca14f718eb20a1b355db |
|
25-May-2017 |
YOUNG HO CHA <ganadist@gmail.com> |
Android.mk: remove $TOP in LOCAL_C_INCLUDES Test: make systemimage Change-Id: I5f83786afe3f2c65819b127b041cb74fc4c989ac Signed-off-by: YOUNG HO CHA <ganadist@gmail.com>
/frameworks/av/services/soundtrigger/Android.mk
|
49ad5522d1012b683ca3c76a008bcee5e19668c3 |
|
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: Ibef7fb312ce593d71255cfac71ba4e8f1dd28666
/frameworks/av/services/soundtrigger/Android.mk
|
d621ac82e648c8ef395068edb1af2747f49b700a |
|
13-Jan-2017 |
Mikhail Naganov <mnaganov@google.com> |
Monitor crashes of audio hal service via linkToDeath Hwbinder 'linkToDeath' mechanism is used to track abrupt disappearance of server hal objects due to hal server crash. Upon hal server crash, notifications can be sent to binder clients if needed, then the audioserver crashes itself as the current audio HAL design does not provide an easy way to restore all the transient objects (devices, streams, effects) in their pre-crash state. Bug: 34158778 Test: In binderized mode, kill audio hal server Change-Id: If9265711edc445984601fcb5c29d2c173a370762
/frameworks/av/services/soundtrigger/Android.mk
|
9dc1747e214a3d4b3c08e8c1f3d7982ef5108162 |
|
11-Jan-2017 |
Mikhail Naganov <mnaganov@google.com> |
Enable passthrough mode by default for audio, soundtrigger, and radio Remove ENABLE_TREBLE flag usage for legacy hal fallback. Introduce new build flag USE_LEGACY_LOCAL_AUDIO_HAL for fallback. Bug: 32978887 Test: checked "OK Google" (from standby), Hangouts, YouTube, Play Music, fake radio hal + test app KI: issues when using equializer and virtualuzer in Play Music Change-Id: I1c279e622c885f799481f1287e0660ca576fcea0
/frameworks/av/services/soundtrigger/Android.mk
|
a730ae63c247f2d2f5951238598930177112706a |
|
18-Nov-2016 |
Yifan Hong <elsk@google.com> |
Split libhidl into base and transport. Bug: 32756130 Test: mma Change-Id: Ib3f5e05268661c6065bf6b6f6740d6e117b06e67
/frameworks/av/services/soundtrigger/Android.mk
|
538ec5e04f389cba637b030757be317fcb8677a8 |
|
02-Nov-2016 |
Marco Nelissen <marcone@google.com> |
Split libmedia into libmedia and libaudioclient This makes it so audioserver doesn't need to link against the entire libmedia, which has dependencies on camera, ICU, OpenGL and other things that aren't needed for audio. Test: build/boot Change-Id: I99ba1a3dc3b33ca9b3abd98e7519dbf228ee62af
/frameworks/av/services/soundtrigger/Android.mk
|
c661ae6165338fd5f0bca50a63058b4bcd6def4b |
|
25-Oct-2016 |
Marco Nelissen <marcone@google.com> |
Remove unneeded links with dynamic libraries Various media components were linking against dynamic libraries that weren't needed. Test: built and booted Change-Id: I7379506fd06d4e28e0eff0001fd073a2d3860f8e
/frameworks/av/services/soundtrigger/Android.mk
|
7a544b44b7872b300f50e16fef480f76e9145fbb |
|
06-Aug-2016 |
Eric Laurent <elaurent@google.com> |
Add support for treble sound trigger HAL First implementation of Treble HAL in sound trigger hardware service. If ENABLE_TREBLE build option is true, the treble HAL and HW sevice is used. Otherwise the legacy HW module is loaded. Bug: 30222631 Change-Id: Ibe5be680b7b7a3b261dd62913869e0bb412f438b
/frameworks/av/services/soundtrigger/Android.mk
|
fcddb0b73931d207b21bd281a7df3ba2f230a607 |
|
09-Jul-2016 |
Glenn Kasten <gkasten@google.com> |
Enable strict warning checks and fix Change-Id: Id401a937911eb418e93314812f2f7c2b5ecff8d6
/frameworks/av/services/soundtrigger/Android.mk
|
8fa2697e21c61998f78c346251d2c08f77d720ea |
|
03-Mar-2016 |
Andy Hung <hunga@google.com> |
Update audio services for 64 bit compilation audioserver still runs in 32 bits Bug: 27479136 Change-Id: I99ac607e4ce006a87abc2a3f838023e00ef78647
/frameworks/av/services/soundtrigger/Android.mk
|
5db7897ddd32e3ec3ab45ecdb6f21b6265e7e14a |
|
07-Jan-2015 |
Chong Zhang <chz@google.com> |
make libserviceutility a shared lib so that we have only one getpid_cached in mediaserver process bug: 18919657 Change-Id: Iff3cd932c9110e874b3885f79705f49bf3e3f1fc
/frameworks/av/services/soundtrigger/Android.mk
|
df3dc7e2fe6c639529b70e3f3a7d2bf0f4c6e871 |
|
28-Jul-2014 |
Eric Laurent <elaurent@google.com> |
Add sound trigger control by audio policy Audio policy: - Added active capture indication to sound trigger service: recognition stops if concurrent capture is not supported. - Added generation of reserved I/O handle and session ID for utterance capture. Sound trigger service - Added sound model update callback handling. - Added service state callback - Simplified callback shared memory allocation. Bug: 12378680. Change-Id: Ib0292c2733e6df90fdae480633dd9953d0016ef1
/frameworks/av/services/soundtrigger/Android.mk
|
8ba53d87a2d311ff4b3f04e30b2e09309ae7421c |
|
02-Aug-2014 |
Eric Laurent <elaurent@google.com> |
Revert "Revert "sound trigger: added permission checks"" This reverts commit 936c84a5b743dce2a2572fdf54b37b187bc88b60. Bug: 16374803. Change-Id: I9d3137faeddf119b13f9cdb73c14ca49e1ee3d1c
/frameworks/av/services/soundtrigger/Android.mk
|
936c84a5b743dce2a2572fdf54b37b187bc88b60 |
|
17-Jul-2014 |
Eric Laurent <elaurent@google.com> |
Revert "sound trigger: added permission checks" This reverts commit dcb162f3aed807d1e51f29e2454ade584439992e.
/frameworks/av/services/soundtrigger/Android.mk
|
dcb162f3aed807d1e51f29e2454ade584439992e |
|
11-Jul-2014 |
Eric Laurent <elaurent@google.com> |
sound trigger: added permission checks Add check for android.permission.CAPTURE_AUDIO_HOTWORD to all sound trigger binder calls on server side. Bug: 12378680. Change-Id: Ic3fd70e947882cdf5f4d4a4fe609a2c5a8236fd5
/frameworks/av/services/soundtrigger/Android.mk
|
b7a11d83f749ad0200778c4815e907d011d4b5d3 |
|
19-Apr-2014 |
Eric Laurent <elaurent@google.com> |
add sound trigger native service Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec
/frameworks/av/services/soundtrigger/Android.mk
|