summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
* audioflinger: refresh fast track underrun state upon startHaynes Mathew George2015-03-161-2/+6
| | | | | | | | | | | | | | | False underrun is detected when starting recycled fast tracks, which leads to continuous fatal assertion failures and even AP reboot. Track's last mObservedUnderruns isn't updated one at previous stop() call. Hence, when we start the same track again, we should synchronize it to the latest state instead of relying on stale one. authored-by: Weiyin Jiang<wjiang@codeaurora.org> CRs-Fixed: 803389 Bug: 19635137 Signed-off-by: Andy Hung <hunga@google.com> Change-Id: Ia003a49c6896dba965798c062c98b8c367ef8369
* Merge "Improve resampler speed for floating point and arm64"Andy Hung2015-03-046-6/+626
|\
| * Improve resampler speed for floating point and arm64Andy Hung2015-03-036-6/+626
| | | | | | | | | | | | | | | | Add floating point intrinsics for arm32 and arm64 devices. Add integer intrinsics for arm64 devices. Bug: 17366024 Change-Id: Id4240f549033deb262815c7145d69820e5fd7b92
* | Merge "audiopolicy: Do not route VoIP call to HDMI"Eric Laurent2015-03-041-1/+1
|\ \
| * | audiopolicy: Do not route VoIP call to HDMIEric Laurent2015-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getDeviceForStrategy is returning AUDIO_DEVICE_OUT_AUX_DIGITAL even when setForceUse is called with FORCE_NONE(earpiece) during VOIP call. Actual Intention is to route audio for phone strategy to AUX device even after setForceUse is called with FORCE_NONE when not in voice call. It is supposed to exclude VOIP call too. Bug: 19522164. Change-Id: I88d515c351f066305f9eed240b1fe5f60ef34f85
* | | Merge "Remove PCM16 assumption from FastCapture"Glenn Kasten2015-03-042-9/+6
|\ \ \
| * | | Remove PCM16 assumption from FastCaptureGlenn Kasten2015-03-032-9/+6
| | | | | | | | | | | | | | | | | | | | Bug: 19586911 Change-Id: I74d4ddc09a9eb9c651f874482639d39a56f8ca1f
* | | | Merge "Pull up comment to superclass"Glenn Kasten2015-03-042-7/+6
|\ \ \ \ | |/ / /
| * | | Pull up comment to superclassGlenn Kasten2015-03-032-7/+6
| | | | | | | | | | | | | | | | Change-Id: I2e3632ee80744f2f8d932ac1a8597ff805883851
* | | | Merge "Remove redundant this->"Glenn Kasten2015-03-042-12/+12
|\ \ \ \ | |/ / /
| * | | Remove redundant this->Glenn Kasten2015-03-032-12/+12
| | | | | | | | | | | | | | | | Change-Id: Iaa11bcce94dd331425197aab49065939e226a6a2
* | | | Merge "Add "m" prefix to fields"Glenn Kasten2015-03-048-396/+403
|\ \ \ \ | |/ / /
| * | | Add "m" prefix to fieldsGlenn Kasten2015-03-038-396/+403
| | | | | | | | | | | | | | | | Change-Id: Ifdb8fa886d1ff53cd7c8aff3c2f8286e6e18dec2
* | | | Merge "camera: implement flashlight for HAL v1 devices"Chien-Yu Chen2015-03-039-23/+322
|\ \ \ \
| * | | | camera: implement flashlight for HAL v1 devicesChien-Yu Chen2015-03-039-23/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement flashlight for HAL v1 devices and remove CameraHardwareInterface's dependency on CameraService to avoid circular dependency. Bug: 2682206 Change-Id: Id5bbccef085b607a6189763fd7fbe2e3f26868c8
* | | | | Merge "camera: fix flashlight implementation for HAL v2"Chien-Yu Chen2015-03-034-201/+423
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | camera: fix flashlight implementation for HAL v2Chien-Yu Chen2015-03-034-201/+423
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update torch availability when the camera device availability changes. For device HAL v2 and v3 implementation, notify torch unavailable for all camera devices with a flash unit when a camera device is opened. Notify torch available for all camera devices with flash unit when all camera devices are closed. Don't invoke torch status callback in camera service. Invoke torch status callback in HAL or FlashControlBase implementations to avoid race condition. Clean up previous CL. Bug: 2682206 Change-Id: I24f5478f467b2c680565fe98f112eef33e2547a1
* | | | 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
|\ \ \ \ \ \ | |/ / / / /