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

12345

/frameworks/base/core/java/android/webkit/
H A DURLUtil.java61 // bug 762454: strip period off end of url
71 Log.v(LOGTAG, "smartUrlFilter: failed to parse url = " + inUrl);
108 public static byte[] decode(byte[] url) throws IllegalArgumentException { argument
109 if (url.length == 0) {
114 byte[] tempData = new byte[url.length];
117 for (int i = 0; i < url.length; i++) {
118 byte b = url[i];
120 if (url.length - i > 2) {
121 b = (byte) (parseHex(url[i + 1]) * 16
122 + parseHex(url[
138 verifyURLEncoding(String url) argument
172 isAssetUrl(String url) argument
180 isResourceUrl(String url) argument
190 isCookielessProxyUrl(String url) argument
197 isFileUrl(String url) argument
206 isAboutUrl(String url) argument
213 isDataUrl(String url) argument
220 isJavaScriptUrl(String url) argument
227 isHttpUrl(String url) argument
236 isHttpsUrl(String url) argument
245 isNetworkUrl(String url) argument
255 isContentUrl(String url) argument
262 isValidUrl(String url) argument
280 stripAnchor(String url) argument
298 guessFileName( String url, String contentDisposition, String mimeType) 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 DUrlInterceptHandler.java35 * @param url URL string.
42 public CacheResult service(String url, Map<String, String> headers); argument
49 * @param url URL string.
56 public PluginData getPluginData(String url, Map<String, String> headers); argument
H A DWebIconDatabase.java67 IconResult(String url, Bitmap icon, IconListener l) { argument
68 mUrl = url;
110 String url = msg.getData().getString("url");
111 requestIconAndSendResult(url, l);
162 String url = c.getString(0);
163 requestIconAndSendResult(url, listener);
173 private void requestIconAndSendResult(String url, IconListener listener) { argument
174 Bitmap icon = nativeIconForPageUrl(url);
177 new IconResult(url, ico
192 onReceivedIcon(String url, Bitmap icon) argument
233 requestIconForPageUrl(String url, IconListener listener) argument
270 retainIconForPageUrl(String url) argument
281 releaseIconForPageUrl(String url) argument
319 nativeIconForPageUrl(String url) argument
320 nativeRetainIconForPageUrl(String url) argument
321 nativeReleaseIconForPageUrl(String url) argument
[all...]
H A DFrameLoader.java96 String url = mListener.url();
98 if (URLUtil.isNetworkUrl(url)){
105 // Make sure the host part of the url is correctly
120 } else if (handleLocalFile(url, mListener, mSettings)) {
124 Log.v(LOGTAG, "FrameLoader.executeLoad: url protocol not supported:"
125 + mListener.url());
135 static boolean handleLocalFile(String url, LoadListener loadListener, argument
137 // Attempt to decode the percent-encoded url before passing to the
140 url
[all...]
H A DDataLoader.java43 String url = dataUrl.substring("data:".length());
45 int commaIndex = url.indexOf(',');
47 String contentType = url.substring(0, commaIndex);
48 data = url.substring(commaIndex + 1).getBytes();
54 data = url.getBytes();
H A DWebViewClient.java28 * url is about to be loaded in the current WebView. If WebViewClient is not
30 * proper handler for the url. If WebViewClient is provided, return true
31 * means the host application handles the url, while return false means the
32 * current WebView handles the url.
35 * @param url The url to be loaded.
37 * and handle the url itself, otherwise return false.
39 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument
51 * @param url The url t
55 onPageStarted(WebView view, String url, Bitmap favicon) argument
67 onPageFinished(WebView view, String url) argument
77 onLoadResource(WebView view, String url) argument
164 doUpdateVisitedHistory(WebView view, String url, boolean isReload) argument
[all...]
H A DWebChromeClient.java49 * Notify the host application of the url for an apple-touch-icon.
51 * @param url The icon url.
52 * @param precomposed True if the url is for a precomposed touch icon.
54 public void onReceivedTouchIconUrl(WebView view, String url, argument
131 * @param url The url of the page requesting the dialog.
136 public boolean onJsAlert(WebView view, String url, String message, argument
148 * @param url The url o
154 onJsConfirm(WebView view, String url, String message, JsResult result) argument
173 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument
194 onJsBeforeUnload(WebView view, String url, String message, JsResult result) argument
211 onExceededDatabaseQuota(String url, String databaseIdentifier, long currentQuota, long estimatedSize, long totalUsedQuota, WebStorage.QuotaUpdater quotaUpdater) argument
[all...]
H A DUrlInterceptRegistry.java47 * set the flag to control whether url intercept is enabled or disabled
60 * get the state of the url intercept, enabled or disabled
109 * Given an url, returns the CacheResult of the first
119 String url, Map<String, String> headers) {
126 CacheResult result = handler.service(url, headers);
135 * Given an url, returns the PluginData of the first
146 String url, Map<String, String> headers) {
153 PluginData data = handler.getPluginData(url, headers);
118 getSurrogate( String url, Map<String, String> headers) argument
145 getPluginData( String url, Map<String, String> headers) argument
H A DWebHistoryItem.java34 // The base url of this item.
36 // The original requested url of this item.
42 // The apple-touch-icon url for use when adding the site to the home screen
92 * Return the url of this history item. The url is the base url of this
93 * history item. See getTargetUrl() for the url that is the actual target of
95 * @return The base url of this history item.
104 * Return the original url of this history item. This was the requested
105 * url, th
177 setTouchIconUrl(String url) argument
211 update(String url, String originalUrl, String title, Bitmap favicon, byte[] data) argument
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DTestShellCallback.java21 public void timedOut(String url); argument
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java47 public Cursor query(Uri url, String[] projection, String selection, argument
49 return mContentProvider.query(url, projection, selection, selectionArgs, sortOrder);
53 public String getType(Uri url) throws RemoteException { argument
54 return mContentProvider.getType(url);
58 public Uri insert(Uri url, ContentValues initialValues) argument
60 return mContentProvider.insert(url, initialValues);
64 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { argument
65 return mContentProvider.bulkInsert(url, initialValues);
69 public int delete(Uri url, String selection, String[] selectionArgs) argument
71 return mContentProvider.delete(url, selectio
75 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
81 openFile(Uri url, String mode) argument
87 openAssetFile(Uri url, String mode) argument
[all...]
H A DIContentProvider.java43 public IBulkCursor bulkQuery(Uri url, String[] projection, argument
46 public Cursor query(Uri url, String[] projection, String selection, argument
48 public String getType(Uri url) throws RemoteException; argument
49 public Uri insert(Uri url, ContentValues initialValues) argument
51 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException; argument
52 public int delete(Uri url, String selection, String[] selectionArgs) argument
54 public int update(Uri url, ContentValues values, String selection, argument
56 public ParcelFileDescriptor openFile(Uri url, String mode) argument
58 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument
/frameworks/base/core/tests/coretests/src/android/webkit/
H A DUrlInterceptRegistryTest.java42 public MockUrlInterceptHandler(PluginData data, String url) { argument
44 mUrl = url;
47 public CacheResult service(String url, Map<String, String> headers) { argument
51 public PluginData getPluginData(String url, argument
54 if (mUrl.equals(url)) {
64 String url = new String("url1");
66 new MockUrlInterceptHandler(data, url);
69 url = new String("url2");
71 new MockUrlInterceptHandler(data, url);
/frameworks/base/core/java/android/service/urlrenderer/
H A DIUrlRendererCallback.aidl25 void complete(String url, in ParcelFileDescriptor result);
H A DUrlRenderer.java38 * method for each url. A null result means that there was a server
39 * error or a problem rendering the url.
40 * @param url The url that has been rendered.
46 public void complete(String url, ParcelFileDescriptor result); argument
66 public void complete(String url, ParcelFileDescriptor result) { argument
67 mCallback.complete(url, result);
77 * @param callback An instance of {@link Callback} invoked for each url.
/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/base/core/tests/coretests/src/android/app/activity/
H A DLocalProvider.java85 public Cursor query(Uri url, String[] projectionIn, String selection, argument
90 int match = sURLMatcher.match(url);
98 qb.appendWhere(url.getPathSegments().get(1));
101 throw new IllegalArgumentException("Unknown URL " + url);
111 ret.setNotificationUri(getContext().getContentResolver(), url);
118 public String getType(Uri url) { argument
119 int match = sURLMatcher.match(url);
131 public int update(Uri url, ContentValues values, String where, String[] whereArgs) { argument
134 int match = sURLMatcher.match(url);
138 String segment = url
155 insert(Uri url, ContentValues initialValues) argument
160 delete(Uri url, String where, String[] whereArgs) argument
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DURLTest.java39 URL url = new URL(u);
40 URLConnection cn = url.openConnection();
140 private String request(URL url) throws Exception { argument
141 URLConnection connection = url.openConnection();
162 URL url = new URL("http://localhost:8182");
163 assertEquals("Hello, Android world #0!", request(url));
164 assertEquals("Hello, Android world #1!", request(url));
165 assertEquals("Hello, Android world #2!", request(url));
168 request(url);
199 URL url
[all...]
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java45 public int bulkInsert(Uri url, ContentValues[] initialValues) { argument
49 public IBulkCursor bulkQuery(Uri url, String[] projection, String selection, argument
56 public int delete(Uri url, String selection, String[] selectionArgs) argument
61 public String getType(Uri url) { argument
66 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { argument
70 public ParcelFileDescriptor openFile(Uri url, String mode) { argument
82 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
87 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument
92 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
H A DMockContentProvider.java65 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { argument
66 return MockContentProvider.this.bulkInsert(url, initialValues);
70 public IBulkCursor bulkQuery(Uri url, String[] projection, String selection, argument
77 public int delete(Uri url, String selection, String[] selectionArgs) argument
79 return MockContentProvider.this.delete(url, selection, selectionArgs);
83 public String getType(Uri url) throws RemoteException { argument
84 return MockContentProvider.this.getType(url);
88 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { argument
89 return MockContentProvider.this.insert(url, initialValues);
93 public AssetFileDescriptor openAssetFile(Uri url, Strin argument
99 openFile(Uri url, String mode) argument
105 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
112 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
/frameworks/base/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 char *url, const KeyedVector<String8, String8> *headers) argument
191 canBeUsed(const char *url) argument
[all...]
H A DMidiMetadataRetriever.cpp38 status_t MidiMetadataRetriever::setDataSource(const char *url) argument
40 LOGV("setDataSource: %s", url? url: "NULL pointer");
47 return mMidiPlayer->setDataSource(url, NULL /* headers */);
/frameworks/base/core/java/android/text/util/
H A DLinkify.java44 * Alone with the pattern that is to be matched, a url scheme prefix is also
46 * will have the scheme prepended to the matched text when the clickable url
49 * does not have a url scheme prefix, the supplied scheme will be prepended to
50 * create <code>http://example.com</code> when the clickable url link is
137 public final String transformUrl(final Matcher match, String url) {
149 * support@example.com. So, when matching against a web url pattern you
184 * @param url The text that was matched
188 String transformUrl(final Matcher match, String url); argument
240 applyLink(link.url, link.start, link.end, text);
299 * prepended to the url o
388 applyLink(String url, int start, int end, Spannable text) argument
394 makeUrl(String url, String[] prefixes, Matcher m, TransformFilter filter) argument
540 String url; field in class:LinkSpec
[all...]
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java118 public Cursor query(Uri url, String[] projectionIn, String selection, argument
124 public String getType(Uri url) { argument
125 int match = sURLMatcher.match(url);
137 public AssetFileDescriptor openAssetFile(Uri url, String mode) throws FileNotFoundException { argument
138 int match = sURLMatcher.match(url);
141 String sql = "SELECT _blob FROM data WHERE _id=" + url.getPathSegments().get(1);
142 return getBlobColumnAsAssetFile(url, mode, sql);
150 throw new FileNotFoundException("Error reading " + url + ":" + ex.toString());
158 throw new FileNotFoundException("No files supported by provider at " + url);
162 private AssetFileDescriptor getBlobColumnAsAssetFile(Uri url, Strin argument
198 update(Uri url, ContentValues values, String where, String[] whereArgs) argument
203 insert(Uri url, ContentValues initialValues) argument
208 delete(Uri url, String where, String[] whereArgs) argument
[all...]

Completed in 348 milliseconds

12345