summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge "audio policy: session routes continued." into mnc-devEric Laurent2015-04-3014-60/+214
|\
| * audio policy: session routes continued.Eric Laurent2015-04-3014-60/+214
| | | | | | | | | | | | | | | | | | | | | | - Clear session routes when client process dies. - Enforce the route only when the requesting session is active. - Fix requested route not working if an output mix change is required (e.g forcing to SPEAKER when the default route is USB or A2DP). - Make sure all sessions sharing the strategy with a rerouted session have the same route (needed for volume control consistency) Change-Id: I0ab347a8fb97e73e2c5965374544c5f4fe509ef1
* | Merge "MPEG2PSExtractor: check number of bits left before skipping" into mnc-devRobert Shih2015-04-301-0/+4
|\ \
| * | MPEG2PSExtractor: check number of bits left before skippingRobert Shih2015-04-291-0/+4
| | | | | | | | | | | | | | | Bug: 18752034 Change-Id: Ie185ebac8324b4fd6dbb68d7cc53124dfe97cbc2
* | | Merge "AudioSystem callback for dynamic policy mix activity" into mnc-devJean-Michel Trivi2015-04-306-15/+43
|\ \ \
| * | | AudioSystem callback for dynamic policy mix activityJean-Michel Trivi2015-04-296-15/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add method to AudioPolicyServiceClient for dynamic policy mix activity notification. Propagate notification to a dedicated callback. Bug 20226914 Change-Id: I37928ed38e15ea2b8fed022cccadeca8c4d6c876
* | | | Merge "libstagefright: add xml parsing for measured-frame-rate and ↵Ronghua Wu2015-04-301-2/+4
|\ \ \ \ | | | | | | | | | | | | | | | measured-blocks-per-second." into mnc-dev
| * | | | libstagefright: add xml parsing for measured-frame-rate and ↵Ronghua Wu2015-04-291-2/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | measured-blocks-per-second. Bug: 20507129 Change-Id: I4623d2bd93670283d6c82c9bf9acfd00e214c4f0
* | | | Merge "Don't use the bitrate of the xing header" into mnc-devMarco Nelissen2015-04-301-23/+35
|\ \ \ \
| * | | | Don't use the bitrate of the xing headerMarco Nelissen2015-04-291-23/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the one for the mp3 frame that follows instead. Bug: 19622311 Bug: https://code.google.com/p/android/issues/detail?id=158627 Change-Id: I7f1ad702cad06aa29100a66f9796ca920aaa0592
* | | | | Merge "NdkMediaCodec: Return NULL if the MediaCodec cannot be created" into ↵Andy Hung2015-04-301-9/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | mnc-dev
| * | | | | NdkMediaCodec: Return NULL if the MediaCodec cannot be createdAndy Hung2015-04-291-9/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20566134 Change-Id: Idb09bc47a02aed03e97aa81f303ed95ebaa2f5ba
* | | | | | Merge "stagefright: make BufferQueueProducer not re-allocate buffer when ↵Wei Jia2015-04-301-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | trying to dequeue a buffer on devices not supporting meta data buffer mode." into mnc-dev
| * | | | | | stagefright: make BufferQueueProducer not re-allocate buffer when trying to ↵Wei Jia2015-04-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dequeue a buffer on devices not supporting meta data buffer mode. Bug: 19666434 Change-Id: Id676486d6d4543af7c4da9553134082ab67a9699
* | | | | | | Merge "Omx: Return an error if no IOMX is available" into mnc-devAndy Hung2015-04-304-4/+21
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Omx: Return an error if no IOMX is availableAndy Hung2015-04-294-4/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously caused fatal crash. Bug: 20566134 Change-Id: I9761d043422954615dbe81b301401765146a7283
* | | | | | | Merge "Harden drmserver process against fuzzing attacks" into mnc-devJeff Tinker2015-04-301-10/+46
|\ \ \ \ \ \ \
| * | | | | | | Harden drmserver process against fuzzing attacksJeff Tinker2015-04-291-10/+46
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | bug: 19572107 Change-Id: I5ba0a434b016e8dc376f7d0eef5cf76b99ab50fd
* | | | | | | Merge "DO NOT MERGE: Prevent crash at erroneous MPEG2TS bitstream" into mnc-devJinsuk Kim2015-04-295-125/+320
|\ \ \ \ \ \ \
| * | | | | | | DO NOT MERGE: Prevent crash at erroneous MPEG2TS bitstreamJinsuk Kim2015-04-295-125/+320
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used new RCHECK_ macros for drop-in replacements for CHECK_ to avoid crashing at bit errors encountered while parsing MPEG2 transport packets. Also removed CHECK_ macros in PSI table processing as errors would have been already filtered out by CRC check. Bug: 20274977 Change-Id: I5ca810df3c4295142610bbd1d586d7529bb9f303 (cherry picked from commit e84ab89a2cdae1d1828225f88d895882d716f90e)
* | | | | | | Merge "stagefright: convert kKeyFrameRate between msg and meta" into mnc-devChong Zhang2015-04-291-0/+10
|\ \ \ \ \ \ \
| * | | | | | | stagefright: convert kKeyFrameRate between msg and metaChong Zhang2015-04-291-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug: 20431757 Change-Id: I2d00e9914550ba3e62bc5ac8604ba44bcbb6026a
* | | | | | | | Fix build.Dianne Hackborn2015-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic8ae065dd912cb5ff130e8d78c98fd6bed4e11cc
* | | | | | | | Merge "Respect the record audio app op - media" into mnc-devSvet Ganov2015-04-2934-75/+209
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | |
| * | | | | | | Respect the record audio app op - mediaSvet Ganov2015-04-2934-75/+209
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Change-Id: I3a97977b6e9a09355e2008f780d22d480fb7308b
* | | | | | | MatroskaExtractor: skip track when codec id is NULL in addTracksRobert Shih2015-04-281-4/+6
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a more thorough version of commit ea9ac8bf7f6a7ae1424c6cade64b004caa7c3681 in that it applies to both video and audio. Bug: 17702053 Bug: 18872598 Change-Id: Idcea77bb7133ea0d02da8c484b4a0791db42740e
* | | | | | Merge "Check allocation" into mnc-devMarco Nelissen2015-04-281-3/+9
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Check allocationMarco Nelissen2015-04-281-3/+9
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Bug: 20222446 Change-Id: I2f366a907886cd65e12a6f260a2ec77af6fb7b41
* | | | | Merge "DO NOT MERGE: The preview frame data is broken when sending via ↵Eino-Ville Talvala2015-04-281-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | Binder" into mnc-dev
| * | | | DO NOT MERGE: The preview frame data is broken when sending via Binderdaisuke jinno2015-04-281-1/+1
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [Cause] CallbackProcessor uses always same buffer to send preview data. A buffer is written before it is read by user process. [Solution] Increment buffer index correctly. Change-Id: I87a7e3dc6546448a419c96aa58ace3b7d086bf70
* | | | Explicit routing in AudioRecordPaul McLean2015-04-2813-70/+193
|/ / / | | | | | | | | | Change-Id: I9cc5d54883a3e5c75d553fabb619fc8e49f4f9e5
* | | Merge "HDCP: buffer over flow check" into mnc-devChong Zhang2015-04-281-2/+24
|\ \ \ | |_|/ |/| |
| * | HDCP: buffer over flow checkChong Zhang2015-04-271-2/+24
| | | | | | | | | | | | | | | bug: 20222489 Change-Id: I3a64a5999d68ea243d187f12ec7717b7f26d93a3
* | | Merge "DO NOT MERGE libmediaplayerservice: set priority and operating rate ↵Ronghua Wu2015-04-279-0/+63
|\ \ \ | | | | | | | | | | | | for the codec used by nuplayer." into mnc-dev
| * | | DO NOT MERGE libmediaplayerservice: set priority and operating rate for the ↵Ronghua Wu2015-04-279-0/+63
| | |/ | |/| | | | | | | | | | | | | | | | | | | codec used by nuplayer. Bug: 20481562 Change-Id: I9806414962352fbcda726f8274f1cd348c961de0 (cherry picked from commit f19f5d716b39a5d9dc1abdcd5a16a7aaf1b1ab8b)
* | | DO NOT MERGE libmedia: add sub resource type audio-codec and video-codec.Ronghua Wu2015-04-274-8/+21
|/ / | | | | | | | | | | Bug: 20559813 Change-Id: If231cb44337ca7dc74c39fc3cd73e2b6f3cb85b8 (cherry picked from commit d4c1f6b4ecfef7323422359fc38bd1edb1abf205)
* | Merge "Revert "Add a configurable version of the policy engine based on PFW""Eric Laurent2015-04-2564-9242/+2
|\ \
| * | Revert "Add a configurable version of the policy engine based on PFW"Eric Laurent2015-04-2564-9242/+2
| | | | | | | | | | | | | | | | | | This reverts commit 65c3781db3443531deacecfbda5c7e7e82868a34. Change-Id: Ib61cd70f97c4c4f4b503fb845643627d6896f4f9
* | | Merge "Revert "Fix M Issue on configurable policy engine version.""Eric Laurent2015-04-257-29/+38
|\ \ \
| * | | Revert "Fix M Issue on configurable policy engine version."Eric Laurent2015-04-257-29/+38
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 01ce6a4f342b09da48414dbef49293e0107cc66e. Change-Id: I3f8f8a78ef68fa071faf422693c941c40e5e2ac2
* | | | Merge "Fix M Issue on configurable policy engine version."Eric Laurent2015-04-257-38/+29
|\ \ \ \ | |/ / /
| * | | Fix M Issue on configurable policy engine version.François Gaffie2015-04-247-38/+29
| |/ / | | | | | | | | | | | | Change-Id: Ic60be5ff8c45c4f19a58c39edbe4366a4227ca59 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
* | | Merge "Add a configurable version of the policy engine based on PFW"Eric Laurent2015-04-2564-2/+9242
|\ \ \ | |/ /
| * | Add a configurable version of the policy engine based on PFWFrançois Gaffie2015-04-2464-2/+9242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a configurable version of the policy engine based on the parameter framework. This configurable engine shall be activated with a flag USE_CONFIGURABLE_AUDIO_POLICY within BoardConfig.mk This patch provides the generic configuration as an example. This configuration provides the same user experience as the default policy engine. Change-Id: Ic8217333ae370b89bfdd2ad11320c5f14ea4da34 Signed-off-by: François Gaffie <francois.gaffie@intel.com>
* | | Merge "Lock drm plugin API calls globally, not per MediaDrm instance"Jeff Tinker2015-04-252-1/+2
|\ \ \
| * | | Lock drm plugin API calls globally, not per MediaDrm instanceJeff Tinker2015-04-222-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I062c662a440a1becccd248c3b8ddf711c51e53cc related-to-bug: 18394494 related-to-bug: 19664283
* | | | MatroskaExtractor: skip track when codec id is NULL in addTracksRobert Shih2015-04-241-1/+4
| |/ / |/| | | | | | | | | | | Bug: 18872598 Change-Id: I0cdb2ffae202fc06b068c57dafae7523981b6000
* | | Merge "mediaresourcemanager: add dumpsys support."Ronghua Wu2015-04-246-0/+88
|\ \ \
| * | | mediaresourcemanager: add dumpsys support.Ronghua Wu2015-04-236-0/+88
| | | | | | | | | | | | | | | | | | | | Bug: 20233206 Change-Id: Ic253985e408b05b488e87cd5c50c0d619ac568ef
* | | | Merge "AudioPolicyManager: notification of dynamic policy mix activity (input)"Jean-Michel Trivi2015-04-241-0/+13
|\ \ \ \ | |_|_|/ |/| | |