summaryrefslogtreecommitdiffstats
path: root/soundtrigger
Commit message (Collapse)AuthorAgeFilesLines
* SoundTrigger: get service by value.Eric Laurent2016-09-271-4/+4
| | | | | | | | | | Get strong pointer to service interface by value and not reference to prevent race conditions where the service pointer can be cleared by another thread while in use. Bug: 30907212 Change-Id: I6f02ec3fd1e6392b842b334e1cc4f9aa23916009 (cherry picked from commit 3b01b3019b1c62132792a1a94e2dc1f7cfc84f2e)
* SoundTrigger: fix binder call status reporting.Eric Laurent2015-10-052-8/+13
| | | | | Bug: 24677430. Change-Id: Ife9b10e2d1acdb51099b21551e8c191fff7f75b4
* Check memory allocation in ISoundTriggerHwServiceEric Laurent2015-05-041-0/+10
| | | | | | | Add memory allocation check in ISoundTriggerHwService::listModules(). Bug: 19385640. Change-Id: Iaf74b6f154c3437e1bfc9da78b773d64b16a7604
* Update calls to IInterface::asBinder()Marco Nelissen2014-11-144-9/+9
| | | | | | to use the new static version. Change-Id: I89a5988a0ac694ffc04d88cf939e8455bf925d4c
* Add sound trigger control by audio policyEric Laurent2014-08-053-0/+90
| | | | | | | | | | | | | | | | | 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
* add sound trigger native serviceEric Laurent2014-06-045-0/+693
Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec