summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* audio policy: session routes continued.Eric Laurent2015-04-308-55/+196
| | | | | | | | | | | - 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
* Merge "DO NOT MERGE: The preview frame data is broken when sending via ↵Eino-Ville Talvala2015-04-281-1/+1
|\ | | | | | | Binder" into mnc-dev
| * DO NOT MERGE: The preview frame data is broken when sending via Binderdaisuke jinno2015-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | [Cause] CallbackProcessor uses always same buffer to send preview data. A buffer is written before it is read by user process. [Solution] Increment buffer index correctly. Change-Id: I87a7e3dc6546448a419c96aa58ace3b7d086bf70
* | Explicit routing in AudioRecordPaul McLean2015-04-286-55/+139
|/ | | | Change-Id: I9cc5d54883a3e5c75d553fabb619fc8e49f4f9e5
* Revert "Add a configurable version of the policy engine based on PFW"Eric Laurent2015-04-2564-9242/+2
| | | | | | This reverts commit 65c3781db3443531deacecfbda5c7e7e82868a34. Change-Id: Ib61cd70f97c4c4f4b503fb845643627d6896f4f9
* Add a configurable version of the policy engine based on PFWFrançois Gaffie2015-04-2464-2/+9242
| | | | | | | | | | | | | | This patch adds a configurable version of the policy engine based on the parameter framework. This configurable engine shall be activated with a flag USE_CONFIGURABLE_AUDIO_POLICY within BoardConfig.mk This patch provides the generic configuration as an example. This configuration provides the same user experience as the default policy engine. Change-Id: Ic8217333ae370b89bfdd2ad11320c5f14ea4da34 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
* Merge "mediaresourcemanager: add dumpsys support."Ronghua Wu2015-04-243-0/+51
|\
| * mediaresourcemanager: add dumpsys support.Ronghua Wu2015-04-233-0/+51
| | | | | | | | | | Bug: 20233206 Change-Id: Ic253985e408b05b488e87cd5c50c0d619ac568ef
* | Merge "AudioPolicyManager: notification of dynamic policy mix activity (input)"Jean-Michel Trivi2015-04-241-0/+13
|\ \
| * | AudioPolicyManager: notification of dynamic policy mix activity (input)Jean-Michel Trivi2015-04-211-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use ref counting on start/stop inputs to notify audio policy client of mix activity changes. Bug 20226914 Change-Id: Ic4f9c91301d0bcbc0ff749acebdc3b2300309c38
* | | Merge "RadioService: fix error handling in attach()."Eric Laurent2015-04-241-4/+3
|\ \ \
| * | | RadioService: fix error handling in attach().Eric Laurent2015-04-231-4/+3
| | |/ | |/| | | | | | | | | | | | | Fix typo causing tuner open error to be ignored. Change-Id: I10735f0cf6ae64ff9c4efa2eb4b20d94d3597ae5
* | | Fix format sorting order in AudioPortAndy Hung2015-04-232-12/+22
|/ / | | | | | | | | | | | | Otherwise AUDIO_FORMAT_DEFAULT (used for dynamic formats) is no longer the first entry. Change-Id: I23869a9ca2ed138759d722e7c9838497f640921a
* | Add floating and multichannel record to AudioFlingerAndy Hung2015-04-224-80/+162
| | | | | | | | Change-Id: Ia388fb012a0b6d81613ef87142a97d76836338f9
* | Add channel index record to AudioPolicyManagerAndy Hung2015-04-222-12/+87
| | | | | | | | Change-Id: Ic534bee084108a68c7818600df6e1c9dc9258a0d
* | Merge "Make record buffer in RecordThread variable format"Andy Hung2015-04-222-9/+9
|\ \
| * | Make record buffer in RecordThread variable formatAndy Hung2015-04-212-9/+9
| | | | | | | | | | | | Change-Id: Id4bb9b973eeea16946fba3bc084c7ac270d9fa33
* | | Merge "Fix single channel playback that does not use AUDIO_CHANNEL_OUT_MONO"Andy Hung2015-04-221-2/+3
|\ \ \ | |/ /
| * | Fix single channel playback that does not use AUDIO_CHANNEL_OUT_MONOAndy Hung2015-04-211-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | Mono channel playback without resampling and not using AUDIO_CHANNEL_OUT_MONO can show low frequency garbling. Bug: 20463456 Change-Id: I0c1bbf957ea439bb8d8da57b9e78938e1acb4793
* | | Merge "Use AudioPlaybackRate to hold TimestretchBufferProvider parameters"Ricardo Garcia2015-04-226-80/+118
|\ \ \
| * | | Use AudioPlaybackRate to hold TimestretchBufferProvider parametersRicardo Garcia2015-04-226-80/+118
| |/ / | | | | | | | | | | | | | | | | | | | | | Use this struct to handle the parameters for TimestretchBufferProvider all across the system. Add stretch mode and fallback mode to TimestretchBuffer Provider. Change-Id: I19099924a7003c62e48bb6ead56c785cb129fba2
* | | audio policy: fix AudioTrack output device selectionEric Laurent2015-04-223-11/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have AudioTrack::setOutputDevice() set CBLK_INVALID flag instead of calling restoreTrack_l(). This allows restoreTrack_l() to be called in a safe context. Allow device change while the AudioTrack is active by forcing a new device selection in startOutput() if the output route for this session was changed. Remove some warnings. Change-Id: I2d921a63c9bfa0e122233645e2d6d39f95f5f17d
* | | 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
* | Merge "CameraService: Add support for module init, some logging updates"Eino-Ville Talvala2015-04-164-72/+120
|\ \
| * | CameraService: Add support for module init, some logging updatesEino-Ville Talvala2015-04-154-72/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Add support for camera HAL module init() method on v2.4 - Add logging for service errors such as failure to init - Minor cleanup to dumping of event log Bug: 20016050 Change-Id: I94e18b52c186f16fb096457015f7ae761e867fd8
* | | Merge "camera2: remove unnecessary flashlight error messages"Chien-Yu Chen2015-04-161-15/+18
|\ \ \
| * | | camera2: remove unnecessary flashlight error messagesChien-Yu Chen2015-04-151-15/+18
| | |/ | |/| | | | | | | | | | Bug: 20069129 Change-Id: I0e721bfad1f0218744d3554397e3ec9b8bc07a19
* | | Merge "Camera3: allow reconfiguring the input stream"Chien-Yu Chen2015-04-151-5/+1
|\ \ \
| * | | Camera3: allow reconfiguring the input streamChien-Yu Chen2015-04-151-5/+1
| | | | | | | | | | | | | | | | Change-Id: Ia9d0db1f3378264fc9173bfc8706c8f955b79182
* | | | 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