/libcore/luni/src/test/java/libcore/java/net/ |
D | URITest.java | 27 URI uri = new URI("http://username:password@host:8080/directory/file?query#ref"); in testUriParts() local 87 URI uri = new URI("http://user:pass@host/path/file?query#hash"); in testUriSerialization() local 92 URI uri = new URI("http:///path"); in testEmptyHost() local 98 URI uri = new URI("http:/path"); in testNoHost() local 104 URI uri = new URI("http://host"); in testNoPath() local 126 URI uri = new URI("http://user@userhost.com:password@host"); in testAtSignInUserInfo() local 133 URI uri = new URI("http://user@host"); in testUserNoPassword() local 140 URI uri = new URI("http://user@host:8080"); in testUserNoPasswordExplicitPort() local 148 URI uri = new URI("http://user:password@host:8080"); in testUserPasswordHostPort() local 156 URI uri = new URI("http://user:password@:8080"); in testUserPasswordEmptyHostPort() local [all …]
|
D | OldAndroidURITest.java | 32 URI uri = new URI(str); in construct() local 44 private static void resolve(String base, String uri, String expected) { in resolve()
|
D | OldCookieHandlerTest.java | 70 public Map get(URI uri, Map requestHeaders) throws IOException { in get() 75 public void put(URI uri, Map responseHeaders) throws IOException { in put()
|
/libcore/luni/src/main/java/java/net/ |
D | CookieStore.java | 50 void add(URI uri, HttpCookie cookie); in add() 64 List<HttpCookie> get(URI uri); in get() 95 boolean remove(URI uri, HttpCookie cookie); in remove()
|
D | CookieStoreImpl.java | 34 public synchronized void add(URI uri, HttpCookie cookie) { in add() 50 private URI cookiesUri(URI uri) { in cookiesUri() 61 public synchronized List<HttpCookie> get(URI uri) { in get() 125 public synchronized boolean remove(URI uri, HttpCookie cookie) { in remove()
|
D | ProxySelector.java | 117 public abstract List<Proxy> select(URI uri); in select() 129 public abstract void connectFailed(URI uri, SocketAddress address, IOException failure); in connectFailed()
|
D | CookieHandler.java | 55 public abstract Map<String, List<String>> get(URI uri, in get() 69 public abstract void put(URI uri, Map<String, List<String>> responseHeaders) in put()
|
D | ResponseCache.java | 64 public abstract CacheResponse get(URI uri, String requestMethod, in get() 84 public abstract CacheRequest put(URI uri, URLConnection connection) throws IOException; in put()
|
D | ProxySelectorImpl.java | 25 @Override public void connectFailed(URI uri, SocketAddress sa, IOException ioe) { in connectFailed() 31 @Override public List<Proxy> select(URI uri) { in select() 35 private Proxy selectOneProxy(URI uri) { in selectOneProxy()
|
D | URI.java | 214 StringBuilder uri = new StringBuilder(); in URI() local 247 StringBuilder uri = new StringBuilder(); in URI() local 312 StringBuilder uri = new StringBuilder(); in URI() local 349 private void parseURI(String uri, boolean forceServer) throws URISyntaxException { in parseURI() 412 private String validateScheme(String uri, int end) throws URISyntaxException { in validateScheme() 506 private void validateUserInfo(String uri, String userInfo, int index) in validateUserInfo() 618 public int compareTo(URI uri) { in compareTo() 729 public static URI create(String uri) { in create() 826 URI uri = (URI) o; in equals() local
|
D | CookiePolicy.java | 67 boolean shouldAccept(URI uri, HttpCookie cookie); in shouldAccept()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | URITest.java | 231 URI uri = new URI("http://host:-8096/path/index.html"); in test_ConstructorLjava_lang_String() local 265 URI uri = new URI("path[one"); in test_URI_String() local 273 URI uri = new URI(" "); in test_URI_String() local 287 URI uri = new URI("mailto", "mduerst@ifi.unizh.ch", null); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() local 378 URI uri; in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringILjava_lang_StringLjava_lang_StringLjava_lang_String() local 403 URI uri = new URI(scheme, userinfo, host, port, path, query, in construct1() local 429 URI uri; in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() local 478 URI uri = new URI("ht12-3+tp", "", "/p#a%E2%82%ACth", "q^u%25ery", in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_StringLjava_lang_String() local 513 URI uri = new URI("ftp", "[0001:1234::0001]", "/dir1/dir2", "query", in test_fiveArgConstructor() local 615 URI uri, uri2; in test_compareTo2() local [all …]
|
D | CookieManagerTest.java | 35 private static void checkValidParams4Get(URI uri, in checkValidParams4Get() 47 private static void checkValidParams4Put(URI uri, in checkValidParams4Put() 99 URI uri = new URI(cookies[i][j]); in store() local 231 public void add(URI uri, HttpCookie cookie) { in testCookieManager_LCookieStore_LCookiePolicy() 235 public List<HttpCookie> get(URI uri) { in testCookieManager_LCookieStore_LCookiePolicy() 247 public boolean remove(URI uri, HttpCookie cookie) { in testCookieManager_LCookieStore_LCookiePolicy() 274 URI uri = new URI("http://a.b.c"); in test_SetCookiePolicy_LCookiePolicy() local
|
D | CookieHandlerTest.java | 53 public Map get(URI uri, Map requestHeaders) throws IOException { in get() 57 public void put(URI uri, Map responseHeaders) throws IOException { in put()
|
D | CookiePolicyTest.java | 35 URI uri = new URI(""); in test_ShouldAccept_LURI_LHttpCookie() local
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | NamespaceSupport.java | 292 public boolean declarePrefix (String prefix, String uri) in declarePrefix() 415 public String getPrefix (String uri) in getPrefix() 444 public Enumeration getPrefixes(String uri) { in getPrefixes() 597 void declarePrefix(String prefix, String uri) { in declarePrefix() 687 String uri; in processName() local 738 String getPrefix (String uri) in getPrefix()
|
D | AttributesImpl.java | 199 public int getIndex (String uri, String localName) in getIndex() 240 public String getType (String uri, String localName) in getType() 282 public String getValue (String uri, String localName) in getValue() 379 public void addAttribute (String uri, String localName, String qName, in addAttribute() 413 public void setAttribute (int index, String uri, String localName, in setAttribute() 466 public void setURI (int index, String uri) in setURI()
|
D | DefaultHandler.java | 221 public void startPrefixMapping (String prefix, String uri) in startPrefixMapping() 270 public void startElement (String uri, String localName, in startElement() 298 public void endElement (String uri, String localName, String qName) in endElement()
|
/libcore/luni/src/main/java/org/xml/sax/ |
D | Attributes.java | 184 public int getIndex (String uri, String localName); in getIndex() 210 public abstract String getType (String uri, String localName); in getType() 239 public abstract String getValue (String uri, String localName); in getValue()
|
D | ContentHandler.java | 169 public void startPrefixMapping (String prefix, String uri) in startPrefixMapping() 257 public void startElement (String uri, String localName, in startElement() 283 public void endElement (String uri, String localName, in endElement()
|
/libcore/luni/src/main/java/org/xml/sax/ext/ |
D | Attributes2.java | 88 public boolean isDeclared (String uri, String localName); in isDeclared() 119 public boolean isSpecified (String uri, String localName); in isSpecified()
|
D | Attributes2Impl.java | 95 public boolean isDeclared (String uri, String localName) in isDeclared() 149 public boolean isSpecified (String uri, String localName) in isSpecified() 240 public void addAttribute (String uri, String localName, String qName, in addAttribute()
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
D | ExpatAttributes.java | 77 public int getIndex(String uri, String localName) { in getIndex() 102 public String getType(String uri, String localName) { in getType() 116 public String getValue(String uri, String localName) { in getValue() 145 private static native int getIndex(long attributePointer, String uri, String localName); in getIndex() 147 private static native String getValue(long attributePointer, String uri, String localName); in getValue()
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactory.java | 133 public static final XPathFactory newInstance(final String uri) in newInstance() 165 public static XPathFactory newInstance(String uri, String factoryClassName, in newInstance()
|
D | XPathFactoryFinder.java | 128 public XPathFactory newFactory(String uri) { in newFactory() 148 private XPathFactory _newFactory(String uri) { in _newFactory() 269 private XPathFactory loadFromServicesFile(String uri, String resourceName, InputStream in) { in loadFromServicesFile()
|