Home
last modified time | relevance | path

Searched refs:getException (Results 1 – 9 of 9) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/net/
DHttpHelper.java200 } else if (runnable.getException() instanceof IOException) { in doGetWithRetry()
201 throw (IOException) runnable.getException(); in doGetWithRetry()
202 } else if (runnable.getException() instanceof DataSizeException) { in doGetWithRetry()
203 throw (DataSizeException) runnable.getException(); in doGetWithRetry()
204 } else if (runnable.getException() instanceof RuntimeException) { in doGetWithRetry()
205 throw (RuntimeException) runnable.getException(); in doGetWithRetry()
220 } else if (runnable.getException() instanceof IOException) { in doGetIgnoreWithRetry()
221 throw (IOException) runnable.getException(); in doGetIgnoreWithRetry()
222 } else if (runnable.getException() instanceof RuntimeException) { in doGetIgnoreWithRetry()
223 throw (RuntimeException) runnable.getException(); in doGetIgnoreWithRetry()
[all …]
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DJavaCrashParserTest.java43 assertEquals("java.lang.Exception", jc.getException()); in testParse_no_message()
60 assertEquals("java.lang.Exception", jc.getException()); in testParse_message()
79 assertEquals("java.lang.Exception", jc.getException()); in testParse_multiline_message()
104 assertEquals("java.lang.Exception", jc.getException()); in testParse_caused_by()
123 assertEquals("java.lang.Exception", jc.getException()); in testParse_cutoff()
145 assertEquals("java.lang.Exception", jc.getException()); in testParse_begin_end_markers()
DMonkeyLogParserTest.java279 assertEquals("java.lang.Exception", ((JavaCrashItem) monkeyLog.getCrash()).getException()); in testParse_java_crash()
351 assertEquals("java.lang.Exception", ((JavaCrashItem) monkeyLog.getCrash()).getException()); in testParse_java_crash_mixed()
DLogcatParserTest.java679 assertEquals("java.lang.Exception2", logcat.getJavaCrashes().get(0).getException()); in testParse_reboot_resume()
699 assertEquals("java.lang.Exception2", logcat.getJavaCrashes().get(0).getException()); in testParse_reboot_resume()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnit4ResultForwarder.java56 if (failure.getException() instanceof CarryDnaeError) { in testFailure()
57 throw ((CarryDnaeError) failure.getException()).getDeviceNotAvailableException(); in testFailure()
61 mTestCaseFailures.add(failure.getException()); in testFailure()
66 mTestCaseFailures.add(failure.getException()); in testAssumptionFailure()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperFuncTest.java55 Throwable e = backend.getException(); in testTimeout()
97 Throwable e = backend.getException(); in testNoTimeout()
139 public Throwable getException() { in getException() method in HttpHelperFuncTest.Backend
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DRunNotifierWrapper.java37 if (failure.getException() instanceof DeviceNotAvailableException) { in fireTestFailure()
38 mDnae = (DeviceNotAvailableException) failure.getException(); in fireTestFailure()
/tools/loganalysis/src/com/android/loganalysis/item/
DJavaCrashItem.java48 public String getException() { in getException() method in JavaCrashItem
/tools/tradefederation/contrib/src/com/android/framework/tests/
DBandwidthMicroBenchMarkTest.java221 CLog.w("Failed to query test server", runnable.getException()); in fetchDataFromTestServer()
265 public Exception getException() { in getException() method in BandwidthMicroBenchMarkTest.QueryRunnable