Searched refs:getException (Results 1 – 9 of 9) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
D | HttpHelper.java | 200 } 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/ |
D | JavaCrashParserTest.java | 43 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()
|
D | MonkeyLogParserTest.java | 279 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()
|
D | LogcatParserTest.java | 679 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/ |
D | JUnit4ResultForwarder.java | 56 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/ |
D | HttpHelperFuncTest.java | 55 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/ |
D | RunNotifierWrapper.java | 37 if (failure.getException() instanceof DeviceNotAvailableException) { in fireTestFailure() 38 mDnae = (DeviceNotAvailableException) failure.getException(); in fireTestFailure()
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | JavaCrashItem.java | 48 public String getException() { in getException() method in JavaCrashItem
|
/tools/tradefederation/contrib/src/com/android/framework/tests/ |
D | BandwidthMicroBenchMarkTest.java | 221 CLog.w("Failed to query test server", runnable.getException()); in fetchDataFromTestServer() 265 public Exception getException() { in getException() method in BandwidthMicroBenchMarkTest.QueryRunnable
|