make sure the libstagefright_bufferqueue_helper.so uses the static,
no-binder version of bq on vendor side, while uses libgui on client side.
bug: 139201422
test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small
build and manually check the correct version gets installed on
apex & system.
Change-Id: I51ca0943fd89cd944f285e5f4be3db789fd6dc20
NdkJavaVMHelper.h is not a valid NDK header. Replace this one with
NdkJavaVMHelperPriv.h in the cpp directory.
Bug: 149578834
Test: NativeDecoderTest
Change-Id: I07ddec4d31ae84bf4a739fcf512859f794cb1baa
MediaBenchmarkTest sets sdk_version: "system_current", but its
JNI libraries were building against platform APIs.
Bug: 149591057
Test: m checkbuild
Change-Id: I4a62812b8fb5b534bdb698d4138123eb1e4e3cfa
am skip reason: Change-Id Iebcd89bfa38de3c10b79f878462ba2af347ad332 with SHA-1 3c713796c2 is in history
Change-Id: I56a86388d733c6623f0da048f66a091248aa9e98
This avoids unnecessary copying of camera metadata which can get
expensive in cases of large camera metadata blobs.
Bug: 71727540
Test: GCA (sanity)
Test: Add CallStack::logStack() in CameraMetadata's move asignment
operator -> see that it gets called for every insertResultLocked.
Change-Id: I6c75c7ce5267126916c865b028e5f7c7f50b763b
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
am skip reason: Change-Id Iebcd89bfa38de3c10b79f878462ba2af347ad332 with SHA-1 0c16dbe690 is in history
Change-Id: I71d7483845ce91fabe8ba10934a25b6a676f16ec
* changes:
AAC decoder: support album mode
AAC decoder: implement support for output loudness query
AAC decoder: fix boost/attenuation defaults, loudness norm off
AAC decoder: enable set/get of DRC parameters during decoding
am skip reason: Change-Id Iebcd89bfa38de3c10b79f878462ba2af347ad332 with SHA-1 0c16dbe690 is in history
Change-Id: Ibb450d7e5a63d907ff28fdeb26a4c97687e741a9
The dst frame is allocated according to the actual crop size.
When top-left is non-zero, the convert needs to use the dst
rect with top-left adjusted to {0, 0}.
bug: 149667324
test: vendor testing on devices that uses non-zero top-left crop;
CTS MediaMetadataRetrieverTest.
Change-Id: I98ea2e398cf6bb17a6e76116caa145e9be5a110e
For MPEG-D DRC the default value of the boost and attenuation
factors is 127. For MPEG-4 DRC the default value is 0. In the
current DRC presentation mode wrapper, setting boost or attenuation
factor to 0 doesn't work for MPEG-DRC, use value -1 instead.
Fix Target Reference Level set to -1 as a valid value for disabling
loudness normalization.
Bug: 148385721
Test: atest DecoderTestXheAac DecoderTestAacDrc
Change-Id: I33479072c508b5700c0b35f389802dc17b2b4536
Usage mapper will be retrieved from the preferred service if system
properties for mediaswcodec's ION usage are not set.
Test: Define system property "ro.com.android.media.swcodec.ion.heapmask"
and check the log during the startup of mediaswcodec.
Test: Manually log the mapper activity; test if gets invoked from
mediaswcodec and CCodec.
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Bug: 144995284
Change-Id: Iebcd89bfa38de3c10b79f878462ba2af347ad332
Merged-In: Iebcd89bfa38de3c10b79f878462ba2af347ad332
Current APEX Namespace is named with APEX name itself, which also uses
.(dot) so linker configuration can keep the syntax safe.
Bug: 148826508
Test: m -j passed
Test: boot succeeded from cuttlefish and walleye
Change-Id: Icc1c5958fcbcceb6f53ad18045cf783e315ebbb0
Aggregate DrmManager API invocation counts per plugin over at least
fixed period of time before sending metrics to mediametrics service.
The default period is 1 day; the period is configurable through the
property drmmanager.metrics.period.
Bug: 134789967
Test: dumpsys media.metrics
Change-Id: I2cf28f1dfaa485ca319360705b872eed995b3d7f
If the CSD is processed before flush, make sure client and component
are in sync.
Bug: 141097367
Bug: 142542964
Bug: 149537770
Test: atest CtsMediaTestCases -- --module-arg CtsMediaTestCases:size:small
Change-Id: Ia51591770a4fdac1c1334a94fa8d6b2776da1a81
AudioPlaybackRate is now defined in system/audio.h
as 'struct audio_playback_rate_t' (in global namespace).
Similar for the related enums.
To accommodate the existing code, introduce AudioPlaybackRate
as a typedef in the 'android' namespace.
Update code that was forward declaring AudioPlaybackRate
as it's not a struct anymore.
Bug: 133526565
Test: m
Change-Id: Iba20f1de1e8779cd78ac4573f2082416f2b428e2
Set the size of the callback buffer based on the device format
instead of the app format.
Bug: 149249791
Test: atest CtsNativeMediaAAudioTestCases
Change-Id: I0dc5724109a802eea15100782c18986a64e6acd2
cameraserver should re-cache concurrent camera id combinations when it
receives cameraDeviceStatusChange callbacks from the camera provider in
case new concurrent camera id combinations have appeared / old ones have
gone away.
Bug: 148995918
Test: atest ConcurrentCameraTest.java
Change-Id: Ic433495d2dcf98d00cb247f434ad6c798ea17c54
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
The access to call audio (record and play) will be granted only to the app associated with Dialer role, who also includes a new system permission.
Test: Compilation and manual tests
Bug: 135197853
Change-Id: I65ca823c235d4d3420630837427103783ad1d1b0