Squashed commit of the following:
commit 6bbc9b46e2dfbe383f804c011495c01d6a530a98
Author: Marco Nelissen <marcone@google.com>
Date: Tue Oct 20 12:09:01 2015 -0700
Switch StagefrightTest to InstrumentationTestCase
AndroidTestCase doesn't work properly for this test in K (it gets the resources
from the CTS stub package instead of from its own test package). With this change,
the test works on K and later.
Change-Id: I318b07b27cb76d3ca11b1e0b951c3eff7e3b16c2
commit 5e74391be3aa6a844cb36220141f8bf9c11b4019
Author: Marco Nelissen <marcone@google.com>
Date: Fri Oct 16 19:23:44 2015 -0700
Enhance StagefrightTest and add test
Let StagefrightTest also handle files that don't fail on prepare,
and add a test for CVE-2015-6598.
Change-Id: I3eec50487f208246b0d77b5ef66f8620ae8c71e5
commit 78f596231730f39d63aa2167b409b8b4491d5812
Author: Paul Lawrence <paullawrence@google.com>
Date: Tue Sep 22 12:49:53 2015 -0700
Replacing JNI stagefright test with API level stagefright test
Also adding a missing test for cve_2015_3286
Change-Id: Ieb0b5227567d4ec0857639ce980a106effbbbbac
commit 4303c4faa2ff8e69ee3bf7058f5f3a88ef7abe07
Author: Joshua J. Drake <android-open-source@qoop.org>
Date: Fri Aug 21 00:22:57 2015 -0500
Add tests for several Stagefright-related issues
This work constitutes a port from Zimperium's Stagefright Detector
app into AOSP. It's implemented in two parts:
1. Java code that handles extracting raw resources and calls JNI.
2. JNI code that uses libstagefright to process various
proof-of-concept files that cause a crash.
The proof-of-concept files are included in the android.security
package's raw resources.
Change-Id: Ifce433da1698cf84b167f5d29c2032627aa2076e
Change-Id: If9081e5145b35c93d13be685a3acbe08e36a0781
13 files changed