/external/guice/core/test/com/googlecode/guice/ |
BytecodeGenTest.java | 39 import java.net.URL; 95 * Custom URL classloader with basic visibility rules 103 super(new URL[0]); 110 // is it a remote/local URL? 111 addURL(new URL(element));
|
/external/guice/examples/src/example/xml/ |
XmlBeanModule.java | 12 import java.net.URL; 25 final URL xmlUrl; 31 public XmlBeanModule(URL xmlUrl) {
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
PropertyBoxParserImpl.java | 26 import java.net.URL; 44 Enumeration<URL> enumeration = Thread.currentThread().getContextClassLoader().getResources("isoparser-custom.properties"); 47 URL url = enumeration.nextElement(); local 48 InputStream customIS = new BufferedInputStream(url.openStream());
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
OkUrlFactoryTest.java | 13 import java.net.URL; 158 final URL blockedURL = server.url("/a").url(); 161 public void checkURLPermitted(URL url) throws IOException { 162 if (blockedURL.equals(url)) { 168 HttpURLConnection connection = factory.open(server.url("/a").url()); 174 HttpURLConnection connection = factory.open(server.url("/b").url()) [all...] |
/external/python/cpython3/Lib/test/ |
test_urllibnet.py | 46 url = 'http://www.pythontest.net/' variable in class:urlopenNetworkTests 60 with self.urlopen(self.url) as open_url: 69 with self.urlopen(self.url) as open_url: 77 with self.urlopen(self.url) as open_url: 85 # Make sure same URL as opened is returned by geturl. 86 with self.urlopen(self.url) as open_url: 88 self.assertEqual(gotten_url, self.url) 92 URL = self.url + "XXXinvalidXXX" 93 with support.transient_internet(URL) [all...] |
/frameworks/base/core/java/android/provider/ |
BrowserContract.java | 40 * history, images and the mapping between the image and URL. 162 * This column is valid when the row is a URL. The history table's URL 164 * <P>Type: TEXT (URL)</P> 166 public static final String URL = "url"; 236 * The URL. The URL can map onto the different type of images. 237 * <P>Type: TEXT (URL)</P> 239 public static final String URL = "url" [all...] |
/frameworks/base/core/java/android/webkit/ |
JsDialogHelper.java | 32 import java.net.URL; 58 String url) { 63 mUrl = url; 71 mUrl = msg.getData().getString("url"); 167 URL alertUrl = new URL(mUrl); 172 // do nothing. just use the url as the title
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
BandwidthEnforcementTestService.java | 37 import java.net.URL; 93 * Tests a normal http url connection. 98 final HttpURLConnection conn = (HttpURLConnection) new URL("http://www.google.com/") 117 * Tests a ipv6 http url connection. 122 final HttpURLConnection conn = (HttpURLConnection) new URL("http://ipv6.google.com/")
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
DelegateLastClassLoaderTest.java | 25 import java.net.URL; 127 Enumeration<URL> resources = cl.getResources(resourceName); 131 URL url = resources.nextElement(); local 133 try (InputStream is = url.openStream()) {
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestCertActivity.java | 55 import java.net.URL; 69 // URL to get the json 105 URL url = new URL(mURL); local 106 HttpURLConnection conn = (HttpURLConnection) url.openConnection(); 169 // Making a request to url and getting response 171 Log.d(LOG_TAG, "Response from url: " + jsonStr);
|
/prebuilts/go/darwin-x86/src/html/template/ |
content.go | 76 // URL encapsulates a known safe URL or URL substring (see RFC 3986). 77 // A URL like `javascript:checkThatFormNotEditedBeforeLeavingPage()` 85 URL string 166 case URL:
|
/prebuilts/go/linux-x86/src/html/template/ |
content.go | 76 // URL encapsulates a known safe URL or URL substring (see RFC 3986). 77 // A URL like `javascript:checkThatFormNotEditedBeforeLeavingPage()` 85 URL string 166 case URL:
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/ |
TableLayoutRule.java | 32 import java.net.URL; 48 private static final URL ICON_ADD_ROW = 50 private static final URL ICON_REMOVE_ROW =
|
GridLayoutRule.java | 60 import java.net.URL; 122 private static final URL ICON_HORIZONTAL = GridLayoutRule.class.getResource("hlinear.png"); //$NON-NLS-1$ 123 private static final URL ICON_VERTICAL = GridLayoutRule.class.getResource("vlinear.png"); //$NON-NLS-1$ 124 private static final URL ICON_ADD_ROW = GridLayoutRule.class.getResource("addrow.png"); //$NON-NLS-1$ 125 private static final URL ICON_REMOVE_ROW = GridLayoutRule.class.getResource("removerow.png"); //$NON-NLS-1$ 126 private static final URL ICON_ADD_COL = GridLayoutRule.class.getResource("addcol.png"); //$NON-NLS-1$ 127 private static final URL ICON_REMOVE_COL = GridLayoutRule.class.getResource("removecol.png"); //$NON-NLS-1$ 128 private static final URL ICON_SHOW_STRUCT = GridLayoutRule.class.getResource("showgrid.png"); //$NON-NLS-1$ 129 private static final URL ICON_GRID_MODE = GridLayoutRule.class.getResource("gridmode.png"); //$NON-NLS-1$ 130 private static final URL ICON_SNAP = GridLayoutRule.class.getResource("snap.png"); //$NON-NLS-1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
DexWrapper.java | 32 import java.net.URL; 77 URL url = f.toURI().toURL(); local 80 URLClassLoader loader = new URLClassLoader(new URL[] { url },
|
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/ |
DynamicConfigPusher.java | 43 import java.net.URL; 61 @Option(name = "config-url", description = "The url path of the dynamic config. If set, " + 118 java.net.URL request = new URL(requestUrl); 122 "Cannot download and parse json config from URL " + requestUrl); 126 "Dynamic config override URL is not set, using local configuration values");
|
/prebuilts/go/darwin-x86/src/net/http/ |
transport_test.go | 33 "net/url" 135 req, _ := NewRequest("GET", ts.URL, nil) 166 res, err := c.Get(ts.URL) 203 req.URL, err = url.Parse(ts.URL + fmt.Sprintf("/?close=%v", connectionClose)) 205 t.Fatalf("URL parse error: %v", err) 252 req.URL, err = url.Parse(ts.URL) [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
transport_test.go | 33 "net/url" 135 req, _ := NewRequest("GET", ts.URL, nil) 166 res, err := c.Get(ts.URL) 203 req.URL, err = url.Parse(ts.URL + fmt.Sprintf("/?close=%v", connectionClose)) 205 t.Fatalf("URL parse error: %v", err) 252 req.URL, err = url.Parse(ts.URL) [all...] |
/external/antlr/antlr-3.4/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/ |
GUnitExecuteMojo.java | 13 import java.net.URL; 233 * @throws MojoExecutionException Problem resolving artifacts to {@link java.net.URL urls}. 237 ArrayList<URL> classPathUrls = new ArrayList<URL>(); 247 throw new MojoExecutionException( "Unable to build path URL [" + path + "]" ); 251 return new URLClassLoader( classPathUrls.toArray( new URL[classPathUrls.size()] ), getClass().getClassLoader() ); 254 protected static URL resolveLocalURL(Artifact artifact) throws MojoExecutionException { 259 throw new MojoExecutionException( "Unable to resolve artifact url : " + artifact.getId(), e );
|
/external/autotest/frontend/client/src/autotest/common/ |
Utils.java | 5 import com.google.gwt.http.client.URL; 178 value = URL.decodeComponent(parts[1]); 186 return URL.decodeComponent(component.replace("%27", "'")); 200 return URL.encodeComponent(component).replace("'", "%27"); 211 String logUrl = URL.encode(getLogsUrl(path)); 280 public static void openUrlInNewWindow(String url) { 281 Window.open(url, "_blank", ""); 334 String url = getGoogleStorageHttpUrl(bucketPath); local 335 if (url != null) { 336 if (url != null) [all...] |
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
CaptivePortalLoginActivity.java | 62 import java.net.URL; 78 private URL mUrl; 147 final String url = mUrl.toString(); local 148 if (DBG) logd("starting activity with intent ACTION_VIEW for " + url); 149 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); 217 private URL getUrlForCaptivePortal() { 218 String url = getIntent().getStringExtra(TelephonyIntents.EXTRA_REDIRECTION_URL_KEY); local 219 if (TextUtils.isEmpty(url)) url = mCm.getCaptivePortalServerUrl(); 228 if (url.startsWith(portalUrl)) [all...] |
/prebuilts/go/darwin-x86/src/go/doc/ |
comment.go | 107 // if the URL also appears in the words map, the link is taken from the map (if 108 // the corresponding map value is the empty string, the URL is not converted 110 // the corresponding map value is not the empty string, it is considered a URL 135 url := "" 138 url, italics = words[match] 143 // no alternative URL in words list, use match instead 144 url = match 150 if len(url) > 0 { 152 template.HTMLEscape(w, []byte(url)) 162 if len(url) > 0 [all...] |
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
server.go | 27 URL string // base URL of form http://ipaddr:port with no trailing slash 101 if s.URL != "" { 107 s.URL = "http://" + s.Listener.Addr().String() 111 fmt.Fprintln(os.Stderr, "httptest: serving on", s.URL) 118 if s.URL != "" { 153 s.URL = "https://" + s.Listener.Addr().String()
|
/prebuilts/go/linux-x86/src/go/doc/ |
comment.go | 107 // if the URL also appears in the words map, the link is taken from the map (if 108 // the corresponding map value is the empty string, the URL is not converted 110 // the corresponding map value is not the empty string, it is considered a URL 135 url := "" 138 url, italics = words[match] 143 // no alternative URL in words list, use match instead 144 url = match 150 if len(url) > 0 { 152 template.HTMLEscape(w, []byte(url)) 162 if len(url) > 0 [all...] |
/prebuilts/go/linux-x86/src/net/http/httptest/ |
server.go | 27 URL string // base URL of form http://ipaddr:port with no trailing slash 101 if s.URL != "" { 107 s.URL = "http://" + s.Listener.Addr().String() 111 fmt.Fprintln(os.Stderr, "httptest: serving on", s.URL) 118 if s.URL != "" { 153 s.URL = "https://" + s.Listener.Addr().String()
|