summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/ServiceUtilities.cpp
Commit message (Collapse)AuthorAgeFilesLines
* audioflinger: add HOTWORD audio source.Eric Laurent2013-09-101-0/+7
| | | | | | | | | | HOTWORD is a special capture audio source that uses the same audio tuning as VOICE_RECOGNITION but allows an active capture to be preempted. Bug: 10640877. Change-Id: Iea09a11cbcdbacc8d434e5230e7559dcd1b44ac0
* Enforce permission for recording from remote submix.Jeff Brown2013-08-161-0/+9
| | | | | Bug: 10265163 Change-Id: I2395036bac6e10baeaf6ea4bc3093bd9dd98742d
* Use correct pid when running under test harnessGlenn Kasten2013-04-181-2/+3
| | | | | | | | This is a partial fix which addresses one of the root causes of this bug, but only when running under test harness. It has no effect otherwise. Bug: 8598539 Change-Id: I87444daef1d76b17544f331e651ba1c87893c381
* Factor out and speed up permission-checking codeGlenn Kasten2012-02-131-0/+55
Use the caching permission check for dump to save IPC. Cache getpid() to save kernel call for other permission checks. The C runtime library getpid() can't cache due to a fork race condition, but we know that mediaserver doesn't fork. Don't construct String16 on the stack. Change-Id: I6be6161dae5155d39ba6ed6228e7683e67be34ed