For devices disabling treble, some VNDK-SP libraries needs to be loaded
as LLNDK. The CL modifies ld.config.txt to allow to load them from sphal.
Bug: 140781725
Test: Boot and check logcat. No native crash from mediaswcodec
Change-Id: Iec24405ec78359d78f4e7f43d9d046f3c70ff129
BUG: 140996463
Test: Local, TH and Forrest
Exempt-From-Owner-Approval: Need this change in before next cut.
Change-Id: I651a4fac7871c46415667fac33fa725c25dd8fc2
The canonical location of the HWASAN runtime, an LL-NDK library, is being moved
to the runtime APEX. It is apparently the first LL-NDK library in the runtime
APEX that does not require a legacy symlink in /system/${LIB}. Therefore we
need to add the runtime APEX's ${LIB} directory to the various search paths
used by the linker so that the library can be loaded from the default and
sphal namespaces.
Bug: http://b/134459232
Test: Builds
Change-Id: I1f63e1a2a61e1717d00736ef431f3ec2a9334193
Merged-In: I1f63e1a2a61e1717d00736ef431f3ec2a9334193
(cherry picked from commit 61f5fdf5c9)
On devices where VNDK is not enforced, libz.so is llndk.
Test: stagefright -s -S /sdcard/crowd_350x350p50f32_200kbps_meta.webm
Bug: 133351160
Change-Id: I8a563f86fe820e49ed6bae4e7e0f4a64bf1bddfa
Min sdk version has been force set to 28 (P) to support beta devices.
Since we now don't need to support them, we delete it. It is set to 29
by the build system.
Target and max sdk versions are bumped to 29.
Bug: 131128233
Test: m and check the sdk version numbers
Change-Id: I9ecf2b7542bde239955daf91c88b8e612d7d7069
* changes:
codec2: use media_codecs from apex and support variants/domains
media: add media_codecs.xml to apex module
media: expand media_codecs.xml to support variants and domains
media/omx: Make OMX software plugin an actual plugin
omx: only list existing OMX codecs in OmxStore
This reverts commit 784bfac0b0.
Reason for revert: decided to use device which matches to the test suite.
Bug: 131869673, Bug: 125914810
Change-Id: I5738a5303f3368f63fcd51074ee9b2db7344d518
The Beta 3 builds (which are in dogfood and public beta) will receive modules via the Play Store with version numbers 210000000. Hence, we must bump the version in qt-dev and hence beta 4.
BUG: 131240537
Change-Id: Ia568319821f3bc8765ff3c2096e963a32ffb15d6
The test APEX is built with aosp_x86_64 where first ABI is 64-bit.
But the test APEX can be installed to 32-bit target like cf_x86_phone.
The lack of 32-bit extractor libraries in the 32-bit target can cause
problem. So, install both ABIs of the extractor libraries to the test
APEX.
Bug: 125914810
Test: choosecombo to aosp_x86_64 and build test_com.android.media
Check that the test APEX has both lib and lib64 directories.
Change-Id: Ib073f61838fea0b823c870c8c71b49a7ecc9346e
When running with asan, the platform namespace didn't have /system/lib,
but /data/asan/system/lib in its search paths. As a result, clang
runtime libraries like libclang-rt.asan-i686-android.so which are still
in /system/lib cound not be found.
Fixing the problem by adding /system/lib to the search paths after the
asan path.
Bug: 131170196
Test: check if mediaswcodec process is running in aosp_cf_x86_pasan
Change-Id: Iffe5d25613999a00ead5eb03c0efca1d6c9ce012
The default namespace need access to libdl_android.so from platform
namespace for libgraphicsenv.so
Bug: http://b/130373059
Test: boot a sailfish with the change wait until it gets to setup wizard
Change-Id: I55faa4b42f863dfbcc3b959d113cf481c7e2e337
This is a workaround for b/130058564.
Test: adb shell stagefright -i | grep "c2.android"
Bug: 130254909
Change-Id: I8e8f7bbd9c1f777285cdcc58ea6610639122c928
This makes the entry for media.c2 in the framework manifest
device-independent.
Test: adb shell stagefright -i | grep -E "c2.*android"
Bug: 129999541
Change-Id: Idba276c512f495937aec32c4217dfd447e562139
To make sure we catch certain breakages related to the media codec
(test) APEX at presubmit.
Bug: 129996486
Test: run atest in frameworks/av/apex
Change-Id: Icf5933aee02ebad80c709ec3de340bbc733a14bd
The system version recently bumped to 200000000, which caused failures
in tests, because we aren't allowing downgrades. Bump to 300000000 to
make sure the tests pass again.
Bug: 129093117
Test: atest media_swcodec_e2e_tests
Change-Id: Icc84f4a0f749916aded6746923f0d82b2b9dc473
Update version number to 0210000000. The Beta 2 builds (which are in dogfood an public beta) will receive modules via the Play Store with version numbers 0200000000. Hence, we must bump the version in qt-dev and hence beta 3. This is so that prebuilts in the beta 3 OTA will be higher than any Play Store pushes on beta 2. We are bumping it by 10000000 so that we have name space to do intermediate cherrypick builds if needed.
Bug: 129977903
Change-Id: I4f608a2bc0739b8b0fd4eefa1ec1223f977431cd
Add sphal namespace for swcodec apex, and keep the search/
permitted paths in sync with system's sphal/vndk namespaces.
This change also removes libz.so from the list of shared libs
linking from default to platform namespace.
bug: 129552044
bug: 129095969
test: cts-tradefed run singleCommand cts -d --module CtsMediaTestCases --test android.media.cts.DecoderTest#testVp9HdrStaticMetadata
Change-Id: Id3148dacde43e4bd9c1782ffd67acb21ef095811
It is linked through libprocessgroup.
Test: CtsMediaTestCases:android.media.cts.MediaPlayer2Test#testPlayVideo
Bug: 123664216
Change-Id: I59672f1920cb4d4808d6e46ba2db30afdfcb39cb
Bind-mounting of the bionic files on /bionic/* paths no longer required
as there are direct symlinks from bionic files in /system partition to
the corresponding bionic files in the runtime APEX. e.g.,
/system/lib/libc.so -> /apex/com.android.runtime/lib/bionic/libc.so
Bug: 125549215
Bug: 127499775
Test: m; devices boots
Change-Id: I499df3a629e01680c1e1c8f0f4062efaec2ab277
Each APEX is signed with different certificate. The test certificate
(along with the private key) is com.android.<name>.x509.pem and
com.android.<name>.pk8. The files are in the same directory as the APEX
is defined and is referenced via android_app_certificate module named
com.android.<name>.certificate.
The test certificate could then be overridden via
PRODUCT_CERTIFICATE_OVERRIDES := <apex_module_name>:<new_cert_module_name>
Test: jarsigner -verify -verbose -certs out/target/product/blueline/system/apex/com.android.media.swcodec.apex shows
...
X.509, CN=com.android.media.swcodec, OU=Android, O=Android, L=Mountain View, ST=California, C=US
Change-Id: I3a967fa640ce77177763b78a34a2df05f70ce60f
Each APEX is signed with different certificate. The test certificate
(along with the private key) is com.android.<name>.x509.pem and
com.android.<name>.pk8. The files are in the same directory as the APEX
is defined and is referenced via android_app_certificate module named
com.android.<name>.certificate.
The test certificate could then be overridden via
PRODUCT_CERTIFICATE_OVERRIDES := <apex_module_name>:<new_cert_module_name>
Test: jarsigner -verify -verbose -certs out/target/product/blueline/system/apex/com.android.media.apex shows
...
X.509, CN=com.android.media, OU=Android, O=Android, L=Mountain View, ST=California, C=US
Change-Id: Ic61a7d2ca41254bda79ee5bdd3faf6d429a24e39
This reverts commit 293eb84e30.
Reason for revert: the new property is no longer needed.
Bug: 124128094
Test: m on marlin
The extractor libs are found under /system/apex/com.android.media
Change-Id: I1c25ff7b94f64ac995bae37fb21d79fd8230e212
Bug: 124128094
Test: m on marlin
The extractor libs are found under /system/apex/com.android.media
Change-Id: Id0eac85253963777067afb1b795620d969af120c
This reverts commit 8fc45862aa.
Reason for revert: Build failure on sailfish due to system partition space.
Change-Id: Ief6199e3b1a1fc842a34a225c4f6e567a99bcfe7