commit | 4e35c7aed1d83df8611e313c81ac5c43c0432bfc | [log] [tgz] |
---|---|---|
author | Nisha CT <nisha.ct@ittiam.com> | Wed Mar 11 16:52:38 2020 +0530 |
committer | Stacie Mashnitskaya <mashnitskaya@google.com> | Fri Sep 18 17:22:15 2020 -0700 |
tree | 404746feef80976d0578c6aa4b8e30134103d58a | |
parent | be6fabd57d3fb601de330a65e13c61560f0d9477 [diff] |
CTS test for Android Security b/78029004 Bug: 78029004 Bug: 111211496 Test: Ran the new testcase on android-8.0.0_r2 with/without patch Change-Id: Ic4f298d74f1830db793fc6a7afd288e072bd41ab
diff --git a/tests/tests/security/res/raw/cve_2018_9412.mp3 b/tests/tests/security/res/raw/cve_2018_9412.mp3 new file mode 100644 index 0000000..23391b3 --- /dev/null +++ b/tests/tests/security/res/raw/cve_2018_9412.mp3 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 301297d..c670edc 100644 --- a/tests/tests/security/src/android/security/cts/StagefrightTest.java +++ b/tests/tests/security/src/android/security/cts/StagefrightTest.java
@@ -1371,6 +1371,12 @@ } @Test + @SecurityTest(minPatchLevel = "2018-07") + public void testStagefright_cve_2018_9412() throws Exception { + doStagefrightTest(R.raw.cve_2018_9412, 180000); + } + + @Test @SecurityTest(minPatchLevel = "Unknown") public void testStagefright_bug_142641801() throws Exception { doStagefrightTest(R.raw.bug_142641801);