summaryrefslogtreecommitdiffstats
path: root/media/mediaserver/main_mediaserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'remotes/android-6.0.1_r52' into HEADJessica Wagantall2016-07-071-0/+6
|\ | | | | | | | | | | Ticket: CYNGNOS-3020 Change-Id: I7e8d69c5f7041b66893ea643c4bc19c3b7bcdda5
| * limit mediaserver memoryMarco Nelissen2016-05-271-0/+6
| | | | | | | | | | | | | | | | | | | | Limit mediaserver using rlimit, to prevent it from bringing down the system via the low memory killer. Default max is 65% of total RAM, but can be customized via system property. Bug: 28471206 Bug: 28615448 Change-Id: Ic84137435d1ef0a6883e9789a4b4f399e4283f05
* | mediaserver: conditionally launch ListenServiceKiran Kandi2015-11-121-0/+8
|/ | | | | | | | | | | | | | | | Conditionally instantiate ListenService from MediaService. ListenServiceruns as a singleton in its own thread that calls AudioHAL which in turn accesses Listen Driver. It is the entry point from Application processes that want so execute Listen commands and receive Voice detection events. It manages Listen application resources and global states across all Listen applications. ListenService is similar to AudioFlinger. That is why it is instantiated from MediaServer. Listenservice talks to AudioHAL to deal with concurrent usage of mic. Change-Id: I71c346bb16e0ed3a7aae9c908e03c7f1c694fe0a
* Switch to using shared over local code for initializing ICUNeil Fuller2015-06-111-1/+1
| | | | | | | A static library now exists in external/icu/android_utils. Bug: 21730722 Change-Id: I8302b585d3c87fd1a975301ceca4ceebaccbcac9
* mediaserver : Initialize ICU on startup.Narayan Kamath2015-06-101-0/+2
| | | | | | | | | | In change 2b29e461c in external/icu, we stopped hardcoding the ICU data path at compile time to avoid two sets of mappings in zygote forked processes. This means we'll have to tell ICU where its data is if the process in question isn't forked from the zygote. bug: 21705078 Change-Id: I829d9fa34fe8209aa8a6d55145ca26fdf0d934e8
* media: use ResourceManagerService with MediaCodecRonghua Wu2015-04-141-0/+2
| | | | | Bug: 19620911 Change-Id: I235a97e5195b28645b7834dda0dd77307d93f4a8
* radio service initial implementationEric Laurent2015-03-101-0/+2
| | | | | | | | | | | | First implementation of broadcast radio service. This native service runs in mediaserver process and controls broadcast radio hardware modules. There is one ihardware module per broadcast radio class. The service allows serveral clients to control tuners on hardware modules and manages resource conflicts. Change-Id: I21469a084c7ccd65042b8ac5f724d060044c45ab
* Refactor AudioPolicyManagerJean-Michel Trivi2015-02-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* add sound trigger native serviceEric Laurent2014-06-041-0/+2
| | | | Change-Id: I0cd954c1c7d28a334e786d0004431d4f6a1227ec
* Fix unused parameter warnings in audioGlenn Kasten2014-02-031-1/+1
| | | | Change-Id: I665ba3358dd9502f0adec70d486e7bf8a2e1b0fe
* Permit conditional registry of mediaserver extensionsGlenn Kasten2013-02-201-0/+2
| | | | Change-Id: I94dc0d038e702dfe1779a50a1de0fae9bad15057
* Add media.log service based on NBLogGlenn Kasten2013-01-251-9/+96
| | | | Change-Id: Ie45093df6ac9a739d05c8d408fab52a9a8a27e7f
* Ignore SIGPIPE during write() to broken pipeGlenn Kasten2012-10-171-0/+1
| | | | | | | This happens occasionally when taking a bugreport. Bug: 6447319 Change-Id: Ia6531a4a3658461f8fd3f7106e7996da7cc5933a
* Use correct syntax for #include <> ""Glenn Kasten2012-03-131-4/+6
| | | | Change-Id: I943137108668ae66f8eba18dafe069a7951bcd8f
* Merge "Fix missing tag in mediaserver ServiceManager: log"Glenn Kasten2012-01-111-0/+2
|\
| * Fix missing tag in mediaserver ServiceManager: logGlenn Kasten2012-01-061-0/+2
| | | | | | | | Change-Id: I2d5525ffee0b66c0bc361a02b313ec4dd61e6552
* | Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-041-1/+1
|/ | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: Ib08fe86d23db91ee153e9f91a99a35c42b9208ea
* Delete obsolete includesGlenn Kasten2011-12-121-6/+0
| | | | Change-Id: I960a179a026ff8d710b43b64cb358f18ee04de16
* Fix issue 1795088 Improve audio routing codeEric Laurent2009-07-231-0/+2
| | | | | | | Initial commit for review. Integrated comments after patch set 1 review. Fixed lockup in AudioFlinger::ThreadBase::exit() Fixed lockup when playing tone with AudioPlocyService startTone()
* move libbinder's header files under includes/binderMathias Agopian2009-05-201-3/+3
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+45
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-45/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+45