Searched refs:url (Results 1 - 25 of 156) sorted by relevance

1234567

/frameworks/base/core/java/android/webkit/
H A DURLUtil.java63 // bug 762454: strip period off end of url
73 Log.v(LOGTAG, "smartUrlFilter: failed to parse url = " + inUrl);
110 public static byte[] decode(byte[] url) throws IllegalArgumentException { argument
111 if (url.length == 0) {
116 byte[] tempData = new byte[url.length];
119 for (int i = 0; i < url.length; i++) {
120 byte b = url[i];
122 if (url.length - i > 2) {
123 b = (byte) (parseHex(url[i + 1]) * 16
124 + parseHex(url[
140 verifyURLEncoding(String url) argument
174 isAssetUrl(String url) argument
182 isResourceUrl(String url) argument
192 isCookielessProxyUrl(String url) argument
199 isFileUrl(String url) argument
208 isAboutUrl(String url) argument
215 isDataUrl(String url) argument
222 isJavaScriptUrl(String url) argument
229 isHttpUrl(String url) argument
238 isHttpsUrl(String url) argument
247 isNetworkUrl(String url) argument
257 isContentUrl(String url) argument
264 isValidUrl(String url) argument
282 stripAnchor(String url) argument
300 guessFileName( String url, String contentDisposition, String mimeType) argument
[all...]
H A DMimeTypeMap.java39 * extension of a url and has undefined results for other Strings.
40 * @param url
41 * @return The file extension of the given url.
43 public static String getFileExtensionFromUrl(String url) { argument
44 if (!TextUtils.isEmpty(url)) {
45 int fragment = url.lastIndexOf('#');
47 url = url.substring(0, fragment);
50 int query = url.lastIndexOf('?');
52 url
126 remapGenericMimeType(String mimeType, String url, String contentDisposition) argument
[all...]
H A DDownloadListener.java23 * @param url The full url to the content that should be downloaded
30 public void onDownloadStart(String url, String userAgent, argument
H A DWebIconDatabase.java45 * @param url The url passed in the request.
46 * @param icon The favicon for the given url.
48 public void onReceivedIcon(String url, Bitmap icon); argument
75 * url. If the icon exists, the listener will be called with the result.
76 * @param url The page's url.
79 public void requestIconForPageUrl(String url, IconListener listener) { argument
91 * Retain the icon for the given page url.
92 * @param url Th
94 retainIconForPageUrl(String url) argument
102 releaseIconForPageUrl(String url) argument
[all...]
H A DUrlInterceptHandler.java36 * @param url URL string.
44 public CacheResult service(String url, Map<String, String> headers); argument
51 * @param url URL string.
59 public PluginData getPluginData(String url, Map<String, String> headers); argument
/frameworks/testing/espresso/
H A Dbuild.gradle19 maven { url '../../../prebuilts/gradle-plugin' }
20 maven { url '../../../prebuilts/tools/common/m2/repository' }
21 maven { url '../../../prebuilts/tools/common/m2/internal' }
/frameworks/testing/espresso/espresso-contrib/
H A Dbuild.gradle23 maven { url '../../../../prebuilts/tools/common/m2/repository' }
24 maven { url '../../../../prebuilts/tools/common/m2/internal' }
/frameworks/testing/espresso/espresso-contrib-tests/
H A Dbuild.gradle20 maven { url '../../../../prebuilts/tools/common/m2/repository' }
21 maven { url '../../../../prebuilts/tools/common/m2/internal' }
/frameworks/testing/espresso/espresso-sample/
H A Dbuild.gradle20 maven { url '../../../../prebuilts/tools/common/m2/repository' }
21 maven { url '../../../../prebuilts/tools/common/m2/internal' }
/frameworks/base/core/java/android/net/http/
H A DSslError.java111 * @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 DSuggestionProvider.java63 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/webview/chromium/java/com/android/webview/chromium/
H A DCookieManagerAdapter.java59 public void setCookie(String url, String value) { argument
61 mChromeCookieManager.setCookie(fixupUrl(url), value);
63 Log.e(LOGTAG, "Not setting cookie due to error parsing URL: " + url, e);
68 public void setCookie(String url, String value, ValueCallback<Boolean> callback) { argument
70 mChromeCookieManager.setCookie(fixupUrl(url), value, callback);
72 Log.e(LOGTAG, "Not setting cookie due to error parsing URL: " + url, e);
77 public String getCookie(String url) { argument
79 return mChromeCookieManager.getCookie(fixupUrl(url));
81 Log.e(LOGTAG, "Unable to get cookies due to error parsing URL: " + url, e);
87 public String getCookie(String url, boolea argument
146 fixupUrl(String url) argument
[all...]
H A DWebIconDatabaseAdapter.java45 public void requestIconForPageUrl(String url, IconListener listener) { argument
56 public void retainIconForPageUrl(String url) { argument
61 public void releaseIconForPageUrl(String url) { argument
/frameworks/testing/espresso/espresso-lib-tests/
H A Dbuild.gradle20 maven { url '../../../../prebuilts/tools/common/m2/repository' }
21 maven { url '../../../../prebuilts/tools/common/m2/internal' }
/frameworks/base/packages/services/PacProcessor/com/android/net/
H A DIProxyService.aidl21 String resolvePacFile(String host, String url);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java44 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) { argument
49 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument
54 public String getType(Uri url) { argument
59 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) argument
65 String callingPackage, Uri url, String mode, ICancellationSignal signal) {
79 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, argument
85 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument
90 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument
104 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException { argument
108 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, Strin argument
64 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal) argument
[all...]
H A DMockContentProvider.java63 public int bulkInsert(String callingPackage, Uri url, ContentValues[] initialValues) argument
65 return MockContentProvider.this.bulkInsert(url, initialValues);
69 public int delete(String callingPackage, Uri url, String selection, String[] selectionArgs) argument
71 return MockContentProvider.this.delete(url, selection, selectionArgs);
75 public String getType(Uri url) throws RemoteException { argument
76 return MockContentProvider.this.getType(url);
80 public Uri insert(String callingPackage, Uri url, ContentValues initialValues) argument
82 return MockContentProvider.this.insert(url, initialValues);
87 String callingPackage, Uri url, String mode, ICancellationSignal signal)
89 return MockContentProvider.this.openAssetFile(url, mod
86 openAssetFile( String callingPackage, Uri url, String mode, ICancellationSignal signal) argument
93 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal) argument
100 query(String callingPackage, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument
108 update(String callingPackage, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
125 getStreamTypes(Uri url, String mimeTypeFilter) argument
130 openTypedAssetFile(String callingPackage, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
245 getStreamTypes(Uri url, String mimeTypeFilter) argument
249 openTypedAssetFile(Uri url, String mimeType, Bundle opts) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java84 public Cursor query(Uri url, String[] projectionIn, String selection, argument
89 int match = sURLMatcher.match(url);
97 qb.appendWhere(url.getPathSegments().get(1));
100 throw new IllegalArgumentException("Unknown URL " + url);
110 ret.setNotificationUri(getContext().getContentResolver(), url);
117 public String getType(Uri url) { argument
118 int match = sURLMatcher.match(url);
130 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
133 int match = sURLMatcher.match(url);
137 String segment = url
154 insert(Uri url, ContentValues initialValues) argument
159 delete(Uri url, String where, String[] whereArgs) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java113 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/core/java/android/content/
H A DContentProviderClient.java112 public Cursor query(Uri url, String[] projection, String selection, argument
114 return query(url, projection, selection, selectionArgs, sortOrder, null);
118 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
128 return mContentProvider.query(mPackageName, url, projection, selection, selectionArgs,
141 public String getType(Uri url) throws RemoteException { argument
144 return mContentProvider.getType(url);
156 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException { argument
159 return mContentProvider.getStreamTypes(url, mimeTypeFilter);
171 public final Uri canonicalize(Uri url) throws RemoteException { argument
174 return mContentProvider.canonicalize(mPackageName, url);
186 uncanonicalize(Uri url) argument
201 insert(Uri url, ContentValues initialValues) argument
216 bulkInsert(Uri url, ContentValues[] initialValues) argument
231 delete(Uri url, String selection, String[] selectionArgs) argument
247 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
269 openFile(Uri url, String mode) argument
281 openFile(Uri url, String mode, CancellationSignal signal) argument
309 openAssetFile(Uri url, String mode) argument
321 openAssetFile(Uri url, String mode, CancellationSignal signal) argument
[all...]
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
H A DPacNative.java36 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/webview/chromium/tools/WebViewShell/src/com/android/webview/chromium/shell/
H A DJankActivity.java44 public boolean shouldOverrideUrlLoading(WebView webView, String url) {
49 String url = getUrlFromIntent(getIntent());
50 webView.loadUrl(url);
/frameworks/base/tests/BiDiTests/src/com/android/bidi/
H A DBiDiTestBasic.java66 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),
/frameworks/av/media/libmediaplayerservice/
H A DTestPlayerStub.cpp37 const char *kUrlParam = "url=";
52 // @return true if the url scheme is 'test:'
53 bool isTestUrl(const char *url) argument
55 return url && strncmp(url, kTestUrlScheme, strlen(kTestUrlScheme)) == 0;
79 // * The url to be passed to the real setDataSource impl.
83 // test:<name of the .so>?url=<url for setDataSource>
85 // The value of the url parameter is treated as a string (no
114 // Call setDataSource on the test player with the url i
115 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
193 canBeUsed(const char *url) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccProvider.java87 public Cursor query(Uri url, String[] projection, String selection, argument
91 switch (URL_MATCHER.match(url)) {
96 return loadFromEf(IccConstants.EF_ADN, getRequestSubId(url));
102 return loadFromEf(IccConstants.EF_FDN, getRequestSubId(url));
108 return loadFromEf(IccConstants.EF_SDN, getRequestSubId(url));
114 throw new IllegalArgumentException("Unknown URL " + url);
140 public String getType(Uri url) { argument
141 switch (URL_MATCHER.match(url)) {
152 throw new IllegalArgumentException("Unknown URL " + url);
157 public Uri insert(Uri url, ContentValue argument
254 delete(Uri url, String where, String[] whereArgs) argument
335 update(Uri url, ContentValues values, String where, String[] whereArgs) argument
536 getRequestSubId(Uri url) argument
[all...]

Completed in 724 milliseconds

1234567