Mikhail Naganov
c4b06bbc1e
[automerger] Add EFFECT_CMD_SET_PARAM parameter checking to Downmix and Reverb am: 804632afcd
am: bc1d023cc9
am: 03c1ecd9fe
...
Change-Id: Iaaaead614bb1a1dbc62f0443e7e3e0d7d4fb9012
7 years ago
Mikhail Naganov
03c1ecd9fe
[automerger] Add EFFECT_CMD_SET_PARAM parameter checking to Downmix and Reverb am: 804632afcd
am: bc1d023cc9
...
Change-Id: I8dfe1cdebec08b9ad5d3c7b19b8891158ac51132
7 years ago
Mikhail Naganov
804632afcd
Add EFFECT_CMD_SET_PARAM parameter checking to Downmix and Reverb
...
Bug: 63662938
Bug: 63526567
Test: Added CTS tests
Change-Id: I8ed398cd62a9f461b0590e37f593daa3d8e4dbc4
7 years ago
Glenn Kasten
8499f13735
Update OWNERS to be more specific
...
Still to do ... media/OWNERS
Test: Gerrit works as expected
Change-Id: I2645175569b579764d0298641287e56bfabeab9f
7 years ago
Chih-Hung Hsieh
4d8755fb32
Fix misc-macro-parentheses warnings in frameworks/av.
...
Bug: 28705665
Test: make with WITH_TIDY=1 WITH_TIDY_CHECKS=-*,misc-macro-* \
WITH_TIDY_FLAGS=-header-filter=frameworks/av/media/libeffects/.*
Change-Id: I14c6a2aca69f0a80783519fde62670a87ecf998d
7 years ago
rago
b636c4fd77
Revert float capability for downmixer
...
Revert floating point processing on downmixer.
This commits partially reverts d7d013446a
Bug: 63760315
Test: Play multichannel movie
Change-Id: I16edf8767e02ef5d8ff63f52e8d1222ce0d09e22
7 years ago
Mikhail Naganov
9584601561
Append additional owners to projects
...
This releaves reviewing burden from the frameworks/av owners.
Note that the lists of owners are inherited from the parent
directories thus the people listed in these files are owners
*in addition* to people listed in frameworks/av/OWNERS,
and frameworks/av/{media|services}/OWNERS.
Change-Id: I5e2db1c40cb807b906b2701fe446c874a8d19983
Test: not needed
7 years ago
TreeHugger Robot
6c3359f522
Merge "EffectsFactory: fix subeffects loading"
7 years ago
Mikhail Naganov
60c1b59023
EffectsFactory: fix subeffects loading
...
Due to a error in code, effects loaded via libproxy were
not populated correctly when the new XML effects format
was used.
Bug: 37492580
Test: no "AudioFlinger could not create effect" error messages
when enabling effects in Play Music
Change-Id: I15b4f20060397662c98835cdf8af9fa198ea994f
7 years ago
Steven Moreland
13e2fda387
Make libeffects build 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: build libeffects with BOARD_VNDK_VERSION=current
Bug: 37342627
Change-Id: I95b4bc39eb98b5af4069ab64d81574a451c8131f
7 years ago
Kevin Rocard
f34e3f272d
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 ago
Kevin Rocard
41af42b44e
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 ago
Kevin Rocard
8f5520a737
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 ago
Kevin Rocard
42aa39a2c6
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 ago
Kevin Rocard
97b544846b
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 ago
Kevin Rocard
007709c5eb
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 ago
Vijay Venkatraman
27ddf57d4c
Add libhardware_headers to various modules
...
Bug: 33241851
Test: With BOARD_VNDK_VERSION, mma works
Change-Id: Iabcb5469c4fd936c2d7c1f9a1113c557c8beab88
(cherry picked from commit da6a063a9e
)
7 years ago
Ricardo Garcia
88c3234337
Merge "Floating point support for audio post processing components"
7 years ago
Ramesh Katuri
d7d013446a
Floating point support for audio post processing components
...
Source code is added/modified to support floating point processing for
audio post processing components.All the changes are done under the macro
BUILD_FLOAT
Enable/disable this macro in Android.mk files to build floating point or
fixed point code.
Based on the macro either fixed point code or floating point code gets compiled.
By default this macro is ENABLED.
(cherry picked from partner commit 2ceaff6aafadbcb0fb6d5135ca814ba7c790ab1a)
(Minor merge conflicts solved, some formatting and safety changes,
bugfixes in EffectReverb.cpp)
Test: audio comparisons between integer and floating point effects
Change-Id: Idb044ace1e8da1d86c67667aba0101ae8da6788e
7 years ago
TreeHugger Robot
1fb72e5f39
Merge "Add libhardware_headers to various modules"
7 years ago
Ricardo Garcia
6292c1525f
Merge "Fix security vulnerability: Equalizer setParameter memory overflow" into klp-dev am: ef3a4aead0
am: 0ef6d9c121
am: 966e572c69
am: 1f7d80772c
am: a7e658fcca
am: 6d2092f734
am: 6447404db3
am: 8693c57563
am: 25e3a40344
am: 51789f19de
am: 7ba7584303
am: 5304cbcee8
am: 798dba38c4
am: fdd5f801f5
am: cdc2e0a0d8
...
am: 3a8678f545
Change-Id: I748d8cd4d23a42f9ef38c1167730c6029f685e7d
7 years ago
Ricardo Garcia
3a8678f545
Merge "Fix security vulnerability: Equalizer setParameter memory overflow" into klp-dev am: ef3a4aead0
am: 0ef6d9c121
am: 966e572c69
am: 1f7d80772c
am: a7e658fcca
am: 6d2092f734
am: 6447404db3
am: 8693c57563
am: 25e3a40344
am: 51789f19de
am: 7ba7584303
am: 5304cbcee8
am: 798dba38c4
am: fdd5f801f5
...
am: cdc2e0a0d8
Change-Id: I9bcbd28defbddbc323f86cdb4e3f0d57c6518625
7 years ago
Ricardo Garcia
7ba7584303
Merge "Fix security vulnerability: Equalizer setParameter memory overflow" into klp-dev am: ef3a4aead0
am: 0ef6d9c121
am: 966e572c69
am: 1f7d80772c
am: a7e658fcca
am: 6d2092f734
am: 6447404db3
am: 8693c57563
am: 25e3a40344
...
am: 51789f19de
Change-Id: Id2b44ecf0ce68d609f2a1270662a910a19f57a66
7 years ago
Ricardo Garcia
6447404db3
Merge "Fix security vulnerability: Equalizer setParameter memory overflow" into klp-dev am: ef3a4aead0
am: 0ef6d9c121
am: 966e572c69
am: 1f7d80772c
am: a7e658fcca
...
am: 6d2092f734
Change-Id: Ic8ace5d6ed81df5d8298d9031e635501ecf2b590
7 years ago
Ricardo Garcia
a7e658fcca
Merge "Fix security vulnerability: Equalizer setParameter memory overflow" into klp-dev am: ef3a4aead0
am: 0ef6d9c121
am: 966e572c69
...
am: 1f7d80772c
Change-Id: I7a978b70b1330b619ac0ed46f3c191912ce0ffd1
7 years ago
Ricardo Garcia
1f7d80772c
Merge "Fix security vulnerability: Equalizer setParameter memory overflow" into klp-dev am: ef3a4aead0
am: 0ef6d9c121
...
am: 966e572c69
Change-Id: Ida849f8cad82a997a108ad472b150c7be29baf42
7 years ago
Ricardo Garcia
966e572c69
Merge "Fix security vulnerability: Equalizer setParameter memory overflow" into klp-dev am: ef3a4aead0
...
am: 0ef6d9c121
Change-Id: I420ab9888c2b542ca66fbb65fd2bf7ea7ff3bb16
7 years ago
Ricardo Garcia
ef3a4aead0
Merge "Fix security vulnerability: Equalizer setParameter memory overflow" into klp-dev
7 years ago
rago
68b9e0f5d6
Fix security vulnerability: Equalizer setParameter memory overflow
...
Bug: 37563371
Test: use POC on bug or cts security test
Change-Id: I9c9453a222b53fd5ef821330a34cb9e938e4d9c5
7 years ago
Andy Hung
8e02c17a66
Merge "EffectBundle: Check value size for get preset name" into klp-dev am: f5d6e98996
am: b401a3bf44
am: 1f44782e92
am: ea83248dfb
am: 716d258db4
am: f043bb5da6
am: 4d76e5bcd6
am: f21d5b4580
am: f0221a7dbe
am: b26594e6ae
am: 158ec15776
am: 426244d6dc
am: c47adacb0d
am: 0d340d4990
am: 0d77973e73
am: c86bf87c17
...
am: 5f9e26e8f6
Change-Id: I4d33590d430ef8836649db5462e8a6901e6b660e
7 years ago
Andy Hung
5f9e26e8f6
Merge "EffectBundle: Check value size for get preset name" into klp-dev am: f5d6e98996
am: b401a3bf44
am: 1f44782e92
am: ea83248dfb
am: 716d258db4
am: f043bb5da6
am: 4d76e5bcd6
am: f21d5b4580
am: f0221a7dbe
am: b26594e6ae
am: 158ec15776
am: 426244d6dc
am: c47adacb0d
am: 0d340d4990
am: 0d77973e73
...
am: c86bf87c17
Change-Id: I4d35d8284fbcc230aa71de99892dcac49ce7e63d
7 years ago
Andy Hung
c86bf87c17
Merge "EffectBundle: Check value size for get preset name" into klp-dev am: f5d6e98996
am: b401a3bf44
am: 1f44782e92
am: ea83248dfb
am: 716d258db4
am: f043bb5da6
am: 4d76e5bcd6
am: f21d5b4580
am: f0221a7dbe
am: b26594e6ae
am: 158ec15776
am: 426244d6dc
am: c47adacb0d
am: 0d340d4990
...
am: 0d77973e73
Change-Id: Id64c4d474e17a866d1981de43c6d22476f29da29
7 years ago
Andy Hung
158ec15776
Merge "EffectBundle: Check value size for get preset name" into klp-dev am: f5d6e98996
am: b401a3bf44
am: 1f44782e92
am: ea83248dfb
am: 716d258db4
am: f043bb5da6
am: 4d76e5bcd6
am: f21d5b4580
am: f0221a7dbe
...
am: b26594e6ae
Change-Id: I4e3f2f389f80c4dd3f8775ce265f2059ff637f0d
7 years ago
Andy Hung
4d76e5bcd6
Merge "EffectBundle: Check value size for get preset name" into klp-dev am: f5d6e98996
am: b401a3bf44
am: 1f44782e92
am: ea83248dfb
am: 716d258db4
...
am: f043bb5da6
Change-Id: I2a3a4486ade55675ce06ad9b6e3a4c01d1a4647d
7 years ago
Andy Hung
716d258db4
Merge "EffectBundle: Check value size for get preset name" into klp-dev am: f5d6e98996
am: b401a3bf44
am: 1f44782e92
...
am: ea83248dfb
Change-Id: I0ceea1282ab530f228b8e6f54678edf3bb2f9d69
7 years ago
Andy Hung
ea83248dfb
Merge "EffectBundle: Check value size for get preset name" into klp-dev am: f5d6e98996
am: b401a3bf44
...
am: 1f44782e92
Change-Id: Idc429c80c4058fcd2232209afd5da70128cca837
7 years ago
Andy Hung
1f44782e92
Merge "EffectBundle: Check value size for get preset name" into klp-dev am: f5d6e98996
...
am: b401a3bf44
Change-Id: Ie62820116b2250c7533975362e90ae8139933697
7 years ago
Vijay Venkatraman
da6a063a9e
Add libhardware_headers to various modules
...
Bug: 33241851
Test: build target and pass CTS
Test: With BOARD_VNDK_VERSION, mma works
Change-Id: Iabcb5469c4fd936c2d7c1f9a1113c557c8beab88
7 years ago
Andy Hung
f6c19a19e4
Merge "Effects: Update audio_effects.conf to use vendor" into oc-dev am: 4f627e60fa
...
am: 67618464ba
Change-Id: I66931bdf8550a56df07db11dcd4d1ff3a59f0304
7 years ago
Andy Hung
67618464ba
Merge "Effects: Update audio_effects.conf to use vendor" into oc-dev
...
am: 4f627e60fa
Change-Id: Ib47d2913997e1643ef94d514b80197578cb96c97
7 years ago
Andy Hung
4f627e60fa
Merge "Effects: Update audio_effects.conf to use vendor" into oc-dev
7 years ago
SzuWei Lin
5b750b08e9
libeffects: move all libraries to vendor
...
Bug: 37490685
Test: equalizer works in google play music
Test: CleanSpec works
Change-Id: I9c1d19b5b5c5099edc9c20ff7728adc830ff4786
(cherry picked from commit f7df59c9e1
)
7 years ago
Andy Hung
16ce86c78e
Effects: Update audio_effects.conf to use vendor
...
Matches build targets.
Test: Fugu dumpsys, CTS
Bug: 38505859
Change-Id: I812dc8414ab286b906ee02c47296d365aeb33a4d
7 years ago
SzuWei Lin
d1d95ebdb8
Merge "libeffects: move all libraries to vendor" am: 0b9bb5e2d1
am: f036194218
am: 86e5abfd24
...
am: 0c46529868
Change-Id: I2a7fce73e86853cc68ababb606788db5bf019160
7 years ago
SzuWei Lin
0c46529868
Merge "libeffects: move all libraries to vendor" am: 0b9bb5e2d1
am: f036194218
...
am: 86e5abfd24
Change-Id: I345ca89f8a44285c4de9679791da5523bbfcadf9
7 years ago
Treehugger Robot
0b9bb5e2d1
Merge "libeffects: move all libraries to vendor"
7 years ago
Eric Laurent
28588e78a2
relax effects library path in audio_effects.conf
...
am: 0556a2363f
Change-Id: I87159e4f81f78a78c3e8dbfdb1947e08f79713b8
7 years ago
Eric Laurent
0556a2363f
relax effects library path in audio_effects.conf
...
Consider only the file name part of the library path specified in
audio_effects.conf and only if the path contains "/lib/soundfx" then
try all standard paths in the folowing order: /odm/.. /vendor/.. and /system/..
Bug: 38000861
Bug: 38505859
Test: check effect libraries are loaded from /system/lib or /vendor/lib
Change-Id: Ib02ecb3a464a59e7b7babcd9405b8fe4dc074745
(cherry picked from commit 7a13c2d0b0
)
7 years ago
SzuWei Lin
f7df59c9e1
libeffects: move all libraries to vendor
...
Bug: 37490685
Test: equalizer works in google play music
Test: CleanSpec works
Change-Id: I9c1d19b5b5c5099edc9c20ff7728adc830ff4786
7 years ago
Andy Hung
fa5c6c97ee
EffectBundle: Check value size for get preset name
...
Test: CTS testAllEffectsEqualizer_CVE_2017_0401
Bug: 37536407
Change-Id: I347af04677fc49a01efb549f06ff81d1a00dc4d0
7 years ago
TreeHugger Robot
3562812a6d
Merge "move AOSP audio preprocessing to vendor image"
7 years ago
Eric Laurent
6debec1195
move AOSP audio preprocessing to vendor image
...
Test: build and check pre processing on ryu build
Change-Id: Idb7c4b3acc03a53edfe9389861d0830fdc888d61
7 years ago
Eric Laurent
7a13c2d0b0
relax effects library path in audio_effects.conf
...
Consider only the file name part of the library path specified in
audio_effects.conf and only if the path contains "/lib/soundfx" then
try all standard paths in the folowing order: /odm/.. /vendor/.. and /system/..
Bug: 38000861
Test: check effect libraries are loaded from /system/lib or /vendor/lib
Change-Id: Ib02ecb3a464a59e7b7babcd9405b8fe4dc074745
7 years ago
Steven Moreland
1e9024c06a
Merge "Replace LOCAL_C_INCLUDES with header lib dependency." am: 2cb9b1b621
am: 8ff5ee3a2d
...
am: 917a18f235
Change-Id: I91906b2448ab0afe83411ae568a093c156c55fac
7 years ago
Steven Moreland
1fee1a82e0
Replace LOCAL_C_INCLUDES with header lib dependency.
...
Test: works with BOARD_VNDK_VERSION=current
Bug: 33241851
Change-Id: I8d3c47fe3d4b7dfe69d04e1f9ea1263cde067174
7 years ago
SzuWei Lin
be02841e82
resolve merge conflicts of 88874349da
to oc-dev-plus-aosp
...
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I62de4ad3072884e3a66e64bab417ea849b78fd10
7 years ago
SzuWei Lin
5e5aa0e3fe
libeffects: move all libraries to vendor
...
Bug: 37490685
Test: equalizer works in google play music
Test: CleanSpec works
Merged-In: I323f4048bce8a512d8aaa1760aef9d176a282c2d
Change-Id: I323f4048bce8a512d8aaa1760aef9d176a282c2d
(cherry picked from commit df57a30938
)
7 years ago
SzuWei Lin
c21a24aa88
libeffects: move all libraries to vendor
...
Bug: 37490685
Test: equalizer works in google play music
Test: CleanSpec works
Change-Id: I323f4048bce8a512d8aaa1760aef9d176a282c2d
7 years ago
Steven Moreland
a3b4ef8b5f
Add libeffects_headers.
...
Also had to fix the location and symlink of them.
Test: works with BOARD_VNDK_VERSION := current
Bug: 33241851
Change-Id: Idcfe1eaaf7be10a183b69bafa07f035ab9ca1e4e
7 years ago
Steven Moreland
c2e0f33032
libeffects: move to vendor
...
Bug: 33241851
Test: equalizer works in google play music
Test: CleanSpec works
Change-Id: I11b54a5f050f914afc234e15f680581d15064c82
7 years ago
rago
090eb09be1
Show in dumpsys effect libraries that failed to load
...
Bug: 36525163
Bug: 36864417
Change-Id: I120129cb43e9593cc94ba361fe76ade86448e46a
Test: run and use dumpsys audio_flinger
7 years ago
Mikhail Naganov
5bfa94c5a4
libeffects: Fix EQ's 5th band upper limit
...
The old value: "1" is invalid, as follows from the code that
uses these values.
Bug: 36651594
Change-Id: I0516272241ffc1c4d346d8d66b06169b981bae2c
Test: VTS test for Audio Effects
(cherry picked from commit 3cf264448d
)
7 years ago
Eric Laurent
904d632a24
Add support for USB headset device
...
Add missing rules for USB headset devices in routing, volume and effects
management.
Test: playback and catpure regression tests.
Change-Id: I42cd157f483deba2371a05d332cd11dceb2b2fa3
7 years ago
Vijay Venkatraman
e2b43843fd
Moved headers from include/ to appropriate libs
...
include/camera -> camera/include/camera
include/media/audiohal -> media/libaudiohal/include
include/media/AudioResampler*.h -> media/libaudioprocessing/include
include/media/Audio*.h,IAudio*.h,IEffect*.h,ToneGenerator.h -> media/libaudioclient/include
include/media/EffectsFactoryApi.h -> media/libeffects/include
include/media/stagefright -> media/libstagefright/include
include/media/nbaio -> media/libnbaio/include
include/media/<rest of files> -> media/libmedia/include
include/cpustats -> media/libcpustats/include/cpustats
Added symlinks from old location to new ones
Bug: 33241851
Test: VNDK linked modules will need to add explicit lib dep.
All other modules should compile the same
Change-Id: I0ecf754a2132640ae781a3cc31428fb8c0bd1669
7 years ago
Jean-Michel Trivi
683094933e
EffectBundle: check nb channels to write speaker angles am: e5a54485e0
am: b0896dfc81
am: b9e070af6a
am: e5c0e7e10b
am: 3ffe48ed29
am: 3db88c0f00
am: 9169ca1b88
am: 654e9f9282
am: 8e86da478b
am: 7ea7597648
am: 5c9fcda34e
am: 8987fbb09b
...
am: dbedfa05fe
Change-Id: I17f774c35abbae99de2b3cfcae548c8863c036a8
7 years ago
Jean-Michel Trivi
8987fbb09b
EffectBundle: check nb channels to write speaker angles am: e5a54485e0
am: b0896dfc81
am: b9e070af6a
am: e5c0e7e10b
am: 3ffe48ed29
am: 3db88c0f00
am: 9169ca1b88
am: 654e9f9282
am: 8e86da478b
am: 7ea7597648
...
am: 5c9fcda34e
Change-Id: I17a93c1ff1348f4ad270033c095c5d683eb646c6
7 years ago
Jean-Michel Trivi
654e9f9282
EffectBundle: check nb channels to write speaker angles am: e5a54485e0
am: b0896dfc81
am: b9e070af6a
am: e5c0e7e10b
am: 3ffe48ed29
am: 3db88c0f00
...
am: 9169ca1b88
Change-Id: I444281056ba5770276b76900055c6e27daaeba63
7 years ago
Jean-Michel Trivi
e5c0e7e10b
EffectBundle: check nb channels to write speaker angles am: e5a54485e0
am: b0896dfc81
...
am: b9e070af6a
Change-Id: I1676f829b5571abad93c9f4ce156811a55787024
7 years ago
Jean-Michel Trivi
b0896dfc81
EffectBundle: check nb channels to write speaker angles
...
am: e5a54485e0
Change-Id: I131f8d196034854f562a175874bce19b29904664
7 years ago
Jean-Michel Trivi
e5a54485e0
EffectBundle: check nb channels to write speaker angles
...
When speaker angles are queried, the size of the array for the
returned data is 3x the number of channels (where really it
should be max(2, nbChannels)). The code assumed it was at
least 3x2 (where 2 is the number of virtual speakers this
effect supports) and would thus crash when called for a mono
channel mask.
Test: see repro steps in bug
Bug: 32591350
Change-Id: I33d4bff6b2e19a9fc4284a85a446804878d3a410
8 years ago
Mark Salyzyn
060a6c53b5
Merge "liblog: use log/log.h for ALOG macros" am: 59cfe7de39
am: c6d07e8230
am: 15b18326b6
...
am: 49d3b5ee8e
Change-Id: I87a85c85d3f509e0496f5946d6e9e58174398ea5
8 years ago
Mark Salyzyn
15b18326b6
Merge "liblog: use log/log.h for ALOG macros" am: 59cfe7de39
...
am: c6d07e8230
Change-Id: Ia3c81c04b689ae06610df61d27627dd66d5f71bd
8 years ago
Mark Salyzyn
e74bbf18a6
liblog: use log/log.h for ALOG macros
...
Test: compile
Bug: 34250038
Change-Id: Ie3b92790df631dbacdd51053264dddeba66913c1
8 years ago
Mark Salyzyn
ad880540d1
Merge "liblog: use log/log.h for ALOG macros" am: 06d8feefec
am: 71bf335ffa
am: 8790fb2613
...
am: 9033512273
Change-Id: I67837417d7c8fbc2cc5239f903a0cdf3b107558b
8 years ago
Mark Salyzyn
8790fb2613
Merge "liblog: use log/log.h for ALOG macros" am: 06d8feefec
...
am: 71bf335ffa
Change-Id: Id07d468c8e95af39e189f53919a0ac6aabc9604c
8 years ago
Mark Salyzyn
eb16561336
liblog: use log/log.h for ALOG macros
...
Test: compile
Bug: 30465923
Change-Id: I247151363604714088b6059279702702b4e9f89a
8 years ago
Mark Salyzyn
32a5f5d53f
resolve merge conflicts of 4532a36
to master
...
Test: build
Change-Id: I9b93c4a703c0ee16116be2bea0e6df0606d29363
8 years ago
Mark Salyzyn
1121dfb5f3
Merge "Replace cutils/log.h with either android/log.h or log/log.h" am: a05da2eea4
...
am: 9e97dc7832
Change-Id: I414954c96ad8b803a0401d416887c9ce167db210
8 years ago
Mark Salyzyn
60d02077d8
Replace cutils/log.h with either android/log.h or log/log.h
...
Test: compile
Bug: 31289077
Change-Id: I795a76f978d2213737f1fa908da789c543219b75
8 years ago
rago
c64e124bca
Fix security vulnerability: potential OOB write in audioserver am: e275907e57
am: 01e854056a
am: 3e8ab60b7f
am: 9161586309
am: ad29b47d91
am: 8b9b199891
am: 72729c449d
am: 97bb7fe084
am: 3d6aada999
am: ffe82a3b4a
am: ec601622f8
am: f50635bdc4
am: f1e829a54e
am: a2e95f5c9b
am: c6239b0d4d
...
am: cbc7183fbb
Change-Id: I7a13718ab24d1c4c9c64d83e148031af046921e1
8 years ago
rago
c6239b0d4d
Fix security vulnerability: potential OOB write in audioserver am: e275907e57
am: 01e854056a
am: 3e8ab60b7f
am: 9161586309
am: ad29b47d91
am: 8b9b199891
am: 72729c449d
am: 97bb7fe084
am: 3d6aada999
am: ffe82a3b4a
am: ec601622f8
am: f50635bdc4
am: f1e829a54e
...
am: a2e95f5c9b
Change-Id: Ic25053a111913dfd4490633b9f0eff1e7fe1d359
8 years ago
rago
ec601622f8
Fix security vulnerability: potential OOB write in audioserver am: e275907e57
am: 01e854056a
am: 3e8ab60b7f
am: 9161586309
am: ad29b47d91
am: 8b9b199891
am: 72729c449d
am: 97bb7fe084
am: 3d6aada999
...
am: ffe82a3b4a
Change-Id: I428d5c72ea37518c30d50d21b1ef47e440933cde
8 years ago
rago
72729c449d
Fix security vulnerability: potential OOB write in audioserver am: e275907e57
am: 01e854056a
am: 3e8ab60b7f
am: 9161586309
am: ad29b47d91
...
am: 8b9b199891
Change-Id: Id1d62d9ebabab42f5ca82ff2fbbcf14d130466f4
8 years ago
rago
ad29b47d91
Fix security vulnerability: potential OOB write in audioserver am: e275907e57
am: 01e854056a
am: 3e8ab60b7f
...
am: 9161586309
Change-Id: Ibcceb08d7db77f67f3dfc3cdad1d2bd6994183ae
8 years ago
rago
9161586309
Fix security vulnerability: potential OOB write in audioserver am: e275907e57
am: 01e854056a
...
am: 3e8ab60b7f
Change-Id: Ib575df34ec5bb7dc2cd83a859e10abe94e894317
8 years ago
rago
3e8ab60b7f
Fix security vulnerability: potential OOB write in audioserver am: e275907e57
...
am: 01e854056a
Change-Id: I7ea6a871eed4b9e1c56c5350c4e5fb5eb628e816
8 years ago
rago
e275907e57
Fix security vulnerability: potential OOB write in audioserver
...
Bug: 32705438
Bug: 32703959
Test: cts security test
Change-Id: I8900c92fa55b56c4c2c9d721efdbabe6bfc8a4a4
8 years ago
Baligh Uddin
221bfde160
Merge remote-tracking branch 'goog/cw-f-dev' into fix_merger
...
Bug: 32849428
* goog/cw-f-dev:
If a device does not have a camera, do not set a camera death notifier
Fix security vulnerability: Effect command might allow negative indexes
Make VBRISeeker more robust
DO NOT MERGE: defensive parsing of mp3 album art information
Effects: Check get parameter command size
IOMX: convert ANWB to Gralloc meta if using useBuffer in the same process
DO NOT MERGE: defensive parsing of mp3 album art information
DO NOT MERGE: defensive parsing of mp3 album art information
DO NOT MERGE: defensive parsing of mp3 album art information
DO NOT MERGE: defensive parsing of mp3 album art information
Camera API1: don't pick wrong preview fps value
Fix security vulnerability: Equalizer command might allow negative indexes
Camera API1: relax the fps check with some margin
stagefright: remove allottedSize equality check in IOMX::useBuffer
Camera API1: filter out the unsupported preview fps range
DO NOT MERGE: Visualizer: Check capture size and latency parameters
Visualizer: Check capture size and latency parameters
8 years ago
Caroline Tice
179c103d6c
Merge "Fix 2 compiler warnings."
8 years ago
Caroline Tice
3427ab41b4
Fix 2 compiler warnings.
...
This CL fixes the following 2 compiler warnings:
EffectBundle.cpp:343:18 warning: Dereference of null pointer
(loaded from variable 'pHandle')
EffectBundle.cpp:2662:13 warning: Value stored to 'status' is never read
BUG: None
Test: None
Change-Id: Ifa68a79c6fe82ffcbd22890e1187c92a72535b7e
8 years ago
rago
622da70c3b
Fix security vulnerability: Effect command might allow negative indexes am: 01183402d7
am: 94e3424b74
am: 9bf3487e7a
am: d4881f8406
am: f31abe2c96
am: 0905c40edc
am: 7b4d79044d
am: a6323b04de
am: d8383694f9
am: e92a0c60d8
am: 3712921ae9
am: df9b8955cb
am: 3939df6105
am: af55335d2d
am: 549f6da1f6
...
am: 9dc4111c17
Change-Id: I0a10b78775b4ae5ab3c0452b4befa052f26f7631
8 years ago
rago
9dc4111c17
Fix security vulnerability: Effect command might allow negative indexes am: 01183402d7
am: 94e3424b74
am: 9bf3487e7a
am: d4881f8406
am: f31abe2c96
am: 0905c40edc
am: 7b4d79044d
am: a6323b04de
am: d8383694f9
am: e92a0c60d8
am: 3712921ae9
am: df9b8955cb
am: 3939df6105
am: af55335d2d
...
am: 549f6da1f6
Change-Id: I8f8302fc4259dba7f26ad7b6c42198c71d94e7ed
8 years ago
rago
3712921ae9
Fix security vulnerability: Effect command might allow negative indexes am: 01183402d7
am: 94e3424b74
am: 9bf3487e7a
am: d4881f8406
am: f31abe2c96
am: 0905c40edc
am: 7b4d79044d
am: a6323b04de
am: d8383694f9
...
am: e92a0c60d8
Change-Id: I0275c7561f4da96d0a17a663d4c2ce8942f33bbb
8 years ago
rago
7b4d79044d
Fix security vulnerability: Effect command might allow negative indexes am: 01183402d7
am: 94e3424b74
am: 9bf3487e7a
am: d4881f8406
am: f31abe2c96
...
am: 0905c40edc
Change-Id: I1e1cddf4f5a95b4ac251aae6ff5db31877517936
8 years ago
rago
f31abe2c96
Fix security vulnerability: Effect command might allow negative indexes am: 01183402d7
am: 94e3424b74
am: 9bf3487e7a
...
am: d4881f8406
Change-Id: I4786037f49f5da37a1a363f7cb01c9c086776624
8 years ago
rago
d4881f8406
Fix security vulnerability: Effect command might allow negative indexes am: 01183402d7
am: 94e3424b74
...
am: 9bf3487e7a
Change-Id: Ia36571a591829777096ad41316b7edf169ce9a6c
8 years ago
rago
9bf3487e7a
Fix security vulnerability: Effect command might allow negative indexes am: 01183402d7
...
am: 94e3424b74
Change-Id: Id0353ac5716377b45e3a967110d43d9baf744be8
8 years ago
rago
01183402d7
Fix security vulnerability: Effect command might allow negative indexes
...
Bug: 32448258
Bug: 32095626
Test: Use POC bug or cts security test
Change-Id: I69f24eac5866f8d9090fc4c0ebe58c2c297b63df
8 years ago
Andy Hung
d074a7d4c5
Visualizer: Check capture size and latency parameters am: 9a2732ba0a
am: 5e0822f704
am: d21cc13ae6
am: f658db43f4
am: 73dae43026
am: 16303ece70
am: 0c7786ecd8
am: d6b51c0ef9
am: 2b82397960
am: ce6236f931
am: 24232c7bb7
am: b8842b6b87
...
am: 5a5f57dd13
Change-Id: I05dee2af162237e9492dcf19461150531384c658
8 years ago
Andy Hung
5a5f57dd13
Visualizer: Check capture size and latency parameters am: 9a2732ba0a
am: 5e0822f704
am: d21cc13ae6
am: f658db43f4
am: 73dae43026
am: 16303ece70
am: 0c7786ecd8
am: d6b51c0ef9
am: 2b82397960
am: ce6236f931
am: 24232c7bb7
...
am: b8842b6b87
Change-Id: Iac67c163b3620b7b7f537afc8fb8b721a6068481
8 years ago
Andy Hung
d6b51c0ef9
Visualizer: Check capture size and latency parameters am: 9a2732ba0a
am: 5e0822f704
am: d21cc13ae6
am: f658db43f4
am: 73dae43026
am: 16303ece70
...
am: 0c7786ecd8
Change-Id: Idf2bdd19f79bff9c663fbf9af0de5ffaf437109e
8 years ago
Andy Hung
f658db43f4
Visualizer: Check capture size and latency parameters am: 9a2732ba0a
am: 5e0822f704
...
am: d21cc13ae6
Change-Id: Iee4e5fe706eaafbf1cd36b864c53173a16151c0c
8 years ago
Andy Hung
34ce18d4e7
DO NOT MERGE: Visualizer: Check capture size and latency parameters am: 86cbc180f4
...
am: ce8b7cd373
Change-Id: I2afd4ba46fd6d62c3e89e49ec826ef7d683b324a
8 years ago
Andy Hung
ce8b7cd373
DO NOT MERGE: Visualizer: Check capture size and latency parameters
...
am: 86cbc180f4
Change-Id: Ieefd729dc4b90ecaba5bd7684b940ec70f9203b5
8 years ago
Andy Hung
5e0822f704
Visualizer: Check capture size and latency parameters
...
am: 9a2732ba0a
Change-Id: I3e08e2106d1d1ccc6974e7036dea4617fb8c04f5
8 years ago
Andy Hung
565394b1da
Merge "Visualizer: Check capture size and latency parameters" into lmp-dev
8 years ago
Andy Hung
f89590d009
Merge "DO NOT MERGE: Visualizer: Check capture size and latency parameters" into klp-dev
8 years ago
rago
6184728e54
Fix security vulnerability: Equalizer command might allow negative indexes am: e981cca9ff
am: 8fb8275471
am: 6b4cf2c0d3
am: dd060b3bb4
am: 4bcf2e6fbe
am: 81e0914473
am: 3d16a9c4b4
am: cde28c8a31
am: 00d12e3037
am: 67f8e40fcd
am: 1b1d8e79a3
am: f386ebab0a
am: 427e18298a
am: 635d955978
...
am: fb35b6654b
Change-Id: I595408907d99c3466227637f224991510f0a97db
8 years ago
rago
1b1d8e79a3
Fix security vulnerability: Equalizer command might allow negative indexes am: e981cca9ff
am: 8fb8275471
am: 6b4cf2c0d3
am: dd060b3bb4
am: 4bcf2e6fbe
am: 81e0914473
am: 3d16a9c4b4
am: cde28c8a31
am: 00d12e3037
...
am: 67f8e40fcd
Change-Id: Ic2bd5928180f19aee4d0b0a4e048c79e96eb9480
8 years ago
rago
3d16a9c4b4
Fix security vulnerability: Equalizer command might allow negative indexes am: e981cca9ff
am: 8fb8275471
am: 6b4cf2c0d3
am: dd060b3bb4
am: 4bcf2e6fbe
...
am: 81e0914473
Change-Id: Ia098ff7b7e1761e4af3ee256110f736f31860256
8 years ago
rago
4bcf2e6fbe
Fix security vulnerability: Equalizer command might allow negative indexes am: e981cca9ff
am: 8fb8275471
am: 6b4cf2c0d3
...
am: dd060b3bb4
Change-Id: If6848a77e1f2a785c017d2e5d77f770c34a97d4c
8 years ago
rago
dd060b3bb4
Fix security vulnerability: Equalizer command might allow negative indexes am: e981cca9ff
am: 8fb8275471
...
am: 6b4cf2c0d3
Change-Id: I88ed7d46bb8d54dcb2309b103dd6fcf787ba3269
8 years ago
rago
6b4cf2c0d3
Fix security vulnerability: Equalizer command might allow negative indexes am: e981cca9ff
...
am: 8fb8275471
Change-Id: Iba4ca7302804912646e8c510d2e436ebbf8373aa
8 years ago
Andy Hung
3ee0f1069e
Merge "EffectProxy: Check offload reply size"
8 years ago
Andy Hung
48946cd0cd
EffectProxy: Check offload reply size
...
Test: Custom test case
Bug: 32448121
Change-Id: Iacdd84097f897e86a188ab6831fd0e11738973d1
8 years ago
rago
e981cca9ff
Fix security vulnerability: Equalizer command might allow negative indexes
...
Bug: 32247948
Bug: 32438598
Bug: 32436341
Test: use POC on bug or cts security test
Change-Id: I91bd6aadb6c7410163e03101f365db767f4cd2a3
(cherry picked from commit 0872b65cff
)
8 years ago
rago
0872b65cff
Fix security vulnerability: Equalizer command might allow negative indexes
...
Bug: 32247948
Bug: 32438598
Bug: 32436341
Test: use POC on bug or cts security test
Change-Id: I91bd6aadb6c7410163e03101f365db767f4cd2a3
8 years ago
Andy Hung
86cbc180f4
DO NOT MERGE: Visualizer: Check capture size and latency parameters
...
Bug: 31781965
Change-Id: I1c439a0d0f6aa0057b3c651499f28426e1e1f5e4
8 years ago
Andy Hung
9a2732ba0a
Visualizer: Check capture size and latency parameters
...
Bug: 31781965
Change-Id: I1c439a0d0f6aa0057b3c651499f28426e1e1f5e4
8 years ago
Caroline Tice
bd0f59e493
Merge "Fix potental memory leak (compiler warning)." am: c1184a7991
am: 7a40848e50
...
am: 46b06cf79e
Change-Id: Ia51169703363cfa7eb488193316b12606097a970
8 years ago
Caroline Tice
7a40848e50
Merge "Fix potental memory leak (compiler warning)."
...
am: c1184a7991
Change-Id: I78b5d0ed14bfb18108ee43a8d3570cdb6bc65b32
8 years ago
Caroline Tice
f8dd1bdb12
Fix potental memory leak (compiler warning).
...
This CL fixes the following warning:
EffectProxy.cpp:93:8: warning: Potential leak of memory pointed to by
'pContext'.
BUG=None
Test: WITH_TIDY=1 WITH_STATIC_ANLYZER=1 mm
Change-Id: I7f127042eb50d3d6297473bfd90a5402b182cc85
8 years ago
Mikhail Naganov
c2f710f89e
Move audio_effects_conf.h to system/audio_effects
...
This file is not really related to HAL.
Change-Id: Ie584266c708cebac651997c8086032b4cc25832b
Test: make
8 years ago
rago
b4e21fe2fb
Fix potential NULL dereference in Visualizer effect am: 874f9e0b8e
am: f060479b9a
am: bcc7230bb9
am: f4a63f6765
am: ecfd198cda
am: bae68c9e15
am: d36ebed01e
am: 1b963dc33c
am: b4842ae2d4
am: 59f22c99fe
...
am: 7fc03ff680
Change-Id: I373bb242dd64295ff240e07bc96bce3a59fa5060
8 years ago
rago
7fc03ff680
Fix potential NULL dereference in Visualizer effect am: 874f9e0b8e
am: f060479b9a
am: bcc7230bb9
am: f4a63f6765
am: ecfd198cda
am: bae68c9e15
am: d36ebed01e
am: 1b963dc33c
am: b4842ae2d4
...
am: 59f22c99fe
Change-Id: Ia0fa745aacc6f1af22df4bc69e42951ca1207585
8 years ago
rago
d36ebed01e
Fix potential NULL dereference in Visualizer effect am: 874f9e0b8e
am: f060479b9a
am: bcc7230bb9
am: f4a63f6765
am: ecfd198cda
...
am: bae68c9e15
Change-Id: I8e71eeb1a3b6c9adaa494578327e3984364b7ace
8 years ago
rago
ecfd198cda
Fix potential NULL dereference in Visualizer effect am: 874f9e0b8e
am: f060479b9a
am: bcc7230bb9
...
am: f4a63f6765
Change-Id: I6a360ed595632dbb9d8e370c4561ec41d07c173f
8 years ago
rago
f4a63f6765
Fix potential NULL dereference in Visualizer effect am: 874f9e0b8e
am: f060479b9a
...
am: bcc7230bb9
Change-Id: If5d6fefb276341472d827bac3f349561f7d1d990
8 years ago
rago
bcc7230bb9
Fix potential NULL dereference in Visualizer effect am: 874f9e0b8e
...
am: f060479b9a
Change-Id: I69eb3819f246e6d807af099f9a0260146cd06fd2
8 years ago
rago
874f9e0b8e
Fix potential NULL dereference in Visualizer effect
...
Bug: 30229821
Test: fixing CL. Existing unit tests still pass.
Change-Id: I6e4abd759d5d2abc3b391e92e2e18f060cab7af0
8 years ago
Ricardo Garcia
0c739c59dd
Merge "Fix potential NULL dereference in Visualizer effect"
8 years ago
Glenn Kasten
ef225074ea
Enable strict warnings and fix unused warnings
...
Test: builds without warnings
Change-Id: I0701a44cbd9a2adc405a1e253b57df7ee03a90b7
8 years ago
rago
b66492c768
Fix potential NULL dereference in Visualizer effect
...
Bug: 30229821
Test: fixing CL. Existing unit tests still pass.
Change-Id: I6e4abd759d5d2abc3b391e92e2e18f060cab7af0
8 years ago
Dan Willemsen
c380f611f7
Merge "Convert to Android.bp" am: a50b46b7bb
am: 8651f91fbd
am: 806f548e79
...
am: 37a767263e
Change-Id: I35e44448c5e7ef813f050d2422286f540b39490b
8 years ago
Dan Willemsen
806f548e79
Merge "Convert to Android.bp" am: a50b46b7bb
...
am: 8651f91fbd
Change-Id: Icdd020775d7a6950f2bcd9450b5acd969add46d0
8 years ago
TreeHugger Robot
ee1cd20c83
Merge "Fix compiler warnings."
8 years ago
Dan Willemsen
af26292e0b
Convert to Android.bp
...
See build/soong/README.md for more information
Test: mmma -j frameworks/av
Change-Id: I1b8deeec65e2cfa1633354712004ef87f3ac8b3e
8 years ago
George Burgess IV
6d7deae9b9
Merge "libeffects: fix enum conversion warnings." am: bb38f90602
...
am: 8639a4b67a
Change-Id: Ib1c9f91d1e4b1de800186b0b807c8b081f224c15
8 years ago
Treehugger Robot
bb38f90602
Merge "libeffects: fix enum conversion warnings."
8 years ago
George Burgess IV
cf06be50b2
libeffects: fix enum conversion warnings.
...
warning: implicit conversion from enumeration type 'LVDBE_Fs_en' to
different enumeration type 'LVM_Fs_en' [-Wenum-conversion]
Thanks to Luis Lozano for the patch!
BUG: None
Test: Compiles without warnings.
Change-Id: I5bb0b5fc2e4e23080f61a209ab0ea95f423bafb1
8 years ago
Dimitry Ivanov
f68051a6be
Merge "Add missing liblog dependency" am: 9200a9aab7
...
am: cb092999cb
Change-Id: I286fa20555573dafdc0351a8db47192730f21977
8 years ago
Dimitry Ivanov
b8c32f0640
Add missing liblog dependency
...
Bug: http://b/31289077
Bug: http://b/27171986
Test: remove liblog from libcutils and recompile
Change-Id: Ic2e8a3d9e62d778d32863a4b794dc4c80b1b1b2b
8 years ago
Ting-Yuan Huang
d40faa10cf
Fix compiler warnings.
...
Change-Id: I2a00178abf578abafa1f7fb6ee0d812d87cb70f0
Test: mmm frameworks/av/media/libeffects/visualizer/
8 years ago
rago
dea1279c79
Fix potential overflow in Visualizer effect am: 46dc714d52
am: 8720f85196
am: bad0250dcb
am: 2feb9ce748
am: fba2bd1372
am: dddfa37ec9
am: de6acc18bb
am: a0f7a7b07e
am: dd6ad5eba7
am: be0844b573
am: 0710743c91
...
am: 53bc7fcee3
Change-Id: I58faa81c8bbfb7ea12142a4fd9d6c86cff3276b4
8 years ago
rago
53bc7fcee3
Fix potential overflow in Visualizer effect am: 46dc714d52
am: 8720f85196
am: bad0250dcb
am: 2feb9ce748
am: fba2bd1372
am: dddfa37ec9
am: de6acc18bb
am: a0f7a7b07e
am: dd6ad5eba7
am: be0844b573
...
am: 0710743c91
Change-Id: I142290d5735b028876eb9e5a974a4b0c8b910fef
8 years ago
rago
a0f7a7b07e
Fix potential overflow in Visualizer effect am: 46dc714d52
am: 8720f85196
am: bad0250dcb
am: 2feb9ce748
am: fba2bd1372
am: dddfa37ec9
...
am: de6acc18bb
Change-Id: I2f722a5271282192b08764a42f28d301be1e1835
8 years ago
rago
de6acc18bb
Fix potential overflow in Visualizer effect am: 46dc714d52
am: 8720f85196
am: bad0250dcb
am: 2feb9ce748
am: fba2bd1372
...
am: dddfa37ec9
Change-Id: If9c3e7f463b3d053d939f0ca9377dd99dcb5aa4b
8 years ago
rago
fba2bd1372
Fix potential overflow in Visualizer effect am: 46dc714d52
am: 8720f85196
am: bad0250dcb
...
am: 2feb9ce748
Change-Id: I6a251c81d4337113a863a5364c39006678cca066
8 years ago
rago
2feb9ce748
Fix potential overflow in Visualizer effect am: 46dc714d52
am: 8720f85196
...
am: bad0250dcb
Change-Id: I23660e1da14f232ff786f9ab78da3e26f301c1b2
8 years ago
rago
bad0250dcb
Fix potential overflow in Visualizer effect am: 46dc714d52
...
am: 8720f85196
Change-Id: I0803632824e6fc5a70ad6a1ba36743eb11cc3e7e
8 years ago
Dan Willemsen
9727b5b681
Merge "Remove unnecessary pathmap usage" am: 8a288e1fbd
am: 4a17304cc2
am: 4a3c58ae48
...
am: 6aff3e90f4
Change-Id: Ia6b367a670d9ae537b910ace8be719b256076f18
8 years ago
Dan Willemsen
e40e393177
Remove unnecessary pathmap usage
...
speex is being removed by the pathmap because libspeexresampler already
exports that include dir automatically if you link against it.
Test: mma
Change-Id: If3d07234696cd24ff0060d829f55d9d50a3df849
8 years ago
rago
46dc714d52
Fix potential overflow in Visualizer effect
...
Bug: 30229821
Change-Id: Idd3c1563dc9d3261e6e168e945005bf133ab2cdb
(cherry picked from commit 099ab28077
)
8 years ago
rago
099ab28077
Fix potential overflow in Visualizer effect
...
Bug: 30229821
Change-Id: Idd3c1563dc9d3261e6e168e945005bf133ab2cdb
8 years ago
Chih-hung Hsieh
50bccc66cb
Merge "Fix misc-macro-parentheses warnings." am: 512c04c5cc
...
am: 00f6841c91
* commit '00f6841c91c4df0e5d9bf86d2593ae9e0e75bcce':
Fix misc-macro-parentheses warnings.
Change-Id: Ice0b2dc35814165460bce73e9cd2dceab0091624
8 years ago
Chih-Hung Hsieh
ee5863a537
Fix misc-macro-parentheses warnings.
...
Bug: 28705665
Change-Id: Iaddda0f87395c44173a312f53e42a47c041d4526
8 years ago
Haynes Mathew George
ee507ef9e5
libeffects: validate channel mask in downmixer configure
...
Validate channel mask in downmixer configure, this returns
early warning to calling module which can fallback to another
downmixing module or return error instead of playing improper
data.
authored-by: Dhananjay Kumar <dhakumar@codeaurora.org>
CRs-Fixed: 862105
Change-Id: Ic19c4913608468d5c5197f65bb5d6a640c9d2d74
8 years ago
Bill Yi
55363176be
Merge commit '813ac23bee5b3519c2b7f410a2b24b3a94075b22' into HEAD
9 years ago
Eric Laurent
e564c201c2
Merge "Add multi-mic support for the noise suppression pre-processing effect" am: 511555dd26
...
am: eb31ad3a23
* commit 'eb31ad3a2318683ea95ededaf36930a2fb186d33':
Add multi-mic support for the noise suppression pre-processing effect
9 years ago
Eric Laurent
eb31ad3a23
Merge "Add multi-mic support for the noise suppression pre-processing effect"
...
am: 511555dd26
* commit '511555dd26e8bcb5a7c9a7b49e0fe4f83a67328f':
Add multi-mic support for the noise suppression pre-processing effect
9 years ago
Eric Laurent
511555dd26
Merge "Add multi-mic support for the noise suppression pre-processing effect"
9 years ago
Alex Luebs
766bf73498
Add multi-mic support for the noise suppression pre-processing effect
...
Change-Id: I7cf8d5657a25206e0a07e7e343635f7cf23e6f89
9 years ago
Chih-hung Hsieh
70d20f9829
Merge "Update to new WebRTC version" am: 47dabd3825
...
am: b1f8616332
* commit 'b1f8616332371eebff84485b99545373592fb81e':
Update to new WebRTC version
9 years ago
Chih-hung Hsieh
b1f8616332
Merge "Update to new WebRTC version"
...
am: 47dabd3825
* commit '47dabd38252860dd70b83380fc3df0f84a7ede49':
Update to new WebRTC version
9 years ago
Alex Luebs
3f11ef0157
Update to new WebRTC version
...
* Update include/ path
* Remove unnecessary casts
Change-Id: Iac2cf15ee4fce32bcd7ad57b3e0f70976cf89880
9 years ago
Eric Laurent
9cebd7cfba
DO NOT MERGE ANYWHERE Revert "fix possible overflow in effect wrappers."
...
This reverts commit 9e29523b95
.
Change-Id: Ic9a97d1a98165500dd444b97629349cf082ced94
9 years ago
Eric Laurent
34314fae96
fix possible overflow in effect wrappers. am: 9e29523b95
am: baebc739b0
am: 3a9d4f4a83
am: 5b7c20dd1e
am: df81fc3f3c
am: 68e43cf141
am: b1338d3cfc
am: 440c9e9b72
am: 9950df2504
am: de98d9b7c1
...
am: 0837e00683
* commit '0837e00683ccc8b2e30f6a2faf4a07142b63ffb3':
fix possible overflow in effect wrappers.
9 years ago
Eric Laurent
440c9e9b72
fix possible overflow in effect wrappers. am: 9e29523b95
am: baebc739b0
am: 3a9d4f4a83
am: 5b7c20dd1e
am: df81fc3f3c
am: 68e43cf141
...
am: b1338d3cfc
* commit 'b1338d3cfcb47d0fc5f21e2b939d66316b307fe3':
fix possible overflow in effect wrappers.
9 years ago
Eric Laurent
b1338d3cfc
fix possible overflow in effect wrappers. am: 9e29523b95
am: baebc739b0
am: 3a9d4f4a83
am: 5b7c20dd1e
am: df81fc3f3c
...
am: 68e43cf141
* commit '68e43cf141a5851c242bce776dff93f7136cbea6':
fix possible overflow in effect wrappers.
9 years ago
Eric Laurent
df81fc3f3c
fix possible overflow in effect wrappers. am: 9e29523b95
am: baebc739b0
am: 3a9d4f4a83
...
am: 5b7c20dd1e
* commit '5b7c20dd1ee9eff7f96676cec68d4b74e33440e7':
fix possible overflow in effect wrappers.
9 years ago
Eric Laurent
3a9d4f4a83
fix possible overflow in effect wrappers. am: 9e29523b95
...
am: baebc739b0
* commit 'baebc739b0fe7257b26bfe105b67409559171c82':
fix possible overflow in effect wrappers.
9 years ago
Eric Laurent
baebc739b0
fix possible overflow in effect wrappers.
...
am: 9e29523b95
* commit '9e29523b9537983b4c4b205ff868d0b3bca0383b':
fix possible overflow in effect wrappers.
9 years ago
Eric Laurent
9e29523b95
fix possible overflow in effect wrappers.
...
Add checks on parameter size field in effect command handlers
to avoid overflow leading to invalid comparison with min allowed
size for command and reply buffers.
Bug: 26347509.
Change-Id: I20e6a9b6de8e5172b957caa1ac9410b9752efa4d
(cherry picked from commit ad1bd92a49
)
9 years ago
Eric Laurent
ad1bd92a49
fix possible overflow in effect wrappers.
...
Add checks on parameter size field in effect command handlers
to avoid overflow leading to invalid comparison with min allowed
size for command and reply buffers.
Bug: 26347509.
Change-Id: I20e6a9b6de8e5172b957caa1ac9410b9752efa4d
9 years ago
Chih-hung Hsieh
30a5c3d97f
Merge "Port PreProcessing to the new WebRTC version" am: f0f6fdd4d1
am: 7ec102b586
...
am: bcd62e704d
* commit 'bcd62e704de35d0144c5f87b29c84742cb3d6c5d':
Port PreProcessing to the new WebRTC version
9 years ago
Alex Luebs
9718b7d9cb
Port PreProcessing to the new WebRTC version
...
Change-Id: I7dcf4dba83ecbc45725d10045666699a9bc7e4a6
9 years ago
Chih-hung Hsieh
7772e4d036
Merge "Change include path and names to compile with new webrtc." am: 2d772fd4af
am: 84669feac3
...
am: f55e722949
* commit 'f55e722949d56f0a0a1b4285f9adb5df3ab05b71':
Change include path and names to compile with new webrtc.
9 years ago
Chih-Hung Hsieh
de7fa31668
Change include path and names to compile with new webrtc.
...
* external/webrtc is upgraded and some header files are
moved from interface to include directories.
* Some external/webrtc data member variables are renamed.
Change-Id: I2d6d4b62dd18f921b0360d524651ebdf7bd2fffc
9 years ago
Eric Laurent
bb2f3ad2f4
Merge "pre processing: check malloc return"
9 years ago
Eric Laurent
679650f008
pre processing: check malloc return
...
Bug: 20677305.
Change-Id: Icd67f4b476b864dd325ece8e3f758605ba92f8d1
9 years ago
Eric Laurent
2a5afed82f
LVM Effects: add malloc checks
...
Bug: 20674084.
Change-Id: I7ea2e3a53d020be11c3a7f15315be038bab4bb4d
9 years ago
Eric Laurent
ac85eb2ce8
am 020c15b7: am 867e38cc: am ffdc54b6: am 3f0b4976: am 4c855d20: am 6368e6d2: audio effects: fix heap overflow
...
* commit '020c15b763345e237c0df79e638d94dc0b6f9de8':
audio effects: fix heap overflow
9 years ago
Eric Laurent
c655561b35
am 29b83cbb: DO NOT MERGE - audio effects: fix heap overflow
...
* commit '29b83cbb9018e53a18cf6e0fb34893f9774dcb96':
DO NOT MERGE - audio effects: fix heap overflow
9 years ago
Eric Laurent
3f0b4976ec
am 4c855d20: am 6368e6d2: audio effects: fix heap overflow
...
* commit '4c855d207edaaeb8c61109977a5297418295658c':
audio effects: fix heap overflow
9 years ago
Eric Laurent
29b83cbb90
DO NOT MERGE - audio effects: fix heap overflow
...
Check consistency of effect command reply sizes before
copying to reply address.
Also add null pointer check on reply size.
Also remove unused parameter warning.
Bug: 21953516.
Change-Id: I4cf00c12eaed696af28f3b7613f7e36f47a160c4
9 years ago
Jean-Michel Trivi
2b343b1b2d
Merge "Add property to ignore audio effects on the platform" into mnc-dev
9 years ago
Jean-Michel Trivi
20569262fc
Add property to ignore audio effects on the platform
...
Use boolean property ro.audio.ignore_effects to load or ignore the
audio effects.
Bug 21906334
Change-Id: I778f8b10a1caf25f7679705b1c83775223df011d
9 years ago
Eric Laurent
6368e6d23c
audio effects: fix heap overflow
...
Check consistency of effect command reply sizes before
copying to reply address.
Also add null pointer check on reply size.
Also remove unused parameter warning.
Bug: 21953516.
Change-Id: I4cf00c12eaed696af28f3b7613f7e36f47a160c4
(cherry picked from commit 0f714a464d
)
9 years ago
Eric Laurent
0f714a464d
audio effects: fix heap overflow
...
Check consistency of effect command reply sizes before
copying to reply address.
Also add null pointer check on reply size.
Also remove unused parameter warning.
Bug: 21953516.
Change-Id: I4cf00c12eaed696af28f3b7613f7e36f47a160c4
9 years ago
Ricardo Garcia
7f0e16e391
Level adjustment for Bundled Effect Fix
...
Fixed automatic level compensation for bundled effects. Fixed algorithm
now works even in corner cases previously reported.
Cross band coefficients and cross interaction of BassBoost fixed.
bug: 18769691
Change-Id: I51570836bdbff37e7c4b26f2b4282e4ded7fa56d
9 years ago
Ricardo Garcia
2757127f55
am d11d1be1: am 7ebc1670: am 8975220e: Merge "Fix for Bundled Effects level compensation" into lmp-mr1-dev
...
* commit 'd11d1be13a6391290fb1dbc572292973dae59909':
Fix for Bundled Effects level compensation
10 years ago
Ricardo Garcia
d11d1be13a
am 7ebc1670: am 8975220e: Merge "Fix for Bundled Effects level compensation" into lmp-mr1-dev
...
* commit '7ebc167072be27f42b7c58bd7f9378c8311533ab':
Fix for Bundled Effects level compensation
10 years ago
Elliott Hughes
d3671c844e
am e10615e7: am 6b3e1a6d: am ac90a24d: Merge "Remove obsolete TARGET_SIMULATOR checks"
...
* commit 'e10615e7f8749de887c8d25579398ad9e4094077':
Remove obsolete TARGET_SIMULATOR checks
10 years ago
Elliott Hughes
e10615e7f8
am 6b3e1a6d: am ac90a24d: Merge "Remove obsolete TARGET_SIMULATOR checks"
...
* commit '6b3e1a6d59b304a2dde7f03ba184feac0dec4ee7':
Remove obsolete TARGET_SIMULATOR checks
10 years ago
Trevor Drake
b092a173cf
Remove obsolete TARGET_SIMULATOR checks
...
Change-Id: I9d499190e49fed16aac686ae5da79ab870605ff4
10 years ago
Ricardo Garcia
02521e37c0
Fix for Bundled Effects level compensation
...
From the bundled effects, only the EQ had some sort of level compensation
based on the settings of the effect. This patch takes into account all
the status and levels of EQ, BassBoost and Virtualizer bundled effects
and makes an informed decision on the overall level compensation.
bug: 18213779
Change-Id: I23c7b94fe7da5482f0bbef0cbe715ea464631420
10 years ago
Ricardo Garcia
4a2eedc149
am 59ca7038: am 4df79c2c: am d6e7f1e1: Merge "Fix for AOSP force virtualization mode" into lmp-mr1-dev
...
* commit '59ca7038364cd6fa3e7e1b52e0e90fa0960af038':
Fix for AOSP force virtualization mode
10 years ago
Ricardo Garcia
59ca703836
am 4df79c2c: am d6e7f1e1: Merge "Fix for AOSP force virtualization mode" into lmp-mr1-dev
...
* commit '4df79c2c13f6163f7d99360a7fb34bf3bd2a5115':
Fix for AOSP force virtualization mode
10 years ago
Ricardo Garcia
47d4c9a4d5
Fix for AOSP force virtualization mode
...
Forcing virtualization mode with AOSP code might erroneously return
a failed code, whilst it was correct. Fixing the condition for
Automatic mode.
bug: 18538537
Change-Id: I5837ff40cfed04c99889813cd56ebe3d90793e74
10 years ago
Dan Albert
75c537887a
am 575174d6: am bb0cf4d0: am d0264109: Merge "Move libldnhncr to libc++."
...
* commit '575174d62b665900203d70a4d410329b8918c2af':
Move libldnhncr to libc++.
10 years ago