Home
last modified time | relevance | path

Searched refs:CrashUtils (Results 1 – 3 of 3) sorted by relevance

/test/suite_harness/common/util/tests/src/com/android/compatibility/common/util/
DCrashUtilsTest.java49 mCrashes = CrashUtils.addAllCrashes(input.toString(), new JSONArray()); in setUp()
82 json.put(CrashUtils.PID, pid); in createCrashJson()
83 json.put(CrashUtils.TID, tid); in createCrashJson()
84 json.put(CrashUtils.NAME, name); in createCrashJson()
85 json.put(CrashUtils.PROCESS, process); in createCrashJson()
86 json.put(CrashUtils.FAULT_ADDRESS, faultaddress); in createCrashJson()
87 json.put(CrashUtils.SIGNAL, signal); in createCrashJson()
94 Assert.assertTrue(CrashUtils.securityCrashDetected(mCrashes, new CrashUtils.Config() in testValidCrash()
101 Assert.assertFalse(CrashUtils.securityCrashDetected(mCrashes, new CrashUtils.Config() in testMissingName()
108 Assert.assertFalse(CrashUtils.securityCrashDetected(mCrashes, new CrashUtils.Config() in testSIGABRT()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DCrashReporter.java18 import com.android.compatibility.common.util.CrashUtils;
55 String.format("rm -f %s%s", CrashUtils.DEVICE_PATH, CrashUtils.LOCK_FILENAME)); in upload()
64 device.pushFile(reportFile, CrashUtils.DEVICE_PATH + testname); in upload()
69 String.format("touch %s%s", CrashUtils.DEVICE_PATH, CrashUtils.LOCK_FILENAME)); in upload()
81 device.executeShellCommand("rm -rf " + CrashUtils.DEVICE_PATH); in setUp()
82 device.executeShellCommand("mkdir " + CrashUtils.DEVICE_PATH); in setUp()
128 if ((m = CrashUtils.sNewTestPattern.matcher(line)).find()) { in processLogLine()
132 } else if (CrashUtils.sEndofCrashPattern.matcher(line).find()) { in processLogLine()
133 CrashUtils.addAllCrashes(mLogcatChunk.toString(), mCrashes); in processLogLine()
135 } else if (CrashUtils.sUploadRequestPattern.matcher(line).find()) { in processLogLine()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DCrashUtils.java32 public class CrashUtils { class