OSDN Git Service

android-x86/frameworks-av.git
7 years agoMerge "aaudio: command line argument parser"
Phil Burk [Tue, 11 Jul 2017 21:36:34 +0000 (21:36 +0000)]
Merge "aaudio: command line argument parser"

7 years agoMerge "Build libmockcasplugin with the VNDK."
Jayant Chowdhary [Tue, 11 Jul 2017 20:35:50 +0000 (20:35 +0000)]
Merge "Build libmockcasplugin with the VNDK."

7 years agoMerge "audio policy: fix audio device properties loading" into oc-dr1-dev am: ed0f8f425d
Eric Laurent [Tue, 11 Jul 2017 18:02:26 +0000 (18:02 +0000)]
Merge "audio policy: fix audio device properties loading" into oc-dr1-dev am: ed0f8f425d
am: 9f2b9d3a00

Change-Id: Ieb6145d4120f3197a7b841fccc9250f92db5f384

7 years agoMerge "audio policy: fix audio device properties loading" into oc-dr1-dev
Eric Laurent [Tue, 11 Jul 2017 17:58:57 +0000 (17:58 +0000)]
Merge "audio policy: fix audio device properties loading" into oc-dr1-dev
am: ed0f8f425d

Change-Id: I2d4580aae05072e2f12d1393a0b53c973d3bfe4e

7 years agoMerge "audio policy: fix audio device properties loading" into oc-dr1-dev
TreeHugger Robot [Tue, 11 Jul 2017 17:50:26 +0000 (17:50 +0000)]
Merge "audio policy: fix audio device properties loading" into oc-dr1-dev

7 years agoMerge "Stores long-term histogram, outlier information"
Sanna Catherine de Treville Wager [Tue, 11 Jul 2017 15:43:18 +0000 (15:43 +0000)]
Merge "Stores long-term histogram, outlier information"

7 years agoStores long-term histogram, outlier information
Sanna Catherine de Treville Wager [Thu, 29 Jun 2017 21:57:59 +0000 (14:57 -0700)]
Stores long-term histogram, outlier information

Moves analysis and storage from NBLog to
PerformanceAnalysis. Applies peak analysis to
outlier information to detect changes in the
distribution of outlier frequency.
Adds cleanup, documentation, FIXME comments for
upcoming changes.

Test: dumpsys media.log

Change-Id: Iea393dac62959aef754ae2a9b4afe2556c1f3ecb

7 years agoMerge "Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into...
Ray Essick [Tue, 11 Jul 2017 02:29:12 +0000 (02:29 +0000)]
Merge "Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88 am: dce2faae4f  -s ours am: 747c025ebf am: 799ebbb3bc" into oc-dr1-dev-plus-aosp
am: 47ab9fea54

Change-Id: Iaeaf3f4b621c8826b0371d2147724b44f8110615

7 years agoMerge "Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into...
Ray Essick [Tue, 11 Jul 2017 02:28:49 +0000 (02:28 +0000)]
Merge "Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88 am: dce2faae4f  -s ours am: 747c025ebf am: c038bb4280" into oc-dr1-dev-plus-aosp
am: 37b0cae5a8

Change-Id: I1ad1b0c309de589c9f960b0287cdba5f54d61422

7 years agoMerge "Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8...
Eric Laurent [Tue, 11 Jul 2017 02:28:28 +0000 (02:28 +0000)]
Merge "Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97 am: 18162a5a35 am: e8fa1a74ee am: 0f2dde714c am: fee00bb293" into oc-dr1-dev-plus-aosp
am: f149c7679a

