summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* audio policy: add binder calls for audio source controlEric Laurent2015-04-156-0/+61
| | | | | | | 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-156-3/+101
|\
| * AudioPolicyManager: notification of dynamic policy mix activityJean-Michel Trivi2015-04-146-3/+101
| | | | | | | | | | | | | | | | | | | | 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
* | Merge "Camera: allow non-supported template"Yin-Chia Yeh2015-04-151-3/+3
|\ \
| * | Camera: allow non-supported templateYin-Chia Yeh2015-04-141-3/+3
| | | | | | | | | | | | | | | Bug: 19395059 Change-Id: I42bbd99fef6055173062266c1a490311105c6814
* | | Merge "Camera: fix invalid access of static_camera_characteristics"Yin-Chia Yeh2015-04-151-0/+6
|\ \ \
| * | | Camera: fix invalid access of static_camera_characteristicsYin-Chia Yeh2015-04-151-0/+6
| |/ / | | | | | | | | | | | | Bug: 20260866 Change-Id: Ib2b9ef807d66989515ac1a2e9f623fdd226a665a
* | | Merge "camera: Actually pass device errors to client for Camera2Device."Ruben Brunk2015-04-152-0/+36
|\ \ \
| * | | camera: Actually pass device errors to client for Camera2Device.Ruben Brunk2015-04-152-0/+36
| | | | | | | | | | | | | | | | | | | | Bug: 19186859 Change-Id: Ib58588dfd99956b719c34e62c596ea604d97edcb
* | | | Merge "Camera2: Add prepare for output streams"Eino-Ville Talvala2015-04-1520-37/+641
|\ \ \ \
| * | | | Camera2: Add prepare for output streamsEino-Ville Talvala2015-04-1520-37/+641
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The prepare call asynchronously pre-allocates buffers for a given output stream, and then fires the onPrepared callback. Not implemented for Camera2Device or used in Camera2Client. Change-Id: I1cccdfff846dd6985133c591dbdceed823929ade
* | | | | Merge "media: use ResourceManagerService with MediaCodec"Ronghua Wu2015-04-152-6/+106
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | media: use ResourceManagerService with MediaCodecRonghua Wu2015-04-142-6/+106
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 19620911 Change-Id: I235a97e5195b28645b7834dda0dd77307d93f4a8
* | | | | Merge "camera2: add reprocess support"Chien-Yu Chen2015-04-1413-37/+296
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | camera2: add reprocess supportChien-Yu Chen2015-04-1313-37/+296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support to create input stream, submit reprocess capture requests, and receive reprocess capture results. Change-Id: Iee2d4313f3d52616a484eaea7a28f5ef9d8a674b
* | | | | Merge "camera: Fix client eviction/disconnect race."Ruben Brunk2015-04-143-4/+75
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | camera: Fix client eviction/disconnect race.Ruben Brunk2015-04-133-4/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add blocking wait in camera service connect call to prevent race when client has called disconnect while eviction of that client is taking place, resulting in early call of device initialization before all HAL resources are available. Bug: 20038135 Change-Id: I7afc5bfa23612ba7f83293fa542ff983a5991230
* | | | | Merge "TimestretchBufferProvider integration with Sonic Library"Ricardo Garcia2015-04-144-14/+36
|\ \ \ \ \
| * | | | | TimestretchBufferProvider integration with Sonic LibraryRicardo Garcia2015-04-134-14/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using Sonic as backbone for time stretching algorithm. Adding libsonic to needed makefiles. bug: 19196501 Change-Id: I1ea9221d2f56e4e79fba8746ce0ad350b5079e82
* | | | | | Merge "audio polciy: remove FM audio capture permission."Eric Laurent2015-04-134-12/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | audio polciy: remove FM audio capture permission.Eric Laurent2015-04-134-12/+2
| | |_|_|/ | |/| | | | | | | | | | | | | Change-Id: I2607d89b0bd87cdd2f4084dfdb55135509a824d5
* | | | | Merge "camera: Update camera service logging and validation."Ruben Brunk2015-04-102-45/+138
|\ \ \ \ \ | | |/ / / | |/| | / | |_|_|/ |/| | |
| * | | camera: Update camera service logging and validation.Ruben Brunk2015-04-092-45/+138
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Expand the logging included by the camera service. - Update user validation checks in connect calls so that these can be correctly called from the camera service. Bug: 20063426 Change-Id: I0a8cbe1ea2c0a652298e6b70c89705da174a50e1
* | | | Merge "AudioFlinger: more DTS passthrough support"Phil Burk2015-04-103-19/+29
|\ \ \ \
| * | | | AudioFlinger: more DTS passthrough supportPhil Burk2015-04-093-19/+29
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Pass format for AC3 or DTS to SPDIF encoder. Bug: 18292317 Change-Id: I6d80eb548cb431bac3390ebb3235146171344291 Signed-off-by: Phil Burk <philburk@google.com>
* | | | Add playback rate to AudioTrackAndy Hung2015-04-092-18/+36
| | | | | | | | | | | | | | | | | | | | Bug: 19196501 Change-Id: I6411e1d3ce652b711a71a6d9df020cb5f60d4714
* | | | Add playback rate to AudioMixerAndy Hung2015-04-094-1/+270
| | | | | | | | | | | | | | | | | | | | Bug: 19196501 Change-Id: I42d1f90e6297cf3f1304860d1691a5dfedd4c37d
* | | | Factor out buffer provider code from AudioMixerAndy Hung2015-04-086-434/+523
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In preparation for playback rate support and timestretching. Bug: 19196501 Change-Id: I435accb852d32110dd0b3a9917488522c567ba80
* | | | Enable 8 bit and float pcm record formats for AudioPolicyManagerAndy Hung2015-04-086-48/+130
|/ / / | | | | | | | | | | | | | | | Add capability for handling different record channel masks. Change-Id: I63f6b029aca5cefff7adf26198a3b594a7ea2d71
* | | Merge "Fix AudioPolicyManager dynamic policy initialization"Jean-Michel Trivi2015-04-093-31/+31
|\ \ \
| * | | Fix AudioPolicyManager dynamic policy initializationJean-Michel Trivi2015-04-083-31/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AudioPolicyManager::getInputForAttr() is initializing the AudioMix for the new AudioInputDescriptor. The audio policy manager refactoring introduced a regression where the association of an existing AudioMix (registered when the associated AudioPolicy was registered) with the input descriptor copied a value of local scope, instead of referencing the AudioMix in the list of mixes. Bug 20081375 Change-Id: Iddd57fed8525880afd1d4a5493f97130aabe4816
* | | | Merge "audio policy: volume in dBs"Eric Laurent2015-04-0910-40/+77
|\ \ \ \
| * | | | audio policy: volume in dBsEric Laurent2015-04-0810-40/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Volumes are now stored and exchanged in dBs to be consistent with the volume tables. They are converted if needed when applied to the target gain controller. Change-Id: I916cbb0bbe65c916444b8c65a2bdca9645c58399
* | | | | Merge "audio policy: volume control reorganization"Eric Laurent2015-04-099-376/+571
|\ \ \ \ \ | |/ / / /
| * | | | audio policy: volume control reorganizationEric Laurent2015-04-089-376/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Output volume and routing control by AudioOutputDescriptor is reorganized to prepare hardware source volume and routing control. AudioOutputDescriptor contains all volume, device and activity state common to software (audio flinger mixers) and hardware sources (tuners, A2DP, HDMI). A new class SwAudioOutputDescriptor is derived from AudioOutputDescriptor and is specific to software sources. Low level routing and volume control methods receive an AudioOutputDescriptor parameter instead of an IO handle. mPrimaryOutput is now an AudioOutputDescriptor. Change-Id: Ie90943ee3102cdb8adf89fdd2addd2c279b1e5bf
* | | | | Merge "Enable 8 bit and float pcm record formats for AudioFlinger"Andy Hung2015-04-092-14/+55
|\ \ \ \ \
| * | | | | Enable 8 bit and float pcm record formats for AudioFlingerAndy Hung2015-04-082-14/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update sampling rate handling as well. Bug: 19570772 Change-Id: I872248e64c0578b2e48869a68fee0d51bd0640c3
* | | | | | Merge "Improve ResamplerBufferProvider"Andy Hung2015-04-084-40/+88
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Improve ResamplerBufferProviderAndy Hung2015-04-084-40/+88
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I3cc3af221ad5797ff219d75227350733afa180db
* | | | | | Merge "Add RecordBufferConverter for RecordThread data processing"Andy Hung2015-04-084-136/+305
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Add RecordBufferConverter for RecordThread data processingAndy Hung2015-04-084-136/+305
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia3aab8590cd41e8a7cba0a7345d70d2866d92045
* | | | | | Merge "Return number of frames output from resample method"Andy Hung2015-04-089-41/+59
|\ \ \ \ \ \ | |/ / / / / | | / / / / | |/ / / / |/| | | |
| * | | | Return number of frames output from resample methodAndy Hung2015-04-089-41/+59
| | |_|/ | |/| | | | | | | | | | Change-Id: Ic297e2ed59839f1788c83e099ef1a9e4af29591f
* | | | audio flinger: improve device to device audio patchesEric Laurent2015-04-084-24/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow creation of audio patches between input and output devices managed by the same audio HW module. Change-Id: I4b83268a4d5c41f3d5905d7581202cf5193efd32
* | | | audio policy: fix unique audio port ID.Eric Laurent2015-04-0816-79/+180
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove mId member from AudioPort as it was shadowed by mId in DeviceDescriptor. Add getters for Id, and HW module name and version to device, output and input descriptors. Fix DeviceDescriptor name initialization. Change-Id: I4a69f385e40330954d9dad5f2926c521f60b2ec1
* | | Merge "Adding explicit routing API to AudioTrack"Paul McLean2015-04-0812-11/+185
|\ \ \ | |/ / |/| |
| * | Adding explicit routing API to AudioTrackPaul McLean2015-04-0812-11/+185
| | | | | | | | | | | | Change-Id: I40c048c7644c46f4e4f7103875206c0785c4b1dc
* | | Camera2Client: support HAL version 3.3Zhijun He2015-04-071-1/+2
| | | | | | | | | | | | Change-Id: Id018e3ce21b4344d09a877395eb355adba9e8fa2
* | | audiopolicy: add support for parsing AUDIO_FORMAT_DTSPhil Burk2015-04-061-0/+2
|/ / | | | | | | | | | | Bug: 18292317 Change-Id: Ic9a15fc09ce32021d12072fb71252d207deac30a Signed-off-by: Phil Burk <philburk@google.com>
* | AudioPolicy: remove extraneous parenthesesJean-Michel Trivi2015-04-031-1/+1
|/ | | | Change-Id: Ibcea37b90cc0aaacb3b6194745bf569edad8992a