Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/common_util/com/android/tradefed/util/net/
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()
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()
/tools/tradefederation/core/tests/src/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/external_updater/
Dbase_updater.py24 def __init__(self, proj_path: Path, old_url: metadata_pb2.URL, argument
30 self._new_url = metadata_pb2.URL()
60 def current_url(self) -> metadata_pb2.URL:
70 def latest_url(self) -> metadata_pb2.URL:
Dmetadata.proto42 repeated URL url = 1;
48 message URL { message
DREADME.md41 If type of a URL is set to GIT, the URL must be a git upstream
Dcrates_updater.py37 if self._old_url.type != metadata_pb2.URL.HOMEPAGE:
Dgit_updater.py29 return self._old_url.type == metadata_pb2.URL.GIT
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java129 private static final String URL = "url"; field in TestInvocationTest
1135 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in setupMockListeners()
1179 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in setupMockListeners()
1206 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in setupMockListeners()
1222 .andReturn(new LogFile(PATH, URL, LogDataType.TEXT)); in setupMockListeners()
1243 .andReturn(new LogFile(PATH, URL, LogDataType.HOST_LOG)); in setupMockListeners()
1250 .andReturn(new LogFile(PATH, URL, LogDataType.HOST_LOG)); in setupMockListeners()
1318 .andReturn(new LogFile(PATH, URL, LogDataType.HOST_LOG)); in testInvoke_shardableTest_legacy()
1380 LogFile loggedFile = new LogFile(PATH, URL, LogDataType.HOST_LOG); in testInvoke_shardableTest_autoRetry()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestResourceDownloader.java27 import java.net.URL;
45 final URL url = new URL(resource.getUrl()); in download()
79 private List<String> buildDownloadCommandArgs(URL url, File file) { in buildDownloadCommandArgs()
DTestOutputUploader.java31 import java.net.URL;
51 URL urlObj = new URL(url); in setUploadUrl()
65 final File dir = 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/tests/src/com/android/tradefed/result/
DXmlResultReporterTest.java34 private static final String URL = "url"; field in XmlResultReporterTest
44 return new LogFile(PATH, URL, dataType); in saveLogData()
49 return new LogFile(PATH, URL, type); in saveLogDataRaw()
54 return new LogFile(PATH, URL, LogDataType.DIR); in getLogReportDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DTestOutputUploaderTest.java33 import java.net.URL;
72 final File uploadedFile = new File(new URL(outputFileUrl).getPath()); in testUploadFile_fileProtocol_rootPath()
93 final File uploadedFile = new File(new URL(outputFileUrl).getPath()); in testUploadFile_fileProtocol_withDestPath()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestLoader.java32 import java.net.URL;
74 URL[] urls = new URL[dependentJars.size() + 1]; in buildJarClassLoader()
DTestFilterHelper.java25 import java.net.URL;
259 List<URL> urlList = new ArrayList<>(); in shouldRun()
263 cl = URLClassLoader.newInstance(urlList.toArray(new URL[0])); in shouldRun()
DBuildTestsZipUtils.java24 import java.net.URL;
127 URL apkUrl = null; in getApkFile()
/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/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiConnector.java34 import java.net.URL;
198 URL url = null; in checkConnectivity()
200 url = new URL(urlToCheck); in checkConnectivity()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java73 import java.net.URL;
929 URL[] urls = {f.toURI().toURL()}; in getClasses()
960 URL[] urls = {file.toURI().toURL()}; in getClasses()
/tools/tradefederation/core/clearcut_client/com/android/tradefed/clearcut/
DClearcutClient.java41 import java.net.URL;
266 HttpURLConnection connection = helper.createConnection(new URL(mUrl), "POST", "text"); in sendToClearcut()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJsonHttpTestResultReporter.java36 import java.net.URL;
170 new URL(mPostingEndpoint), "POST"); in postResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJarHostTestTest.java53 import java.net.URL;
250 Arrays.asList(mTestJar.toURI().toURL()).toArray(new URL[] {}), in getClassLoader()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DDynamicRemoteFileResolverTest.java59 import java.net.URL;
950 return new URLClassLoader(new URL[] {jar.toURI().toURL()}); in classLoaderWithProviders()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt63 import java.net.URL in <lambda>()
1422 val url = URL( in <lambda>()

12