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/SoundTriggerHalHidl.cpp
|
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/SoundTriggerHalHidl.cpp
|
e83be8af690ef1ac820a63414d522e77ca9d4db6 |
|
06-Jan-2017 |
Steven Moreland <smoreland@google.com> |
Remove usage of getStatus. - remove from libaudiohal - remove from services/radio - remove from soundtrigger - remove from omx Bug: 31348667 Test: compiles Change-Id: I75bb7b7388527dacfdc5bf128712cb8690bc286b
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
9f57e3c9da8923649adff62e63c644537f565e90 |
|
05-Dec-2016 |
Mikhail Naganov <mnaganov@google.com> |
Crash audioserver if EPIPE (DEAD_OBJECT) is received from the HAL audioflinger doesn't have a proper way to re-establish all the opened streams if HAL crashes. The only valid way of dealing with them is to restart the audioserver. Although broadcastradio and sountrigger have cleaner protocols for dealing with HAL failures and can handle HAL crash and restart, since the audio side will anyway get broken, it makes sense to also kill the audioserver when they detect HAL crash. Change-Id: I5f8e8c1d0981042cdd435a3ddbb6526e9f226e6b Test: kill audio-hal process, watch dmesg and logcat
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
34e5d30e54650b210c1b9730b1e4b412ec1cdb0c |
|
10-Dec-2016 |
Samuel Saccone <samccone@google.com> |
Revert "Crash audioserver if EPIPE (DEAD_OBJECT) is received from the HAL" This reverts commit 9f55e5f998644d58cb8f3625e06d9b7a4e78555c. Change-Id: Ic76c0cb5032af422699da2b43106b4b1de5ac935
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
9f55e5f998644d58cb8f3625e06d9b7a4e78555c |
|
05-Dec-2016 |
Mikhail Naganov <mnaganov@google.com> |
Crash audioserver if EPIPE (DEAD_OBJECT) is received from the HAL audioflinger doesn't have a proper way to re-establish all the opened streams if HAL crashes. The only valid way of dealing with them is to restart the audioserver. Although broadcastradio and sountrigger have cleaner protocols for dealing with HAL failures and can handle HAL crash and restart, since the audio side will anyway get broken, it makes sense to also kill the audioserver when they detect HAL crash. Test: kill audio-hal process, watch dmesg and logcat Change-Id: Ib2150b69c791ac49de9404de08fc6c309a3fcbd5
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
4b38e7ad3565de208c8a8d7a401c1e7b07b0108b |
|
11-Nov-2016 |
Eric Laurent <elaurent@google.com> |
soundtrigger service: fix HIDL HAL status reporting Test: make Change-Id: I27d8b65b7d42e7df2da37ca6f63bcb365a876f21
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
267e07cd8432679bcdd72b0bdf38846446c1c4ed |
|
04-Nov-2016 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "sound trigger service: remove bogus threasdpool init in HIDL wrapper"
|
3ede21c823661704e8a8d48403094a2de0f831d3 |
|
04-Nov-2016 |
Eric Laurent <elaurent@google.com> |
sound trigger service: remove bogus threasdpool init in HIDL wrapper Test: make Change-Id: I3f1f21c106c7b7acdb852917f0c3e557da8a0d78
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
90e2eec58b0db7ee84e4596c723462b9910aa0aa |
|
03-Nov-2016 |
Steven Moreland <smoreland@google.com> |
SoundTrigger: Remove unused include. Test: compiles Change-Id: I2537c09c31096ea39a130a37f9ea7979fe473c3c
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
e085c1072f017d4910f7e49741f72e8a722b8892 |
|
03-Nov-2016 |
Janis Danisevskis <jdanis@google.com> |
Fix build error when building with ENABLE_TREBLE=true Fixes use of renamed header file hidl/IServiceManager.h Test: builds with ENALBE_TREBLE=true Change-Id: Ia1bdc04d6e23243a46b6a897cca29dd26899f79d
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
f7854d45bd12d5239c588767bf85953aca46b4ef |
|
15-Oct-2016 |
Eric Laurent <elaurent@google.com> |
audioserver: restart audio hal service on restart Also update to use common audio uuid type definition. Bug: 32022304 Change-Id: I25ceb48af1446862d36b3be9d17c1f081b2cf1c7
/frameworks/av/services/soundtrigger/SoundTriggerHalHidl.cpp
|
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/SoundTriggerHalHidl.cpp
|