/frameworks/base/core/java/android/webkit/ |
H A D | CookieManager.java | 94 * @param url the URL for which the cookie is to be set 98 public abstract void setCookie(String url, String value); argument 114 * @param url the URL for which the cookie is to be set 119 public abstract void setCookie(String url, String value, ValueCallback<Boolean> callback); argument 124 * @param url the URL for which the cookies are requested 128 public abstract String getCookie(String url); argument 133 * @param url the URL for which the cookies are requested 140 public abstract String getCookie(String url, boolean privateBrowsing); argument
|
H A D | JsDialogHelper.java | 58 String url) { 63 mUrl = url; 71 mUrl = msg.getData().getString("url"); 172 // do nothing. just use the url as the title 57 JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, String url) argument
|
H A D | URLUtil.java | 64 // bug 762454: strip period off end of url 74 Log.v(LOGTAG, "smartUrlFilter: failed to parse url = " + inUrl); 111 public static byte[] decode(byte[] url) throws IllegalArgumentException { argument 112 if (url.length == 0) { 117 byte[] tempData = new byte[url.length]; 120 for (int i = 0; i < url.length; i++) { 121 byte b = url[i]; 123 if (url.length - i > 2) { 124 b = (byte) (parseHex(url[i + 1]) * 16 125 + parseHex(url[ 141 verifyURLEncoding(String url) argument 175 isAssetUrl(String url) argument 183 isResourceUrl(String url) argument 193 isCookielessProxyUrl(String url) argument 200 isFileUrl(String url) argument 209 isAboutUrl(String url) argument 216 isDataUrl(String url) argument 223 isJavaScriptUrl(String url) argument 230 isHttpUrl(String url) argument 239 isHttpsUrl(String url) argument 248 isNetworkUrl(String url) argument 258 isContentUrl(String url) argument 265 isValidUrl(String url) argument 283 stripAnchor(String url) argument 301 guessFileName( String url, String contentDisposition, String mimeType) 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 | 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. 45 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument 51 * url is about to be loaded in the current WebView. If WebViewClient is not 53 * proper handler for the url 90 onPageStarted(WebView view, String url, Bitmap favicon) argument 102 onPageFinished(WebView view, String url) argument 112 onLoadResource(WebView view, String url) argument 142 onPageCommitVisible(WebView view, String url) argument 163 shouldInterceptRequest(WebView view, String url) argument 308 doUpdateVisitedHistory(WebView view, String url, boolean isReload) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | MemoryFileProvider.java | 113 public Cursor query(Uri url, String[] projectionIn, String selection, argument 119 public String getType(Uri url) { argument 120 int match = sURLMatcher.match(url); 132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException { argument 133 int match = sURLMatcher.match(url); 136 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1); 137 return getBlobColumnAsFile(url, mode, sql); 142 throw new FileNotFoundException("Error reading " + url + ":" + ex.toString()); 148 throw new FileNotFoundException("No files supported by provider at " + url); 152 private ParcelFileDescriptor getBlobColumnAsFile(Uri url, Strin argument 163 update(Uri url, ContentValues values, String where, String[] whereArgs) argument 168 insert(Uri url, ContentValues initialValues) argument 173 delete(Uri url, String where, String[] whereArgs) argument [all...] |
/frameworks/base/media/tests/players/ |
H A D | invoke_mock_media_player.cpp | 62 const char *url, 64 ALOGV("setDataSource %s", url); 66 if (strncmp(url, kPing, strlen(kPing)) == 0) { 60 setDataSource( const sp<IMediaHTTPService>& , const char *url, const KeyedVector<String8, String8> *) argument
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
H A D | HTTPHandler.java | 85 public OSUResponse exchangeSOAP(URL url, String message) throws IOException { argument 86 HTTPResponse response = exchangeWithRetry(url, message, HTTPMessage.Method.POST, 103 public ByteBuffer exchangeBinary(URL url, String message, String contentType) argument 106 exchangeWithRetry(url, message, HTTPMessage.Method.POST, contentType); 110 public InputStream doGet(URL url) throws IOException { argument 111 HTTPResponse response = exchangeWithRetry(url, null, HTTPMessage.Method.GET, null); 115 public HTTPResponse doGetHTTP(URL url) throws IOException { argument 116 return exchangeWithRetry(url, null, HTTPMessage.Method.GET, null); 119 private HTTPResponse exchangeWithRetry(URL url, String message, HTTPMessage.Method method, argument 125 response = httpExchange(url, messag 145 httpExchange(URL url, String message, HTTPMessage.Method method, String contentType) argument [all...] |
H A D | OSUManager.java | 247 public void deauth(long bssid, boolean ess, int delay, String url) argument 250 ess ? "ess" : "bss", delay, url)); 254 mAppBridge.showDeauth(spName, ess, delay, url); 257 public void wnmRemediate(final long bssid, final String url, PasspointMatch match) { argument 258 mRemediationHandler.wnmReceived(bssid, url);
|
/frameworks/base/packages/services/PacProcessor/jni/ |
H A D | com_android_pacprocessor_PacNative.cpp | 107 jstring url, jstring host) { 108 String16 url16 = jstringToString16(env, url); 106 com_android_pacprocessor_PacNative_makeProxyRequestNativeLocked(JNIEnv* env, jobject, jstring url, jstring host) argument
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContentProvider.java | 150 public boolean refresh(String callingPkg, Uri url, Bundle args, argument
|
/frameworks/support/compat/java/android/support/v4/text/util/ |
H A D | LinkifyCompat.java | 141 applyLink(link.url, link.start, link.end, text); 334 String url = makeUrl(m.group(0), schemesCopy, m, transformFilter); 336 applyLink(url, start, end, spannable); 354 private static String makeUrl(@NonNull String url, @NonNull String[] prefixes, argument 357 url = filter.transformUrl(matcher, url); 363 if (url.regionMatches(true, 0, prefixes[i], 0, prefixes[i].length())) { 367 if (!url.regionMatches(false, 0, prefixes[i], 0, prefixes[i].length())) { 368 url = prefixes[i] + url 404 applyLink(String url, int start, int end, Spannable text) argument 504 String url; field in class:LinkifyCompat.LinkSpec [all...] |
/frameworks/support/customtabs/src/android/support/customtabs/ |
H A D | CustomTabsService.java | 49 * For {@link CustomTabsService#mayLaunchUrl} calls that wants to specify more than one url, 51 * to insert a new url to each bundle inside list of bundles. 111 public boolean mayLaunchUrl(ICustomTabsCallback callback, Uri url, 114 new CustomTabsSessionToken(callback), url, extras, otherLikelyBundles); 204 * @param url Most likely URL. 207 * likelihood order. Each Bundle has to provide a url. 210 protected abstract boolean mayLaunchUrl(CustomTabsSessionToken sessionToken, Uri url, argument
|
H A D | CustomTabsSession.java | 60 * @param url Most likely URL. 68 public boolean mayLaunchUrl(Uri url, Bundle extras, List<Bundle> otherLikelyBundles) { argument 70 return mService.mayLaunchUrl(mCallback, url, extras, otherLikelyBundles);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 45 const char *url, 49 mURL(url), 42 HTTPLiveSource( const sp<AMessage> ¬ify, const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderNative.java | 84 Uri url = Uri.CREATOR.createFromParcel(data); 102 Cursor cursor = query(callingPkg, url, projection, queryArgs, cancellationSignal); 137 Uri url = Uri.CREATOR.createFromParcel(data); 138 String type = getType(url); 149 Uri url = Uri.CREATOR.createFromParcel(data); 152 Uri out = insert(callingPkg, url, values); 162 Uri url = Uri.CREATOR.createFromParcel(data); 165 int count = bulkInsert(callingPkg, url, values); 191 Uri url = Uri.CREATOR.createFromParcel(data); 195 int count = delete(callingPkg, url, selectio 392 query(String callingPkg, Uri url, @Nullable String[] projection, @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) argument 442 getType(Uri url) argument 463 insert(String callingPkg, Uri url, ContentValues values) argument 486 bulkInsert(String callingPkg, Uri url, ContentValues[] values) argument 533 delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument 557 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument 582 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) argument 610 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument 661 getStreamTypes(Uri url, String mimeTypeFilter) argument 683 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument 730 canonicalize(String callingPkg, Uri url) argument 752 uncanonicalize(String callingPkg, Uri url) argument 773 refresh(String callingPkg, Uri url, Bundle args, ICancellationSignal signal) argument [all...] |
H A D | IContentProvider.java | 38 public Cursor query(String callingPkg, Uri url, @Nullable String[] projection, 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) 68 public boolean refresh(String callingPkg, Uri url, @Nullable Bundle args, argument 72 public String[] getStreamTypes(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 73 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument [all...] |
/frameworks/base/core/java/android/net/ |
H A D | Network.java | 250 public URLConnection openConnection(URL url) throws IOException { argument 263 return openConnection(url, proxy); 277 public URLConnection openConnection(URL url, java.net.Proxy proxy) throws IOException { argument 280 String protocol = url.getProtocol(); 298 return okUrlFactory.open(url);
|
/frameworks/base/core/java/android/os/ |
H A D | UpdateEngine.java | 156 * Applies the payload found at the given {@code url}. For non-streaming 184 public void applyPayload(String url, long offset, long size, String[] headerKeyValuePairs) { argument 186 mUpdateEngine.applyPayload(url, offset, size, headerKeyValuePairs);
|
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 157 public final String transformUrl(final Matcher match, String url) { 204 * @param url The text that was matched 208 String transformUrl(final Matcher match, String url); argument 263 applyLink(link.url, link.start, link.end, text); 465 String url = makeUrl(m.group(0), schemesCopy, m, transformFilter); 467 applyLink(url, start, end, spannable); 475 private static final void applyLink(String url, int start, int end, Spannable text) { argument 476 URLSpan span = new URLSpan(url); 481 private static final String makeUrl(@NonNull String url, @NonNull String[] prefixes, argument 484 url 641 String url; field in class:LinkSpec [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LocalProvider.java | 108 public Cursor query(Uri url, String[] projectionIn, String selection, argument 113 int match = sURLMatcher.match(url); 121 qb.appendWhere(url.getPathSegments().get(1)); 124 throw new IllegalArgumentException("Unknown URL " + url); 134 ret.setNotificationUri(getContext().getContentResolver(), url); 141 public String getType(Uri url) { argument 142 int match = sURLMatcher.match(url); 154 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument 157 int match = sURLMatcher.match(url); 161 String segment = url 178 insert(Uri url, ContentValues initialValues) argument 183 delete(Uri url, String where, String[] whereArgs) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaHTTPConnection.java | 154 private static final boolean isLocalHost(URL url) { argument 155 if (url == null) { 159 String host = url.getHost(); 184 URL url = mURL; 187 boolean noProxy = isLocalHost(url); 191 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); 193 mConnection = (HttpURLConnection)url.openConnection(); 238 url = new URL(mURL /* TRICKY: don't use url! */, location); 239 if (!url [all...] |
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/ |
H A D | CaptivePortalLoginActivity.java | 86 // getUrl() failed to parse the url provided in the intent: bail out in a way that 246 final String url = mUrl.toString(); 248 Log.d(TAG, "starting activity with intent ACTION_VIEW for " + url); 250 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); 255 String url = getIntent().getStringExtra(ConnectivityManager.EXTRA_CAPTIVE_PORTAL_URL); 256 if (url == null) { 257 url = mCm.getCaptivePortalServerUrl(); 259 return makeURL(url); 262 private static URL makeURL(String url) { argument 264 return new URL(url); 331 onPageStarted(WebView view, String url, Bitmap favicon) argument 351 onPageFinished(WebView view, String url) argument 450 shouldOverrideUrlLoading(WebView view, String url) argument [all...] |
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
H A D | CaptivePortalLoginActivity.java | 142 final String url = mUrl.toString(); 143 if (DBG) logd("starting activity with intent ACTION_VIEW for " + url); 144 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url))); 191 String url = getIntent().getStringExtra(TelephonyIntents.EXTRA_REDIRECTION_URL_KEY); 192 if (url.isEmpty()) { 193 url = mCm.getCaptivePortalServerUrl(); 203 if (url.startsWith(portalUrl)) { 207 url = null; 210 return new URL(url); 212 loge("Invalid captive portal URL " + url); 322 onPageStarted(WebView view, String url, Bitmap favicon) argument 344 onPageFinished(WebView view, String url) argument 407 shouldOverrideUrlLoading(WebView view, String url) argument [all...] |
/frameworks/base/packages/Osu/src/com/android/hotspot2/app/ |
H A D | MainActivity.java | 176 private void showDeauth(String spName, boolean ess, int delay, String url) { argument 182 "Please visit %s for details", spName, delayReadable, url)); 186 "Please visit %s for details", spName, url)); 193 spName, delayReadable, url));
|