Home | History | Annotate | Download | only in libmediaplayerservice

Lines Matching refs:url

37 const char *kUrlParam = "url=";
52 // @return true if the url scheme is 'test:'
53 bool isTestUrl(const char *url)
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 in param.
116 const char *url, const KeyedVector<String8, String8> *headers) {
117 if (!isTestUrl(url) || NULL != mHandle) {
121 mUrl = strdup(url);
132 // Load the test player from the url. dlopen will fail if the lib
191 /* static */ bool TestPlayerStub::canBeUsed(const char *url)
193 return isTestBuild() && isTestUrl(url);