Home
last modified time | relevance | path

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

12

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DTestMedia.java133 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0409() local
134 testConfig.config = new TombstoneUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2020_0409()
135 testConfig.config.setSignals(signals); in testPocCVE_2020_0409()
136 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0409()
152 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0421() local
153 testConfig.config = new TombstoneUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2020_0421()
154 testConfig.config.setSignals(signals); in testPocCVE_2020_0421()
155 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0421()
253 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2018-9428", getDevice()); in testPocCVE_2018_9428() local
268 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2017-0837", getDevice()); in testPocCVE_2017_0837() local
[all …]
DCVE_2021_39804.java46 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2021_39804() local
47 testConfig.config = in testPocCVE_2021_39804()
50 testConfig.config.setIgnoreLowFaultAddress(false); in testPocCVE_2021_39804()
51 testConfig.config.setSignals(signals); in testPocCVE_2021_39804()
52 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2021_39804()
53 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2021_39804()
54 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2021_39804()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_39804()
DCVE_2020_0034.java44 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0034() local
45 testConfig.config = new TombstoneUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2020_0034()
46 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0034()
47 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0034()
48 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2020_0034()
49 testConfig.config.setSignals(signals); in testPocCVE_2020_0034()
50 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0034()
DCVE_2021_39623.java44 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2021_39623() local
45 testConfig.config = new TombstoneUtils.Config().setProcessPatterns(binaryName) in testPocCVE_2021_39623()
49 testConfig.config.setSignals(signals); in testPocCVE_2021_39623()
50 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2021_39623()
52 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2021_39623()
53 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2021_39623()
54 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_39623()
DCVE_2021_39664.java47 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2021_39664() local
48testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2021_39664()
51 testConfig.config.setSignals(signals); in testPocCVE_2021_39664()
52 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2021_39664()
53 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2021_39664()
54 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2021_39664()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_39664()
DCVE_2020_0384.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0384() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0384()
52 testConfig.config.setSignals(signals); in testPocCVE_2020_0384()
53 testConfig.arguments = in testPocCVE_2020_0384()
55 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0384()
56 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0384()
57 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0384()
DCVE_2020_0381.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0381() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0381()
51 testConfig.config.setSignals(signals); in testPocCVE_2020_0381()
52 testConfig.arguments = in testPocCVE_2020_0381()
54 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0381()
55 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0381()
56 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0381()
DCVE_2020_0383.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0383() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0383()
51 testConfig.config.setSignals(signals); in testPocCVE_2020_0383()
52 testConfig.arguments = in testPocCVE_2020_0383()
54 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0383()
55 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0383()
56 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0383()
DCVE_2020_0385.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0385() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0385()
51 testConfig.config.setSignals(signals); in testPocCVE_2020_0385()
52 testConfig.arguments = in testPocCVE_2020_0385()
54 testConfig.inputFiles = Arrays.asList(inputFiles); in testPocCVE_2020_0385()
55 testConfig.inputFilesDestination = AdbUtils.TMP_PATH; in testPocCVE_2020_0385()
56 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0385()
DCVE_2018_9549.java40 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2018_9549() local
41 testConfig.config = new TombstoneUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2018_9549()
42 testConfig.config.setSignals(signals); in testPocCVE_2018_9549()
43 testConfig.config in testPocCVE_2018_9549()
45 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2018_9549()
DCVE_2019_2027.java40 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2019_2027() local
41 testConfig.config = new TombstoneUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2019_2027()
42 testConfig.config.setSignals(signals); in testPocCVE_2019_2027()
43 testConfig.config in testPocCVE_2019_2027()
45 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2019_2027()
DCVE_2021_0925.java41 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2021_0925() local
42 testConfig.config = new TombstoneUtils.Config().setProcessPatterns(binaryName); in testPocCVE_2021_0925()
43 testConfig.config.setSignals(signals); in testPocCVE_2021_0925()
44 testConfig.arguments = AdbUtils.TMP_PATH + inputFiles[0]; in testPocCVE_2021_0925()
45 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_0925()
DCVE_2020_0241.java46 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0241() local
47testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0241()
51 testConfig.config.setSignals(signals); in testPocCVE_2020_0241()
52 testConfig.config.setAbortMessageIncludes( in testPocCVE_2020_0241()
54 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0241()
DCVE_2019_2031.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2019_2031() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2019_2031()
52 testConfig.config in testPocCVE_2019_2031()
54 testConfig.config.setSignals(signals); in testPocCVE_2019_2031()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2019_2031()
DCVE_2022_20131.java50 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2022_20131() local
51 testConfig.config = in testPocCVE_2022_20131()
55 testConfig.config in testPocCVE_2022_20131()
57 testConfig.config.setSignals(signals); in testPocCVE_2022_20131()
58 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2022_20131()
DCVE_2021_0430.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2021_0430() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2021_0430()
52 testConfig.config in testPocCVE_2021_0430()
54 testConfig.config.setSignals(signals); in testPocCVE_2021_0430()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_0430()
DCVE_2022_20147.java50 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, in testPocCVE_2022_20147() local
52 testConfig.config = new TombstoneUtils.Config() in testPocCVE_2022_20147()
56 testConfig.config.setBacktraceExcludes( in testPocCVE_2022_20147()
58 testConfig.config.setSignals(signals); in testPocCVE_2022_20147()
59 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2022_20147()
DCVE_2018_9558.java49 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2018_9558() local
50testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2018_9558()
53 testConfig.config in testPocCVE_2018_9558()
55 testConfig.config.setSignals(signals); in testPocCVE_2018_9558()
56 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2018_9558()
DCVE_2020_0073.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2020_0073() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2020_0073()
52 testConfig.config in testPocCVE_2020_0073()
54 testConfig.config.setSignals(signals); in testPocCVE_2020_0073()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0073()
DCVE_2019_2015.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2019_2015() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2019_2015()
52 testConfig.config in testPocCVE_2019_2015()
54 testConfig.config.setSignals(signals); in testPocCVE_2019_2015()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2019_2015()
DCVE_2019_2017.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2019_2017() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2019_2017()
52 testConfig.config in testPocCVE_2019_2017()
54 testConfig.config.setSignals(signals); in testPocCVE_2019_2017()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2019_2017()
DCVE_2019_2012.java48 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig(binaryName, getDevice()); in testPocCVE_2019_2012() local
49testConfig.config = new TombstoneUtils.Config().setProcessPatterns(Pattern.compile(binaryName)) in testPocCVE_2019_2012()
52 testConfig.config in testPocCVE_2019_2012()
54 testConfig.config.setSignals(signals); in testPocCVE_2019_2012()
55 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2019_2012()
DCVE_2020_0243.java38 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2020-0243", getDevice()); in testPocCVE_2020_0243() local
39 testConfig.config = new TombstoneUtils.Config().setProcessPatterns("mediaserver"); in testPocCVE_2020_0243()
40 testConfig.config.setIgnoreLowFaultAddress(false); in testPocCVE_2020_0243()
41 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2020_0243()
DCVE_2021_0330.java38 AdbUtils.pocConfig testConfig = new AdbUtils.pocConfig("CVE-2021-0330", getDevice()); in testPocCVE_2021_0330() local
39 testConfig.config = new TombstoneUtils.Config().setProcessPatterns("storaged"); in testPocCVE_2021_0330()
40 testConfig.config.setIgnoreLowFaultAddress(false); in testPocCVE_2021_0330()
41 AdbUtils.runPocAssertNoCrashesNotVulnerable(testConfig); in testPocCVE_2021_0330()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioDisconnectActivity.java248 for (TestConfiguration testConfig : mTestConfigs) { in resetTestConfigs()
249 testConfig.mInsertPlugResult = TestConfiguration.RESULT_NOTTESTED; in resetTestConfigs()
250 testConfig.mInsertDisconnectResult = TestConfiguration.RESULT_NOTTESTED; in resetTestConfigs()
251 testConfig.mRemovalPlugResult = TestConfiguration.RESULT_NOTTESTED; in resetTestConfigs()
252 testConfig.mRemovalDisconnectResult = TestConfiguration.RESULT_NOTTESTED; in resetTestConfigs()
274 TestConfiguration testConfig = mTestConfigs.get(testConfigIndex); in runTest() local
276 if (testConfig.isMMap() || testConfig.isExclusive()) { in runTest()
278 testConfig.setSkipped(); in runTest()
282 startAudio(testConfig); in runTest()
321 testConfig.mInsertPlugResult = TestConfiguration.RESULT_TIMEOUT; in runTest()
[all …]

12