/frameworks/base/core/java/android/webkit/ |
H A D | URLUtil.java | 63 // 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 D | MimeTypeMap.java | 39 * 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 D | BrowserDownloadListener.java | 28 * @param url The full url to the content that should be downloaded 33 * @param referer The referer associated with this url 36 public abstract void onDownloadStart(String url, String userAgent, argument 43 * @param url The full url to the content that should be downloaded 51 public void onDownloadStart(String url, String userAgent, argument 54 onDownloadStart(url, userAgent, contentDisposition, mimetype, null,
|
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 | 45 * @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 D | UrlInterceptHandler.java | 36 * @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
|
H A D | CookieManager.java | 76 * @param url the URL for which the cookie is set 80 public void setCookie(String url, String value) { argument 87 * @param url the URL for which the cookies are requested 91 public String getCookie(String url) { argument 98 * @param url the URL for which the cookies are requested 104 public String getCookie(String url, boolean privateBrowsing) { argument
|
H A D | WebViewClient.java | 29 * url is about to be loaded in the current WebView. If WebViewClient is not 31 * proper handler for the url. If WebViewClient is provided, return true 32 * means the host application handles the url, while return false means the 33 * current WebView handles the url. 37 * @param url The url to be loaded. 39 * and handle the url itself, otherwise return false. 41 public boolean shouldOverrideUrlLoading(WebView view, String url) { argument 53 * @param url The url t 57 onPageStarted(WebView view, String url, Bitmap favicon) argument 69 onPageFinished(WebView view, String url) argument 79 onLoadResource(WebView view, String url) argument 97 shouldInterceptRequest(WebView view, String url) argument 186 doUpdateVisitedHistory(WebView view, String url, boolean isReload) argument [all...] |
H A D | UrlInterceptRegistry.java | 48 * set the flag to control whether url intercept is enabled or disabled 62 * get the state of the url intercept, enabled or disabled 114 * Given an url, returns the CacheResult of the first 125 String url, Map<String, String> headers) { 132 CacheResult result = handler.service(url, headers); 141 * Given an url, returns the PluginData of the first 153 String url, Map<String, String> headers) { 160 PluginData data = handler.getPluginData(url, headers); 124 getSurrogate( String url, Map<String, String> headers) argument 152 getPluginData( String url, Map<String, String> headers) argument
|
/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/webview/chromium/java/com/android/webview/chromium/ |
H A D | CookieManagerAdapter.java | 47 public void setCookie(String url, String value) { argument 49 mChromeCookieManager.setCookie(fixupUrl(url), value); 51 Log.e(LOGTAG, "Not setting cookie due to error parsing URL: " + url, e); 56 public String getCookie(String url) { argument 58 return mChromeCookieManager.getCookie(fixupUrl(url)); 60 Log.e(LOGTAG, "Unable to get cookies due to error parsing URL: " + url, e); 66 public String getCookie(String url, boolean privateBrowsing) { argument 67 return getCookie(url); 115 private static String fixupUrl(String url) throws ParseException { argument 120 return new WebAddress(url) [all...] |
H A D | WebIconDatabaseAdapter.java | 45 public void requestIconForPageUrl(String url, IconListener listener) { argument 56 public void retainIconForPageUrl(String url) { argument 61 public void releaseIconForPageUrl(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/test-runner/src/android/test/mock/ |
H A D | MockIContentProvider.java | 44 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 D | MockContentProvider.java | 63 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 D | LocalProvider.java | 84 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 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/core/java/android/content/ |
H A D | ContentProviderClient.java | 112 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 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),
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | TestPlayerStub.cpp | 37 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 D | MediaPlayerFactory.cpp | 109 const char* url) { 110 GET_PLAYER_TYPE_IMPL(client, url); 201 const char* url, 208 if (!strncasecmp("http://", url, 7) 209 || !strncasecmp("https://", url, 8) 210 || !strncasecmp("file://", url, 7)) { 211 size_t len = strlen(url); 212 if (len >= 5 && !strcasecmp(".m3u8", &url[len - 5])) { 216 if (strstr(url,"m3u8")) { 220 if ((len >= 4 && !strcasecmp(".sdp", &url[le 108 getPlayerType(const sp<IMediaPlayer>& client, const char* url) argument 200 scoreFactory(const sp<IMediaPlayer>& client, const char* url, float curScore) argument 246 scoreFactory(const sp<IMediaPlayer>& client, const char* url, float curScore) argument 315 scoreFactory(const sp<IMediaPlayer>& client, const char* url, float curScore) argument [all...] |
H A D | MidiMetadataRetriever.cpp | 39 const char *url, const KeyedVector<String8, String8> *headers) 41 ALOGV("setDataSource: %s", url? url: "NULL pointer"); 47 return mMidiPlayer->setDataSource(url, headers); 38 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/volley/src/com/android/volley/toolbox/ |
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,
|