Home
last modified time | relevance | path

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

1234567

/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/base/core/java/android/provider/
DBrowser.java79 BookmarkColumns.URL, // 1
247 return new MatrixCursor(new String[]{Bookmarks.URL}, 0); in getAllBookmarks()
259 return new MatrixCursor(new String[]{Combined.URL}, 0); in getAllVisitedUrls()
263 sb.append(" OR " + BookmarkColumns.URL + " = "); in addOrUrlEquals()
280 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike()
287 whereClause = new StringBuilder(Bookmarks.URL + " = "); in getVisitedLike()
436 public static final String URL = "url"; field in Browser.BookmarkColumns
500 public static final String URL = "url"; field in Browser.SearchColumns
DBrowserContract.java166 public static final String URL = "url"; field
239 public static final String URL = "url"; field
628 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/MusicServiceDemo/src/com/example/android/musicservicedemo/
DUtils.java26 import java.net.URL;
51 URL url = new URL(source); in getBitmapFromURL()
/frameworks/base/media/java/android/media/
DMediaHTTPConnection.java30 import java.net.URL;
50 private URL mURL = null;
80 mURL = new URL(uri); in connect()
147 private static final boolean isLocalHost(URL url) { in isLocalHost()
177 URL url = mURL; in seekTo()
231 url = new URL(mURL /* TRICKY: don't use url! */, location); in seekTo()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DHurlStack.java37 import java.net.URL;
101 URL parsedUrl = new URL(url); in performRequest()
151 protected HttpURLConnection createConnection(URL url) throws IOException { in createConnection()
161 private HttpURLConnection openConnection(URL url, Request<?> request) throws IOException { in openConnection()
/frameworks/base/docs/html/training/basics/network-ops/
Dconnecting.jd107 the method <code>downloadUrl()</code>. It passes the web page URL as a
132 // Before attempting to fetch the URL, makes sure that there is a network connection.
134 // Gets the URL from the UI's text field.
147 // URL string and uses it to create an HttpUrlConnection. Once the connection
159 return "Unable to retrieve web page. URL may be invalid.";
176 the specified URL to the {@link android.os.AsyncTask} subclass
183 <li>The <code>downloadUrl()</code> method takes a URL string as a parameter
184 and uses it to create a {@link java.net.URL} object.</li>
186 <li>The {@link java.net.URL} object is used to establish an {@link
211 <code>downloadUrl()</code> method takes the given URL and uses it to connect to
[all …]
/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/volley/src/test/java/com/android/volley/mock/
DMockHttpURLConnection.java24 import java.net.URL;
33 super(new URL("http://foo.com")); in MockHttpURLConnection()
/frameworks/base/docs/html/training/volley/
Drequest.jd31 <li>{@code StringRequest}. Specify a URL and receive a raw string in response. See
33 <li>{@code ImageRequest}. Specify a URL and receive an image in response.</li>
35 {@code JsonRequest}). Specify a URL and get a JSON object or array (respectively) in
51 <li>{@code ImageRequest}&mdash;a canned request for getting an image at a given URL and
68 the network via URL. {@code NetworkImageView} also manages canceling pending requests if
75 the URL and displays it in the app. Note that this snippet interacts with the
86 // Retrieves an image specified by the URL, displays it in the UI.
121 // The URL for the image that is being loaded.
149 // Set the URL of the image that should be loaded into this view, and
241 response body at a given URL.</li>
[all …]
/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/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java34 import java.net.URL;
95 final HttpURLConnection conn = (HttpURLConnection) new URL("http://www.google.com/") in testUrlConnection()
119 final HttpURLConnection conn = (HttpURLConnection) new URL("http://ipv6.google.com/") in testUrlConnectionv6()
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
DPacService.java29 import java.net.URL;
82 new URL(url); in resolvePacFile()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java32 import java.net.URL;
167 URL alertUrl = new URL(mUrl); in getJsDialogTitle()
/frameworks/base/services/core/java/com/android/server/location/
DGpsXtraDownloader.java23 import java.net.URL;
109 connection = (HttpURLConnection) (new URL(url)).openConnection(); in doDownload()
/frameworks/base/docs/html/guide/webapps/
Dmigrating.jd11 <li><a href="#URLs">Custom URL Handling</a></li>
134 <h2 id="URLs">Custom URL Handling</h2>
137 and resolving links that use a custom URL scheme. For example, if you implement callbacks such as
142 <p>If you are using a custom URL scheme or a base URL and
157 loadDataWithBaseURL()} with an invalid or null base URL, then you will not receive the
162 loadDataWithBaseURL()} and the base URL is invalid or set null, all links in the content
165 loadUrl()} or provided a valid base URL with {@link android.webkit.WebView#loadDataWithBaseURL
168 for this type of link on the page, but the URL you receive will be absolute, relative
169 to the current page. For example, the URL you receive will be
179 <p>You can then handle this URL in your
[all …]
/frameworks/opt/vcard/tests/res/raw/
Dv21_adr_multiple_line.vcf4 URL:http://bogus.com/
/frameworks/base/docs/html-intl/intl/ru/preview/features/
Dapp-linking.jd49 …ения о приложении Android, которое следует использовать в качестве обработчика по умолчанию для URL
120 …ройки связи приложений и выбрать предпочтительный для них способ обработки URL. Для просмотра связ…
/frameworks/base/docs/html-intl/intl/zh-tw/preview/features/
Dapp-linking.jd49 這個 JSON 檔案會指出應該在這個網域中用來做為 URL 預設處理常式的 Android 應用程式。
120 …使用者可以變更應用程式連結設定,讓他們能夠以偏好使用的方式來處理 URL。您可以在系統「設定」應用程式中,於 [設定] &gt; [應用程式] &gt; [應用程式資訊] &gt; [預設開啟]<…
/frameworks/base/docs/html-intl/intl/zh-cn/preview/features/
Dapp-linking.jd49 该 JSON 文件指定应作为该域下 URL 默认处理程序使用的 Android 应用。
120 …用户可以更改应用链接设置,让系统按首选方式处理 URL。您可以在系统“设置”应用的<strong>设置 &gt; 应用 &gt; 应用信息 &gt; 默认打开</strong>下查看和管理应用链接。
/frameworks/base/docs/html-intl/intl/ko/preview/features/
Dapp-linking.jd49 이 JSON 파일은 이 도메인 아래에서 URL에 대한 기본 처리자로 사용되어야 하는 Android 앱을 나타냅니다.
120 …사용자가 앱 링크 설정을 변경하여 URL을 본인이 선호하는 방식으로 처리하도록 할 수 있습니다. 앱 링크를 검토하고 관리하려면 <strong>설정 &gt; 앱 &gt; 앱 정보…
/frameworks/base/core/java/android/net/
DNetwork.java35 import java.net.URL;
246 public URLConnection openConnection(URL url) throws IOException { in openConnection()
273 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException { in openConnection()

1234567