summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Do not pre-fill OutputTrack buffer for duplicating threadAndy Hung2015-01-221-22/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not necessary to start the downstream MixerThread early, rather allow stop() to flush the remaining frames. Change-Id: Ibcf8e7f5eda09d0f915d50697ff0c24c32fd11c4
* | | | | | Merge "Remove unused stride-by-8 resampling code"Andy Hung2015-02-261-511/+0
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | / | | |_|_|/ | |/| | |
| * | | | Remove unused stride-by-8 resampling codeAndy Hung2015-02-091-511/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Id8b0343efd4c6fb9668524fb5fe231b05c7cf31f
* | | | | Merge "CameraService: fix invalid access of camera metadata"Yin-Chia Yeh2015-02-201-8/+7
|\ \ \ \ \
| * | | | | CameraService: fix invalid access of camera metadataYin-Chia Yeh2015-02-181-8/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | static_camera_characteristics is not defined in API1. Change-Id: I422953081b0a5581e12fc4b16052b67ca8062186
* | | | | | Merge "Camera: Remove RAW_SENSOR in favor of RAW16"Eino-Ville Talvala2015-02-202-4/+4
|\ \ \ \ \ \
| * | | | | | Camera: Remove RAW_SENSOR in favor of RAW16Eino-Ville Talvala2015-02-192-4/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | Change-Id: I69ca24c69f58be958efdef300b127401d2b2e880
* | | | | | Merge "Fix for getMicMute in AudioFlinger"Ricardo Garcia2015-02-201-4/+10
|\ \ \ \ \ \
| * | | | | | Fix for getMicMute in AudioFlingerRicardo Garcia2015-02-191-4/+10
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previous logic will only check for mic state of Primary Hardware Device. Current logic checks state of all devices with valid microphone input. This is needed for audio_output feature support. bug: 19439530 Change-Id: Ibbb92412ac70cf2915bbe8660c04fbaf0ab74171
* | | | | | Merge "Include what you use"Glenn Kasten2015-02-204-4/+4
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Include what you useGlenn Kasten2015-02-194-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1967861f383bb5ed6743fb69e3bd439907ed7033
* | | | | | Merge "Pull out FastCaptureDumpState and FastMixerDumpState"Glenn Kasten2015-02-208-241/+327
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Pull out FastCaptureDumpState and FastMixerDumpStateGlenn Kasten2015-02-198-241/+327
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I8e44dbfe02338622eb69193b234743b50f0dd79f
* | | | | | Merge "camera: implement flashlight control"Chien-Yu Chen2015-02-195-1/+879
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | camera: implement flashlight controlChien-Yu Chen2015-02-125-1/+879
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement flashlight API for module v2.4 by calling module APIs and by for hal v2 and v3 by using CameraDeviceBase. Bug: 2682206 Change-Id: Ib8b77f6fd462489d672f27e14fe37801d35b7544
* | | | | Merge "Pull out FastThreadDumpState"Glenn Kasten2015-02-198-55/+110
|\ \ \ \ \
| * | | | | Pull out FastThreadDumpStateGlenn Kasten2015-02-178-55/+110
| |/ / / / | | | | | | | | | | | | | | | Change-Id: Ic99890bbba4f856b65535f3df0f928de9e3e9748
* | | | | Merge "Refactor AudioPolicyManager"Jean-Michel Trivi2015-02-1930-2811/+3232
|\ \ \ \ \
| * | | | | Refactor AudioPolicyManagerJean-Michel Trivi2015-02-1830-2811/+3232
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | Look up user-specific device policy for disabling cameraAmith Yamasani2015-02-131-1/+5
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Camera can be disabled on a per-user basis by device admins. Changed the system property format to be per-user so that the policy can be applied based on calling user. TODO: Ideally this policy information should be pulled from the DevicePolicyManager rather than relying on system properties. Property changes will not be applied immediately either, if there's no listener. Bug: 19345698 Change-Id: Ia00034726260bc9ff28ac592f20a27b5c9a77d58
* | | | Passing device name up through getDeviceDescriptor() method (when creating)Paul McLean2015-02-062-7/+8
|/ / / | | | | | | | | | Change-Id: Ibd85e37914333478fd038c3d2f52e214016c16b1
* | | Add additional info to AudioPort for enum/selection API.Paul McLean2015-02-056-54/+85
| |/ |/| | | | | | | | | | | | | | | | | Add "device name" member to AudioPort. Moved unique device ID from DevicePort to AudioPort. Straighten out confusion between "name" and "address" Created string constants for Intent "extra" data keys. Combine card/address data into "address" at sender.Add additional info to AudioPort for enum/selection API. Change-Id: I1be308e12b09cd0ead9a3e9fbc9c385462299fb5
* | am 7bc90358: am 5d46bd54: am 3ae5f313: audiopolicy: send device connect ↵Eric Laurent2015-02-041-2/+15
|\ \ | | | | | | | | | | | | | | | | | | notification to HALs * commit '7bc903581f879c86f3881a2f7563bd28c1ac29b7': audiopolicy: send device connect notification to HALs
| * \ am 5d46bd54: am 3ae5f313: audiopolicy: send device connect notification to HALsEric Laurent2015-02-041-2/+15
| |\ \ | | | | | | | | | | | | | | | | * commit '5d46bd54a279f24d0476b83947ce29e786b5c72c': audiopolicy: send device connect notification to HALs
| | * | audiopolicy: send device connect notification to HALsEric Laurent2015-02-041-2/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Device disconnect notifications are sent from audiopolicy to the HALs. Send connect notifications as well. Bug: 19249796. Bug: 17785277. Change-Id: Ia823ed154d6a0c7ceb84b0a94f0c3b78392faaf6
* | | | CameraService: intercept Camera moduleYin-Chia Yeh2015-02-0321-61/+259
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wrap camera module returned from HAL so get_camera_info returns static_camera_characteristics processed by framework, which generates keys added after HAL3.2 is released. Change-Id: Ief423a1571cf06c7ef80b98b403a33969baf95f6
* | | | am e33dee9e: am 14a849c2: am 1bf8a210: Merge "audio policy: add fallback for ↵Eric Laurent2015-01-301-0/+4
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | output selection" into lmp-mr1-dev * commit 'e33dee9e041c6ad8d822f717ef141d657da96c32': audio policy: add fallback for output selection
| * | | am 14a849c2: am 1bf8a210: Merge "audio policy: add fallback for output ↵Eric Laurent2015-01-301-0/+4
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | selection" into lmp-mr1-dev * commit '14a849c267bdcf564c30f9f2ebf0d619b36f500a': audio policy: add fallback for output selection
| | * | Merge "audio policy: add fallback for output selection" into lmp-mr1-devEric Laurent2015-01-301-0/+4
| | |\ \
| | | * | audio policy: add fallback for output selectionEric Laurent2015-01-301-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When getOutputForDevice() finds a matching direct output profile but fails to open it, try to fallback to downmix on mixer output when format is PCM and sampling rate allows it. Bug: 19197137. Change-Id: I197b9b202504265b6928e69740875cb7aba5c2c5
* | | | | am cba7fe5f: am 6f4428de: am d99c6855: Merge "audio policy: match attached ↵Eric Laurent2015-01-302-28/+46
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | device to declared devices" into lmp-mr1-dev * commit 'cba7fe5f1cb13108367d6de288428801b2d89a8e': audio policy: match attached device to declared devices
| * | | | am 6f4428de: am d99c6855: Merge "audio policy: match attached device to ↵Eric Laurent2015-01-302-28/+46
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | declared devices" into lmp-mr1-dev * commit '6f4428de2b4ab10393bbac2441586ac514c8cf53': audio policy: match attached device to declared devices
| | * | | Merge "audio policy: match attached device to declared devices" into lmp-mr1-devEric Laurent2015-01-302-28/+46
| | |\ \ \
| | | * | | audio policy: match attached device to declared devicesEric Laurent2015-01-292-28/+46
| | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure that when a new audio device is connected, and a specific profile for this device is listed in audio_policy.conf, this particular profile is used instead of a default generic profile. Bug: 19188567. Change-Id: I5f576fcd697adc041b2cfbd2bac7a51bcc2143b9
* | | | | am 88873ae1: am f1121d96: am 0d84ba3f: Merge "Fix FLAG_BEACON regression" ↵Jean-Michel Trivi2015-01-291-0/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | into lmp-mr1-dev * commit '88873ae1b01208a9e70b80860274f429d08a6c64': Fix FLAG_BEACON regression
| * | | | am f1121d96: am 0d84ba3f: Merge "Fix FLAG_BEACON regression" into lmp-mr1-devJean-Michel Trivi2015-01-291-0/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'f1121d963b51c798ab28c85eeff1eedc9bb2c186': Fix FLAG_BEACON regression
| | * | | Merge "Fix FLAG_BEACON regression" into lmp-mr1-devJean-Michel Trivi2015-01-291-0/+3
| | |\ \ \ | | | |/ / | | |/| |
| | | * | Fix FLAG_BEACON regressionJean-Michel Trivi2015-01-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix regression where FLAG_BEACON is not honored anymore in terms of routing and muting behavior When converting from AudioAttributes to stream types, also look at FLAG_BEACON for mapping to STREAM_TTS Bug 19185342 Change-Id: I5871c1b94480ae3da544aef99ea9ab4dff97443d
* | | | | am 6dafb81d: am 8c403b22: am c84bc78d: Merge "Audio policy: fix device gain ↵Eric Laurent2015-01-292-5/+15
|\ \ \ \ \ | |/ / / / | | | | / | |_|_|/ |/| | | | | | | | | | | initialization" into lmp-mr1-dev * commit '6dafb81dc699672f218915fa2895f8ee012203a9': Audio policy: fix device gain initialization
| * | | am 8c403b22: am c84bc78d: Merge "Audio policy: fix device gain ↵Eric Laurent2015-01-292-5/+15
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | initialization" into lmp-mr1-dev * commit '8c403b2265fdef64ac4ba903e6261edd22d81909': Audio policy: fix device gain initialization
| | * | Audio policy: fix device gain initializationEric Laurent2015-01-272-5/+15
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix initilization of default gain configuration for audio devices loaded from audio_policy.conf. Initialization cannot be done in constructor as the possible gain configurations are not loaded yet. Bug: 19120566. Change-Id: I78f057ecfa1a121365ac3d8f317912a6f1647627
* | | am 656d738c: am a789e519: am 0c4e56d0: Camera: make sure jpeg buffer size ↵Yin-Chia Yeh2015-01-211-4/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | isn\'t too small * commit '656d738cab67349f4b5a45473a0c48cf89c68fd0': Camera: make sure jpeg buffer size isn't too small
| * | am a789e519: am 0c4e56d0: Camera: make sure jpeg buffer size isn\'t too smallYin-Chia Yeh2015-01-201-4/+3
| |\ \ | | |/ | | | | | | | | | * commit 'a789e51942c7572e0c9f54326d6d9d0ff65d6941': Camera: make sure jpeg buffer size isn't too small
| | * Camera: make sure jpeg buffer size isn't too smallYin-Chia Yeh2015-01-201-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | Assuming the jpeg header can take up to 256KB, make sure we always allocate enough size for the image data. Bug: 18962703 Change-Id: I08eb3d198d12f71f3ab7266324e80fe7410bdc89
* | | am 1d6aedb3: am bf2751a5: am 7ccc6b9b: Merge "fix audio patch leak." into ↵Eric Laurent2015-01-201-2/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | lmp-mr1-dev * commit '1d6aedb3581f1ef2ce9862b1b1d03c9fd3cfff83': fix audio patch leak.
| * | am bf2751a5: am 7ccc6b9b: Merge "fix audio patch leak." into lmp-mr1-devEric Laurent2015-01-201-2/+4
| |\ \ | | |/ | | | | | | | | | * commit 'bf2751a5ea6a306c2ba51a0658ec10aa889a81fa': fix audio patch leak.
| | * Merge "fix audio patch leak." into lmp-mr1-devEric Laurent2015-01-201-2/+4
| | |\
| | | * fix audio patch leak.Eric Laurent2015-01-151-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Always wait for status when executing a create audio patch command in audio policy service command thread. The returned patch handle must be passed back to audio policy manager so that the patch can be modified later. Failing to do so causes a leak of patch descriptors in audio flinger. Bug: 19032387. Change-Id: I5462d1437fac244d9c5e38f2c7b8e1a4c01d2b75
* | | | Merge "Update duplicating thread to use float audio"Andy Hung2015-01-171-0/+22
|\ \ \ \
| * | | | Update duplicating thread to use float audioAndy Hung2015-01-151-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously device format was used, typically pcm 16 bit. Change-Id: I70a8b594820e948a2caa299194807ec17348b0e9