/frameworks/base/core/tests/coretests/src/android/app/ |
SuggestionProvider.java | 63 public Cursor query(Uri url, String[] projectionIn, String selection, 65 int match = sURLMatcher.match(url); 68 String query = url.getLastPathSegment(); 76 throw new IllegalArgumentException("Unknown URL: " + url); 86 public String getType(Uri url) { 87 int match = sURLMatcher.match(url); 92 throw new IllegalArgumentException("Unknown URL: " + url); 97 public int update(Uri url, ContentValues values, String where, String[] whereArgs) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/ |
FileURLConnectionTest.java | 20 import java.net.URL; 25 import libcore.net.url.FileURLConnection; 34 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); local 35 assertNotNull("Cannot find test resource " + resourceName, url); 36 return new FileURLConnection(url).getContentType(); 53 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); local 54 URL anchorUrl = new URL(url, "#anchor") 70 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); local 92 URL url = ClassLoader.getSystemClassLoader().getResource(resourceName); local [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
WebPlatformUrlTest.java | 22 import java.net.URL; 37 /** Runs the web platform URL tests against Java URL models. */ 47 String testName = "/url/a-element.html"; 49 = loadTestRun("/web-platform-test-results-url-firefox-37.0.json"); 51 = loadTestRun("/web-platform-test-results-url-chrome-42.0.json"); 53 = loadTestRun("/web-platform-test-results-url-safari-7.1.json"); 86 /** Test how {@link URL} does against the web platform test suite. */ 87 @Ignore // java.net.URL is broken. Not much we can do about that. 106 URL url = null local 159 HttpUrl url; local [all...] |
/bionic/tools/bionicbb/ |
gerrit.py | 21 def __init__(self, code, url): 23 self.url = url 24 super(GerritError, self).__init__('Error {}: {}'.format(code, url)) 42 url = gerrit_url + endpoint 43 response = requests.get(url) 45 raise GerritError(response.status_code, url)
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_Driver1.java | 55 public boolean acceptsURL(String url) throws SQLException { 57 if (url == null) { 60 // Everything's fine if the quoted url starts with the base url for this 62 if (url.startsWith(baseURL)) { 76 public Connection connect(String url, Properties info) throws SQLException { 77 // Does the URL have the right form? 78 if (this.acceptsURL(url)) { 79 // The datasource name is the remainder of the url after the ":" 80 String datasource = url.substring(baseURL.length() + 1) [all...] |
/libcore/luni/src/main/java/libcore/net/url/ |
JarHandler.java | 18 package libcore.net.url; 22 import java.net.URL; 28 * Returns a connection to the jar file pointed by this <code>URL</code> 32 * this url. 34 * java.net.URL The URL to which the connection is pointing to 41 protected URLConnection openConnection(URL u) throws IOException { 47 * @param url 48 * URL the context URL [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_ClassLoader.java | 19 import java.net.URL; 31 public abstract ClassLoader getClassLoader(URL url, ClassLoader parent); 33 public static ClassLoader getInstance(URL url, ClassLoader parent) { 45 return factory.getClassLoader(url, parent); 68 public ClassLoader getClassLoader(URL url, ClassLoader parent) { 69 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(), 80 public ClassLoader getClassLoader(URL url, ClassLoader parent) [all...] |
Support_GetLocal.java | 28 import java.net.URL; 37 public static File getLocalFile(String url) throws IOException, 39 url = Support_Resources.RESOURCE_PACKAGE + url; 40 File temp = cache.get(url); 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); 53 cache.put(url, temp); 58 public static File getExternalLocalFile(String url) throws IOException, 60 File temp = cache.get(url); 62 InputStream in = new URL(url).openStream() [all...] |
/packages/apps/Browser/src/com/android/browser/ |
PreloadedTabControl.java | 53 public void loadUrlIfChanged(String url, Map<String, String> headers) { 63 if (LOGD_ENABLED) Log.d(LOGTAG, "loadUrlIfChanged\nnew: " + url + "\nold: " +currentUrl); 64 if (!TextUtils.equals(url, currentUrl)) { 65 loadUrl(url, headers); 69 public void loadUrl(String url, Map<String, String> headers) { 70 if (LOGD_ENABLED) Log.d(LOGTAG, "Preloading " + url); 71 mTab.loadUrl(url, headers);
|
AddNewBookmark.java | 43 mUrlText = (TextView) findViewById(R.id.url); 47 * Set the new url for the bookmark item. 48 * @param url The new url for the bookmark item. 50 /* package */ void setUrl(String url) { 51 mUrlText.setText(url);
|
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/ |
ClasspathLocator.java | 40 import java.net.URL; 69 URL url; local 80 url = ClasspathLocator.class.getResource("/" + name); 82 url = Thread.currentThread().getContextClassLoader().getResource(name); 84 if (url == null) 87 if (url.getProtocol().equals("file")){ 89 String path = new File(url.toURI()).getCanonicalPath(); 102 throw new AssetLoadException("Error converting URL to URI", ex); 104 throw new AssetLoadException("Failed to get canonical path for " + url, ex) [all...] |
/external/wpa_supplicant_8/src/utils/ |
browser-android.c | 34 const char *url; local 37 url = http_request_get_uri(req); 38 wpa_printf(MSG_INFO, "Browser response received: %s", url); 40 if (os_strcmp(url, "/") == 0) { 43 } else if (os_strncmp(url, "/osu/", 5) == 0) { 44 data->success = atoi(url + 5); 65 int hs20_web_browser(const char *url) 72 wpa_printf(MSG_INFO, "Launching Android browser to %s", url); 105 argv[5] = (void *) url;
|
browser-wpadebug.c | 34 const char *url; local 37 url = http_request_get_uri(req); 38 wpa_printf(MSG_INFO, "Browser response received: %s", url); 40 if (os_strcmp(url, "/") == 0) { 43 } else if (os_strncmp(url, "/osu/", 5) == 0) { 44 data->success = atoi(url + 5); 66 int hs20_web_browser(const char *url) 73 wpa_printf(MSG_INFO, "Launching wpadebug browser to %s", url); 110 argv[9] = "w1.fi.wpadebug.URL"; 111 argv[10] = (void *) url; [all...] |
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
HttpHelper.java | 31 public String get(String url, Map<String,String> requestHeaders) 36 public String post(String url, Map<String,String> requestHeaders, String content) 56 * @param url Request URI. 58 public GetRequest(String url) { 59 mUrl = url; 71 public void setUrl(String url) { 72 mUrl = url; 105 public PostRequest(String url) { 106 super(url); 147 * An interface for URL rewriting [all...] |
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
ImageDownloader.java | 94 * @param url The URL of the image to download. 97 public void download(String url, ImageView imageView) { 98 download(url, imageView, null); 105 * @param url The URL of the image to download. 109 public void download(String url, ImageView imageView, String cookie) { 111 Bitmap bitmap = getBitmapFromCache(url); 114 forceDownload(url, imageView, cookie); 116 cancelPotentialDownload(url, imageView) 237 private String url; field in class:ImageDownloader.BitmapDownloaderTask [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_GetLocal.java | 28 import java.net.URL; 37 public static File getLocalFile(String url) throws IOException, 39 url = Support_Resources.RESOURCE_PACKAGE + url; 40 File temp = cache.get(url); 42 InputStream in = Support_GetLocal.class.getResourceAsStream(url); 53 cache.put(url, temp); 58 public static File getExternalLocalFile(String url) throws IOException, 60 File temp = cache.get(url); 62 InputStream in = new URL(url).openStream() [all...] |
/external/wpa_supplicant_8/src/wps/ |
http_client.h | 21 char * http_client_url_parse(const char *url, struct sockaddr_in *dst, 29 struct http_client * http_client_url(const char *url, 38 char * http_link_update(char *url, const char *base);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
WebAsset.java | 22 import java.net.URL; 44 private final URL mUrl; 46 private WebAsset(URL url) { 47 int port = url.getPort() != -1 ? url.getPort() : url.getDefaultPort(); 49 mUrl = new URL(url.getProtocol().toLowerCase(), url.getHost().toLowerCase(), port, "") 127 URL url; local [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/ |
FileURLConnectionTest.java | 25 import java.net.URL; 29 import libcore.net.url.FileURLConnection; 40 private URL createTempFileWithContent(String resourceName) throws IOException { 44 final URL url = loader.getResource(resourceName); local 45 assertNotNull("Cannot find test resource " + resourceName, url); 46 is = url.openStream(); 52 return new URL("file://" + file.getAbsolutePath()); 66 URL url = createTempFileWithContent(resourceName) local 83 URL url = createTempFileWithContent(RESOURCE_NAME); local 94 URL url = createTempFileWithContent(RESOURCE_NAME); local 103 URL url = createTempFileWithContent(RESOURCE_NAME); local 124 URL url = createTempFileWithContent(RESOURCE_NAME); local [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/python_gflags/ |
setup.py | 40 url='http://code.google.com/p/python-gflags', variable
|
/external/chromium-trace/trace-viewer/tracing/third_party/tvcm/third_party/rcssmin/tests/yui/ |
dataurl-dbquote-font.css | 25 src: url("data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA") format("truetype"), 26 url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");
|
dataurl-noquote-multiline-font.css | 25 src: url( 27 url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");
|
dataurl-singlequote-font.css | 25 src: url('data:font/truetype;base64,gRbIUFAIrsQNGditEWbAUKwAA') format("truetype"), 26 url("http://yuilibrary.com/fonts/foo-bar.svg#webfontse22fewwr") format("svg");
|
/external/lldb/test/pexpect-2.4/ |
setup.py | 12 url='http://pexpect.sourceforge.net/', variable
|
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
HttpClient.java | 18 import java.net.URL; 23 void enqueue(URL url) throws Exception;
|