Home
last modified time | relevance | path

Searched refs:URL (Results 1 – 25 of 28) sorted by relevance

12

/tools/tradefederation/core/common_util/com/android/tradefed/util/net/
DIHttpHelper.java25 import java.net.URL;
172 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection()
183 public HttpURLConnection createXmlConnection(URL url, String method) throws IOException; in createXmlConnection()
193 public HttpURLConnection createJsonConnection(URL url, String method) throws IOException; in createJsonConnection()
DHttpHelper.java33 import java.net.URL;
106 remote = getRemoteUrlStream(new URL(url)); in doGet()
134 remote = getRemoteUrlStream(new URL(url)); in doGet()
149 remote = getRemoteUrlStream(new URL(url)); in doGetIgnore()
159 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection()
179 public HttpURLConnection createXmlConnection(URL url, String method) throws IOException { in createXmlConnection()
187 public HttpURLConnection createJsonConnection(URL url, String method) throws IOException { in createJsonConnection()
365 HttpURLConnection conn = createConnection(new URL(getUrl()), "POST", mContentType); in run()
415 InputStream getRemoteUrlStream(URL url) throws IOException { in getRemoteUrlStream()
433 URL newURL = new URL(location); in getRemoteUrlStream()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestResourceDownloader.java27 import java.net.URL;
40 final URL url = new URL(urlString); in download()
73 private List<String> buildDownloadCommandArgs(URL url, File file) { in buildDownloadCommandArgs()
DTestOutputUploader.java31 import java.net.URL;
53 URL urlObj = new URL(url); in setUploadUrl()
73 File destDir = new File(new URL(uploadUrl).getPath()); in uploadFile()
DSubprocessConfigBuilder.java35 import java.net.URL;
93 final List<URL> urls = new ArrayList<>(); in build()
112 try (URLClassLoader loader = new URLClassLoader(urls.toArray(new URL[urls.size()]), null)) { in build()
/tools/tradefederation/core/javatests/com/android/tradefed/util/net/
DHttpHelperTest.java43 import java.net.URL;
115 InputStream getRemoteUrlStream(URL url) { in testDoGet_datasize()
155 InputStream getRemoteUrlStream(URL url) { in testDoGetWithRetry_datasize()
262 public HttpURLConnection createConnection(URL url, String method, String contentType) in testDoPostWithRetry_ioexception()
289 URL url, String method, String contentType) throws IOException { in testDoPostWithRetry_retry()
340 InputStream getRemoteUrlStream(URL url) { in getRemoteUrlStream()
348 public HttpURLConnection createConnection(URL url, String method, String contentType) in createConnection()
/tools/security/fuzzing/llm/xmlreader_fuzzer/
DXmlRead_Fd_Fuzzer.cpp35 std::string URL = stream.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() local
40 xmlDocPtr doc = xmlCtxtReadFd(ctxt, fd, URL.c_str(), encoding.c_str(), options); in LLVMFuzzerTestOneInput()
DXmlRead_Memory_Fuzzer.cpp49 std::string URL = stream.ConsumeRandomLengthString(); in LLVMFuzzerTestOneInput() local
54 …xmlDocPtr doc = xmlCtxtReadMemory(ctxt, buffer.data(), bufferSize, URL.c_str(), encoding.c_str(), … in LLVMFuzzerTestOneInput()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DTestOutputUploaderTest.java41 import java.net.URL;
78 File uploadedFile = new File(new URL(outputFileUrl).getPath()); in testUploadFile_fileProtocol_rootPath()
91 File uploadedFile = new File(new URL(outputFileUrl).getPath()); in testUploadFile_fileProtocol_withDestPath()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DXmlResultReporterTest.java39 private static final String URL = "url"; field in XmlResultReporterTest
49 return new LogFile(PATH, URL, dataType); in saveLogData()
54 return new LogFile(PATH, URL, type); in saveLogDataRaw()
59 return new LogFile(PATH, URL, LogDataType.DIR); in getLogReportDir()
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java26 import java.net.URL;
85 URL[] urls = {new URL(String.format("jar:file:%s!/", file.getAbsolutePath()))}; in getJUnitClasses()
/tools/external_updater/
Dfileutils.py185 if url.type == metadata_pb2.URL.HOMEPAGE:
189 identifier.type = IdentifierType[metadata_pb2.URL.Type.Name(url.type)].value
Dmetadata.proto50 repeated URL url = 1;
62 message URL { message
DREADME.md75 If type of a URL is set to GIT, the URL must be a git upstream
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java28 import java.net.URL;
279 List<URL> urlList = new ArrayList<>(); in shouldRun()
283 cl = URLClassLoader.newInstance(urlList.toArray(new URL[0])); in shouldRun()
DBuildTestsZipUtils.java26 import java.net.URL;
129 URL apkUrl = null; in getApkFile()
/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiConnector.java34 import java.net.URL;
209 URL url = null; in checkConnectivity()
211 url = new URL(urlToCheck); in checkConnectivity()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DOxygenUtil.java38 import java.net.URL;
440 URL url = new URL(ZONE_METADATA_URL); in getTargetRegion()
/tools/test/mobly_extensions/tools/results_uploader/
DCHANGELOG.md29 * Properly URL-encode the target resource name.
DREADME.md7 results in an organized way on a dedicated web UI. The result URL can then be
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java37 import java.net.URL;
172 new URL(mPostingEndpoint), "POST"); in postResults()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationTest.java132 private static final String URL = "url"; field in TestInvocationTest
545 doReturn(new LogFile(PATH, URL, LogDataType.TEXT)) in stubMockListeners()
553 doReturn(new LogFile(PATH, URL, LogDataType.TEXT)) in stubMockListeners()
563 doReturn(new LogFile(PATH, URL, LogDataType.TEXT)) in stubMockListeners()
580 doReturn(new LogFile(PATH, URL, LogDataType.TEXT)) in stubMockListeners()
589 doReturn(new LogFile(PATH, URL, LogDataType.TEXT)) in stubMockListeners()
598 doReturn(new LogFile(PATH, URL, LogDataType.HOST_LOG)) in stubMockListeners()
606 doReturn(new LogFile(PATH, URL, LogDataType.HOST_LOG)) in stubMockListeners()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java43 import java.net.URL;
343 HttpURLConnection connection = helper.createConnection(new URL(mUrl), "POST", "text"); in sendToClearcut()
/tools/ndkports/
DREADME.md20 Projects define the name and version of the port, the URL to fetch source from,
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DJarHostTestTest.java59 import java.net.URL;
373 Arrays.asList(mTestJar.toURI().toURL()).toArray(new URL[] {}), in getClassLoader()

12