Change-Id: Ie9cea58868dd955d73b517512ed9aa4a4662776a

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:28:03 +0000 (02:28 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97 am: 18162a5a35 am: e8fa1a74ee am: 0f2dde714c am: 625b66030b
am: e212d03d51

Change-Id: Ia3ee2a554294acb281d0f89a7a23b35821183acd

7 years agoMerge "Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into...
Android Build Merger (Role) [Tue, 11 Jul 2017 02:25:35 +0000 (02:25 +0000)]
Merge "Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88 am: dce2faae4f  -s ours am: 747c025ebf am: 799ebbb3bc" into oc-dr1-dev-plus-aosp

7 years agoMerge "Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into...
Android Build Merger (Role) [Tue, 11 Jul 2017 02:25:33 +0000 (02:25 +0000)]
Merge "Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88 am: dce2faae4f  -s ours am: 747c025ebf am: c038bb4280" into oc-dr1-dev-plus-aosp

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc...
Ray Essick [Tue, 11 Jul 2017 02:25:22 +0000 (02:25 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88 am: dce2faae4f  -s ours am: 747c025ebf
am: 799ebbb3bc

Change-Id: Ie221c8b39311fdea1d1224b438b3f09116739929

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc...
Ray Essick [Tue, 11 Jul 2017 02:25:21 +0000 (02:25 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88 am: dce2faae4f  -s ours am: 747c025ebf
am: c038bb4280

Change-Id: I8ea76083b006f383e830173a12daa68c060dccbd

7 years agoMerge "Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8...
Android Build Merger (Role) [Tue, 11 Jul 2017 02:25:15 +0000 (02:25 +0000)]
Merge "Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97 am: 18162a5a35 am: e8fa1a74ee am: 0f2dde714c am: fee00bb293" into oc-dr1-dev-plus-aosp

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:25:02 +0000 (02:25 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97 am: 18162a5a35 am: e8fa1a74ee am: 0f2dde714c
am: 625b66030b

Change-Id: I59cb959320606624ee05ac601c1b356d14ab576b

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:25:01 +0000 (02:25 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97 am: 18162a5a35 am: e8fa1a74ee am: 0f2dde714c
am: fee00bb293

Change-Id: I26f72ea4f58e7d394f7a1087c49bd66bdec567fb

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc...
Ray Essick [Tue, 11 Jul 2017 02:22:54 +0000 (02:22 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88 am: dce2faae4f  -s ours
am: 747c025ebf

Change-Id: Id540ca0eda77b3e04a33289a26f53646afe9dbc6

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc...
Ray Essick [Tue, 11 Jul 2017 02:22:52 +0000 (02:22 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88 am: dce2faae4f  -s ours
am: 747c025ebf

Change-Id: If12923a338c76a86a8781c28ab27a947c181c4fb

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:22:30 +0000 (02:22 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97 am: 18162a5a35 am: e8fa1a74ee
am: 0f2dde714c

Change-Id: I3856ef329f6177182b11a9eab104e679575a252c

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:22:30 +0000 (02:22 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97 am: 18162a5a35 am: e8fa1a74ee
am: 0f2dde714c

Change-Id: I989d49750287cab0dace0485f7d0a9bd8fae5887

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc...
Ray Essick [Tue, 11 Jul 2017 02:20:19 +0000 (02:20 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46 am: fd175e7f88
am: dce2faae4f  -s ours

Change-Id: I7e552a80892b02274c77066db556f0d7794847a0

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:20:02 +0000 (02:20 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97 am: 18162a5a35
am: e8fa1a74ee

Change-Id: I18b86f01373860b748528911f167cf84baaf7894

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc...
Ray Essick [Tue, 11 Jul 2017 02:17:51 +0000 (02:17 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9 am: 389c6ede46
am: fd175e7f88

Change-Id: Idcb4ef749ef42113a6f37ba4e3bf6b025581e5a6

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:17:30 +0000 (02:17 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e am: 56007baa97
am: 18162a5a35

Change-Id: I4b0fb80d27a53941c99f49d672bac94ea7a81691

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc...
Ray Essick [Tue, 11 Jul 2017 02:15:16 +0000 (02:15 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd am: c36cdf16a9
am: 389c6ede46

Change-Id: I17fe125bacb15f85706425c3267896a240073d94

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:14:56 +0000 (02:14 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours am: 880adb1f2e
am: 56007baa97

Change-Id: Ibb9e25ac658b185c17d2e594c3cd69df4091ce5a

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc...
Ray Essick [Tue, 11 Jul 2017 02:12:48 +0000 (02:12 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev am: ce2cdf02bd
am: c36cdf16a9

Change-Id: I113d6d04f01f61be1e5837c13bf9d51731caab55

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:12:29 +0000 (02:12 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787 am: db02180546  -s ours
am: 880adb1f2e

Change-Id: Ie26a5a8a2a2459feec0b44f1a0573c2170d0e303

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev
Ray Essick [Tue, 11 Jul 2017 02:10:46 +0000 (02:10 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev
am: ce2cdf02bd

Change-Id: I06aec170231079b7a5155d25974db2d356aab410

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Tue, 11 Jul 2017 02:10:25 +0000 (02:10 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f am: b1a72c8787
am: db02180546  -s ours

Change-Id: Id1faed6d6b5fcb927f4f98b5ae0b37c8b0ab94a0

7 years agoBuild libmockcasplugin with the VNDK.
Jayant Chowdhary [Mon, 10 Jul 2017 22:15:38 +0000 (15:15 -0700)]
Build libmockcasplugin with the VNDK.

When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.

Test: BOARD_VNDK_VERSION=current m -j k libmockcasplugin

Bug: 37342627

Change-Id: I6129ae91458216f537f6fb4065ecd9f26739851c

7 years agoaaudio: command line argument parser
Phil Burk [Fri, 30 Jun 2017 23:27:38 +0000 (16:27 -0700)]
aaudio: command line argument parser

Generic parser that is used in multiple examples.

Added -n{numberOfBursts} for buffer size.

This is being used to test the MMAP features.

Bug: 63002656
Test: this is a test
Change-Id: Idf7560f9bb3ed7834f6c4686dd6009f27f04220e

7 years agoMerge "Merge "Check frame handle validity before freeing buffer." into oc-dev am...
Ray Essick [Mon, 10 Jul 2017 20:59:59 +0000 (20:59 +0000)]
Merge "Merge "Check frame handle validity before freeing buffer." into oc-dev am: c9d2ceb9c2 am: 41779c4849" into oc-dr1-dev-plus-aosp
am: 2c98a3b273

Change-Id: Iff1cc173408728da87f882b46ebbf6a89212b5c0

7 years agoMerge "Check frame handle validity before freeing buffer." into oc-dev am: c9d2ceb9c2...
Ray Essick [Mon, 10 Jul 2017 20:59:36 +0000 (20:59 +0000)]
Merge "Check frame handle validity before freeing buffer." into oc-dev am: c9d2ceb9c2 am: 7983d30105
am: fb3d950fe6

Change-Id: I1debf75171d081e5ab7c03da5354ed32f9d608ff

7 years agoMerge "Merge "Check frame handle validity before freeing buffer." into oc-dev am...
Android Build Merger (Role) [Mon, 10 Jul 2017 20:55:20 +0000 (20:55 +0000)]
Merge "Merge "Check frame handle validity before freeing buffer." into oc-dev am: c9d2ceb9c2 am: 41779c4849" into oc-dr1-dev-plus-aosp

7 years agoMerge "Check frame handle validity before freeing buffer." into oc-dev am: c9d2ceb9c2
Ray Essick [Mon, 10 Jul 2017 20:55:06 +0000 (20:55 +0000)]
Merge "Check frame handle validity before freeing buffer." into oc-dev am: c9d2ceb9c2
am: 7983d30105

Change-Id: Ic3e39189aa3b84289020ac564fb4ce0794a2cbb7

7 years agoMerge "Check frame handle validity before freeing buffer." into oc-dev am: c9d2ceb9c2
Ray Essick [Mon, 10 Jul 2017 20:55:06 +0000 (20:55 +0000)]
Merge "Check frame handle validity before freeing buffer." into oc-dev am: c9d2ceb9c2
am: 41779c4849

Change-Id: I29926177d6e8c76ed715997d1e548ed18e569274

7 years agoMerge "Check frame handle validity before freeing buffer." into oc-dev
Ray Essick [Mon, 10 Jul 2017 20:50:37 +0000 (20:50 +0000)]
Merge "Check frame handle validity before freeing buffer." into oc-dev
am: c9d2ceb9c2

Change-Id: Ia6676e28a6415df2f9d01a17db5f5bda2805858c

7 years agoMerge "Check frame handle validity before freeing buffer." into oc-dev
Ray Essick [Mon, 10 Jul 2017 20:50:36 +0000 (20:50 +0000)]
Merge "Check frame handle validity before freeing buffer." into oc-dev
am: c9d2ceb9c2

Change-Id: I8d1dafc03a9a4bd9fdae836361298c9bf7890df3

7 years agoMerge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev
TreeHugger Robot [Mon, 10 Jul 2017 20:47:14 +0000 (20:47 +0000)]
Merge "DO NOT MERGE Check frame handle validity before freeing buffer." into nyc-dev

7 years agoMerge "Check frame handle validity before freeing buffer." into oc-dev
TreeHugger Robot [Mon, 10 Jul 2017 20:43:39 +0000 (20:43 +0000)]
Merge "Check frame handle validity before freeing buffer." into oc-dev

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Mon, 10 Jul 2017 20:38:06 +0000 (20:38 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598 am: 46da92fa8f
am: b1a72c8787

Change-Id: I251baae005c3e276f409a754de251ce20a125e65

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Mon, 10 Jul 2017 20:34:03 +0000 (20:34 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b am: be01ebd598
am: 46da92fa8f

Change-Id: Iea5b777e88e42ffb60ccd517794f8a8fdd9c1f23

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Mon, 10 Jul 2017 20:30:04 +0000 (20:30 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2 am: a9565fba8b
am: be01ebd598

Change-Id: Id3aa2f4891fd79411edb719a6b6abd741d1110bc

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Mon, 10 Jul 2017 20:26:36 +0000 (20:26 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910 am: 62948f53a2
am: a9565fba8b

Change-Id: Ia37bc6340f420113445c58c3d0f92d73e9d29148

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Mon, 10 Jul 2017 20:22:05 +0000 (20:22 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1 am: c6358fa910
am: 62948f53a2

Change-Id: Ia99ed9e04cf2d90ee3f201efd9f238fb06e3be88

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Mon, 10 Jul 2017 20:17:34 +0000 (20:17 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7 am: acbb8e7dd1
am: c6358fa910

Change-Id: Ic8ebb5b01026b6762afb1ea7f2bc26f51f5d189e

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Mon, 10 Jul 2017 20:13:34 +0000 (20:13 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808 am: 4324bdc8f7
am: acbb8e7dd1

Change-Id: Ie2cd641decc7e654f021df75fd4f600f7255eea2

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f...
Eric Laurent [Mon, 10 Jul 2017 20:09:02 +0000 (20:09 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f am: dc2efe3808
am: 4324bdc8f7

Change-Id: I161bc14d3059af24463cfa4f473305b516a3bcd8

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f
Eric Laurent [Mon, 10 Jul 2017 20:04:31 +0000 (20:04 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev am: f57dc8b72f
am: dc2efe3808

Change-Id: I7a613ea97315971ce0abfc34ce5f1fc4034d5ad8

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev
Eric Laurent [Mon, 10 Jul 2017 20:00:32 +0000 (20:00 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev
am: f57dc8b72f

Change-Id: Ia41a68044abc25ac120ad63a27281345dd959fb7

7 years agoMerge "audio effects: filter reserved effect commands" into klp-dev
TreeHugger Robot [Mon, 10 Jul 2017 19:52:17 +0000 (19:52 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev

7 years agoaudio policy: fix audio device properties loading
Eric Laurent [Sun, 9 Jul 2017 23:51:08 +0000 (16:51 -0700)]
audio policy: fix audio device properties loading

Only load removable digital device properties from streams
with dynamic profiles. This avoids aggregating properties from
other stream profiles when the device can also be reached via those
profiles.

Bug: 38423100
Test: connect various USB devices and check properties are loaded
properly.

Change-Id: Ie5eed397d3a475848a3d423d18ffae9d55917ac4

7 years agoEffect factory: Add in dumpsys the config parsing status
Kevin Rocard [Thu, 29 Jun 2017 18:20:12 +0000 (11:20 -0700)]
Effect factory: Add in dumpsys the config parsing status

Help debugging effect config errors by printing the status of the
configuration file parsing.

Test: dumpsys media.audio_flinger |grep 'ffect configuration'
Change-Id: I08a0e7bc99755f978a0db2566ee8902abeb583ca
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoEffect factory: Test that the xml is correctly parsed
Kevin Rocard [Fri, 23 Jun 2017 19:10:07 +0000 (12:10 -0700)]
Effect factory: Test that the xml is correctly parsed

Compare the dump after parsing with the reference dump.

Test: This is it
Bug: 37492580

Change-Id: I7dbbe2754f182a0f5818bdf9010d89ac6f0498e2
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoAudio policy: Parse new audio policy configuration file
Kevin Rocard [Mon, 26 Jun 2017 17:28:13 +0000 (10:28 -0700)]
Audio policy: Parse new audio policy configuration file

For treble, files shared between vendor and system must have a schema.
As .conf did not support such feature, transition to an xml based
configuration file.

This new format has several changes:
 - library path are now relative to the standard effect directories
 - effect parameters are no longer supported (nobody used them)

Test: Check that the dumpsys is similar than with the legacy formal
Bug: 37492580
Change-Id: Ie6bd84ed88124991600fa238cc13714874eefad9
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoEffects factory: Implement xml config loading
Kevin Rocard [Mon, 26 Jun 2017 19:10:47 +0000 (12:10 -0700)]
Effects factory: Implement xml config loading

For treble, files shared between vendor and system must have a schema.
As .conf did not support such feature, transition to an xml based
configuration file.

This new format has several changes:
 - library path are now relative to the standard effect directories
 - effect parameters are no longer supported (nobody used them)

Test: Check that the dumpsys is similar than with the legacy formal
Bug: 37492580
Change-Id: I01d79d016ec0bf52fbaf073f4452862214ab9344
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoEffects config: Parse new configuration format
Kevin Rocard [Sat, 10 Jun 2017 02:22:43 +0000 (19:22 -0700)]
Effects config: Parse new configuration format

For treble, files shared between vendor and system must have a schema.
As .conf did not support such feature, transition to an xml based
configuration file.

This new format has several changes:
 - library path are now relative to the standard effect directories
 - effect parameters are no longer supported (nobody used them)

Test: Check that the dumpsys is similar than with the legacy formal
Bug: 37492580
Change-Id: I333db2977280e2e0078815b88affd4ab9b01b8bc
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoEffects factory: Split runtime logic, parser and state
Kevin Rocard [Fri, 23 Jun 2017 23:11:03 +0000 (16:11 -0700)]
Effects factory: Split runtime logic, parser and state

In order to support a new configuration format, the effect factory
config loading code is removed from the main file and stored
in its dedicated translation unit.

As the code was mutating the effect factory global variables,
those variables have been moved to a third file.

This patch only contains function move, not functional change.

Test: check this patch does not change the effect factory dump
Bug: 37492580
Change-Id: Ia625f0456fda94f1fb97a1a2fc3472ba529fb9ae
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoEffects factory: Restrict visibility to public functions
Kevin Rocard [Fri, 23 Jun 2017 22:54:00 +0000 (15:54 -0700)]
Effects factory: Restrict visibility to public functions

The next patches will split EffectFactory.c in several files,
thus symbols with internal linkage (static) will be exposed to other
libraries.
To avoid that only export the symbols that are supposed to be public.

Test: Link and boot
Bug: 37492580
Change-Id: Ice2b11b0bc868591a1e17c658ecf26d82cffdaa4
Signed-off-by: Kevin Rocard <krocard@google.com>
7 years agoMerge "aaudio: do not assert if deleting an unopened stream" into oc-dr1-dev am:...
Phil Burk [Fri, 7 Jul 2017 23:12:29 +0000 (23:12 +0000)]
Merge "aaudio: do not assert if deleting an unopened stream" into oc-dr1-dev am: 15fb0ee6bd
am: b2d55a72e0

Change-Id: Iade2d0b34e1f9509a55b1faff057a6bf2eaeba35

7 years agoMerge "aaudio: do not assert if deleting an unopened stream" into oc-dr1-dev
Phil Burk [Fri, 7 Jul 2017 23:10:32 +0000 (23:10 +0000)]
Merge "aaudio: do not assert if deleting an unopened stream" into oc-dr1-dev
am: 15fb0ee6bd

Change-Id: If35f2ec8b17da06b3c43bddb836107982b9535c6

7 years agoMerge "aaudio: do not assert if deleting an unopened stream" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 23:06:32 +0000 (23:06 +0000)]
Merge "aaudio: do not assert if deleting an unopened stream" into oc-dr1-dev

7 years agoMerge "Split libnbaio into libnbaio + libnbaio_mono."
TreeHugger Robot [Fri, 7 Jul 2017 22:47:57 +0000 (22:47 +0000)]
Merge "Split libnbaio into libnbaio + libnbaio_mono."

7 years agoMerge "aaudio test: test both input and output stream limits" into oc-dr1-dev am...
Phil Burk [Fri, 7 Jul 2017 21:33:45 +0000 (21:33 +0000)]
Merge "aaudio test: test both input and output stream limits" into oc-dr1-dev am: bea2c338a3
am: 2681203d83

Change-Id: I174abefa27c67624513576b60614fd650775bd1b

7 years agoMerge "aaudio test: test both input and output stream limits" into oc-dr1-dev
Phil Burk [Fri, 7 Jul 2017 21:31:45 +0000 (21:31 +0000)]
Merge "aaudio test: test both input and output stream limits" into oc-dr1-dev
am: bea2c338a3

Change-Id: Ia42c988c6465bcaf495aa75d657978bf4b2db09e

7 years agoMerge "aaudio test: test both input and output stream limits" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 21:24:42 +0000 (21:24 +0000)]
Merge "aaudio test: test both input and output stream limits" into oc-dr1-dev

7 years agoaaudio: do not assert if deleting an unopened stream
Phil Burk [Fri, 7 Jul 2017 19:44:48 +0000 (12:44 -0700)]
aaudio: do not assert if deleting an unopened stream

Bug: 63440754
Test: write_sine.cpp, see bug for repro case
Change-Id: I1f7ed1bd97d4cfcd54d27d41d708c6c03d3d88ac

7 years agoSplit libnbaio into libnbaio + libnbaio_mono.
Steven Moreland [Thu, 6 Jul 2017 18:11:31 +0000 (11:11 -0700)]
Split libnbaio into libnbaio + libnbaio_mono.

When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive restricted
sets of headers and that automatic global headers are restricted.

Test: mma -j BOARD_VNDK_VERSION=current
Test: boots device, audio plays over YouTube
Bug: 37342627
Bug: 63269228
Change-Id: Ifa9c96f6b98b456def485be6bc5046ee54c3c3ca

7 years agoMerge "Add 'dash' as a compatible brand" am: 7937b6bb18 am: 0377dccbf8 am: e49dc6a1fe
Marco Nelissen [Fri, 7 Jul 2017 19:26:44 +0000 (19:26 +0000)]
Merge "Add 'dash' as a compatible brand" am: 7937b6bb18 am: 0377dccbf8 am: e49dc6a1fe
am: 5d9ad327b8

Change-Id: I6c27278a131447c4b1943291e23cf755cba0829c

7 years agoMerge "Add 'dash' as a compatible brand" am: 7937b6bb18 am: 0377dccbf8
Marco Nelissen [Fri, 7 Jul 2017 19:20:43 +0000 (19:20 +0000)]
Merge "Add 'dash' as a compatible brand" am: 7937b6bb18 am: 0377dccbf8
am: e49dc6a1fe

Change-Id: If4e352d5124948fad2e9d26a9b4f583ca4af7730

7 years agoMerge "Add 'dash' as a compatible brand" am: 7937b6bb18
Marco Nelissen [Fri, 7 Jul 2017 19:18:42 +0000 (19:18 +0000)]
Merge "Add 'dash' as a compatible brand" am: 7937b6bb18
am: 0377dccbf8

Change-Id: I631278692ac2374ce49cdcf262a524bbdab258d6

7 years agoMerge "Add 'dash' as a compatible brand"
Marco Nelissen [Fri, 7 Jul 2017 19:16:27 +0000 (19:16 +0000)]
Merge "Add 'dash' as a compatible brand"
am: 7937b6bb18

Change-Id: Iae7f10136ef4e8aafc858178d304227a8b7a79f3

7 years agoMerge "Add 'dash' as a compatible brand"
Treehugger Robot [Fri, 7 Jul 2017 19:08:31 +0000 (19:08 +0000)]
Merge "Add 'dash' as a compatible brand"

7 years agoMerge "Fix parsing of gps location atom in mp4" am: bdccee1eee am: 1a3af9525a am...
Marco Nelissen [Fri, 7 Jul 2017 16:36:47 +0000 (16:36 +0000)]
Merge "Fix parsing of gps location atom in mp4" am: bdccee1eee am: 1a3af9525a am: f3ac05af93
am: 9556166848

Change-Id: I0f356a4e4dea330f5fa68cdb46360ecb861883e0

7 years agoAdd 'dash' as a compatible brand
Marco Nelissen [Fri, 7 Jul 2017 16:02:35 +0000 (09:02 -0700)]
Add 'dash' as a compatible brand

Per the spec, the 'dash' brand indicates support for the concatenation
of an Initialization Segment and a single Indexed Media Segment. Since
we support this, add 'dash' as a supported brand to improve compatibility.

Bug: 63390273
Test: played 'dash' brand file
Change-Id: Ifb38337200857f190085bda030434d7f56a817f3

7 years agoMerge "Fix parsing of gps location atom in mp4" am: bdccee1eee am: 1a3af9525a
Marco Nelissen [Fri, 7 Jul 2017 15:56:49 +0000 (15:56 +0000)]
Merge "Fix parsing of gps location atom in mp4" am: bdccee1eee am: 1a3af9525a
am: f3ac05af93

Change-Id: I49487f5f9c6b7ba74d9f460815d86b00e34d5676

7 years agoMerge "Fix parsing of gps location atom in mp4" am: bdccee1eee
Marco Nelissen [Fri, 7 Jul 2017 15:39:41 +0000 (15:39 +0000)]
Merge "Fix parsing of gps location atom in mp4" am: bdccee1eee
am: 1a3af9525a

Change-Id: I25d9fa96a32bfa4c40e2650e0e6273003ef4edf4

7 years agoMerge "Fix parsing of gps location atom in mp4"
Marco Nelissen [Fri, 7 Jul 2017 15:37:13 +0000 (15:37 +0000)]
Merge "Fix parsing of gps location atom in mp4"
am: bdccee1eee

Change-Id: Idfe31962c83b0f2f46caa2c47563ded6ae2c78f6

7 years agoMerge "Fix parsing of gps location atom in mp4"
Treehugger Robot [Fri, 7 Jul 2017 15:30:43 +0000 (15:30 +0000)]
Merge "Fix parsing of gps location atom in mp4"

7 years agoMerge "Release the mutex before calling hidl_cb" into oc-dr1-dev am: c06dd405a6
Pawin Vongmasa [Fri, 7 Jul 2017 04:11:36 +0000 (04:11 +0000)]
Merge "Release the mutex before calling hidl_cb" into oc-dr1-dev am: c06dd405a6
am: eb84dfed86

Change-Id: Ibdaafeb8de34fa265f69c1649c619b7c1ed27d65

7 years agoMerge "Release the mutex before calling hidl_cb" into oc-dr1-dev
Pawin Vongmasa [Fri, 7 Jul 2017 04:08:36 +0000 (04:08 +0000)]
Merge "Release the mutex before calling hidl_cb" into oc-dr1-dev
am: c06dd405a6

Change-Id: I2a85c04475a3f8af58406e527a0adb68831ef905

7 years agoMerge "Release the mutex before calling hidl_cb" into oc-dr1-dev
TreeHugger Robot [Fri, 7 Jul 2017 03:57:48 +0000 (03:57 +0000)]
Merge "Release the mutex before calling hidl_cb" into oc-dr1-dev

7 years agoaaudio: stop calling virtual methods from destructor am: 98d6d9227f
Phil Burk [Fri, 7 Jul 2017 03:33:34 +0000 (03:33 +0000)]
aaudio: stop calling virtual methods from destructor am: 98d6d9227f
am: 0323eba087

Change-Id: Ibb5b6aa79598c197899ef130ae926cd839e2a2bf

7 years agoaaudio: stop calling virtual methods from destructor
Phil Burk [Fri, 7 Jul 2017 03:24:55 +0000 (03:24 +0000)]
aaudio: stop calling virtual methods from destructor
am: 98d6d9227f

Change-Id: I3e5212360642396db4f4cd5e1624946b292bdd57

7 years agoaaudio: stop calling virtual methods from destructor
Phil Burk [Thu, 6 Jul 2017 18:52:45 +0000 (11:52 -0700)]
aaudio: stop calling virtual methods from destructor

Was calling close(), which is abstract and virtual.
This may have been related to some audioserver crashes.
Also cleaned up some strong pointer handling.

Bug: 63390734
Bug: 63353455
Test: run CTS nativemedia/aaudio many times
Change-Id: Ib95aed60a64771b64395c67f0921c67146f9d10f

7 years agoFix parsing of gps location atom in mp4
Marco Nelissen [Tue, 20 Jun 2017 17:49:42 +0000 (10:49 -0700)]
Fix parsing of gps location atom in mp4

Allow for missing trailing slash and longer strings, validate
string length.
Bug: 62802112
Test: manual

Change-Id: I58e0eb3a976639ae0d4eec7ad9d450f8eb552eb4

7 years agoMerge "Replace old audio time conversion macros and functions"
Andy Hung [Thu, 6 Jul 2017 15:54:32 +0000 (15:54 +0000)]
Merge "Replace old audio time conversion macros and functions"

7 years agoMerge "Merge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev am: 014a5...
Android Build Merger (Role) [Thu, 6 Jul 2017 04:19:13 +0000 (04:19 +0000)]
Merge "Merge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev am: 014a56b57a am: 983bd9792c"

7 years agoMerge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev am: 014a56b57a
Phil Burk [Thu, 6 Jul 2017 04:18:55 +0000 (04:18 +0000)]
Merge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev am: 014a56b57a
am: 983bd9792c

Change-Id: I7e37bd0ece7ade53eacfa6806eb8f75a42be1d8c

7 years agoMerge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev am: 014a56b57a
Phil Burk [Thu, 6 Jul 2017 04:18:35 +0000 (04:18 +0000)]
Merge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev am: 014a56b57a
am: 983bd9792c

Change-Id: Id42d514e3ea583ea340e828288052a85fac8381f

7 years agoMerge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev
Phil Burk [Thu, 6 Jul 2017 03:54:05 +0000 (03:54 +0000)]
Merge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev
am: 014a56b57a

Change-Id: If685934379e5f34540dfade0a5c31f36281dd8cc

7 years agoMerge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev
TreeHugger Robot [Thu, 6 Jul 2017 03:44:32 +0000 (03:44 +0000)]
Merge "aaudio: MMAP input not implement pause flush" into oc-dr1-dev

7 years agoMerge "(DO NOT MERGE) media: Don't wait at MediaRecorder::stop() if we haven't receiv...
Hangyu Kuang [Thu, 6 Jul 2017 03:40:24 +0000 (03:40 +0000)]
Merge "(DO NOT MERGE) media: Don't wait at MediaRecorder::stop() if we haven't received any frames." into oc-dr1-dev am: 0f96fc772a
am: 7342d0939a

Change-Id: I452de368e7387cfd5ca2ee1b833e877023bfc035

7 years agoMerge "(DO NOT MERGE) media: Don't wait at MediaRecorder::stop() if we haven't receiv...
Hangyu Kuang [Thu, 6 Jul 2017 03:29:53 +0000 (03:29 +0000)]
Merge "(DO NOT MERGE) media: Don't wait at MediaRecorder::stop() if we haven't received any frames." into oc-dr1-dev
am: 0f96fc772a

Change-Id: Ia0eee918b5094278d929f06005fb373219ebd37a

7 years agoMerge "(DO NOT MERGE) media: Don't wait at MediaRecorder::stop() if we haven't receiv...
TreeHugger Robot [Thu, 6 Jul 2017 03:21:08 +0000 (03:21 +0000)]
Merge "(DO NOT MERGE) media: Don't wait at MediaRecorder::stop() if we haven't received any frames." into oc-dr1-dev

7 years agoaaudio: MMAP input not implement pause flush
Phil Burk [Wed, 5 Jul 2017 22:35:43 +0000 (15:35 -0700)]
aaudio: MMAP input not implement pause flush

They should return AAUDIO_ERROR_UNIMPLEMENTED
just like the legacy streams.

Bug: 63351465
Test: CTS test_aaudio.cpp testPauseAndFlushNotSupported
Change-Id: I42c8d45517bf0d808e648287579b9fb0c0cb3ae0

7 years agoMerge "aaudio: only use MMAP for low latency perf mode" into oc-dr1-dev am: 27e9c66294
Phil Burk [Wed, 5 Jul 2017 23:52:44 +0000 (23:52 +0000)]
Merge "aaudio:  only use MMAP for low latency perf mode" into oc-dr1-dev am: 27e9c66294
am: 7cb5619220

Change-Id: Idfdd35ec698e0f24865b4e8d0fa8083394f495fe