/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | JsonArrayRequest.java | 37 * @param url URL to fetch the JSON from 41 public JsonArrayRequest(String url, Listener<JSONArray> listener, ErrorListener errorListener) { argument 42 super(Method.GET, url, null, listener, errorListener); 48 * @param url URL to fetch the JSON from 54 public JsonArrayRequest(int method, String url, JSONArray jsonRequest, argument 56 super(method, url, (jsonRequest == null) ? null : jsonRequest.toString(), listener,
|
H A D | JsonObjectRequest.java | 39 * @param url URL to fetch the JSON from 45 public JsonObjectRequest(int method, String url, JSONObject jsonRequest, argument 47 super(method, url, (jsonRequest == null) ? null : jsonRequest.toString(), listener, 57 public JsonObjectRequest(String url, JSONObject jsonRequest, Listener<JSONObject> listener, argument 59 this(jsonRequest == null ? Method.GET : Method.POST, url, jsonRequest,
|
H A D | JsonRequest.java | 51 public JsonRequest(String url, String requestBody, Listener<T> listener, argument 53 this(Method.DEPRECATED_GET_OR_POST, url, requestBody, listener, errorListener); 56 public JsonRequest(int method, String url, String requestBody, Listener<T> listener, argument 58 super(method, url, errorListener);
|
H A D | StringRequest.java | 37 * @param url URL to fetch the string at 41 public StringRequest(int method, String url, Listener<String> listener, argument 43 super(method, url, errorListener); 50 * @param url URL to fetch the string at 54 public StringRequest(String url, Listener<String> listener, ErrorListener errorListener) { argument 55 this(Method.GET, url, listener, errorListener);
|
H A D | HurlStack.java | 90 String url = request.getUrl(); 95 String rewritten = mUrlRewriter.rewriteUrl(url); 97 throw new IOException("URL blocked by rewriter: " + url); 99 url = rewritten; 101 URL parsedUrl = new URL(url); 149 * Create an {@link HttpURLConnection} for the specified {@code url}. 151 protected HttpURLConnection createConnection(URL url) throws IOException { argument 152 return (HttpURLConnection) url.openConnection(); 157 * @param url 161 private HttpURLConnection openConnection(URL url, Reques argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | MailTo.java | 47 * @param url string to be tested 50 public static boolean isMailTo(String url) { argument 51 if (url != null && url.startsWith(MAILTO_SCHEME)) { 60 * @param url String containing a mailto URL 64 public static MailTo parse(String url) throws ParseException { argument 65 if (url == null) { 68 if (!isMailTo(url)) { 72 String noScheme = url.substring(MAILTO_SCHEME.length());
|
/frameworks/base/core/java/android/webkit/ |
H A D | WebViewClient.java | 30 * url is about to be loaded in the current WebView. If WebViewClient is not 32 * proper handler for the url. If WebViewClient is provided, return true 33 * means the host application handles the url, while return false means the 34 * current WebView handles the url. 38 * @param url The url to be loaded. 40 * and handle the url itself, otherwise return false. 42 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument 56 * @param url The url t 60 onPageStarted(WebView view, String url, Bitmap favicon) argument 72 onPageFinished(WebView view, String url) argument 82 onLoadResource(WebView view, String url) argument 112 onPageCommitVisible(WebView view, String url) argument 133 shouldInterceptRequest(WebView view, String url) argument 276 doUpdateVisitedHistory(WebView view, String url, boolean isReload) argument [all...] |
H A D | CacheManager.java | 283 * @param url the URL for which a cache entry is requested 290 public static CacheResult getCacheFile(String url, argument 299 * @param url the URL for which the cache entry should be added 304 public static void saveCacheFile(String url, CacheResult cacheResult) { argument 305 saveCacheFile(url, 0, cacheResult); 308 static void saveCacheFile(String url, long postIdentifier, argument
|
H A D | WebChromeClient.java | 52 * Notify the host application of the url for an apple-touch-icon. 54 * @param url The icon url. 55 * @param precomposed True if the url is for a precomposed touch icon. 57 public void onReceivedTouchIconUrl(WebView view, String url, argument 160 * @param url The url of the page requesting the dialog. 165 public boolean onJsAlert(WebView view, String url, String message, argument 177 * @param url The url o 183 onJsConfirm(WebView view, String url, String message, JsResult result) argument 202 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument 223 onJsBeforeUnload(WebView view, String url, String message, JsResult result) argument 250 onExceededDatabaseQuota(String url, String databaseIdentifier, long quota, long estimatedDatabaseSize, long totalQuota, WebStorage.QuotaUpdater quotaUpdater) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | IContentProvider.java | 38 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, argument 41 public String getType(Uri url) throws RemoteException; argument 42 public Uri insert(String callingPkg, Uri url, ContentValues initialValues) argument 44 public int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) argument 46 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument 48 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument 51 String callingPkg, Uri url, String mode, ICancellationSignal signal, 55 String callingPkg, Uri url, String mode, ICancellationSignal signal) 69 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException; argument 70 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, Strin argument 50 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument 54 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument [all...] |
H A D | ContentProviderNative.java | 83 Uri url = Uri.CREATOR.createFromParcel(data); 112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs, 148 Uri url = Uri.CREATOR.createFromParcel(data); 149 String type = getType(url); 160 Uri url = Uri.CREATOR.createFromParcel(data); 163 Uri out = insert(callingPkg, url, values); 173 Uri url = Uri.CREATOR.createFromParcel(data); 176 int count = bulkInsert(callingPkg, url, values); 202 Uri url = Uri.CREATOR.createFromParcel(data); 206 int count = delete(callingPkg, url, selectio 386 query(String callingPkg, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument 443 getType(Uri url) argument 463 insert(String callingPkg, Uri url, ContentValues values) argument 485 bulkInsert(String callingPkg, Uri url, ContentValues[] values) argument 530 delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument 553 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument 578 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) argument 606 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument 655 getStreamTypes(Uri url, String mimeTypeFilter) argument 677 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument 722 canonicalize(String callingPkg, Uri url) argument 743 uncanonicalize(String callingPkg, Uri url) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | SDPLoader.cpp | 51 void SDPLoader::load(const char *url, const KeyedVector<String8, String8> *headers) { argument 55 msg->setString("url", url); 87 AString url; local 88 CHECK(msg->findString("url", &url)); 93 ALOGV("onLoad %s", uriDebugString(url, mFlags & kFlagIncognito).c_str()); 96 err = mHTTPDataSource->connect(url.c_str(), headers);
|
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 50 * Alone with the pattern that is to be matched, a url scheme prefix is also 52 * will have the scheme prepended to the matched text when the clickable url 55 * does not have a url scheme prefix, the supplied scheme will be prepended to 56 * create <code>http://example.com</code> when the clickable url link is 146 public final String transformUrl(final Matcher match, String url) { 158 * support@example.com. So, when matching against a web url pattern you 193 * @param url The text that was matched 197 String transformUrl(final Matcher match, String url); argument 247 applyLink(link.url, link.start, link.end, text); 306 * prepended to the url o 395 applyLink(String url, int start, int end, Spannable text) argument 401 makeUrl(String url, String[] prefixes, Matcher m, TransformFilter filter) argument 563 String url; field in class:LinkSpec [all...] |
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
H A D | Utils.java | 51 URL url = new URL(source); 52 HttpURLConnection httpConnection = (HttpURLConnection) url.openConnection();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
H A D | NetworkAuthenticationTypeElement.java | 31 private NetworkAuthentication(NwkAuthTypeEnum type, String url) { argument 33 m_url = url;
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsSession.java | 52 * @param url Most likely URL. 60 public boolean mayLaunchUrl(Uri url, Bundle extras, List<Bundle> otherLikelyBundles) { argument 62 return mService.mayLaunchUrl(mCallback, url, extras, otherLikelyBundles);
|
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/ |
H A D | PacService.java | 73 public String resolvePacFile(String host, String url) throws RemoteException { argument 78 if (url == null) { 82 new URL(url); 88 return mPacNative.makeProxyRequest(url, host);
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | HTTPDownloader.cpp | 70 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | | 80 const char *url, sp<ABuffer> *out, 92 if (!strncasecmp(url, "file://", 7)) { 93 mDataSource = new FileSource(url + 7); 94 } else if (strncasecmp(url, "http://", 7) 95 && strncasecmp(url, "https://", 8)) { 111 status_t err = mHTTPDataSource->connect(url, &headers); 203 *actualUrl = url; 211 const char *url, sp<ABuffer> *out, String8 *actualUrl) { 212 ssize_t err = fetchBlock(url, ou 79 fetchBlock( const char *url, sp<ABuffer> *out, int64_t range_offset, int64_t range_length, uint32_t block_size, String8 *actualUrl, bool reconnect ) argument 210 fetchFile( const char *url, sp<ABuffer> *out, String8 *actualUrl) argument 220 fetchPlaylist( const char *url, uint8_t *curPlaylistHash, bool *unchanged) argument [all...] |
H A D | HTTPDownloader.h | 54 const char *url, 65 const char *url, 71 const char *url, uint8_t *curPlaylistHash, bool *unchanged);
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | BitmapRequestKeyImpl.java | 34 URL url = null; 36 url = new URL(uriString); 40 mUrl = url;
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
H A D | SafeSaxTest.java | 246 String url = attributes.getValue("", "url"); 247 if (video.thumbnailUrl == null && url.length() > 0) { 248 video.thumbnailUrl = url; 256 String url = attributes.getValue("", "url"); 257 if (url != null) { 258 video.videoUrl = url; 266 String url = attributes.getValue("", "url"); [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaHTTPConnection.java | 147 private static final boolean isLocalHost(URL url) { argument 148 if (url == null) { 152 String host = url.getHost(); 177 URL url = mURL; 180 boolean noProxy = isLocalHost(url); 184 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); 186 mConnection = (HttpURLConnection)url.openConnection(); 231 url = new URL(mURL /* TRICKY: don't use url! */, location); 232 if (!url [all...] |
/frameworks/data-binding/ |
H A D | propLoader.gradle | 39 url repo 50 url repo 63 url repo
|
/frameworks/base/docs/html/ |
H A D | jd_tag_helpers.js | 111 var url = res.url; 112 if (url) { 113 ALL_RESOURCES_BY_URL[url] = res;
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
H A D | TestRequest.java | 32 public Base(String url, Response.ErrorListener listener) { argument 33 super(url, listener); 36 public Base(int method, String url, Response.ErrorListener listener) { argument 37 super(method, url, listener);
|