Enable unit tests for some utils in postsubmit
Enabled unit tests for avcUtils, ID3, Mpeg2Ts, OpusHeader and
ESDS in postsubmit.
These were marked as dynamic-presubmit and those are now
changed to postsubmit as these tests now use DynamicConfig.xml and
can download the required files without any extra arguments.
After some time of running these in postsubmit, these will be changed
to presubmit.
Also, updated Android.bp and AndroidTest.xml for a couple of tests
to add to the device-tests test suite and cleanup after the test.
Bug: 304383609
Test: atest AVCUtilsUnitTest ESDSTest HEVCUtilsUnitTest ID3Test \
Mpeg2tsUnitTest OpusHeaderTest
Change-Id: I8383072f47b936d78299f4a3953229c992a88b4f
diff --git a/media/module/mpeg2ts/TEST_MAPPING b/media/module/mpeg2ts/TEST_MAPPING
index 9f4bbdf..536450f 100644
--- a/media/module/mpeg2ts/TEST_MAPPING
+++ b/media/module/mpeg2ts/TEST_MAPPING
@@ -1,9 +1,5 @@
-// frameworks/av/media/libstagefright/mpeg2ts
{
- // tests which require dynamic content
- // invoke with: atest -- --enable-module-dynamic-download=true
- // TODO(b/148094059): unit tests not allowed to download content
- "dynamic-presubmit": [
+ "postsubmit": [
{ "name": "Mpeg2tsUnitTest" }
]
}