Home
last modified time | relevance | path

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

123

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java22 import java.net.URL;
44 private final URL mUrl;
46 private WebAsset(URL url) { in WebAsset()
49 mUrl = new URL(url.getProtocol().toLowerCase(), url.getHost().toLowerCase(), port, ""); in WebAsset()
127 URL url; in create()
129 url = new URL(asset.optString(Utils.WEB_ASSET_FIELD_SITE)); in create()
DDirectStatementRetriever.java26 import java.net.URL;
133 return new URL(asset.getScheme(), asset.getDomain(), asset.getPort(), in computeAssociationJsonUrl()
151 URL url = new URL(urlString); in retrieveStatementFromUrl()
DURLFetcher.java30 import java.net.URL;
60 public WebContent getWebContentFromUrlWithRetry(URL url, long fileSizeLimit, in getWebContentFromUrlWithRetry()
90 public WebContent getWebContentFromUrl(URL url, long fileSizeLimit, int connectionTimeoutMillis) in getWebContentFromUrl()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/
DHttpsTransport.java26 import java.net.URL;
33 private URL mUrl;
36 private HttpsTransport(@NonNull Network network, @NonNull URL url) { in HttpsTransport()
49 public static HttpsTransport createInstance(@NonNull Network network, @NonNull URL url) { in createInstance()
DRedirectListener.java29 import java.net.URL;
49 private final URL mServerUrl;
78 mServerUrl = new URL("http", getHostname(), port, mPath); in RedirectListener()
172 public URL getServerUrl() { in getServerUrl()
DHttpsServiceConnection.java28 import java.net.URL;
46 public HttpsServiceConnection(Network network, URL url) throws IOException { in HttpsServiceConnection()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DHttpsTransportTest.java33 import java.net.URL;
43 private URL mUrl;
55 mUrl = new URL(TEST_URL); in setUp()
56 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
DHttpsServiceConnectionTest.java38 import java.net.URL;
55 private URL mUrl;
67 mUrl = new URL(TEST_URL); in setUp()
70 when(mNetwork.openConnection(any(URL.class))).thenReturn(mHttpsURLConnection); in setUp()
DRedirectListenerTest.java37 import java.net.URL;
49 private URL mServerUrl;
/frameworks/base/core/java/android/provider/
DBrowser.java80 BookmarkColumns.URL, // 1
249 return new MatrixCursor(new String[]{Bookmarks.URL}, 0); in getAllBookmarks()
261 return new MatrixCursor(new String[]{Combined.URL}, 0); in getAllVisitedUrls()
265 sb.append(" OR " + BookmarkColumns.URL + " = "); in addOrUrlEquals()
282 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike()
289 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike()
439 public static final String URL = "url"; field in Browser.BookmarkColumns
503 public static final String URL = "url"; field in Browser.SearchColumns
DBrowserContract.java168 public static final String URL = "url"; field
241 public static final String URL = "url"; field
636 public static final String URL = "url_key"; field in BrowserContract.Images
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
DBitmapRequestKeyImpl.java24 import java.net.URL;
28 public final URL mUrl;
34 URL url = null; in BitmapRequestKeyImpl()
36 url = new URL(uriString); in BitmapRequestKeyImpl()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DTestUtils.java22 import java.net.URL;
54 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionFails()
67 URL url = new URL("https://" + host + ":" + port); in assertUrlConnectionSucceeds()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dany.proto44 // URL that describes the type of the serialized message.
79 // 'type.googleapis.com/full.type.name' as the type URL and the unpack
81 // in the type URL, for example "foo.bar.com/x/y.z" will yield type
89 // additional field `@type` which contains the type URL. Example:
114 // A URL/resource name whose content describes the type of the
121 // * The last segment of the URL's path must represent the fully
125 // * An HTTP GET on the URL must yield a [google.protobuf.Type][]
128 // URL, or have them precompiled into a binary to avoid any
/frameworks/base/media/apex/java/android/media/
DMedia2HTTPConnection.java34 import java.net.URL;
49 private URL mURL = null;
77 mURL = new URL(uri); in connect()
149 private static final boolean isLocalHost(URL url) { in isLocalHost()
179 URL url = mURL; in seekTo()
233 url = new URL(mURL /* TRICKY: don't use url! */, location); in seekTo()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DOsuServerConnectionTest.java62 import java.net.URL;
93 private URL mValidServerUrl;
117 mValidServerUrl = new URL(TEST_VALID_URL); in setUp()
120 when(mNetwork.openConnection(any(URL.class))).thenReturn(mUrlConnection); in setUp()
182 doThrow(new IOException()).when(mNetwork).openConnection(any(URL.class)); in verifyInitAndNetworkOpenURLConnectionFailed()
286 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyExchangeSoapMessageWithException()
315 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyExchangeSoapMessage()
359 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyRetrieveTrustRootCertsWithErrorInHTTPSResponse()
407 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyRetrieveTrustRootCertsWithoutError()
457 when(HttpsTransport.createInstance(any(Network.class), any(URL.class))).thenReturn( in verifyCleanup()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java37 import java.net.URL;
57 private URL mURL = null;
111 mURL = new URL(uri); in connect()
201 private static final boolean isLocalHost(URL url) { in isLocalHost()
231 URL url = mURL; in seekTo()
310 url = new URL(mURL /* TRICKY: don't use url! */, location); in seekTo()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java42 import java.net.URL;
67 private static final String URL = field in NetworkActivity
150 new DownloadXmlTask().execute(URL); in loadPage()
266 URL url = new URL(urlString); in downloadUrl()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java41 import java.net.URL;
96 URL url = new URL(targetUrl); in DownloadFromUrl()
/frameworks/base/packages/OsuLogin/src/com/android/hotspot2/osu/
DOsuLoginActivity.java48 import java.net.URL;
220 return new URL(url).getHost(); in getHost()
229 URL url = new URL(urlString); in getHeaderSubtitle()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DOsuServerConnection.java45 import java.net.URL;
75 private URL mUrl;
164 public boolean connect(@NonNull URL url, @NonNull Network network) { in connect()
270 private void performTlsConnection(URL url, Network network) { in performTlsConnection()
419 URL serverUrl = new URL(certUrl); in getCert()
511 private HttpsServiceConnection getServiceConnection(@NonNull URL url, in getServiceConnection()
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacService.java29 import java.net.URL;
82 new URL(url); in resolvePacFile()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java37 import java.net.URL;
98 final HttpURLConnection conn = (HttpURLConnection) new URL("http://www.google.com/") in testUrlConnection()
122 final HttpURLConnection conn = (HttpURLConnection) new URL("http://ipv6.google.com/") in testUrlConnectionv6()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java32 import java.net.URL;
167 URL alertUrl = new URL(mUrl); in getJsDialogTitle()
/frameworks/opt/vcard/tests/res/raw/
Dv21_adr_multiple_line.vcf4 URL:http://bogus.com/

123