Searched refs:URL (Results 1 - 25 of 61) sorted by relevance

123

/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DUserInputListener.java5 import java.net.URL;
10 * URL. Under normal circumstances this implies that a web-browser is started and pointed at
11 * the target URL from which it is supposed to perform an initial HTTP GET operation.
14 * @param target A fully encoded URL to which to send an initial HTTP GET and then handle
16 * @param endRedirect A URL to which the user agent will be redirected upon completion of
18 * as the redirect to the URL is the responsibility of the remote server.
20 public void requestUserInput(URL target, Network network, URL endRedirect);
43 * @param url a URL to which to redirect the user
45 public void deAuthNotification(String spIdentity, boolean ess, int delay, URL ur
[all...]
H A DHTTPHandler.java18 import java.net.URL;
63 public X509Certificate getOSUCertificate(URL osu) throws GeneralSecurityException {
85 public OSUResponse exchangeSOAP(URL url, String message) throws IOException {
103 public ByteBuffer exchangeBinary(URL url, String message, String contentType)
110 public InputStream doGet(URL url) throws IOException {
115 public HTTPResponse doGetHTTP(URL url) throws IOException {
119 private HTTPResponse exchangeWithRetry(URL url, String message, HTTPMessage.Method method,
145 private HTTPResponse httpExchange(URL url, String message, HTTPMessage.Method method,
H A DOSUClient.java31 import java.net.URL;
57 private final URL mURL;
62 mURL = new URL(osuInfo.getOSUProvider().getOSUServer());
68 mURL = new URL(osu);
81 URL redirectURL = osuManager.prepareUserInput(mOSUInfo.getName(Locale.getDefault()));
138 if (!osuManager.startUserInput(new URL(webURL), network)) {
208 URL redirectURL = osuManager.prepareUserInput(homeSP.getFriendlyName());
259 if (!osuManager.startUserInput(new URL(webURL), network)) {
439 URL url = new URL(urlStrin
[all...]
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/
H A DUtils.java26 import java.net.URL;
51 URL url = new URL(source);
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DBitmapRequestKeyImpl.java24 import java.net.URL;
28 public final URL mUrl;
34 URL url = null;
36 url = new URL(uriString);
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DTestUtils.java20 import java.net.URL;
52 URL url = new URL("https://" + host + ":" + port);
65 URL url = new URL("https://" + host + ":" + port);
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
H A DWebAsset.java22 import java.net.URL;
44 private final URL mUrl;
46 private WebAsset(URL url) {
49 mUrl = new URL(url.getProtocol().toLowerCase(), url.getHost().toLowerCase(), port, "");
127 URL url;
129 url = new URL(asset.optString(Utils.WEB_ASSET_FIELD_SITE));
H A DURLFetcher.java30 import java.net.URL;
37 * Helper class for fetching HTTP or HTTPS URL.
57 * @throws AssociationServiceException if the URL scheme is not http or https or the content
60 public WebContent getWebContentFromUrlWithRetry(URL url, long fileSizeLimit,
87 * @throws AssociationServiceException if the URL scheme is not http or https or the content
90 public WebContent getWebContentFromUrl(URL url, long fileSizeLimit, int connectionTimeoutMillis)
H A DDirectStatementRetriever.java26 import java.net.URL;
133 return new URL(asset.getScheme(), asset.getDomain(), asset.getPort(),
151 URL url = new URL(urlString);
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockHttpURLConnection.java24 import java.net.URL;
33 super(new URL("http://foo.com"));
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java27 import java.net.URL;
68 URL url = new URL(uri);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java27 import java.net.URL;
68 URL url = new URL(uri);
/frameworks/base/core/java/android/provider/
H A DBrowser.java79 BookmarkColumns.URL, // 1
240 * column, {@link BookmarkColumns#URL}.
247 return new MatrixCursor(new String[]{Bookmarks.URL}, 0);
252 * have a single column, {@link BookmarkColumns#URL}.
259 return new MatrixCursor(new String[]{Combined.URL}, 0);
263 sb.append(" OR " + BookmarkColumns.URL + " = ");
280 whereClause = new StringBuilder(Bookmarks.URL + " = ");
287 whereClause = new StringBuilder(Bookmarks.URL + " = ");
433 * The URL of the bookmark or history item.
434 * <p>Type: TEXT (URL)</
436 public static final String URL = "url"; field in class:Browser.BookmarkColumns
500 public static final String URL = "url"; field in class:Browser.SearchColumns
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/service/
H A DRedirectListener.java16 import java.net.URL;
43 private final URL mURL;
56 mURL = new URL("http", mServerSocket.getInetAddress().getHostAddress(),
59 Log.d(TAG, "Redirect URL: " + mURL);
119 public URL getURL() {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DComprehensionTlvTag.java47 URL(0x31), enum constant in enum:ComprehensionTlvTag
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
H A DPacService.java29 import java.net.URL;
79 throw new IllegalArgumentException("The URL must not be null");
82 new URL(url);
90 throw new IllegalArgumentException("Invalid URL was passed");
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java42 import java.net.URL;
67 private static final String URL = field in class:NetworkActivity
150 new DownloadXmlTask().execute(URL);
263 // Given a string representation of a URL, sets up a connection and gets
266 URL url = new URL(urlString);
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHurlStack.java38 import java.net.URL;
59 * Returns a URL to use instead of the provided one, or null to indicate
60 * this URL should not be used at all.
98 throw new IOException("URL blocked by rewriter: " + url);
102 URL parsedUrl = new URL(url);
168 protected HttpURLConnection createConnection(URL url) throws IOException {
185 private HttpURLConnection openConnection(URL url, Request<?> request) throws IOException {
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java41 import java.net.URL;
96 URL url = new URL(targetUrl);
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java34 import java.net.URL;
95 final HttpURLConnection conn = (HttpURLConnection) new URL("http://www.google.com/")
119 final HttpURLConnection conn = (HttpURLConnection) new URL("http://ipv6.google.com/")
/frameworks/base/media/java/android/media/
H A DMediaHTTPConnection.java30 import java.net.URL;
50 private URL mURL = null;
80 mURL = new URL(uri);
153 private static final boolean isLocalHost(URL url) {
183 URL url = mURL;
237 url = new URL(mURL /* TRICKY: don't use url! */, location);
252 // update effective URL, unless it is a Temporary Redirect
258 // remember the current, potentially redirected URL if redirects
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DVideoConsumptionExampleFragment.java35 private static final String URL = "http://techslides.com/demos/sample-videos/small.mp4"; field in class:VideoConsumptionExampleFragment
57 mGlue.setMediaSource(URL);
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/media/
H A DVideoConsumptionExampleFragment.java35 private static final String URL = "http://techslides.com/demos/sample-videos/small.mp4"; field in class:VideoConsumptionExampleFragment
57 mGlue.setMediaSource(URL);
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPRequest.java9 import java.net.URL;
31 public HTTPRequest(Method method, URL url) {
35 public HTTPRequest(String payload, Charset charset, Method method, URL url, String contentType,
62 URL url, int sequence) throws IOException, GeneralSecurityException {
68 byte[] password, URL url, int sequence)
/frameworks/base/packages/Osu/src/com/android/hotspot2/est/
H A DESTHandler.java37 import java.net.URL;
72 private final URL mURL;
85 mURL = new URL(certData.getServer());
116 URL caURL = new URL(mURL.getProtocol(), mURL.getHost(), mURL.getPort(),
198 URL csrURL = new URL(mURL.getProtocol(), mURL.getHost(), mURL.getPort(),
212 URL enrollURL = new URL(mURL.getProtocol(), mURL.getHost(), mURL.getPort(),

Completed in 813 milliseconds

123