summaryrefslogtreecommitdiffstats
path: root/services/soundtrigger
Commit message (Collapse)AuthorAgeFilesLines
* am 78c02ddb: am cfa5bf04: Merge "make libserviceutility a shared lib" into ↵Chong Zhang2015-01-071-3/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit '78c02ddb6bf0d676160244a62c11dceb68301b73': make libserviceutility a shared lib audio policy: fix remote mic capture audio policy: suppport for dynamic source Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions Fix race condition in signaling completion for decode. AnotherPacketSource: need reset some members before returning from queueDiscontinuity(). Fix looping sound playback AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
| * make libserviceutility a shared libChong Zhang2015-01-071-3/+1
| | | | | | | | | | | | | | | | so that we have only one getpid_cached in mediaserver process bug: 18919657 Change-Id: Iff3cd932c9110e874b3885f79705f49bf3e3f1fc
* | am 30dee177: am 8052d933: Merge "SoundTrigger: allow sound model reloading" ↵Eric Laurent2014-11-212-0/+19
|\ \ | |/ | | | | | | | | | | into lmp-mr1-dev * commit '30dee177d25bf75f8b3fb8a70573de2c04306759': SoundTrigger: allow sound model reloading
| * SoundTrigger: allow sound model reloadingEric Laurent2014-11-202-0/+19
| | | | | | | | | | | | | | Allow reloading a sound model without unloading it before. Bug: 18308781. Change-Id: I31c83b81a03ee1c1e80f4339ca62e6d06fb1a33b
* | Update calls to IInterface::asBinder()Marco Nelissen2014-11-171-2/+2
|/ | | | | | | | | | | to use the new static version. Change-Id: Ia7b10eb38ca55b72278bfd33d3bf647f338b4e6a Conflicts: media/libmedia/IAudioFlinger.cpp media/libmedia/IMediaPlayer.cpp media/libstagefright/CameraSource.cpp
* sound trigger: fix cross deadlock between service and clientEric Laurent2014-08-281-20/+38
| | | | | | | | | | 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
* Add sound trigger control by audio policyEric Laurent2014-08-053-149/+385
| | | | | | | | | | | | | | | | | 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
* Revert "Revert "sound trigger: added permission checks""Eric Laurent2014-08-012-9/+35
| | | | | | | This reverts commit 936c84a5b743dce2a2572fdf54b37b187bc88b60. Bug: 16374803. Change-Id: I9d3137faeddf119b13f9cdb73c14ca49e1ee3d1c
* Revert "sound trigger: added permission checks"Eric Laurent2014-07-172-35/+9
| | | | This reverts commit dcb162f3aed807d1e51f29e2454ade584439992e.
* sound trigger: added permission checksEric Laurent2014-07-162-9/+35
| | | | | | | | Add check for android.permission.CAPTURE_AUDIO_HOTWORD to all sound trigger binder calls on server side. Bug: 12378680. Change-Id: Ic3fd70e947882cdf5f4d4a4fe609a2c5a8236fd5
* sound trigger: update HALEric Laurent2014-07-081-14/+11
| | | | | | | | | New start_recognition() prototype with recognition configuration structure. New recognition event format. Bug: 12378680. Change-Id: I57b430eb076e6baa58118a0ed45ce4afaacb998c
* sound trigger: stop recognition on sound model unloadEric Laurent2014-06-091-1/+5
| | | | | | | Force a stop recognition command to the HAL when unloading a sound model and recognition is still active. Change-Id: I7379a64a37bbc3eeea08e0e1d59e427de9544a10
* add sound trigger native serviceEric Laurent2014-06-043-0/+792
Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec