summaryrefslogtreecommitdiffstats
path: root/services/audiopolicy/service
Commit message (Collapse)AuthorAgeFilesLines
* audio policy: session routes continued.Eric Laurent2015-04-304-4/+29
| | | | | | | | | | | - Clear session routes when client process dies. - Enforce the route only when the requesting session is active. - Fix requested route not working if an output mix change is required (e.g forcing to SPEAKER when the default route is USB or A2DP). - Make sure all sessions sharing the strategy with a rerouted session have the same route (needed for volume control consistency) Change-Id: I0ab347a8fb97e73e2c5965374544c5f4fe509ef1
* Explicit routing in AudioRecordPaul McLean2015-04-283-8/+11
| | | | Change-Id: I9cc5d54883a3e5c75d553fabb619fc8e49f4f9e5
* audio policy: remove permission check for ports and patches gettersEric Laurent2015-04-201-9/+0
| | | | | | | Remove check for MODIFY_AUDIO_ROUTING permission in audio policy methods just getting devices or patches state. Change-Id: Id3bafc5ad0d0bd96210822243139898e314327d8
* audio policy: add binder calls for audio source controlEric Laurent2015-04-153-0/+39
| | | | | | | Add binder methods to IAudioPolicyService to control activity of external audio sources (e.g FM tuner). Change-Id: I2008308a6a996baeae502b68a790d87281efe2ff
* Merge "AudioPolicyManager: notification of dynamic policy mix activity"Jean-Michel Trivi2015-04-153-2/+76
|\
| * AudioPolicyManager: notification of dynamic policy mix activityJean-Michel Trivi2015-04-143-2/+76
| | | | | | | | | | | | | | | | | | | | Implement non-stream type specific ref counting in output descriptors to keep track of mix activity. Notify audio policy client of mix activity changes. Bug 20226914 Change-Id: Iec939cb640c58056f88947b611d23b4bb6d8a11b
* | audio polciy: remove FM audio capture permission.Eric Laurent2015-04-132-4/+2
|/ | | | Change-Id: I2607d89b0bd87cdd2f4084dfdb55135509a824d5
* Adding explicit routing API to AudioTrackPaul McLean2015-04-083-1/+4
| | | | Change-Id: I40c048c7644c46f4e4f7103875206c0785c4b1dc
* Make sure waitRelative is called when waitTime != INT64_MAXWally Yau2015-03-241-1/+1
| | | | | | | | b/19870971 (cherry picked from commit c600af1459c455583e071e653f0d998032aa423e) Change-Id: Ic6bb54067d76c96ff6fc45431dc2d72db9f0a3a8
* Refactor AudioPolicyManagerJean-Michel Trivi2015-02-188-0/+4269
AudioPolicyManager implementation is now split into the following files: files managerdefault/Gains.* class AudioGain class VolumeCurvePoint class StreamDescriptor files managerdefault/Devices.* class DeviceDescriptor class DeviceVector files managerdefault/Ports.* class AudioPort class AudioPortConfig class AudioPatch files managerdefault/IOProfile.* class IOProfile files managerdefault/HwModule.* class HwModule files managerdefault/AudioInputDescriptor.* class AudioInputDescriptor files managerdefault/AudioOutputDescriptor.* class AudioOutputDescriptor All files for libaudiopolicyservice are moved under service/ All files for libaudiopolicymanager are moved under manager/ Change-Id: I43758be1894e37d34db194b51a19ae24461e066e