Searched refs:type (Results 1 - 25 of 156) sorted by relevance

1234567

/libcore/luni/src/main/java/java/security/cert/
H A DCRL.java28 // The CRL type
29 private final String type; field in class:CRL
32 * Creates a new certificate revocation list of the specified type.
34 * @param type
35 * the type for the CRL.
37 protected CRL(String type) { argument
38 this.type = type;
42 * Returns the type of this CRL.
44 * @return the type o
[all...]
H A DCertStore.java42 private static final String PROPERTYNAME = "certstore.type";
44 // Default value of CertStore type. It returns if certpathbuild.type
54 // Store used type
55 private final String type; field in class:CertStore
67 * @param type
68 * the certificate store type.
72 protected CertStore(CertStoreSpi storeSpi, Provider provider, String type, argument
75 this.type = type;
97 getInstance(String type, CertStoreParameters params) argument
138 getInstance(String type, CertStoreParameters params, String provider) argument
171 getInstance(String type, CertStoreParameters params, Provider provider) argument
[all...]
H A DCertificateFactory.java52 // Store used type
53 private final String type; field in class:CertificateFactory
62 * @param type
63 * the certificate type.
66 Provider provider, String type) {
68 this.type = type;
74 * requested certificate type.
76 * @param type
77 * the certificate type
65 CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type) argument
84 getInstance(String type) argument
116 getInstance(String type, String provider) argument
147 getInstance(String type, Provider provider) argument
[all...]
H A DCertPath.java30 * path are of the same type (i.e., X509).
44 // Standard name of the type of certificates in this path
45 private final String type; field in class:CertPath
49 * type.
51 * @param type
52 * the certificate type.
54 protected CertPath(String type) { argument
55 this.type = type;
59 * Returns the type o
190 private final String type; field in class:CertPath.CertPathRep
210 CertPathRep(String type, byte[] data) argument
[all...]
H A DCertificate.java41 // The standard name of the certificate type
42 private final String type; field in class:Certificate
45 * Creates a new {@code Certificate} with the specified type.
47 * @param type
48 * the certificate type.
50 protected Certificate(String type) { argument
51 this.type = type;
55 * Returns the certificate type.
57 * @return the certificate type
211 private final String type; field in class:Certificate.CertificateRep
231 CertificateRep(String type, byte[] data) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/luni/lang/reflect/
H A DTypes.java27 public static Type getType(Type type) { argument
28 if (type instanceof ImplForType) {
29 return ((ImplForType)type).getResolvedType();
31 return type;
H A DListOfTypes.java35 for (Type type : types) {
36 this.types.add(type);
40 void add(Type type) { argument
41 if (type == null) {
42 throw new NullPointerException("type == null");
44 types.add(type);
59 Type type = unresolved.get(i);
61 result[i] = ((ImplForType) type).getResolvedType();
63 result[i] = type;
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
H A DASN1ValueCollection.java29 * This abstract class represents ASN.1 collection type.
31 * The value for such type is a collection of zero or
32 * more occurrences of a provided type.
38 /** A value collection of this ASN.1 type */
39 public final ASN1Type type; field in class:ASN1ValueCollection
42 * Constructs ASN1 collection type.
44 public ASN1ValueCollection(int tagNumber, ASN1Type type) { argument
46 this.type = type;
H A DASN1Implicit.java29 * Implicitly tagged ASN.1 type.
35 /** primitive type of tagging */
38 /** constructed type of tagging */
41 /** string type of tagging */
44 /** tagged ASN.1 type */
45 private final ASN1Type type; field in class:ASN1Implicit
48 * type of tagging. There are three of them
56 * Constructs implicitly tagged ASN.1 type
60 * @param type - ASN.1 type t
63 ASN1Implicit(int tagNumber, ASN1Type type) argument
[all...]
H A DASN1TypeCollection.java27 * This abstract class represents ASN.1 type that is a collection of ASN.1 types.
33 public final ASN1Type[] type; field in class:ASN1TypeCollection
40 * Constructs ASN.1 collection type.
43 * @param type a collection of one or more ASN.1 types.
46 protected ASN1TypeCollection(int tagNumber, ASN1Type[] type) { argument
48 this.type = type;
49 this.OPTIONAL = new boolean[type.length];
50 this.DEFAULT = new Object[type.length];
86 throw new RuntimeException("ASN.1 type i
[all...]
H A DASN1Explicit.java28 * This class represents explicitly tagged ASN.1 type.
34 /** Tagged type */
35 public final ASN1Type type; field in class:ASN1Explicit
38 * Constructs explicitly tagged ASN.1 type
42 * @param type - ASN.1 type to be tagged
45 public ASN1Explicit(int tagNumber, ASN1Type type) { argument
46 this(CLASS_CONTEXTSPECIFIC, tagNumber, type);
50 * Constructs explicitly tagged ASN.1 type.
54 * @param type
57 ASN1Explicit(int tagClass, int tagNumber, ASN1Type type) argument
[all...]
H A DASN1Sequence.java29 * This class represents ASN.1 Sequence type.
35 public ASN1Sequence(ASN1Type[] type) { argument
36 super(TAG_SEQUENCE, type);
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
H A DChunk.java33 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 DDdmServer.java48 * chunk type.
50 * Throws an exception if the type already has a handler registered.
52 public static void registerHandler(int type, ChunkHandler handler) { argument
57 if (mHandlerMap.get(type) != null)
58 throw new RuntimeException("type " + Integer.toHexString(type)
61 mHandlerMap.put(type, handler);
66 * Unregister the existing handler for the specified type.
70 public static ChunkHandler unregisterHandler(int type) { argument
72 return mHandlerMap.remove(type);
100 nativeSendChunk(int type, byte[] data, int offset, int length) argument
139 dispatch(int type, byte[] data, int offset, int length) argument
[all...]
/libcore/luni/src/main/java/java/net/
H A DProxy.java20 * Proxy} stores a type and an address and is immutable. There are three types
30 * Represents the proxy type setting {@code Proxy.Type.DIRECT}. It tells
36 private Proxy.Type type; field in class:Proxy
42 * {@code null} when {@code type} is either {@code Proxy.Type.HTTP} or
44 * the proxy type {@code Proxy.Type.DIRECT}, use {@code Proxy.NO_PROXY}
47 * @param type
48 * the proxy type of this instance.
52 * if the parameter {@code type} is set to {@code
56 public Proxy(Proxy.Type type, SocketAddress sa) { argument
58 * Don't use DIRECT type t
82 public Proxy.Type type() { method in class:Proxy
[all...]
/libcore/luni/src/main/java/java/io/
H A DObjectStreamField.java37 // Declared type of the field
38 private Object type; field in class:ObjectStreamField
43 // Cached version of intern'ed type String
51 * Constructs an ObjectStreamField with the specified name and type.
56 * the type of the field.
67 this.type = new WeakReference<Class<?>>(cl);
71 * Constructs an ObjectStreamField with the specified name, type and the
77 * the type of the field.
92 this.type = (cl.getClassLoader() == null) ? cl : new WeakReference<Class<?>>(cl);
97 * Constructs an ObjectStreamField with the given name and the given type
210 typeCodeOf(Class<?> type) argument
[all...]
/libcore/luni/src/main/java/org/apache/harmony/lang/annotation/
H A DAnnotationMember.java33 * 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...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDOMErrorImpl.java46 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/support/src/test/java/org/apache/harmony/security/tests/support/cert/
H A DMyCRL.java37 * @param type
39 public MyCRL(String type) { argument
40 super(type);
H A DMyFailingCertificate.java7 public MyFailingCertificate(String type, byte[] encoding) { argument
8 super(type, encoding);
/libcore/luni/src/main/java/java/nio/charset/
H A DCoderResult.java33 * input units has been encountered. Get an instance of this type of result by
37 * can not be mapped to the output charset. Get an instance of this type of
44 // indicating underflow error type
47 // indicating overflow error type
50 // indicating malformed-input error type
53 // indicating unmappable character error type
81 // the type of this result
82 private final int type; field in class:CoderResult
90 * @param type
91 * the type o
95 CoderResult(int type, int length) argument
[all...]
/libcore/luni/src/main/java/java/security/
H A DKeyRep.java37 // Key type
38 private final Type type; field in class:KeyRep
51 * @param type
52 * the type of the key.
61 * if {@code type, algorithm, format or encoded} is {@code null}
64 public KeyRep(Type type, String algorithm, String format, byte[] encoded) { argument
65 this.type = type;
69 if(this.type == null) {
70 throw new NullPointerException("type
[all...]
/libcore/luni/src/main/java/org/w3c/dom/ls/
H A DLSResourceResolver.java53 * @param type The type of the resource being resolved. For XML [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>] resources
75 public LSInput resolveResource(String type, argument
/libcore/luni/src/main/java/java/lang/reflect/
H A DField.java66 private Class<?> type; field in class:Field
98 this(orig.declaringClass, orig.type, orig.name, orig.slot);
106 private Field(Class<?> declaringClass, Class<?> type, String name, int slot) { argument
108 this.type = type;
156 * generic type.
167 // append generic type
187 * Returns the generic type of this field.
189 * @return the generic type
193 * if the generic type point
880 getField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck) argument
883 getDField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
886 getIField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
889 getJField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
892 getZField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
895 getFField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
898 getCField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
901 getSField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
904 getBField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor) argument
907 setField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, Object value) argument
910 setDField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, double v) argument
913 setIField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, int i) argument
916 setJField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, long j) argument
919 setZField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, boolean z) argument
922 setFField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, float f) argument
925 setCField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, char c) argument
928 setSField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, short s) argument
931 setBField(Object o, Class<?> declaringClass, Class<?> type, int slot, boolean noAccessCheck, char descriptor, byte b) argument
[all...]
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DKeyStoreTestSupport.java64 private String type; field in class:KeyStoreTestSupport.SKey
68 public SKey(String type, byte[] encoded) { argument
69 this.type = type;
74 return type;
121 private final String type; field in class:KeyStoreTestSupport.MCertificate
123 public MCertificate(String type, byte[] encoding) { argument
124 super(type);
126 this.type = type;
[all...]

Completed in 522 milliseconds

1234567