summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* Pull up comment to superclassGlenn Kasten2015-03-032-7/+6
| | | | Change-Id: I2e3632ee80744f2f8d932ac1a8597ff805883851
* Remove redundant this->Glenn Kasten2015-03-032-12/+12
| | | | Change-Id: Iaa11bcce94dd331425197aab49065939e226a6a2
* Add "m" prefix to fieldsGlenn Kasten2015-03-038-396/+403
| | | | Change-Id: Ifdb8fa886d1ff53cd7c8aff3c2f8286e6e18dec2
* Pull out commandToString() from FastMixerDumpState.cppGlenn Kasten2015-03-037-29/+50
| | | | | | to FastThreadState.cpp, FastMixerState.cpp, and FastCaptureState.cpp Change-Id: I872efb211e8a0335c42906367859d3674340e374
* Pull up increaseSamplingN and kSamplingNforLowRamDeviceGlenn Kasten2015-03-035-43/+33
| | | | | | | from FastMixerDumpState to FastThreadDumpState, and remove unused parameter from FastMixerDumpState constructor. Change-Id: Ib8937b106622a8da28a6ef6043de4528ae82cb05
* Remove redundant semicolon from namespace closingGlenn Kasten2015-03-0319-21/+19
| | | | Change-Id: I163f9d3d216c283ae1160ce4802e5247cf44fba7
* Merge "Fix compile error if FAST_THREAD_STATISTICS not defined"Glenn Kasten2015-03-031-0/+2
|\
| * Fix compile error if FAST_THREAD_STATISTICS not definedGlenn Kasten2015-03-021-0/+2
| | | | | | | | Change-Id: I3a4ac558e61ad956a7a6e325534e722066e49b2f
* | Merge "Rename FAST_MIXER_STATISTICS to FAST_THREAD_STATISTICS"Glenn Kasten2015-03-038-19/+18
|\ \ | |/
| * Rename FAST_MIXER_STATISTICS to FAST_THREAD_STATISTICSGlenn Kasten2015-03-028-19/+18
| | | | | | | | Change-Id: Idb5f5bf0c20bffff8536cf4a46f696e12e99e81b
* | Re-generate sinc tables with comment and indent by 4Glenn Kasten2015-03-022-258/+262
|/ | | | Change-Id: I349273969dfd7e9d7f896f8bd6d552bd6b56ba54
* Merge "Line length 100"Glenn Kasten2015-03-021-1/+2
|\
| * Line length 100Glenn Kasten2015-02-271-1/+2
| | | | | | | | Change-Id: Ic0ae92c300df221387bdd9669e4b7b995d83d28a
* | Merge "Extract resampler coefficient tables to separate files"Glenn Kasten2015-03-023-258/+260
|\ \ | |/
| * Extract resampler coefficient tables to separate filesGlenn Kasten2015-02-273-258/+260
| | | | | | | | Change-Id: I2e186bd3172cecc08c436e6bf7546b913249e6c8
* | Merge "Fix comments in resampler assembly"Andy Hung2015-02-281-40/+40
|\ \
| * | Fix comments in resampler assemblyAndy Hung2015-02-091-40/+40
| | | | | | | | | | | | Change-Id: Iedbd14a2c6c73dd9631813bd2414bf11cee78c32
* | | Merge "Add channel index mask to AudioMixer"Andy Hung2015-02-281-6/+44
|\ \ \
| * | | Add channel index mask to AudioMixerAndy Hung2015-02-271-6/+44
| | | | | | | | | | | | | | | | Change-Id: Ifbcb61cc24111b7efab5e8d119d44dab26ba1778
* | | | Merge "Change AudioTrack resampling buffers from 3 to 2"Andy Hung2015-02-281-19/+12
|\ \ \ \ | |_|_|/ |/| | |
| * | | Change AudioTrack resampling buffers from 3 to 2Andy Hung2015-02-061-19/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move computation of minimum AudioTrack buffer size to server for normal streaming PCM tracks. Use server-side computation to exactly determine requirements for the resampler to avoid triple buffering. This reduces latency for normal audio tracks that require resampling, and makes things consistent with the minimum buffer size. Change-Id: I2f2ca0e599ee20e16559bc5c5dab61ed100da16c
* | | | Merge "Warmup cycles must be in range and consecutive"Glenn Kasten2015-02-274-10/+28
|\ \ \ \
| * | | | Warmup cycles must be in range and consecutiveGlenn Kasten2015-02-194-10/+28
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie8a40ec3547bdd62a1e2e05b11fb107c25841784
* | | | | Merge "Do not pre-fill OutputTrack buffer for duplicating thread"Andy Hung2015-02-261-22/+1
|\ \ \ \ \
| * | | | | 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