Searched refs:type (Results 1 - 25 of 163) 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 PROPERTY_NAME = "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
173 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
148 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
187 private final String type; field in class:CertPath.CertPathRep
207 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/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/libcore/reflect/
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...]
H A DListOfTypes.java36 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);
70 result[i] = ((ParameterizedTypeImpl) type).getResolvedType();
72 result[i] = type;
/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/dex/src/main/java/com/android/dex/
H A DEncodedValueReader.java42 /** placeholder type if the type is not yet known */
46 private int type = MUST_READ; field in class:EncodedValueReader
60 * known type. This is useful for encoded values without a type prefix,
66 this.type = knownType;
74 * Returns the type of the next value to read.
77 if (type == MUST_READ) {
79 type = argAndType & 0x1f;
82 return type;
[all...]
/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/benchmarks/src/benchmarks/regression/
H A DEqualsHashCodeBenchmark.java41 @Param Type type; field in class:EqualsHashCodeBenchmark
52 a1 = type.newInstance("https://mail.google.com/mail/u/0/?shva=1#inbox");
53 a2 = type.newInstance("https://mail.google.com/mail/u/0/?shva=1#inbox");
54 b1 = type.newInstance("http://developer.android.com/reference/java/net/URI.html");
55 b2 = type.newInstance("http://developer.android.com/reference/java/net/URI.html");
57 c1 = type.newInstance("http://developer.android.com/query?q=" + QUERY);
59 c2 = type.newInstance("http://developer.android.com/query?q=" + QUERY.substring(0, QUERY.length() - 3) + "%AF");
/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/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 4910 milliseconds

1234567