Home
last modified time | relevance | path

Searched refs:testConfig (Results 1 – 21 of 21) sorted by relevance

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DTestMedia.java130 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0409() local
131 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2020_0409()
132 testConfig.config.setSignals(signals); in testPocCVE_2020_0409()
133 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0409()
145 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0421() local
146 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2020_0421()
147 testConfig.config.setSignals(signals); in testPocCVE_2020_0421()
148 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0421()
264 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2018-9428", getDevice()); in testPocCVE_2018_9428() local
275 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2017-0837", getDevice()); in testPocCVE_2017_0837() local
[all …]
DCVE_2020_0383.java47 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0383() local
48 testConfig.config = new CrashUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0383()
50 testConfig.config.setSignals(signals); in testPocCVE_2020_0383()
51 testConfig.arguments = in testPocCVE_2020_0383()
53 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0383()
54 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0383()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0383()
DCVE_2020_0385.java47 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0385() local
48 testConfig.config = new CrashUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0385()
50 testConfig.config.setSignals(signals); in testPocCVE_2020_0385()
51 testConfig.arguments = in testPocCVE_2020_0385()
53 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0385()
54 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0385()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0385()
DCVE_2020_0381.java47 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0381() local
48 testConfig.config = new CrashUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0381()
50 testConfig.config.setSignals(signals); in testPocCVE_2020_0381()
51 testConfig.arguments = in testPocCVE_2020_0381()
53 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0381()
54 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0381()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0381()
DCVE_2020_0384.java47 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0384() local
48 testConfig.config = new CrashUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0384()
51 testConfig.config.setSignals(signals); in testPocCVE_2020_0384()
52 testConfig.arguments = in testPocCVE_2020_0384()
54 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0384()
55 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0384()
56 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0384()
DCVE_2018_9549.java37 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2018_9549() local
38 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2018_9549()
39 testConfig.config.setSignals(signals); in testPocCVE_2018_9549()
40 testConfig.config in testPocCVE_2018_9549()
42 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2018_9549()
DCVE_2019_2027.java37 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2019_2027() local
38 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2019_2027()
39 testConfig.config.setSignals(signals); in testPocCVE_2019_2027()
40 testConfig.config in testPocCVE_2019_2027()
42 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2019_2027()
DCVE_2021_0925.java37 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2021_0925() local
38 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2021_0925()
39 testConfig.config.setSignals(signals); in testPocCVE_2021_0925()
40 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2021_0925()
41 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_0925()
DCVE_2021_0330.java35 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2021-0330", getDevice()); in testPocCVE_2021_0330() local
36 testConfig.config = new CrashUtils.Config().setProcessPatterns("storaged"); in testPocCVE_2021_0330()
37 testConfig.config.checkMinAddress(false); in testPocCVE_2021_0330()
38 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_0330()
DCVE_2020_0243.java35 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2020-0243", getDevice()); in testPocCVE_2020_0243() local
36 testConfig.config = new CrashUtils.Config().setProcessPatterns("mediaserver"); in testPocCVE_2020_0243()
37 testConfig.config.checkMinAddress(false); in testPocCVE_2020_0243()
38 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0243()
DCVE_2019_2014.java38 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2019_2014() local
39 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2019_2014()
40 testConfig.config.setSignals(signals); in testPocCVE_2019_2014()
41 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2019_2014()
DCVE_2016_2182.java37 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2016_2182() local
38 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2016_2182()
39 testConfig.config.checkMinAddress(false); in testPocCVE_2016_2182()
40 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2016_2182()
DCVE_2021_0919.java39 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2021_0919() local
40 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2021_0919()
41 testConfig.config.setSignals(signals); in testPocCVE_2021_0919()
42 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_0919()
DCVE_2018_9537.java38 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2018_9537() local
41 testConfig.config = new CrashUtils.Config() in testPocCVE_2018_9537()
44 testConfig.config.setSignals(signals); in testPocCVE_2018_9537()
45 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2018_9537()
DCVE_2018_9558.java40 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2018_9558() local
41 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2018_9558()
42 testConfig.config.setSignals(signals); in testPocCVE_2018_9558()
43 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2018_9558()
DCVE_2020_0073.java41 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0073() local
42 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2020_0073()
43 testConfig.config.setSignals(signals); in testPocCVE_2020_0073()
44 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0073()
DCVE_2021_0956.java42 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, device); in testPocCVE_2021_0956() local
43 testConfig.config = new CrashUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2021_0956()
44 testConfig.config.setSignals(signals); in testPocCVE_2021_0956()
45 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_0956()
DCVE_2021_0473.java36 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2021-0473", getDevice()); in testPocCVE_2021_0473() local
37 testConfig.checkCrash = false; in testPocCVE_2021_0473()
38 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_0473()
DCVE_2020_0072.java37 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2020-0072", getDevice()); in testPocCVE_2020_0072() local
38 testConfig.checkCrash = false; in testPocCVE_2020_0072()
39 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0072()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewPrecomputedTextTest.java175 final Pair<Params, String[]> testConfig = makeDifferentParams(tvParams); in setText() local
176 final Params pctParams = testConfig.first; in setText()
181 fail("Test Case: {" + TextUtils.join(",", testConfig.second) + "}, " in setText()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DMockIme.java174 final Configuration testConfig = new Configuration(); in onHandleCommand()
175 testConfig.setToDefaults(); in onHandleCommand()
176 final Context configContext = createConfigurationContext(testConfig); in onHandleCommand()