Searched defs:url (Results 51 - 75 of 76) sorted by path

1234

/frameworks/base/media/libmediaplayerservice/
H A DStagefrightPlayer.cpp35 const char *url, const KeyedVector<String8, String8> *headers) {
36 LOGI("setDataSource('%s')", url);
37 return mPlayer->setDataSource(url, headers);
34 setDataSource( const char *url, const KeyedVector<String8, String8> *headers) argument
H A DTestPlayerStub.cpp37 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...]
/frameworks/base/media/libstagefright/
H A DNuHTTPDataSource.cpp42 const char *url, String8 *host, unsigned *port, String8 *path) {
47 if (strncasecmp("http://", url, 7)) {
51 const char *slashPos = strchr(&url[7], '/');
54 host->setTo(&url[7]);
57 host->setTo(&url[7], slashPos - &url[7]);
41 ParseURL( const char *url, String8 *host, unsigned *port, String8 *path) argument
/frameworks/base/media/libstagefright/httplive/
H A DLiveSource.cpp31 LiveSource::LiveSource(const char *url) argument
32 : mMasterURL(url),
298 status_t LiveSource::fetchM3U(const char *url, sp<ABuffer> *out) { argument
303 if (!strncasecmp(url, "file://", 7)) {
304 source = new FileSource(url + 7);
306 CHECK(!strncasecmp(url, "http://", 7));
308 status_t err = mSource->connect(url);
H A DM3UParser.cpp79 static bool MakeURL(const char *baseURL, const char *url, AString *out) { argument
88 if (!strncasecmp("http://", url, 7)) {
89 // "url" is already an absolute URL, ignore base URL.
90 out->setTo(url);
97 out->append(url);
108 out->append(url);
/frameworks/base/media/libstagefright/omx/tests/
H A DOMXHarness.cpp510 const char *url = GetURLForMime(mime); local
511 CHECK(url != NULL);
513 sp<MediaExtractor> extractor = CreateExtractorFromURI(url);
/frameworks/base/media/libstagefright/rtsp/
H A DARTSPConnection.cpp57 void ARTSPConnection::connect(const char *url, const sp<AMessage> &reply) { argument
59 msg->setString("url", url);
120 const char *url, AString *host, unsigned *port, AString *path,
128 if (strncasecmp("rtsp://", url, 7)) {
132 const char *slashPos = strchr(&url[7], '/');
135 host->setTo(&url[7]);
138 host->setTo(&url[7], slashPos - &url[7]);
206 AString url; local
119 ParseURL( const char *url, AString *host, unsigned *port, AString *path, AString *user, AString *pass) argument
890 GetMethodAndURL( const AString &request, AString *method, AString *url) argument
933 AString method, url; local
[all...]
H A DARTSPController.cpp43 status_t ARTSPController::connect(const char *url) { argument
52 mHandler = new MyHandler(url, mLooper);
H A DMyHandler.h95 MyHandler(const char *url, const sp<ALooper> &looper) argument
100 mOriginalSessionURL(url),
101 mSessionURL(url),
119 // Strip any authentication info from the session url, we don't
134 LOGI("rewritten session url: '%s'", mSessionURL.c_str());
637 // XXX should use aggregate url from SDP here...
1028 CHECK(GetAttribute((*it).c_str(), "url", &val));
1124 AString url; local
1125 CHECK(mSessionDesc->findAttribute(index, "a=control", &url));
1128 CHECK(MakeURL(mBaseURL.c_str(), url
1181 MakeURL(const char *baseURL, const char *url, AString *out) argument
[all...]
H A DMyTransmitter.h77 MyTransmitter(const char *url, const sp<ALooper> &looper) argument
78 : mServerURL(url),
290 AString *request, const char *method, const char *url) {
312 A2.append(url);
334 request->append(url);
289 addAuthentication( AString *request, const char *method, const char *url) argument
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp59 const char *url,
61 LOGV("setDataSource %s", url);
63 if (strncmp(url, kPing, strlen(kPing)) == 0) {
58 setDataSource( const char *url, const KeyedVector<String8, String8> *) argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java96 SqlArguments(Uri url, String where, String[] args) { argument
97 if (url.getPathSegments().size() == 1) {
98 this.table = url.getPathSegments().get(0);
104 } else if (url.getPathSegments().size() != 2) {
105 throw new IllegalArgumentException("Invalid URI: " + url);
107 throw new UnsupportedOperationException("WHERE clause not supported: " + url);
109 this.table = url.getPathSegments().get(0);
115 this.args = new String[] { url.getPathSegments().get(1) };
117 this.where = "_id=" + ContentUris.parseId(url);
124 SqlArguments(Uri url) { argument
402 query(Uri url, String[] select, String where, String[] whereArgs, String sort) argument
434 getType(Uri url) argument
483 parseProviderList(Uri url, ContentValues initialValues) argument
547 insert(Uri url, ContentValues initialValues) argument
582 delete(Uri url, String where, String[] whereArgs) argument
605 update(Uri url, ContentValues initialValues, String where, String[] whereArgs) argument
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGpsXtraDownloader.java109 protected static byte[] doDownload(String url, boolean isProxySet, argument
111 if (DEBUG) Log.d(TAG, "Downloading XTRA data from " + url);
116 HttpUriRequest req = new HttpGet(url);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIccProvider.java232 public Cursor query(Uri url, String[] projection, String selection, argument
237 switch (URL_MATCHER.match(url)) {
251 throw new IllegalArgumentException("Unknown URL " + url);
283 public String getType(Uri url) { argument
284 switch (URL_MATCHER.match(url)) {
291 throw new IllegalArgumentException("Unknown URL " + url);
296 public Uri insert(Uri url, ContentValues initialValues) { argument
303 int match = URL_MATCHER.match(url);
316 "Cannot insert into URL: " + url);
365 public int delete(Uri url, Strin argument
437 update(Uri url, ContentValues values, String where, String[] whereArgs) argument
[all...]
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/stk/
H A DCommandParams.java59 String url; field in class:LaunchBrowserParams
62 String url, LaunchBrowserMode mode) {
66 this.url = url;
61 LaunchBrowserParams(CommandDetails cmdDet, TextMessage confirmMsg, String url, LaunchBrowserMode mode) argument
H A DStkCmdMessage.java41 public String url; field in class:StkCmdMessage.BrowserSettings
75 mBrowserSettings.url = ((LaunchBrowserParams) cmdParams).url;
99 mBrowserSettings.url = in.readString();
120 dest.writeString(mBrowserSettings.url);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentProvider.java65 public int bulkInsert(Uri url, ContentValues[] initialValues) throws RemoteException { argument
66 return MockContentProvider.this.bulkInsert(url, initialValues);
70 public IBulkCursor bulkQuery(Uri url, String[] projection, String selection, argument
77 public int delete(Uri url, String selection, String[] selectionArgs) argument
79 return MockContentProvider.this.delete(url, selection, selectionArgs);
83 public String getType(Uri url) throws RemoteException { argument
84 return MockContentProvider.this.getType(url);
88 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { argument
89 return MockContentProvider.this.insert(url, initialValues);
93 public AssetFileDescriptor openAssetFile(Uri url, Strin argument
99 openFile(Uri url, String mode) argument
105 query(Uri url, String[] projection, String selection, String[] selectionArgs, String sortOrder) argument
112 update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
[all...]
H A DMockIContentProvider.java45 public int bulkInsert(Uri url, ContentValues[] initialValues) { argument
49 public IBulkCursor bulkQuery(Uri url, String[] projection, String selection, argument
56 public int delete(Uri url, String selection, String[] selectionArgs) argument
61 public String getType(Uri url) { argument
66 public Uri insert(Uri url, ContentValues initialValues) throws RemoteException { argument
70 public ParcelFileDescriptor openFile(Uri url, String mode) { argument
82 public Cursor query(Uri url, String[] projection, String selection, String[] selectionArgs, argument
87 public EntityIterator queryEntities(Uri url, String selection, String[] selectionArgs, argument
92 public int update(Uri url, ContentValues values, String selection, String[] selectionArgs) argument
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java42 public static final String MSG_NAV_URL = "url";
115 private void navigate(String url, int timeout) { argument
116 if(url == null) {
125 Log.v(LOGTAG, "Navigating to URL: " + url);
126 webView.loadUrl(url);
207 + ", url=" + failingUrl);
211 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument
213 Log.v(LOGTAG, "onPageStarted: " + url);
217 public void onPageFinished(WebView view, String url) { argument
218 Log.v(LOGTAG, "onPageFinished: " + url);
[all...]
/frameworks/base/tests/BrowserTestPlugin/jni/
H A Dmain.cpp234 void NPP_URLNotify(NPP instance, const char* url, NPReason reason, void* notifyData) argument
/frameworks/base/tests/CoreTests/android/core/
H A DURLTest.java39 URL url = new URL(u);
40 URLConnection cn = url.openConnection();
140 private String request(URL url) throws Exception { argument
141 URLConnection connection = url.openConnection();
162 URL url = new URL("http://localhost:8182");
163 assertEquals("Hello, Android world #0!", request(url));
164 assertEquals("Hello, Android world #1!", request(url));
165 assertEquals("Hello, Android world #2!", request(url));
168 request(url);
199 URL url
[all...]
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DFsUtils.java117 String url = null;
119 url = "file://" + path;
124 url = "https://127.0.0.1:8443/" + path.substring(HTTP_TESTS_PREFIX.length());
128 url = "http://127.0.0.1:8000/" + path.substring(HTTP_TESTS_PREFIX.length());
130 url = "file://" + path;
133 return url;
170 public static boolean isTestPageUrl(String url) { argument
171 int qmPostion = url.indexOf('?');
172 int slashPostion = url.lastIndexOf('/');
174 String fileName = url
189 writeDrawTime(String fileName, String url, long[] times) argument
[all...]
H A DLoadTestsAutoTest.java165 private void runTestAndWaitUntilDone(TestShellActivity activity, String url, int timeout, argument
175 public void timedOut(String url) {
183 intent.putExtra(TestShellActivity.TEST_URL, url);
H A DReliabilityTestActivity.java47 public static final String MSG_NAV_URL = "url";
119 private void navigate(String url, int timeout) { argument
120 if(url == null) {
129 Log.v(LOGTAG, "Navigating to URL: " + url);
130 webView.loadUrl(url);
204 + ", url=" + failingUrl);
222 public void onPageStarted(WebView view, String url, Bitmap favicon) { argument
224 Log.v(LOGTAG, "onPageStarted: " + url);
228 public void onPageFinished(WebView view, String url) { argument
229 Log.v(LOGTAG, "onPageFinished: " + url);
241 onJsAlert(WebView view, String url, String message, JsResult result) argument
247 onJsBeforeUnload(WebView view, String url, String message, JsResult result) argument
253 onJsConfirm(WebView view, String url, String message, JsResult result) argument
259 onJsPrompt(WebView view, String url, String message, String defaultValue, JsPromptResult result) argument
[all...]
H A DTestShellCallback.java21 public void timedOut(String url); argument

Completed in 484 milliseconds

1234