CTS test for Android Security b/136175447

Bug: 136175447
Bug: 139830180
Test: Ran the new testcase on android-10.0.0_r39 with/without patch

Change-Id: I0efa2bf4faf7ee1a56586472f175531f815c5e79
diff --git a/tests/tests/security/res/raw/cve_2019_2186.mp4 b/tests/tests/security/res/raw/cve_2019_2186.mp4
new file mode 100644
index 0000000..9433d84
--- /dev/null
+++ b/tests/tests/security/res/raw/cve_2019_2186.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 edb272a..d76e983 100644
--- a/tests/tests/security/src/android/security/cts/StagefrightTest.java
+++ b/tests/tests/security/src/android/security/cts/StagefrightTest.java
@@ -1817,6 +1817,16 @@
      to prevent merge conflicts, add Q tests below this comment,
      before any existing test methods
      ***********************************************************/
+    @Test
+    @AsbSecurityTest(cveBugId = 136175447)
+    public void testStagefright_cve_2019_2186() throws Exception {
+        long end = System.currentTimeMillis() + 180000; // 3 minutes from now
+        while (System.currentTimeMillis() < end) {
+            doStagefrightTestRawBlob(R.raw.cve_2019_2186, "video/3gpp", 128, 96,
+                    new CrashUtils.Config().setSignals(CrashUtils.SIGSEGV, CrashUtils.SIGBUS,
+                            CrashUtils.SIGABRT));
+        }
+    }
 
     @Test
     @AsbSecurityTest(cveBugId = 140692129)