/tools/tradefederation/core/common_util/com/android/tradefed/util/net/ |
D | HttpHelper.java | 33 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()
|
D | IHttpHelper.java | 25 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/ |
D | HttpHelperTest.java | 43 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/ |
D | base_updater.py | 24 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:
|
D | metadata.proto | 42 repeated URL url = 1; 48 message URL { message
|
D | README.md | 41 If type of a URL is set to GIT, the URL must be a git upstream
|
D | crates_updater.py | 37 if self._old_url.type != metadata_pb2.URL.HOMEPAGE:
|
D | git_updater.py | 29 return self._old_url.type == metadata_pb2.URL.GIT
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | TestInvocationTest.java | 129 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/ |
D | TestResourceDownloader.java | 27 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()
|
D | TestOutputUploader.java | 31 import java.net.URL; 51 URL urlObj = new URL(url); in setUploadUrl() 65 final File dir = new File(new URL(uploadUrl).getPath()); in uploadFile()
|
D | SubprocessConfigBuilder.java | 35 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/ |
D | XmlResultReporterTest.java | 34 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/ |
D | TestOutputUploaderTest.java | 33 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/ |
D | TestLoader.java | 32 import java.net.URL; 74 URL[] urls = new URL[dependentJars.size() + 1]; in buildJarClassLoader()
|
D | TestFilterHelper.java | 25 import java.net.URL; 259 List<URL> urlList = new ArrayList<>(); in shouldRun() 263 cl = URLClassLoader.newInstance(urlList.toArray(new URL[0])); in shouldRun()
|
D | BuildTestsZipUtils.java | 24 import java.net.URL; 127 URL apkUrl = null; in getApkFile()
|
/tools/tradefederation/core/lite/com/android/tradefed/lite/ |
D | HostUtils.java | 26 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/ |
D | WifiConnector.java | 34 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/ |
D | HostTest.java | 73 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/ |
D | ClearcutClient.java | 41 import java.net.URL; 266 HttpURLConnection connection = helper.createConnection(new URL(mUrl), "POST", "text"); in sendToClearcut()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JsonHttpTestResultReporter.java | 36 import java.net.URL; 170 new URL(mPostingEndpoint), "POST"); in postResults()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | JarHostTestTest.java | 53 import java.net.URL; 250 Arrays.asList(mTestJar.toURI().toURL()).toArray(new URL[] {}), in getClassLoader()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | DynamicRemoteFileResolverTest.java | 59 import java.net.URL; 950 return new URLClassLoader(new URL[] {jar.toURI().toURL()}); in classLoaderWithProviders()
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | DriverTest.kt | 63 import java.net.URL in <lambda>() 1422 val url = URL( in <lambda>()
|