OSDN Git Service
Phil Burk [Tue, 11 Jul 2017 21:36:34 +0000 (21:36 +0000)]
Merge "aaudio: command line argument parser"
Jayant Chowdhary [Tue, 11 Jul 2017 20:35:50 +0000 (20:35 +0000)]
Merge "Build libmockcasplugin with the VNDK."
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
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
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
Sanna Catherine de Treville Wager [Tue, 11 Jul 2017 15:43:18 +0000 (15:43 +0000)]
Merge "Stores 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot [Mon, 10 Jul 2017 20:43:39 +0000 (20:43 +0000)]
Merge "Check frame handle validity before freeing buffer." into oc-dev
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
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
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
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
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
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
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
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
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
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
TreeHugger Robot [Mon, 10 Jul 2017 19:52:17 +0000 (19:52 +0000)]
Merge "audio effects: filter reserved effect commands" into klp-dev
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
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>
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>
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>
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>
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>
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>
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>
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
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
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
TreeHugger Robot [Fri, 7 Jul 2017 22:47:57 +0000 (22:47 +0000)]
Merge "Split libnbaio into libnbaio + libnbaio_mono."
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
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
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
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
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
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
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
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
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
Treehugger Robot [Fri, 7 Jul 2017 19:08:31 +0000 (19:08 +0000)]
Merge "Add 'dash' as a compatible brand"
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
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
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
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
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
Treehugger Robot [Fri, 7 Jul 2017 15:30:43 +0000 (15:30 +0000)]
Merge "Fix parsing of gps location atom in mp4"
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
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
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
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
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
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
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
Andy Hung [Thu, 6 Jul 2017 15:54:32 +0000 (15:54 +0000)]
Merge "Replace old audio time conversion macros and functions"
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"
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
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
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
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
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
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
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
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
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