/frameworks/volley/src/com/android/volley/toolbox/ |
H A D | HurlStack.java | 90 String url = request.getUrl(); 95 String rewritten = mUrlRewriter.rewriteUrl(url); 97 throw new IOException("URL blocked by rewriter: " + url); 99 url = rewritten; 101 URL parsedUrl = new URL(url); 149 * Create an {@link HttpURLConnection} for the specified {@code url}. 151 protected HttpURLConnection createConnection(URL url) throws IOException { argument 152 return (HttpURLConnection) url.openConnection(); 157 * @param url 161 private HttpURLConnection openConnection(URL url, Reques argument [all...] |
H A D | JsonRequest.java | 51 public JsonRequest(String url, String requestBody, Listener<T> listener, argument 53 this(Method.DEPRECATED_GET_OR_POST, url, requestBody, listener, errorListener); 56 public JsonRequest(int method, String url, String requestBody, Listener<T> listener, argument 58 super(method, url, errorListener);
|
H A D | BasicNetwork.java | 195 protected void logError(String what, String url, long start) { argument 197 VolleyLog.v("HTTP ERROR(%s) %d ms to fetch %s", what, (now - start), url);
|
H A D | ImageRequest.java | 61 * @param url URL of the image 69 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument 71 super(Method.GET, url, errorListener); 128 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl());
|
H A D | NetworkImageView.java | 73 * @param url The URL that should be loaded into this ImageView. 76 public void setImageUrl(String url, ImageLoader imageLoader) { argument 77 mUrl = url;
|
/frameworks/volley/tests/src/com/android/volley/mock/ |
H A D | TestRequest.java | 32 public Base(String url, Response.ErrorListener listener) { argument 33 super(url, listener); 36 public Base(int method, String url, Response.ErrorListener listener) { argument 37 super(method, url, listener);
|
H A D | MockRequest.java | 34 public MockRequest(String url, ErrorListener listener) { argument 35 super(url, listener);
|
/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...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 109 const char *url, const KeyedVector<String8, String8> *headers) 111 ALOGV("setDataSource(%s)", url); 113 if (url == NULL) { 126 MediaPlayerFactory::getPlayerType(NULL /* client */, url); 130 status_t ret = p->setDataSource(url, headers); 108 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
|
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 | StagefrightPlayer.cpp | 57 const char *url, const KeyedVector<String8, String8> *headers) { 58 return mPlayer->setDataSource(url, headers); 56 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
|
/frameworks/base/core/java/android/net/ |
H A D | ProxyProperties.java | 126 public boolean isExcluded(String url) { argument 127 if (TextUtils.isEmpty(url) || mParsedExclusionList == null || 130 Uri u = Uri.parse(url); 248 String url = in.readString(); 250 return new ProxyProperties(url, localPort);
|
H A D | Proxy.java | 94 * @param url A URL to be accessed. Used to evaluate exclusion list. 100 public static final java.net.Proxy getProxy(Context ctx, String url) { argument 102 if (url != null) { 103 URI uri = URI.create(url); 199 * @param url the target URL for the request 207 String url) { 208 java.net.Proxy prefProxy = getProxy(context, url); 206 getPreferredHttpHost(Context context, String url) argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | JsDialogHelper.java | 56 String url) { 61 mUrl = url; 69 mUrl = msg.getData().getString("url"); 170 // do nothing. just use the url as the title 55 JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, String url) argument
|
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...] |
/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/packages/services/PacProcessor/jni/ |
H A D | com_android_pacprocessor_PacNative.cpp | 106 jstring url, jstring host) { 107 String16 url16 = jstringToString16(env, url); 105 com_android_pacprocessor_PacNative_makeProxyRequestNativeLocked(JNIEnv* env, jobject, jstring url, jstring host) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
H A D | CatCmdMessage.java | 41 public String url; field in class:CatCmdMessage.BrowserSettings 75 mBrowserSettings.url = ((LaunchBrowserParams) cmdParams).mUrl; 114 mBrowserSettings.url = in.readString(); 138 dest.writeString(mBrowserSettings.url);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayerService.cpp | 89 virtual status_t decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, argument 95 data.writeCString(url); 225 const char* url = data.readCString(); local 231 status_t status = decode(url, &sampleRate, &numChannels, &format, heap, &size);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | GenericSource.cpp | 36 const char *url, 46 DataSource::CreateFromURI(url, headers); 34 GenericSource( const sp<AMessage> ¬ify, const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) argument
|
H A D | HTTPLiveSource.cpp | 37 const char *url, 41 mURL(url), 35 HTTPLiveSource( const sp<AMessage> ¬ify, const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) argument
|
/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...] |
H A D | ContentProviderNative.java | 83 Uri url = Uri.CREATOR.createFromParcel(data); 112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs, 141 Uri url = Uri.CREATOR.createFromParcel(data); 142 String type = getType(url); 153 Uri url = Uri.CREATOR.createFromParcel(data); 156 Uri out = insert(callingPkg, url, values); 166 Uri url = Uri.CREATOR.createFromParcel(data); 169 int count = bulkInsert(callingPkg, url, values); 195 Uri url = Uri.CREATOR.createFromParcel(data); 199 int count = delete(callingPkg, url, selectio 378 query(String callingPkg, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument 435 getType(Uri url) argument 455 insert(String callingPkg, Uri url, ContentValues values) argument 477 bulkInsert(String callingPkg, Uri url, ContentValues[] values) argument 522 delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument 545 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument 570 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument 596 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument 645 getStreamTypes(Uri url, String mimeTypeFilter) argument 667 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument 712 canonicalize(String callingPkg, Uri url) argument 733 uncanonicalize(String callingPkg, Uri url) argument [all...] |
H A D | IContentProvider.java | 37 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, argument 40 public String getType(Uri url) throws RemoteException; argument 41 public Uri insert(String callingPkg, Uri url, ContentValues initialValues) argument 43 public int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) argument 45 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument 47 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument 50 String callingPkg, Uri url, String mode, ICancellationSignal signal) 53 String callingPkg, Uri url, String mode, ICancellationSignal signal) 66 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException; argument 67 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, Strin argument 49 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument 52 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument [all...] |