summaryrefslogtreecommitdiffstats
path: root/services/audioflinger/ServiceUtilities.h
Commit message (Collapse)AuthorAgeFilesLines
* Enforce permission for accessing fm tunerScott Mertz2016-07-081-0/+1
| | | | Change-Id: I13f3ba8fc9caaeee21597a2405a8c3629e985502
* Respect the record audio app op - mediaSvet Ganov2015-04-291-2/+1
| | | | Change-Id: I3a97977b6e9a09355e2008f780d22d480fb7308b
* audio polciy: remove FM audio capture permission.Eric Laurent2015-04-131-1/+0
| | | | Change-Id: I2607d89b0bd87cdd2f4084dfdb55135509a824d5
* fix FM no sound issueHochi Huang2014-10-141-0/+1
| | | | | | | | Review: https://partner-android-review.git.corp.google.com/#/c/184276 Signed-off-by: Carson Liao <carson.liao@mediatek.com> Change-Id: I0847c8a6e6d054a9258b52402c914105d902c573
* audio policy: add permission for routing APIs.Eric Laurent2014-06-021-0/+1
| | | | | | | | | Add check for signature or system permission "android.permission.MODIFY_AUDIO_ROUTING" for routing APIs. Bug: 14815883. Change-Id: Iefa0b9d90127a53e03a2e6d50dc93d8f4ae63e2f
* audioflinger: add HOTWORD audio source.Eric Laurent2013-09-101-0/+1
| | | | | | | | | | 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/+1
| | | | | Bug: 10265163 Change-Id: I2395036bac6e10baeaf6ea4bc3093bd9dd98742d
* Use correct pid when running under test harnessGlenn Kasten2013-04-181-1/+1
| | | | | | | | 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/+27
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