Searched defs:url (Results 26 - 50 of 116) sorted by relevance

12345

/frameworks/support/customtabs/src/android/support/customtabs/
H A DCustomTabsSession.java58 * @param url Most likely URL.
66 public boolean mayLaunchUrl(Uri url, Bundle extras, List<Bundle> otherLikelyBundles) { argument
68 return mService.mayLaunchUrl(mCallback, url, extras, otherLikelyBundles);
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DHurlStack.java91 String url = request.getUrl();
96 String rewritten = mUrlRewriter.rewriteUrl(url);
98 throw new IOException("URL blocked by rewriter: " + url);
100 url = rewritten;
102 URL parsedUrl = new URL(url);
166 * Create an {@link HttpURLConnection} for the specified {@code url}.
168 protected HttpURLConnection createConnection(URL url) throws IOException { argument
169 HttpURLConnection connection = (HttpURLConnection) url.openConnection();
181 * @param url
185 private HttpURLConnection openConnection(URL url, Reques argument
[all...]
H A DJsonRequest.java51 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 DBasicNetwork.java221 protected void logError(String what, String url, long start) { argument
223 VolleyLog.v("HTTP ERROR(%s) %d ms to fetch %s", what, (now - start), url);
H A DImageRequest.java63 * @param url URL of the image
72 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument
74 super(Method.GET, url, errorListener);
89 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument
91 this(url, listener, maxWidth, maxHeight,
161 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl());
H A DNetworkImageView.java73 * @param url The URL that should be loaded into this ImageView.
76 public void setImageUrl(String url, ImageLoader imageLoader) { argument
77 mUrl = url;
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp105 const char* url) {
106 GET_PLAYER_TYPE_IMPL(client, url);
175 const char* url,
182 if (!strncasecmp("http://", url, 7)
183 || !strncasecmp("https://", url, 8)
184 || !strncasecmp("file://", url, 7)) {
185 size_t len = strlen(url);
186 if (len >= 5 && !strcasecmp(".m3u8", &url[len - 5])) {
190 if (strstr(url,"m3u8")) {
194 if ((len >= 4 && !strcasecmp(".sdp", &url[le
104 getPlayerType(const sp<IMediaPlayer>& client, const char* url) argument
174 scoreFactory(const sp<IMediaPlayer>& , const char* url, float curScore) argument
227 scoreFactory(const sp<IMediaPlayer>& , const char* url, float ) argument
[all...]
H A DMetadataRetrieverClient.cpp108 const char *url,
111 ALOGV("setDataSource(%s)", url);
113 if (url == NULL) {
126 MediaPlayerFactory::getPlayerType(NULL /* client */, url);
130 status_t ret = p->setDataSource(httpService, url, headers);
106 setDataSource( const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/av/media/libstagefright/httplive/
H A DHTTPDownloader.cpp71 * | `url` file |<--------- buffer size --------->|<--- `block_size` -->| | |
81 const char *url, sp<ABuffer> *out,
93 if (!strncasecmp(url, "file://", 7)) {
94 mDataSource = new FileSource(url + 7);
95 } else if (strncasecmp(url, "http://", 7)
96 && strncasecmp(url, "https://", 8)) {
112 status_t err = mHTTPDataSource->connect(url, &headers);
207 *actualUrl = url;
215 const char *url, sp<ABuffer> *out, String8 *actualUrl) {
216 ssize_t err = fetchBlock(url, ou
80 fetchBlock( const char *url, sp<ABuffer> *out, int64_t range_offset, int64_t range_length, uint32_t block_size, String8 *actualUrl, bool reconnect ) argument
214 fetchFile( const char *url, sp<ABuffer> *out, String8 *actualUrl) argument
224 fetchPlaylist( const char *url, uint8_t *curPlaylistHash, bool *unchanged) argument
[all...]
/frameworks/base/core/java/android/net/
H A DProxy.java102 * @param url A URL to be accessed. Used to evaluate exclusion list.
108 public static final java.net.Proxy getProxy(Context ctx, String url) { argument
110 if ((url != null) && !isLocalHost(host)) {
111 URI uri = URI.create(url);
/frameworks/base/core/java/android/webkit/
H A DCookieManager.java94 * @param url the URL for which the cookie is to be set
98 public abstract void setCookie(String url, String value); argument
114 * @param url the URL for which the cookie is to be set
119 public abstract void setCookie(String url, String value, ValueCallback<Boolean> callback); argument
124 * @param url the URL for which the cookies are requested
128 public abstract String getCookie(String url); argument
133 * @param url the URL for which the cookies are requested
140 public abstract String getCookie(String url, boolean privateBrowsing); argument
H A DJsDialogHelper.java58 String url) {
63 mUrl = url;
71 mUrl = msg.getData().getString("url");
172 // do nothing. just use the url as the title
57 JsDialogHelper(JsPromptResult result, int type, String defaultValue, String message, String url) argument
H A DURLUtil.java64 // 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...]
/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/media/tests/players/
H A Dinvoke_mock_media_player.cpp62 const char *url,
64 ALOGV("setDataSource %s", url);
66 if (strncmp(url, kPing, strlen(kPing)) == 0) {
60 setDataSource( const sp<IMediaHTTPService>& , const char *url, const KeyedVector<String8, String8> *) argument
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DHTTPHandler.java85 public OSUResponse exchangeSOAP(URL url, String message) throws IOException { argument
86 HTTPResponse response = exchangeWithRetry(url, message, HTTPMessage.Method.POST,
103 public ByteBuffer exchangeBinary(URL url, String message, String contentType) argument
106 exchangeWithRetry(url, message, HTTPMessage.Method.POST, contentType);
110 public InputStream doGet(URL url) throws IOException { argument
111 HTTPResponse response = exchangeWithRetry(url, null, HTTPMessage.Method.GET, null);
115 public HTTPResponse doGetHTTP(URL url) throws IOException { argument
116 return exchangeWithRetry(url, null, HTTPMessage.Method.GET, null);
119 private HTTPResponse exchangeWithRetry(URL url, String message, HTTPMessage.Method method, argument
125 response = httpExchange(url, messag
145 httpExchange(URL url, String message, HTTPMessage.Method method, String contentType) argument
[all...]
/frameworks/base/packages/services/PacProcessor/jni/
H A Dcom_android_pacprocessor_PacNative.cpp107 jstring url, jstring host) {
108 String16 url16 = jstringToString16(env, url);
106 com_android_pacprocessor_PacNative_makeProxyRequestNativeLocked(JNIEnv* env, jobject, jstring url, jstring host) argument
/frameworks/support/compat/java/android/support/v4/text/util/
H A DLinkifyCompat.java136 applyLink(link.url, link.start, link.end, text);
329 String url = makeUrl(m.group(0), schemesCopy, m, transformFilter);
331 applyLink(url, start, end, spannable);
349 private static String makeUrl(@NonNull String url, @NonNull String[] prefixes, argument
352 url = filter.transformUrl(matcher, url);
358 if (url.regionMatches(true, 0, prefixes[i], 0, prefixes[i].length())) {
362 if (!url.regionMatches(false, 0, prefixes[i], 0, prefixes[i].length())) {
363 url = prefixes[i] + url
399 applyLink(String url, int start, int end, Spannable text) argument
499 String url; field in class:LinkifyCompat.LinkSpec
[all...]
/frameworks/volley/src/test/java/com/android/volley/mock/
H A DMockRequest.java34 public MockRequest(String url, ErrorListener listener) { argument
35 super(Request.Method.GET, url, listener);
H A DTestRequest.java32 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);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp40 const char *url,
44 mURL(url),
37 HTTPLiveSource( const sp<AMessage> &notify, const sp<IMediaHTTPService> &httpService, const char *url, const KeyedVector<String8, String8> *headers) argument
/frameworks/base/core/java/android/content/
H A DContentProviderClient.java124 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, argument
127 return query(url, projection, selection, selectionArgs, sortOrder, null);
131 public @Nullable Cursor query(@NonNull Uri url, @Nullable String[] projection, argument
135 Preconditions.checkNotNull(url, "url");
145 final Cursor cursor = mContentProvider.query(mPackageName, url, projection, selection,
168 public @Nullable String getType(@NonNull Uri url) throws RemoteException { argument
169 Preconditions.checkNotNull(url, "url");
173 return mContentProvider.getType(url);
185 getStreamTypes(@onNull Uri url, @NonNull String mimeTypeFilter) argument
204 canonicalize(@onNull Uri url) argument
221 uncanonicalize(@onNull Uri url) argument
238 insert(@onNull Uri url, @Nullable ContentValues initialValues) argument
256 bulkInsert(@onNull Uri url, @NonNull ContentValues[] initialValues) argument
275 delete(@onNull Uri url, @Nullable String selection, @Nullable String[] selectionArgs) argument
293 update(@onNull Uri url, @Nullable ContentValues values, @Nullable String selection, @Nullable String[] selectionArgs) argument
317 openFile(@onNull Uri url, @NonNull String mode) argument
329 openFile(@onNull Uri url, @NonNull String mode, @Nullable CancellationSignal signal) argument
360 openAssetFile(@onNull Uri url, @NonNull String mode) argument
372 openAssetFile(@onNull Uri url, @NonNull String mode, @Nullable CancellationSignal signal) argument
[all...]
H A DContentProviderNative.java83 Uri url = Uri.CREATOR.createFromParcel(data);
112 Cursor cursor = query(callingPkg, url, projection, selection, selectionArgs,
148 Uri url = Uri.CREATOR.createFromParcel(data);
149 String type = getType(url);
160 Uri url = Uri.CREATOR.createFromParcel(data);
163 Uri out = insert(callingPkg, url, values);
173 Uri url = Uri.CREATOR.createFromParcel(data);
176 int count = bulkInsert(callingPkg, url, values);
202 Uri url = Uri.CREATOR.createFromParcel(data);
206 int count = delete(callingPkg, url, selectio
386 query(String callingPkg, Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder, ICancellationSignal cancellationSignal) argument
443 getType(Uri url) argument
463 insert(String callingPkg, Uri url, ContentValues values) argument
485 bulkInsert(String callingPkg, Uri url, ContentValues[] values) argument
530 delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument
553 update(String callingPkg, Uri url, ContentValues values, String selection, String[] selectionArgs) argument
578 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder token) argument
606 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
655 getStreamTypes(Uri url, String mimeTypeFilter) argument
677 openTypedAssetFile(String callingPkg, Uri url, String mimeType, Bundle opts, ICancellationSignal signal) argument
722 canonicalize(String callingPkg, Uri url) argument
743 uncanonicalize(String callingPkg, Uri url) argument
[all...]
H A DIContentProvider.java38 public Cursor query(String callingPkg, Uri url, String[] projection, String selection, argument
41 public String getType(Uri url) throws RemoteException; argument
42 public Uri insert(String callingPkg, Uri url, ContentValues initialValues) argument
44 public int bulkInsert(String callingPkg, Uri url, ContentValues[] initialValues) argument
46 public int delete(String callingPkg, Uri url, String selection, String[] selectionArgs) argument
48 public int update(String callingPkg, Uri url, ContentValues values, String selection, argument
51 String callingPkg, Uri url, String mode, ICancellationSignal signal,
55 String callingPkg, Uri url, String mode, ICancellationSignal signal)
69 public String[] getStreamTypes(Uri url, String mimeTypeFilter) throws RemoteException; argument
70 public AssetFileDescriptor openTypedAssetFile(String callingPkg, Uri url, Strin argument
50 openFile( String callingPkg, Uri url, String mode, ICancellationSignal signal, IBinder callerToken) argument
54 openAssetFile( String callingPkg, Uri url, String mode, ICancellationSignal signal) argument
[all...]

Completed in 541 milliseconds

12345