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.
117 const char *url,
119 if (!isTestUrl(url) || NULL != mHandle) {
123 mUrl = strdup(url);
134 // Load the test player from the url. dlopen will fail if the lib
193 /* static */ bool TestPlayerStub::canBeUsed(const char *url)
195 return isTestBuild() && isTestUrl(url);