Searched refs:DataSizeException (Results 1 – 6 of 6) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/ |
D | HttpHelperTest.java | 25 import com.android.tradefed.util.net.IHttpHelper.DataSizeException; 108 public void testDoGet() throws IOException, DataSizeException { in testDoGet() 129 } catch (DataSizeException e) { in testDoGet_datasize() 149 public void testDoGetWithRetry() throws IOException, DataSizeException { in testDoGetWithRetry() 170 } catch (DataSizeException e) { in testDoGetWithRetry_datasize() 179 public void testDoGetWithRetry_ioexception() throws DataSizeException { in testDoGetWithRetry_ioexception() 200 public void testDoGetWithRetry_retry() throws IOException, DataSizeException { in testDoGetWithRetry_retry() 213 public String doGet(String url) throws IOException, DataSizeException { in testDoGetWithRetry_retry() 230 public void testDoPostWithRetry() throws IOException, DataSizeException { in testDoPostWithRetry() 252 } catch (DataSizeException e) { in testDoPostWithRetry_datasize() [all …]
|
D | HttpMultipartPostTest.java | 19 import com.android.tradefed.util.net.IHttpHelper.DataSizeException; 52 public void testSendRequest() throws IOException, DataSizeException { in testSendRequest()
|
/tools/tradefederation/core/src/com/android/tradefed/util/net/ |
D | IHttpHelper.java | 36 static class DataSizeException extends Exception { class 84 public String doGet(String url) throws IOException, DataSizeException; in doGet() 108 public String doGetWithRetry(String url) throws IOException, DataSizeException; in doGetWithRetry() 144 DataSizeException; in doPostWithRetry() 161 throws IOException, DataSizeException; in doPostWithRetry()
|
D | HttpHelper.java | 99 public String doGet(String url) throws IOException, DataSizeException { in doGet() 116 throw new DataSizeException(); in doGet() 195 public String doGetWithRetry(String url) throws IOException, DataSizeException { in doGetWithRetry() 202 } else if (runnable.getException() instanceof DataSizeException) { in doGetWithRetry() 203 throw (DataSizeException) runnable.getException(); in doGetWithRetry() 234 throws IOException, DataSizeException { in doPostWithRetry() 241 } else if (runnable.getException() instanceof DataSizeException) { in doPostWithRetry() 242 throw (DataSizeException) runnable.getException(); in doPostWithRetry() 255 DataSizeException { in doPostWithRetry() 329 } catch (DataSizeException e) { in run() [all …]
|
D | HttpMultipartPost.java | 19 import com.android.tradefed.util.net.IHttpHelper.DataSizeException; 118 public void send() throws IOException, DataSizeException { in send()
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
D | BandwidthMicroBenchMarkTest.java | 42 import com.android.tradefed.util.net.IHttpHelper.DataSizeException; 240 } catch (DataSizeException e) { in run()
|