CTS test for Android Security b/153912023
Test: successful run of newly introduced CTS test case.
Bug: b/153912023
Change-Id: I357b26603b17d3dc6048b24d9cfc04dcc7f1d34b
diff --git a/tests/tests/security/res/raw/cve_2020_3662.mp4 b/tests/tests/security/res/raw/cve_2020_3662.mp4
new file mode 100644
index 0000000..4fd269e
--- /dev/null
+++ b/tests/tests/security/res/raw/cve_2020_3662.mp4
Binary files differ
diff --git a/tests/tests/security/src/android/security/cts/StagefrightTest.java b/tests/tests/security/src/android/security/cts/StagefrightTest.java
index 92e83c4..e6d64e8 100644
--- a/tests/tests/security/src/android/security/cts/StagefrightTest.java
+++ b/tests/tests/security/src/android/security/cts/StagefrightTest.java
@@ -1246,6 +1246,12 @@
***********************************************************/
@Test
+ @SecurityTest(minPatchLevel = "2020-06")
+ public void testStagefright_cve_2020_3662() throws Exception {
+ doStagefrightTest(R.raw.cve_2020_3662);
+ }
+
+ @Test
@SecurityTest(minPatchLevel = "2021-01")
public void testStagefright_cve_2021_0312() throws Exception {
doStagefrightTestExtractorSeek(R.raw.cve_2021_0312, 2, new CrashUtils.Config()