/libcore/ojluni/src/main/java/javax/net/ssl/ |
H A D | SNIMatcher.java | 39 * a particular type, such as host names. 53 // the type of the server name that this matcher performs on 54 private final int type; field in class:SNIMatcher 57 * Creates an {@code SNIMatcher} using the specified server name type. 59 * @param type 60 * the type of the server name that this matcher performs on 62 * @throws IllegalArgumentException if {@code type} is not in the range 65 protected SNIMatcher(int type) { argument 66 if (type < 0) { 68 "Server name type canno [all...] |
H A D | SNIServerName.java | 49 // the type of the server name 50 private final int type; field in class:SNIServerName 59 * Creates an {@code SNIServerName} using the specified name type and 65 * @param type 66 * the type of the server name 70 * @throws IllegalArgumentException if {@code type} is not in the range 74 protected SNIServerName(int type, byte[] encoded) { argument 75 if (type < 0) { 77 "Server name type cannot be less than zero"); 78 } else if (type > 25 [all...] |
/libcore/ojluni/src/main/java/java/security/cert/ |
H A D | CRL.java | 48 // the CRL type 49 private String type; field in class:CRL 52 * Creates a CRL of the specified type. 54 * @param type the standard name of the CRL type. 60 protected CRL(String type) { argument 61 this.type = type; 65 * Returns the type of this CRL. 67 * @return the type o [all...] |
H A D | CertificateFactory.java | 129 * The type and encodings are described in the <a href= 151 // The certificate type 152 private String type; field in class:CertificateFactory 161 * Creates a CertificateFactory object of the given type, and encapsulates 166 * @param type the certificate type. 169 Provider provider, String type) 173 this.type = type; 178 * specified certificate type 168 CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type) argument 203 getInstance(String type) argument 249 getInstance(String type, String provider) argument 293 getInstance(String type, Provider provider) argument [all...] |
H A D | CertPath.java | 42 * All {@code CertPath} objects have a type, a list of 49 * The type is a {@code String} that identifies the type of 124 private String type; // the type of certificates in this chain field in class:CertPath 127 * Creates a {@code CertPath} of the specified type. 132 * @param type the standard name of the type of 135 protected CertPath(String type) { argument 136 this.type 306 private String type; field in class:CertPath.CertPathRep 317 CertPathRep(String type, byte[] data) argument [all...] |
H A D | CertStore.java | 46 * {@code getInstance} methods, passing in the type of 79 * This type is described in the <a href= 103 * the default certstore type. In the Security properties file, the 104 * default certstore type is given as: 106 * certstore.type=LDAP 109 private static final String CERTSTORE_TYPE = "certstore.type"; 112 private String type; field in class:CertStore 116 * Creates a {@code CertStore} object of the given type, and 121 * @param type the type 124 CertStore(CertStoreSpi storeSpi, Provider provider, String type, CertStoreParameters params) argument 233 getInstance(String type, CertStoreParameters params) argument 302 getInstance(String type, CertStoreParameters params, String provider) argument 357 getInstance(String type, CertStoreParameters params, Provider provider) argument [all...] |
/libcore/ojluni/src/main/java/sun/security/jca/ |
H A D | ServiceId.java | 29 * Simple class encapsulating a service type and algorithm for lookup. 37 public final String type; field in class:ServiceId 40 public ServiceId(String type, String algorithm) { argument 41 this.type = type;
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
H A D | CompressionMethod.java | 27 public final int type; field in class:CompressionMethod 30 private CompressionMethod(int type, String name) { argument 31 this.type = type; 35 public static CompressionMethod valueOf(int type) { argument 36 switch (type) { 42 return new CompressionMethod(type, String.valueOf(type)); 55 result = prime * result + type; 71 if (type ! [all...] |
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
H A D | Chunk.java | 33 public int type; // chunk type field in class:Chunk 45 public Chunk(int type, byte[] data, int offset, int length) { argument 46 this.type = type; 56 public Chunk(int type, ByteBuffer buf) { argument 57 this.type = type;
|
H A D | DdmServer.java | 49 * chunk type. 51 * Throws an exception if the type already has a handler registered. 53 public static void registerHandler(int type, ChunkHandler handler) { argument 58 if (mHandlerMap.get(type) != null) 59 throw new RuntimeException("type " + Integer.toHexString(type) 62 mHandlerMap.put(type, handler); 67 * Unregister the existing handler for the specified type. 71 public static ChunkHandler unregisterHandler(int type) { argument 73 return mHandlerMap.remove(type); 102 nativeSendChunk(int type, byte[] data, int offset, int length) argument 141 dispatch(int type, byte[] data, int offset, int length) argument [all...] |
/libcore/ojluni/src/main/java/java/net/ |
H A D | Proxy.java | 29 * This class represents a proxy setting, typically a type (http, socks) and 41 * Represents the proxy type. 60 private Type type; field in class:Proxy 76 type = Type.DIRECT; 88 * @param type the {@code Type} of the proxy 90 * @throws IllegalArgumentException when the type and the address are 93 public Proxy(Type type, SocketAddress sa) { argument 94 if ((type == Type.DIRECT) || !(sa instanceof InetSocketAddress)) 95 throw new IllegalArgumentException("type " + type 105 public Type type() { method in class:Proxy [all...] |
H A D | SocketOption.java | 37 * @param <T> The type of the socket option value. 54 * Returns the type of the socket option value. 56 * @return the type of the socket option value 58 Class<T> type(); method in interface:SocketOption
|
/libcore/ojluni/src/main/java/jdk/net/ |
H A D | ExtendedSocketOptions.java | 40 private final Class<T> type; field in class:ExtendedSocketOptions.ExtSocketOption 41 ExtSocketOption(String name, Class<T> type) { argument 43 this.type = type; 46 @Override public Class<T> type() { return type; } method in class:ExtendedSocketOptions.ExtSocketOption
|
/libcore/luni/src/main/java/libcore/reflect/ |
H A D | AnnotationMember.java | 33 * definition information (such as declared type of element). 43 * The last type is specific for this implementation; a Throwable value 57 * Tag description of a Throwable value type. 62 * Tag description of an array value type. 103 * @param val element value, should be of addmissible type, 123 * @param value element value, should be of addmissible type, 125 * @param m element-defining method, reflected on the annotation type 126 * @param type declared type of this element 127 * (return type o 129 AnnotationMember(String name, Object val, Class type, Method m) argument [all...] |
H A D | ListOfTypes.java | 36 for (Type type : types) { 37 this.types.add(type); 41 void add(Type type) { argument 42 if (type == null) { 43 throw new NullPointerException("type == null"); 45 types.add(type); 68 Type type = unresolved.get(i); 69 if (type instanceof ParameterizedTypeImpl) { 70 result[i] = ((ParameterizedTypeImpl) type).getResolvedType(); 72 result[i] = type; [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | DOMErrorImpl.java | 46 private final String type; field in class:DOMErrorImpl 48 public DOMErrorImpl(short severity, String type) { argument 50 this.type = type; 58 return type; 62 return type;
|
/libcore/ojluni/src/main/java/java/nio/file/ |
H A D | StandardWatchEventKinds.java | 85 private final Class<T> type; field in class:StandardWatchEventKinds.StdWatchEventKind 86 StdWatchEventKind(String name, Class<T> type) { argument 88 this.type = type; 91 @Override public Class<T> type() { return type; } method in class:StandardWatchEventKinds.StdWatchEventKind
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
H A D | CallSite.java | 31 public MethodType type() { return null; } method in class:CallSite
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
H A D | CoderResult.java | 96 private final int type; field in class:CoderResult 99 private CoderResult(int type, int length) { argument 100 this.type = type; 110 String nm = names[type]; 120 return (type == CR_UNDERFLOW); 129 return (type == CR_OVERFLOW); 139 return (type >= CR_ERROR_MIN); 149 return (type == CR_MALFORMED); 160 return (type [all...] |
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
H A D | CallSitesTest.java | 35 final MethodType type = MethodType.methodType(int.class, int.class, int.class); 37 MethodHandles.lookup().findStatic(CallSitesTest.class, "add2", type); 40 assertEquals(type, site.type()); 52 final MethodType type = MethodType.methodType(int.class, int.class, int.class); 54 MethodHandles.lookup().findStatic(CallSitesTest.class, "add2", type); 55 MutableCallSite site = new MutableCallSite(type); 60 final MethodType type = MethodType.methodType(int.class, int.class, int.class); 62 MethodHandles.lookup().findStatic(CallSitesTest.class, "add2", type); 63 VolatileCallSite site = new VolatileCallSite(type); [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
H A D | TypeTest.java | 29 Type type = new Type() { 35 assertEquals("toString", type.getTypeName());
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
H A D | MutableCallSite.java | 85 * Creates a blank call site object with the given method type. 86 * The initial target is set to a method handle of the given type 89 * The type of the call site is permanently set to the given type. 95 * @param type the method type that this call site will have 96 * @throws NullPointerException if the proposed type is null 98 public MutableCallSite(MethodType type) { argument 99 super(type); 104 * The type o [all...] |
H A D | VolatileCallSite.java | 44 * of the given type which will throw an {@code IllegalStateException} if called. 45 * @param type the method type that this call site will have 46 * @throws NullPointerException if the proposed type is null 48 public VolatileCallSite(MethodType type) { argument 49 super(type); 82 * The type of the new target must agree with the type of the old target. 90 * has a method type that differs from the previous target
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | MyCRL.java | 37 * @param type 39 public MyCRL(String type) { argument 40 super(type);
|
H A D | MyFailingCertificate.java | 7 public MyFailingCertificate(String type, byte[] encoding) { argument 8 super(type, encoding);
|