/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLContext.java | 96 private final String protocol; field in SSLContext 106 String protocol) { in SSLContext() argument 109 this.protocol = protocol; in SSLContext() 197 public static SSLContext getInstance(String protocol) in getInstance() argument 200 ("SSLContext", SSLContextSpi.class, protocol); in getInstance() 202 protocol); in getInstance() 240 public static SSLContext getInstance(String protocol, String provider) in getInstance() argument 243 ("SSLContext", SSLContextSpi.class, protocol, provider); in getInstance() 245 protocol); in getInstance() 277 public static SSLContext getInstance(String protocol, Provider provider) in getInstance() argument [all …]
|
D | TEST_MAPPING | 16 "include-filter": "org.apache.harmony.luni.tests.internal.net.www.protocol.https"
|
/libcore/ojluni/src/main/java/java/net/ |
D | URL.java | 169 private String protocol; field in URL 313 public URL(String protocol, String host, int port, String file) in URL() argument 316 this(protocol, host, port, file, null); in URL() 337 public URL(String protocol, String host, String file) in URL() argument 339 this(protocol, host, -1, file); in URL() 381 public URL(String protocol, String host, int port, String file, in URL() argument 391 protocol = protocol.toLowerCase(); in URL() 392 this.protocol = protocol; in URL() 428 (handler = getURLStreamHandler(protocol)) == null) { in URL() 429 throw new MalformedURLException("unknown protocol: " + protocol); in URL() [all …]
|
D | Authenticator.java | 163 String protocol, in requestPasswordAuthentication() argument 182 a.requestingProtocol = protocol; in requestPasswordAuthentication() 225 String protocol, in requestPasswordAuthentication() argument 245 a.requestingProtocol = protocol; in requestPasswordAuthentication() 290 String protocol, in requestPasswordAuthentication() argument 312 a.requestingProtocol = protocol; in requestPasswordAuthentication()
|
D | URLStreamHandlerFactory.java | 50 URLStreamHandler createURLStreamHandler(String protocol); in createURLStreamHandler() argument
|
D | URLStreamHandler.java | 124 String protocol = u.getProtocol(); in parseURL() local 368 setURL(u, protocol, host, port, authority, userInfo, path, query, ref); in parseURL() 566 protected void setURL(URL u, String protocol, String host, int port, in setURL() argument 594 protected void setURL(URL u, String protocol, String host, int port, in setURL() argument 624 setURL(u, protocol, host, port, authority, userInfo, path, query, ref); in setURL()
|
/libcore/ojluni/src/main/java/sun/net/util/ |
D | URLUtil.java | 47 String protocol = url.getProtocol(); in urlNoFragString() local 48 if (protocol != null) { in urlNoFragString() 50 protocol = protocol.toLowerCase(); in urlNoFragString() 51 strForm.append(protocol); in urlNoFragString()
|
/libcore/ojluni/src/main/java/sun/net/spi/ |
D | DefaultProxySelector.java | 158 String protocol = uri.getScheme(); in select() local 184 if (protocol == null || host == null) { in select() 185 throw new IllegalArgumentException("protocol = "+protocol+" host = "+host); in select() 191 if ("http".equalsIgnoreCase(protocol)) { in select() 193 } else if ("https".equalsIgnoreCase(protocol)) { in select() 199 } else if ("ftp".equalsIgnoreCase(protocol)) { in select() 201 } else if ("socket".equalsIgnoreCase(protocol)) { in select() 208 final String proto = protocol; in select() 345 private int defaultPort(String protocol) { in defaultPort() argument 346 if ("http".equalsIgnoreCase(protocol)) { in defaultPort() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | URL.java | 34 public URL(java.lang.String protocol, java.lang.String host, int port, java.lang.String file) in URL() argument 39 public URL(java.lang.String protocol, java.lang.String host, java.lang.String file) in URL() argument 45 java.lang.String protocol, in URL() argument 67 private boolean isValidProtocol(java.lang.String protocol) { in isValidProtocol() argument 76 java.lang.String protocol, in set() argument 85 java.lang.String protocol, in set() argument 184 static java.net.URLStreamHandler getURLStreamHandler(java.lang.String protocol) { in getURLStreamHandler() argument 188 private static java.net.URLStreamHandler createBuiltinHandler(java.lang.String protocol) in createBuiltinHandler() argument 261 private java.lang.String protocol; field in URL
|
D | Authenticator.java | 48 java.lang.String protocol, in requestPasswordAuthentication() argument 58 java.lang.String protocol, in requestPasswordAuthentication() argument 68 java.lang.String protocol, in requestPasswordAuthentication() argument
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | Handler.java | 26 package sun.net.www.protocol.jar; 99 String protocol = u.getProtocol(); in hashCode() local 100 if (protocol != null) in hashCode() 101 h += protocol.hashCode(); in hashCode()
|
D | JarFileFactory.java | 26 package sun.net.www.protocol.jar;
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldURLStreamHandlerTest.java | 213 String protocol, in setURL() argument 218 super.setURL(u, protocol, host, port, file, ref); in setURL() 222 String protocol, in setURL() argument 230 super.setURL(u, protocol, host, port, authority, in setURL()
|
D | URLStreamHandlerFactoryTest.java | 125 @Override public URLStreamHandler createURLStreamHandler(String protocol) { in createURLStreamHandler() argument
|
D | URLTest.java | 196 protocol -> new libcore.java.net.customstreamhandler.http.Handler()); in withCustomURLStreamHandlerFactory() 261 String protocol, String host, int port, String authority, String file) { in assertFields() argument 263 asList(protocol, host, port, authority, file), in assertFields() 460 for (String protocol : Arrays.asList("file", "ftp", "jar", "http", "https")) { in testCommonProtocolsAreHandledByBuiltinHandlers() 462 (URLStreamHandler) getURLStreamHandler.invoke(null, protocol); in testCommonProtocolsAreHandledByBuiltinHandlers() 463 assertNotNull("Handler for protocol " + protocol + " should exist", handler); in testCommonProtocolsAreHandledByBuiltinHandlers()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | TestSSLContext.java | 263 String protocol = "TLSv1.2"; in createWithAdditionalKeyManagers() local 267 createSSLContext(protocol, clientKeyManagers, client.trustManagers); in createWithAdditionalKeyManagers() 269 createSSLContext(protocol, serverKeyManagers, server.trustManagers); in createWithAdditionalKeyManagers() 317 public static final SSLContext createSSLContext(final String protocol, in createSSLContext() argument 322 SSLContext context = SSLContext.getInstance(protocol); in createSSLContext()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/ |
D | FileURLConnectionTest.java | 17 package org.apache.harmony.tests.internal.net.www.protocol.file;
|
/libcore/luni/src/module/java/ |
D | module-info.java | 84 exports sun.net.www.protocol.file; 85 exports sun.net.www.protocol.ftp; 86 exports sun.net.www.protocol.jar;
|
/libcore/luni/src/main/java/java/net/ |
D | TEST_MAPPING | 10 "include-filter": "org.apache.harmony.luni.tests.internal.net.www.protocol.http"
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/ |
D | Handler.java | 30 package sun.net.www.protocol.ftp;
|
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 371 … @Override public FileDescriptor socket(int domain, int type, int protocol) throws ErrnoException { in socket() argument 372 final FileDescriptor fd = super.socket(domain, type, protocol); in socket() 379 …@Override public void socketpair(int domain, int type, int protocol, FileDescriptor fd1, FileDescr… in socketpair() argument 380 super.socketpair(domain, type, protocol, fd1, fd2); in socketpair()
|
D | ClassPathURLStreamHandler.java | 32 import sun.net.www.protocol.jar.Handler;
|
D | ForwardingOs.java | 216 …riptor socket(int domain, int type, int protocol) throws ErrnoException { return os.socket(domain,… in socket() argument 217 …omain, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { os.… in socketpair() argument
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/ |
D | Handler.java | 26 package sun.net.www.protocol.file;
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 641 …or socket(int domain, int type, int protocol) throws ErrnoException { return Libcore.os.socket(dom… in socket() argument 646 …n, int type, int protocol, FileDescriptor fd1, FileDescriptor fd2) throws ErrnoException { Libcore… in socketpair() argument
|