summaryrefslogtreecommitdiffstats
path: root/soundtrigger/SoundTrigger.cpp
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)
* Update calls to IInterface::asBinder()Marco Nelissen2014-11-141-2/+2
| | | | | | to use the new static version. Change-Id: I89a5988a0ac694ffc04d88cf939e8455bf925d4c
* Add sound trigger control by audio policyEric Laurent2014-08-051-0/+35
| | | | | | | | | | | | | | | | | 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-041-0/+253
Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec