History log of /frameworks/av/services/soundtrigger/SoundTriggerHwService.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
02eb47cf18793effe9fc7ab34e1b0fe9ea6635bc 20-Nov-2014 Eric Laurent <elaurent@google.com> SoundTrigger: allow sound model reloading

Allow reloading a sound model without unloading it before.

Bug: 18308781.
Change-Id: I31c83b81a03ee1c1e80f4339ca62e6d06fb1a33b
/frameworks/av/services/soundtrigger/SoundTriggerHwService.cpp
886561f06ddaea86a51def1e918367430240b5ac 29-Aug-2014 Eric Laurent <elaurent@google.com> sound trigger: fix cross deadlock between service and client

Do not call callback methods on ISoundTriggerClient with the service mutex
locked: the client implementation will lock its mutex to process
the callback and if a request from the same client with client
mutex locked was waiting for the service mutex a deadlock occurs.

Bug: 16873049.
Change-Id: Ifc3b31fdfaed525981fa59876c041478f38b42e8
/frameworks/av/services/soundtrigger/SoundTriggerHwService.cpp
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/SoundTriggerHwService.cpp
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/SoundTriggerHwService.cpp
936c84a5b743dce2a2572fdf54b37b187bc88b60 17-Jul-2014 Eric Laurent <elaurent@google.com> Revert "sound trigger: added permission checks"

This reverts commit dcb162f3aed807d1e51f29e2454ade584439992e.
/frameworks/av/services/soundtrigger/SoundTriggerHwService.cpp
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/SoundTriggerHwService.cpp
0832b2d7d190f4fbe6f134446b2610df0cccdbbb 07-Jul-2014 Eric Laurent <elaurent@google.com> sound trigger: update HAL

New start_recognition() prototype with recognition
configuration structure.
New recognition event format.

Bug: 12378680.
Change-Id: I57b430eb076e6baa58118a0ed45ce4afaacb998c
/frameworks/av/services/soundtrigger/SoundTriggerHwService.cpp
1a1cba8f9a93db188b09d9754987354029129113 10-Jun-2014 Eric Laurent <elaurent@google.com> sound trigger: stop recognition on sound model unload

Force a stop recognition command to the HAL when
unloading a sound model and recognition is still active.

Change-Id: I7379a64a37bbc3eeea08e0e1d59e427de9544a10
/frameworks/av/services/soundtrigger/SoundTriggerHwService.cpp
b7a11d83f749ad0200778c4815e907d011d4b5d3 19-Apr-2014 Eric Laurent <elaurent@google.com> add sound trigger native service

Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec
/frameworks/av/services/soundtrigger/SoundTriggerHwService.cpp