Home
last modified time | relevance | path

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

/tools/tradefederation/core/tests/src/com/android/tradefed/config/remote/
DHttpRemoteFileResolverTest.java23 import com.android.tradefed.util.net.IHttpHelper;
39 private IHttpHelper mHttpDownloader;
43 mHttpDownloader = Mockito.mock(IHttpHelper.class); in setUp()
47 protected IHttpHelper getDownloader() { in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpHelperTest.java28 import com.android.tradefed.util.net.IHttpHelper.DataSizeException;
117 return new ByteArrayInputStream(new byte[IHttpHelper.MAX_DATA_SIZE + 1]); in testDoGet_datasize()
157 return new ByteArrayInputStream(new byte[IHttpHelper.MAX_DATA_SIZE + 1]); in testDoGetWithRetry_datasize()
241 return new ByteArrayInputStream(new byte[IHttpHelper.MAX_DATA_SIZE + 1]); in testDoPostWithRetry_datasize()
DHttpMultipartPostTest.java19 import com.android.tradefed.util.net.IHttpHelper.DataSizeException;
36 private IHttpHelper mHelper;
49 mHelper = EasyMock.createMock(IHttpHelper.class); in setUp()
DHttpHelperFuncTest.java44 IHttpHelper http = new HttpHelper(); in testTimeout()
86 IHttpHelper http = new HttpHelper(); in testNoTimeout()
/tools/tradefederation/core/src/com/android/tradefed/config/remote/
DHttpRemoteFileResolver.java23 import com.android.tradefed.util.net.IHttpHelper;
45 IHttpHelper downloader = getDownloader(); in resolveRemoteFiles()
67 protected IHttpHelper getDownloader() { in getDownloader()
/tools/tradefederation/core/common_util/com/android/tradefed/util/net/
DHttpMultipartPost.java19 import com.android.tradefed.util.net.IHttpHelper.DataSizeException;
45 private IHttpHelper mHelper;
47 public HttpMultipartPost(String url, IHttpHelper httpHelper) { in HttpMultipartPost()
DIHttpHelper.java30 public interface IHttpHelper { interface
DHttpHelper.java39 public class HttpHelper implements IHttpHelper {
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java28 import com.android.tradefed.util.net.IHttpHelper;
164 IHttpHelper helper = new HttpHelper(); in postResults()