/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
AuthenticatorTest.java | 28 import java.net.URL; 104 URL url = new URL("http://127.0.0.1"); local 106 .getByName("127.0.0.1"), 80, "HTTP", "", "", url, 184 new URL("http://localhost:" + port).openStream(); 201 public URL getRequestingURL() {
|
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 27 import java.net.URL; 52 URL url = null; local 58 url = new URL("file:/" + resPath + "/" + fileName); 62 return url.toString(); 118 public static File getExternalLocalFile(String url) throws IOException, MalformedURLException { 120 InputStream in = new URL(url).openStream(); 151 URL url = ClassLoader.getSystemClassLoader().getResource(name) local [all...] |
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/ |
AppletHarness.java | 44 import java.net.URL; 62 private URL appCfg = null; 63 private URL assetCfg = null; 141 appCfg = new URL(getParameter("AppSettingsURL")); 148 assetCfg = new URL(getParameter("AssetConfigURL"));
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
HttpAuthenticator.java | 27 import java.net.URL; 40 Proxy proxy, URL url, List<Challenge> challenges) throws IOException { 46 PasswordAuthentication auth = Authenticator.requestPasswordAuthentication(url.getHost(), 47 getConnectToInetAddress(proxy, url), url.getPort(), url.getProtocol(), 48 challenge.getRealm(), challenge.getScheme(), url, Authenticator.RequestorType.SERVER); 57 Proxy proxy, URL url, List<Challenge> challenges) throws IOException [all...] |
/libcore/luni/src/main/java/java/util/ |
ServiceLoader.java | 22 import java.net.URL; 75 private final Set<URL> services; 85 this.services = new HashSet<URL>(); 188 private final Set<URL> services; 221 for (URL url : services) { 224 reader = new BufferedReader(new InputStreamReader(url.openStream(), "UTF-8")); 245 throw new ServiceConfigurationError("Couldn't read " + url, e);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
RuleLoader.java | 33 import java.net.URL; 118 List<URL> urls = new ArrayList<URL>(); 129 URL url; local 131 url = pathFile.toURI().toURL(); 132 urls.add(url); 137 "Invalid URL: %1$s", //$NON-NLS-1$ 144 return new URLClassLoader(urls.toArray(new URL[urls.size()]),
|
/external/chromium_org/chrome/browser/sync_file_system/drive_backend/ |
local_to_remote_syncer_unittest.cc | 38 fileapi::FileSystemURL URL(const GURL& origin, 156 const fileapi::FileSystemURL& url) { 161 file_change, local_path, url)); 245 URL(kOrigin, "file1"))); 249 URL(kOrigin, "folder"))); 253 URL(kOrigin, "folder/file2"))); 274 URL(kOrigin, "folder1/folder2/file"))); 278 URL(kOrigin, "folder1/folder2/file"))); 282 URL(kOrigin, "folder1/folder2/file"))); 304 URL(kOrigin, "file"))) [all...] |
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
DateFormatSymbolsTest.java | 20 import java.net.URL; 74 URL path1 = new File("src/test/resources/provider/correct").toURL(); 75 URL path2 = new File("resources/provider/correct").toURL(); 77 new URL[] { path1, path2 }) { 104 URL path1 = new File("src/test/resources/provider/wrong").toURL(); 105 URL path2 = new File("resources/provider/wrong").toURL(); 107 new URL[] { path1, path2 }) { 178 URL path1 = new File("src/test/resources/provider/correct").toURL(); 179 URL path2 = new File("resources/provider/correct").toURL(); 181 new URL[] { path1, path2 }) [all...] |
DecimalFormatSymbolsTest.java | 25 import java.net.URL; 83 URL path1 = new File("src/test/resources/provider/correct").toURL(); 84 URL path2 = new File("resources/provider/correct").toURL(); 86 new URL[] { path1, path2 }) { 113 URL path1 = new File("src/test/resources/provider/wrong").toURL(); 114 URL path2 = new File("resources/provider/wrong").toURL(); 116 new URL[] { path1, path2 }) { 189 URL path1 = new File("src/test/resources/provider/correct").toURL(); 190 URL path2 = new File("resources/provider/correct").toURL(); 192 new URL[] { path1, path2 }) [all...] |
/frameworks/base/core/java/android/provider/ |
Browser.java | 70 * headers for the provided url. The keys can't be the standard HTTP headers 71 * as they are set by the WebView. The url's schema must be http(s). 80 BookmarkColumns.URL, // 1 152 * and/or a url, both of which can be edited by the user before saving. 156 * @param url Url for the bookmark. Can be null or empty string. 160 String url) { 163 i.putExtra("url", url); 230 * column, {@link BookmarkColumns#URL} [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory4Test.java | 23 import java.net.URL; 89 URL certUrl = new URL(BASE_URL + CERTIFICATE_URLS[i]); 111 URL certUrl = new URL(BASE_URL + CRL_URLS[i]); 132 URL certUrl = new URL(BASE_URL + CRLCOLLECTION_URLS[i]); [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/ |
Request.java | 27 import java.net.URL; 39 private final URL url; field in class:Request 46 this.url = builder.url; 53 public URL url() { method in class:Request 54 return url; 58 return url.toString(); 184 private URL url [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory4Test.java | 29 import java.net.URL; 92 URL certUrl = new URL(BASE_URL + CERTIFICATE_URLS[i]); 114 URL certUrl = new URL(BASE_URL + CRL_URLS[i]); 135 URL certUrl = new URL(BASE_URL + CRLCOLLECTION_URLS[i]); [all...] |
/external/chromium_org/third_party/libxml/src/include/libxml/ |
xmlreader.h | 122 xmlParserInputBufferPtr input, const char *URL, 320 const char *URL, 330 const char *URL, 335 const char *URL, 342 const char *URL, 352 const char *URL, 364 const char *URL, 370 const char *URL, 378 const char *URL,
|
/external/libxml2/include/libxml/ |
xmlreader.h | 122 xmlParserInputBufferPtr input, const char *URL, 320 const char *URL, 330 const char *URL, 335 const char *URL, 342 const char *URL, 352 const char *URL, 364 const char *URL, 370 const char *URL, 378 const char *URL,
|
/libcore/dalvik/src/main/java/dalvik/system/ |
DexPathList.java | 22 import java.net.URL; 339 * @return a URL to the named resource or {@code null} if the 342 public URL findResource(String name) { 344 URL url = element.findResource(name); local 345 if (url != null) { 346 return url; 358 public Enumeration<URL> findResources(String name) { 359 ArrayList<URL> result = new ArrayList<URL>(); 362 URL url = element.findResource(name); local [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 35 import java.net.URL; 133 // create url connection to be tested 134 URL url = new URL("https://localhost:" + ss.getLocalPort()); local 135 HttpsURLConnection connection = (HttpsURLConnection) url.openConnection(); 164 // create url connection to be tested 165 URL url = new URL("https://localhost:" + ss.getLocalPort()) local 204 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 242 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 277 URL url = new URL("https:\/\/localhost:55555"); local 320 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 356 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local 385 URL url = new URL("https:\/\/requested.host:55556\/requested.data"); local 425 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 459 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 508 URL url = new URL("https:\/\/requested.host:55554\/requested.data"); local 539 URL url = new URL("https:\/\/requested.host:55555\/requested.data"); local 575 URL url = new URL("https:\/\/localhost:" + ss.getLocalPort()); local [all...] |
/development/samples/training/threadsample/src/com/example/android/threadsample/ |
PhotoFragment.java | 30 import java.net.URL; 44 * Converts the stored URL string to a URL, and then tries to download the picture from that 45 * URL. 48 // If setPhoto() was called to store a URL, proceed 54 // Converts the URL string to a valid URL 55 URL localURL = new URL(mURLString); 58 * setImageURL(url,false,null) attempts to download and decode the picture a [all...] |
PhotoTask.java | 25 import java.net.URL; 51 // The image's URL 52 private URL mImageURL; 112 // Gets the URL for the View 169 // Implements PhotoDownloadRunnable.getImageURL. Returns the global Image URL. 171 public URL getImageURL() {
|
/external/android-mock/src/com/google/android/testing/mocking/ |
ProcessorLogger.java | 25 import java.net.URL; 55 URL[] allUrls = ((URLClassLoader) this.getClass().getClassLoader()).getURLs(); 56 for (URL url : allUrls) { 57 printMessage(Kind.NOTE, url.toString());
|
/external/chromium_org/chrome/android/testshell/javatests/src/org/chromium/chrome/testshell/ |
ChromiumTestShellUrlTest.java | 19 // URL used for base tests. 20 private static final String URL = "data:text"; 25 ChromiumTestShellActivity activity = launchChromiumTestShellWithUrl(URL); 59 // Ensure the correct page has been loaded, ie. not interstitial, and title/url should 63 final AtomicReference<String> url = new AtomicReference<String>(); local 69 url.set(contentViewCore.get().getUrl()); 75 assertNotNull("URL was null", url.get()); 76 assertTrue("URL did not contain: " + welcomeUrl + ". Was: " + url.get() [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
InterstitialPageTest.java | 26 private static final String URL = UrlUtils.encodeHtmlDataUri( 59 ContentShellActivity activity = launchContentShellWithUrl(URL); 121 getActiveContentViewCore().showInterstitialPage(URL, delegate);
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/ |
README | 139 URL: http://www.mozilla.org/rhino 158 URL: http://www.mozilla.org/rhino 173 URL: https://args4j.dev.java.net/ 189 URL: http://code.google.com/p/guava-libraries/ 203 URL: http://code.google.com/p/jsr-305/ 217 URL: http://jarjar.googlecode.com/ 232 URL: http://sourceforge.net/projects/junit/ 246 URL: http://code.google.com/p/protobuf/ 261 URL: http://ant.apache.org/bindownload.cgi 274 URL: http://json.org/java/index.htm [all...] |
/external/eyes-free/AccessCheck/src/com/android/accessibility/ |
AccessibilityValidationContentHandler.java | 24 import java.net.URL; 174 public static void setClassLoaderAndBaseClass(URL[] urlSearchPaths) 202 setClassLoaderAndBaseClass(new URL[] { mAndroidSdkPath.toURL() });
|
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
JmeSystem.java | 39 import java.net.URL;
66 public static URL getResource(String name) {
96 public static AssetManager newAssetManager(URL configFile) {
|