Searched refs:url (Results 76 - 100 of 158) sorted by relevance

1234567

/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java192 * @param url the url
195 public static Token tokenForUrl(String url, String text) { argument
196 if(url == null) {
201 Video video = Video.matchURL(url, text);
207 YouTubeVideo ytVideo = YouTubeVideo.matchURL(url, text);
213 Photo photo = Photo.matchURL(url, text);
219 FlickrPhoto flickrPhoto = FlickrPhoto.matchURL(url, text);
225 return new Link(url, text);
358 String url
464 addURLToken(String url, String text) argument
790 private String url; field in class:AbstractMessageParser.Link
792 Link(String url, String text) argument
829 matchURL(String url, String text) argument
888 matchURL(String url, String text) argument
979 matchURL(String url, String text) argument
1066 matchURL(String url, String text) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewDatabaseClassic.java87 private static final String FORMURL_URL_COL = "url";
197 String url = c.getString(c.getColumnIndex(FORMURL_URL_COL));
199 cv.put(FORMURL_URL_COL, WebTextView.urlForAutoCompleteData(url));
506 * @param url The url of the site
509 void setFormData(String url, HashMap<String, String> formdata) { argument
510 if (url == null || formdata == null || !checkInitialized()) {
520 ID_PROJECTION, selection, new String[] { url }, null, null,
526 c.put(FORMURL_URL_COL, url);
553 * @param url Th
557 getFormData(String url, String name) argument
[all...]
H A DJWebCoreJavaBridge.java161 * Store a cookie string associated with a url.
162 * @param url The url to be used as a key for the cookie.
165 private void setCookies(String url, String value) { argument
186 CookieManager.getInstance().setCookie(url, value);
190 * Retrieve the cookie string for the given url.
191 * @param url The resource's url.
192 * @return A String representing the cookies for the given resource url.
194 private String cookies(String url) { argument
260 getSignedPublicKey(int index, String challenge, String url) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp109 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 DTestPlayerStub.h30 // test:<name of the .so>?url=<url for the real setDataSource impl.>
33 // test:invoke_test_media_player.so?url=http://youtube.com/
34 // test:invoke_test_media_player.so?url=speedtest
36 // TestPlayerStub::setDataSource loads the library in the test url. 2
44 // implementation is called with the value of the 'url' parameter.
50 // p.setDataSource("test:invoke_mock_media_player.so?url=http://youtube.com");
67 // @param url Should be a test url. See class comment.
69 const char* url, cons
[all...]
H A DMetadataRetrieverClient.h46 const char *url, const KeyedVector<String8, String8> *headers);
H A DStagefrightPlayer.cpp57 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/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp101 static bool IsHTTPLiveURL(const char *url) { argument
102 if (!strncasecmp("http://", url, 7)
103 || !strncasecmp("https://", url, 8)) {
104 size_t len = strlen(url);
105 if (len >= 5 && !strcasecmp(".m3u8", &url[len - 5])) {
109 if (strstr(url,"m3u8")) {
118 const char *url, const KeyedVector<String8, String8> *headers) {
122 if (IsHTTPLiveURL(url)) {
123 source = new HTTPLiveSource(url, headers, mUIDValid, mUID);
124 } else if (!strncasecmp(url, "rts
117 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
[all...]
H A DGenericSource.h35 const char *url,
H A DHTTPLiveSource.cpp37 const char *url,
40 : mURL(url),
36 HTTPLiveSource( const char *url, const KeyedVector<String8, String8> *headers, bool uidValid, uid_t uid) argument
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.h56 virtual const std::string &GetUserAgent(const GURL &url) const;
142 GURL url,
152 const GURL &url,
H A Dsupport.cpp202 const std::string &SfRequestContext::GetUserAgent(const GURL &url) const {
416 GURL url(uri);
424 url,
432 SfDelegate *me, GURL url,
435 me->onInitiateConnection(url, headers, offset);
439 const GURL &url,
444 mURLRequest = new net::URLRequest(url, this);
431 OnInitiateConnectionWrapper( SfDelegate *me, GURL url, const KeyedVector<String8, String8> *headers, off64_t offset) argument
438 onInitiateConnection( const GURL &url, const KeyedVector<String8, String8> *extra, off64_t offset) argument
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DBandwidthTestUtil.java75 * @param server url of the test server
79 * @return download url
89 * Download a given file from a target url to a given destination file.
90 * @param targetUrl the url to download
96 URL url = new URL(targetUrl);
98 Log.d(LOG_TAG, "Download url:" + url);
100 URLConnection ucon = url.openConnection();
120 * @param server {@link String} url of test server
136 Log.d(LOG_TAG, "Upload url
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGpsXtraDownloader.java108 protected static byte[] doDownload(String url, boolean isProxySet, argument
110 if (DEBUG) Log.d(TAG, "Downloading XTRA data from " + url);
115 HttpUriRequest req = new HttpGet(url);
/frameworks/av/media/libstagefright/rtsp/
H A DARTSPConnection.cpp67 void ARTSPConnection::connect(const char *url, const sp<AMessage> &reply) { argument
69 msg->setString("url", url);
130 const char *url, AString *host, unsigned *port, AString *path,
138 if (strncasecmp("rtsp://", url, 7)) {
142 const char *slashPos = strchr(&url[7], '/');
145 host->setTo(&url[7]);
148 host->setTo(&url[7], slashPos - &url[7]);
224 AString url; local
129 ParseURL( const char *url, AString *host, unsigned *port, AString *path, AString *user, AString *pass) argument
942 GetMethodAndURL( const AString &request, AString *method, AString *url) argument
985 AString method, url; local
[all...]
H A DARTSPConnection.h38 void connect(const char *url, const sp<AMessage> &reply);
46 const char *url, AString *host, unsigned *port, AString *path,
/frameworks/base/tests/SslLoad/src/com/android/sslload/
H A DSslLoad.java100 String url = error ? "https://google.com/"
102 client.execute(new HttpGet(url),
/frameworks/base/tests/DumpRenderTree/assets/
H A Drun_reliability_tests.py8 run_reliability_tests.py path/to/url/list
53 def Bugreport(url, bugreport_dir, adb_cmd):
58 # prepend the report with url
60 handle.writelines("Bugreport for crash in url - %s\n\n" % url)
91 for url, times in load_times.iteritems():
98 (url, min(arr), max(arr), avg, std,
105 """Send the url list to device and start testing, restart if crashed."""
152 # push url list to device
159 logging.error("failed to push url lis
[all...]
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
H A DJavaBridgeTestBase.java34 public synchronized void onPageFinished(WebView webView, String url) { argument
/frameworks/base/core/java/android/net/http/
H A DRequestQueue.java288 * @param url The url to load.
297 String url, String method,
300 WebAddress uri = new WebAddress(url);
301 return queueRequest(url, uri, method, headers, eventHandler,
307 * @param url The url to load.
308 * @param uri The uri of the url to load.
317 String url, WebAddress uri, String method, Map<String, String> headers,
344 this, url, ur
296 queueRequest( String url, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
316 queueRequest( String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
370 queueSynchronousRequest(String url, WebAddress uri, String method, Map<String, String> headers, EventHandler eventHandler, InputStream bodyProvider, int bodyLength) argument
[all...]
/frameworks/base/core/java/android/net/
H A DProxy.java104 * @param url A URL to be accessed. Used to evaluate exclusion list.
110 public static final java.net.Proxy getProxy(Context ctx, String url) { argument
112 if (url != null) {
113 URI uri = URI.create(url);
209 * @param url the target URL for the request
217 String url) {
218 java.net.Proxy prefProxy = getProxy(context, url);
216 getPreferredHttpHost(Context context, String url) argument
H A DUrlQuerySanitizer.java584 public UrlQuerySanitizer(String url) { argument
586 parseUrl(url);
594 * @param url the encoded URL to parse.
596 public void parseUrl(String url) { argument
597 int queryIndex = url.indexOf('?');
600 query = url.substring(queryIndex + 1);
/frameworks/base/core/java/android/provider/
H A DMediaStore.java783 * Retrieves an image for the given url as a {@link Bitmap}.
786 * @param url The url of the image
790 public static final Bitmap getBitmap(ContentResolver cr, Uri url) argument
792 InputStream input = cr.openInputStream(url);
850 Uri url = cr.insert(Images.Thumbnails.EXTERNAL_CONTENT_URI, values);
853 OutputStream thumbOut = cr.openOutputStream(url);
884 Uri url = null;
888 url = cr.insert(EXTERNAL_CONTENT_URI, values);
891 OutputStream imageOut = cr.openOutputStream(url);
[all...]
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DSummarizer.java388 URL url = null;
390 url = new URL(ForwarderManager.getHostSchemePort(false) + "ThirdPartyProject.prop");
395 String thirdPartyProjectContents = new String(FsUtils.readDataFromUrl(url));
568 URL url = null;
570 url = new URL("http", "localhost", ForwarderManager.HTTP_PORT,
576 return url;
/frameworks/av/include/media/
H A Dmediaplayer.h196 const char *url,
221 static sp<IMemory> decode(const char* url, uint32_t *pSampleRate, int* pNumChannels, audio_format_t* pFormat);

Completed in 1602 milliseconds

1234567