Home
last modified time | relevance | path

Searched refs:DataSizeException (Results 1 – 5 of 5) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperTest.java28 import com.android.tradefed.util.net.IHttpHelper.DataSizeException;
102 public void testDoGet() throws IOException, DataSizeException { in testDoGet()
124 } catch (DataSizeException e) { in testDoGet_datasize()
142 public void testDoGetWithRetry() throws IOException, DataSizeException { in testDoGetWithRetry()
164 } catch (DataSizeException e) { in testDoGetWithRetry_datasize()
174 public void testDoGetWithRetry_ioexception() throws DataSizeException { in testDoGetWithRetry_ioexception()
196 public void testDoGetWithRetry_retry() throws IOException, DataSizeException { in testDoGetWithRetry_retry()
209 public String doGet(String url) throws IOException, DataSizeException { in testDoGetWithRetry_retry()
225 public void testDoPostWithRetry() throws IOException, DataSizeException { in testDoPostWithRetry()
248 } catch (DataSizeException e) { in testDoPostWithRetry_datasize()
[all …]
DHttpMultipartPostTest.java19 import com.android.tradefed.util.net.IHttpHelper.DataSizeException;
52 public void testSendRequest() throws IOException, DataSizeException { in testSendRequest()
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/
DHttpHelper.java99 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 …]
DIHttpHelper.java36 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()
DHttpMultipartPost.java19 import com.android.tradefed.util.net.IHttpHelper.DataSizeException;
118 public void send() throws IOException, DataSizeException { in send()