summaryrefslogtreecommitdiffstats
path: root/services
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | 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
* | | | | | Merge "Allow duplicating thread to use native mixing audio format"Andy Hung2015-01-163-56/+49
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Allow duplicating thread to use native mixing audio formatAndy Hung2015-01-153-56/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update OutputTrack to take variable formats. Previously conversion to AUDIO_FORMAT_PCM_16_BIT was required. Change-Id: I4a96a60ddd8d8dfe651405a0bcd4f98c89bc1ade
* | | | | | am c09eb2df: am 65cb339d: am 21291a42: Merge "fix leak in audio policy ↵Eric Laurent2015-01-161-0/+4
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | effect config parser" into lmp-mr1-dev * commit 'c09eb2dfef090864e3ab827c12e724424fc8ca01': fix leak in audio policy effect config parser
| * | | | | am 65cb339d: am 21291a42: Merge "fix leak in audio policy effect config ↵Eric Laurent2015-01-151-0/+4
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | parser" into lmp-mr1-dev * commit '65cb339de0f628c82bdd5c68d868b6f3dc83cf04': fix leak in audio policy effect config parser
| | * | | | Merge "fix leak in audio policy effect config parser" into lmp-mr1-devEric Laurent2015-01-151-0/+4
| | |\ \ \ \
| | | * | | | fix leak in audio policy effect config parserEric Laurent2015-01-151-0/+4
| | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Free temporary effect descriptors created in loadAudioEffectConfig(). Bug 19021726. Change-Id: Icd44216e25df3fe683a01763d7e8a7b84f367a1a
* | | | | | Merge "Allow AUDIO_FORMAT_PCM_8_BIT AudioTrack buffers"Andy Hung2015-01-151-4/+10
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Allow AUDIO_FORMAT_PCM_8_BIT AudioTrack buffersAndy Hung2015-01-141-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously conversion to AUDIO_FORMAT_PCM_16_BIT was required. Client shared memory for static tracks and AudioFlinger track creation and buffer delivery now use native 8 bit PCM data. Change-Id: I485c07a4971fde9a25442bd43fed95019d39abcc
* | | | | | am c9123e9a: am eed5e4bd: am 5b578bec: Merge " [FM]There is no sound ↵Leo Wang2015-01-151-4/+4
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | output from BT earphone while BT earphone is connected" into lmp-mr1-dev * commit 'c9123e9aec7d84b51e5e3863953bcbd05e754513': [FM]There is no sound output from BT earphone while BT earphone is connected
| * | | | | am eed5e4bd: am 5b578bec: Merge " [FM]There is no sound output from BT ↵Leo Wang2015-01-151-4/+4
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | earphone while BT earphone is connected" into lmp-mr1-dev * commit 'eed5e4bd2b25da3e1965f4ab360f3cea1ccbcc2c': [FM]There is no sound output from BT earphone while BT earphone is connected
| | * | | | [FM]There is no sound output from BT earphone while BT earphone is connectedHochi Huang2015-01-131-4/+4
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 18847131 Review: https://partner-android-review.git.corp.google.com/#/c/193318 Signed-off-by: Hochi Huang <hochi.huang@mediatek.com> Change-Id: I79703ba4ceb67ca3b95fbc71444dd3b116ba4131
* | | | | Merge "Move roundup from frameworks/av to system/media"Glenn Kasten2015-01-121-0/+2
|\ \ \ \ \
| * | | | | Move roundup from frameworks/av to system/mediaGlenn Kasten2015-01-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I1083ab739e445e5bd3e3082fc1d3a20cc19601d5
* | | | | | am 27a78b56: am 78c02ddb: am cfa5bf04: Merge "make libserviceutility a ↵Chong Zhang2015-01-073-10/+14
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shared lib" into lmp-mr1-dev * commit '27a78b56e1cf9814971192883cb7d15c186465f7': make libserviceutility a shared lib audio policy: fix remote mic capture audio policy: suppport for dynamic source Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions Fix race condition in signaling completion for decode. AnotherPacketSource: need reset some members before returning from queueDiscontinuity(). Fix looping sound playback AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
| * | | | am 78c02ddb: am cfa5bf04: Merge "make libserviceutility a shared lib" into ↵Chong Zhang2015-01-073-10/+14
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit '78c02ddb6bf0d676160244a62c11dceb68301b73': make libserviceutility a shared lib audio policy: fix remote mic capture audio policy: suppport for dynamic source Fix overload of SoftVideoDecoderOMXComponent::updatePortDefinitions Fix race condition in signaling completion for decode. AnotherPacketSource: need reset some members before returning from queueDiscontinuity(). Fix looping sound playback AnotherPacketSource.cpp: Do not queue discontinity signal buffer resulted from seek.
| | * | | Merge "make libserviceutility a shared lib" into lmp-mr1-devChong Zhang2015-01-073-10/+14
| | |\ \ \
| | | * | | make libserviceutility a shared libChong Zhang2015-01-073-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that we have only one getpid_cached in mediaserver process bug: 18919657 Change-Id: Iff3cd932c9110e874b3885f79705f49bf3e3f1fc
* | | | | | am 69158e3e: am 6ab33981: am 610255e8: Merge "audioflinger: pause HW A/V ↵Eric Laurent2015-01-072-5/+13
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sync output when AudioTrack underruns" into lmp-mr1-dev * commit '69158e3e7b565a5ca131a2efaa9b76615ca80cbb': audioflinger: pause HW A/V sync output when AudioTrack underruns
| * | | | | am 6ab33981: am 610255e8: Merge "audioflinger: pause HW A/V sync output when ↵Eric Laurent2015-01-072-5/+13
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | AudioTrack underruns" into lmp-mr1-dev * commit '6ab33981d45cd69e683a143fec6530e66bd3e371': audioflinger: pause HW A/V sync output when AudioTrack underruns
| | * | | | Merge "audioflinger: pause HW A/V sync output when AudioTrack underruns" ↵Eric Laurent2015-01-072-5/+13
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | into lmp-mr1-dev
| | | * | | | audioflinger: pause HW A/V sync output when AudioTrack underrunsEric Laurent2014-12-192-5/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not standby, starve or feed 0s to the audio HAL on direct output using HW A/V sync mode. Bug: 17883772. Change-Id: I11e6c97ec24360d75f9b602814d40a54b60cb7a7
* | | | | | | am bb2e3e9d: am fb5d35c0: am 7ae3dfab: Merge "fix record from default input ↵Eric Laurent2015-01-072-13/+26
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | / / | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | source" into lmp-mr1-dev * commit 'bb2e3e9d05e3760cfcf3cc63c10e7e8336e63a06': fix record from default input source
| * | | | | am fb5d35c0: am 7ae3dfab: Merge "fix record from default input source" into ↵Eric Laurent2015-01-072-13/+26
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-dev * commit 'fb5d35c00d1c4d672d245b6820551808617eba46': fix record from default input source
| | * | | | Merge "fix record from default input source" into lmp-mr1-devEric Laurent2015-01-072-13/+26
| | |\ \ \ \
| | | * | | | fix record from default input sourceEric Laurent2015-01-062-13/+26
| | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit caf7f48a0e broke capture from default input source on some devices: the input source is now specified as part of the audio attributes and the default source was not remapped to mic source. Bug: 18736417. Change-Id: I3f5da33cdb56f959aaef68ed1952342babc63aa0
| | * | | | Merge "DO NOT MERGE - fix memory leak in PatchPanel" into lmp-mr1-devEric Laurent2015-01-061-0/+2
| | |\ \ \ \ | | | |/ / / | | |/| | |
| | | * | | DO NOT MERGE - fix memory leak in PatchPanelsoon1.choi2015-01-051-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the audio patch is created, audio patch with same handle is removed from vector for patches. At this time, Patch allocated in the heap is not freed. This causes memory leaks in the mediaserver. Bug: 18904322. Change-Id: Id0d28c36a7e7fbf473753bf4ead7518f28c1b998
* | | | | | am 4250b955: am 01310cd7: am 3190e67d: close remote submix\'s output when ↵keunyoung2015-01-052-23/+10
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | device is not available. * commit '4250b955f40ec459b5aeff3129a570fb182e8819': close remote submix's output when device is not available.
| * | | | | am 01310cd7: am 3190e67d: close remote submix\'s output when device is not ↵keunyoung2015-01-052-23/+10
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | available. * commit '01310cd7adad778f8a6d0e4bc73dae068638abf2': close remote submix's output when device is not available.
| | * | | | close remote submix's output when device is not available.keunyoung2015-01-052-23/+10
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - change output close logic to find the device from IOProfile rather than AudioPatch as AudioPatch handle can be cleared before disconnect. - Otherwise, remote submix can be stuck as output is never closed and does not work any more as subsequent open fails as output is already taken. bug: 18733215 Change-Id: Iddb481c91e81070e6be18996a4c8837dabd7ebdb