/frameworks/base/core/java/android/webkit/ |
H A D | URLUtil.java | 65 // bug 762454: strip period off end of url 75 Log.v(LOGTAG, "smartUrlFilter: failed to parse url = " + inUrl); 112 public static byte[] decode(byte[] url) throws IllegalArgumentException { argument 113 if (url.length == 0) { 118 byte[] tempData = new byte[url.length]; 121 for (int i = 0; i < url.length; i++) { 122 byte b = url[i]; 124 if (url.length - i > 2) { 125 b = (byte) (parseHex(url[i + 1]) * 16 126 + parseHex(url[ 142 verifyURLEncoding(String url) argument 176 isAssetUrl(String url) argument 184 isResourceUrl(String url) argument 194 isCookielessProxyUrl(String url) argument 201 isFileUrl(String url) argument 210 isAboutUrl(String url) argument 217 isDataUrl(String url) argument 224 isJavaScriptUrl(String url) argument 231 isHttpUrl(String url) argument 240 isHttpsUrl(String url) argument 249 isNetworkUrl(String url) argument 259 isContentUrl(String url) argument 266 isValidUrl(String url) argument 284 stripAnchor(String url) argument 302 guessFileName( String url, @Nullable String contentDisposition, @Nullable String mimeType) argument [all...] |
H A D | MimeTypeMap.java | 42 * extension of a url and has undefined results for other Strings. 43 * @param url 44 * @return The file extension of the given url. 46 public static String getFileExtensionFromUrl(String url) { argument 47 if (!TextUtils.isEmpty(url)) { 48 int fragment = url.lastIndexOf('#'); 50 url = url.substring(0, fragment); 53 int query = url.lastIndexOf('?'); 55 url 131 remapGenericMimeType(@ullable String mimeType, String url, String contentDisposition) argument [all...] |
H A D | DownloadListener.java | 23 * @param url The full url to the content that should be downloaded 30 public void onDownloadStart(String url, String userAgent, argument
|
H A D | WebIconDatabase.java | 46 * @param url The url passed in the request. 47 * @param icon The favicon for the given url. 49 public void onReceivedIcon(String url, Bitmap icon); argument 70 * url. If the icon exists, the listener will be called with the result. 71 * @param url The page's url. 74 public abstract void requestIconForPageUrl(String url, IconListener listener); argument 83 * Retain the icon for the given page url. 84 * @param url Th 86 retainIconForPageUrl(String url) argument 92 releaseIconForPageUrl(String url) argument [all...] |
H A D | UrlInterceptHandler.java | 38 * @param url URL string. 47 CacheResult service(String url, @Nullable Map<String, String> headers); argument 54 * @param url URL string. 63 PluginData getPluginData(String url, @Nullable Map<String, String> headers); argument
|
/frameworks/support/webkit-codegen/src/test/resources/codegen/ |
H A D | WebKitTypeAsMethodParameter.java | 24 public void urlCall(String url) { argument
|
/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/ |
H A D | LinkifyCompatTest.java | 69 public String transformUrl(final Matcher match, String url) { 320 String url = "name@gmail.com"; 321 verifyAddLinksWithWebUrlFails("Should not recognize email address as URL", url); 326 String url = "https://android.com/path?ll=37.4221,-122.0836&z=17&pll=37.4221,-122.0836"; 327 verifyAddLinksWithWebUrlSucceeds("Should accept commas", url); 332 String url = "http://android/#notld///a/n/d/r/o/i/d&p1=1&p2=2"; 334 + " have TLD", url); 339 String url = "hTtP://android.com"; 340 verifyAddLinksWithWebUrlSucceeds("Protocol matching should be case insensitive", url); 345 String url 796 verifyAddLinksWithWebUrlSucceeds(String msg, String url) argument 800 verifyAddLinksWithWebUrlFails(String msg, String url) argument 804 verifyAddLinksWithWebUrlPartiallyMatches(String msg, String expected, String url) argument 809 verifyAddLinksWithEmailSucceeds(String msg, String url) argument 813 verifyAddLinksWithEmailFails(String msg, String url) argument 817 verifyAddLinksWithEmailPartiallyMatches(String msg, String expected, String url) argument 822 verifyAddLinksWithMapAddressSucceeds(String msg, String url) argument 826 verifyAddLinksWithMapAddressFails(String msg, String url) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | PatternsTest.java | 100 String url = "http://www.android.com"; 102 Patterns.WEB_URL.matcher(url).matches()); 107 String url = "http://www.android.me"; 109 Patterns.WEB_URL.matcher(url).matches()); 114 String url = "android.me"; 116 Patterns.WEB_URL.matcher(url).matches()); 121 String url = "http://xn--fsqu00a.xn--0zwm56d"; 123 Patterns.WEB_URL.matcher(url).matches()); 128 String url = "xn--fsqu00a.xn--0zwm56d"; 130 Patterns.WEB_URL.matcher(url) [all...] |
/frameworks/support/compat/src/androidTest/java/androidx/core/util/ |
H A D | PatternsCompatTest.java | 76 String url = "http://www.android.com"; 78 PatternsCompat.WEB_URL.matcher(url).matches()); 83 String url = "http://www.android.me"; 85 PatternsCompat.WEB_URL.matcher(url).matches()); 90 String url = "android.me"; 92 PatternsCompat.WEB_URL.matcher(url).matches()); 97 String url = "http://xn--fsqu00a.xn--0zwm56d"; 99 PatternsCompat.WEB_URL.matcher(url).matches()); 104 String url = "xn--fsqu00a.xn--0zwm56d"; 106 PatternsCompat.WEB_URL.matcher(url) [all...] |
/frameworks/multidex/instrumentation/ |
H A D | build.gradle | 48 repository(url: uri(rootProject.ext.supportRepoOut)) { 54 url '' 60 url 'http://www.apache.org/licenses/LICENSE-2.0.txt' 66 url "http://source.android.com"
|
/frameworks/base/core/java/android/net/http/ |
H A D | SslError.java | 111 * @param url The associated URL 113 public SslError(int error, SslCertificate certificate, String url) { argument 115 assert url != null; 118 mUrl = url; 126 * @param url The associated URL 128 public SslError(int error, X509Certificate certificate, String url) { argument 129 this(error, new SslCertificate(certificate), url); 136 * @param url The associated URL. 140 int error, SslCertificate cert, String url) { 145 return new SslError(SSL_IDMISMATCH, cert, url); 139 SslErrorFromChromiumErrorCode( int error, SslCertificate cert, String url) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
H A D | SuggestionProvider.java | 63 public Cursor query(Uri url, String[] projectionIn, String selection, argument 65 int match = sURLMatcher.match(url); 68 String query = url.getLastPathSegment(); 76 throw new IllegalArgumentException("Unknown URL: " + url); 86 public String getType(Uri url) { argument 87 int match = sURLMatcher.match(url); 92 throw new IllegalArgumentException("Unknown URL: " + url); 97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument 102 public Uri insert(Uri url, ContentValues initialValues) { argument 107 public int delete(Uri url, Strin argument [all...] |
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
H A D | WebAsset.java | 46 private WebAsset(URL url) { argument 47 int port = url.getPort() != -1 ? url.getPort() : url.getDefaultPort(); 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)); 134 String scheme = url.getProtocol().toLowerCase(Locale.US); 139 if (url [all...] |
/frameworks/base/test-mock/src/android/test/mock/ |
H A D | MockContentProvider.java | 64 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) argument 66 return MockContentProvider.this.bulkInsert(url, initialValues); 70 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument 72 return MockContentProvider.this.delete(url, selection, selectionArgs); 76 public String getType(Uri url) throws RemoteException { argument 77 return MockContentProvider.this.getType(url); 81 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) argument 83 return MockContentProvider.this.insert(url, initialValues); 88 String callingPackage, Uri url, String mode, ICancellationSignal signal) 90 return MockContentProvider.this.openAssetFile(url, mod 87 openAssetFile( String callingPackage, Uri url, String mode, ICancellationSignal signal) argument 94 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument 101 query(String callingPackage, Uri url, @Nullable String[] projection, @Nullable Bundle queryArgs, @Nullable ICancellationSignal cancellationSignal) argument 109 update(String callingPackage, Uri url, ContentValues values, String selection, String[] selectionArgs) argument 126 getStreamTypes(Uri url, String mimeTypeFilter) argument 131 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument 153 refresh(String callingPkg, Uri url, Bundle args, ICancellationSignal cancellationSignal) argument 253 getStreamTypes(Uri url, String mimeTypeFilter) argument 258 openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument 265 refresh(Uri url, Bundle args) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | WnmData.java | 33 public WnmData(long bssid, String url, int method) { argument 35 mUrl = url; 42 public WnmData(long bssid, String url, boolean ess, int delay) { argument 44 mUrl = url;
|
/frameworks/support/webkit-codegen/src/test/resources/codegen-expected/ |
H A D | WebKitTypeAsMethodParameterBoundaryInterface.java | 10 void urlCall(String url); argument
|
/frameworks/base/packages/services/PacProcessor/com/android/net/ |
H A D | IProxyService.aidl | 21 String resolvePacFile(String host, String url);
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderClient.java | 133 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, argument 136 return query(url, projection, selection, selectionArgs, sortOrder, null); 153 Preconditions.checkNotNull(uri, "url"); 180 public @Nullable String getType(@NonNull Uri url) throws RemoteException { argument 181 Preconditions.checkNotNull(url, "url"); 185 return mContentProvider.getType(url); 197 public @Nullable String[] getStreamTypes(@NonNull Uri url, @NonNull String mimeTypeFilter) argument 199 Preconditions.checkNotNull(url, "url"); 216 canonicalize(@onNull Uri url) argument 233 uncanonicalize(@onNull Uri url) argument 250 refresh(Uri url, @Nullable Bundle args, @Nullable CancellationSignal cancellationSignal) argument 274 insert(@onNull Uri url, @Nullable ContentValues initialValues) argument 292 bulkInsert(@onNull Uri url, @NonNull ContentValues[] initialValues) argument 311 delete(@onNull Uri url, @Nullable String selection, @Nullable String[] selectionArgs) argument 329 update(@onNull Uri url, @Nullable ContentValues values, @Nullable String selection, @Nullable String[] selectionArgs) argument 353 openFile(@onNull Uri url, @NonNull String mode) argument 365 openFile(@onNull Uri url, @NonNull String mode, @Nullable CancellationSignal signal) argument 396 openAssetFile(@onNull Uri url, @NonNull String mode) argument 408 openAssetFile(@onNull Uri url, @NonNull String mode, @Nullable CancellationSignal signal) argument [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/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/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
H A D | MediaStoreSaver.java | 68 Uri url = null; 72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); 75 OutputStream imageOut = cr.openOutputStream(url); 82 long id = ContentUris.parseId(url); 88 cr.delete(url, null, null); 89 url = null; 92 if (url != null) { 93 cr.delete(url, null, null); 94 url = null; 98 if (url ! [all...] |
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/ |
H A D | MediaStoreSaver.java | 68 Uri url = null; 72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); 75 OutputStream imageOut = cr.openOutputStream(url); 82 long id = ContentUris.parseId(url); 88 cr.delete(url, null, null); 89 url = null; 92 if (url != null) { 93 cr.delete(url, null, null); 94 url = null; 98 if (url ! [all...] |
/frameworks/layoutlib/bridge/tests/src/android/content/res/ |
H A D | Resources_DelegateTest.java | 34 @NonNull ResourceType type, @Nullable ResourceUrl url) { 35 assertNotNull(url); 36 assertEquals(type, url.type); 37 assertEquals(pkg, url.namespace); 38 assertEquals(name, url.name); 33 assertResourceUrl(@ullable String pkg, @NonNull String name, @NonNull ResourceType type, @Nullable ResourceUrl url) argument
|
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/ |
H A D | PacNative.java | 36 private native String makeProxyRequestNativeLocked(String url, String host); argument 74 public synchronized String makeProxyRequest(String url, String host) { argument 75 String ret = makeProxyRequestNativeLocked(url, host);
|
/frameworks/base/tests/BiDiTests/src/com/android/bidi/ |
H A D | BiDiTestBasic.java | 66 Editable url = urlEdit.getText(); 67 if (url.length() < 1) { 71 String urlString = url.toString(); 84 url.setSpan(new ForegroundColorSpan(0xfff00fff), 90 url.setSpan(new ForegroundColorSpan(0xff548aff), 96 url.setSpan(new ForegroundColorSpan(0xfff00fff),
|