/frameworks/base/core/java/android/webkit/ |
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 | 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 | 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 | 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 | 97 * @param url the URL for which the cookie is to be set 101 public abstract void setCookie(String url, String value); argument 117 * @param url the URL for which the cookie is to be set 122 public abstract void setCookie(String url, String value, ValueCallback<Boolean> callback); argument 127 * @param url the URL for which the cookies are requested 131 public abstract String getCookie(String url); argument 136 * @param url the URL for which the cookies are requested 143 public abstract String getCookie(String url, boolean privateBrowsing); argument
|
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 | 59 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 152 fixupUrl(String url) argument [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, 80 public Cursor query(String callingPackage, Uri url, String[] projection, String selection, argument 86 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument 91 public int update(String callingPackage, Uri url, ContentValues values, String selection, argument 105 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException { argument 109 public AssetFileDescriptor openTypedAssetFile(String callingPackage, Uri url, Strin argument 64 openFile( String callingPackage, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) 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, IBinder callerToken) 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/av/media/libmediaplayerservice/ |
H A D | MediaPlayerFactory.cpp | 118 const char* url) { 119 GET_PLAYER_TYPE_IMPL(client, url); 213 const char* url, 215 if (legacyDrm() && !strncasecmp("widevine://", url, 11)) { 239 const char* url, 246 if (!strncasecmp("http://", url, 7) 247 || !strncasecmp("https://", url, 8) 248 || !strncasecmp("file://", url, 7)) { 249 size_t len = strlen(url); 250 if (len >= 5 && !strcasecmp(".m3u8", &url[le 117 getPlayerType(const sp<IMediaPlayer>& client, const char* url) argument 212 scoreFactory(const sp<IMediaPlayer>& , const char* url, float ) argument 238 scoreFactory(const sp<IMediaPlayer>& , const char* url, float curScore) argument 284 scoreFactory(const sp<IMediaPlayer>& , const char* url, float curScore) argument 353 scoreFactory(const sp<IMediaPlayer>& , const char* url, float ) argument [all...] |
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 sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument 193 canBeUsed(const char *url) argument [all...] |
H A D | MidiMetadataRetriever.cpp | 42 const char *url, 45 ALOGV("setDataSource: %s", url? url: "NULL pointer"); 51 return mMidiPlayer->setDataSource(httpService, url, headers); 40 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) 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/webview/chromium/tools/WebViewShell/src/com/android/webview/chromium/shell/ |
H A D | JankActivity.java | 44 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 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/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IccProvider.java | 89 public Cursor query(Uri url, String[] projection, String selection, argument 93 switch (URL_MATCHER.match(url)) { 98 return loadFromEf(IccConstants.EF_ADN, getRequestSubId(url)); 104 return loadFromEf(IccConstants.EF_FDN, getRequestSubId(url)); 110 return loadFromEf(IccConstants.EF_SDN, getRequestSubId(url)); 116 throw new IllegalArgumentException("Unknown URL " + url); 142 public String getType(Uri url) { argument 143 switch (URL_MATCHER.match(url)) { 154 throw new IllegalArgumentException("Unknown URL " + url); 159 public Uri insert(Uri url, ContentValue argument 256 delete(Uri url, String where, String[] whereArgs) argument 337 update(Uri url, ContentValues values, String where, String[] whereArgs) argument 538 getRequestSubId(Uri url) argument [all...] |
/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,
|