/libcore/ojluni/src/main/java/java/net/ |
D | Proxy.java | 60 private Type type; field in Proxy 76 type = type.DIRECT; in Proxy() 93 public Proxy(Type type, SocketAddress sa) { in Proxy() argument 94 if ((type == Type.DIRECT) || !(sa instanceof InetSocketAddress)) in Proxy() 95 … throw new IllegalArgumentException("type " + type + " is not compatible with address " + sa); in Proxy() 96 this.type = type; in Proxy() 105 public Type type() { in type() method in Proxy 106 return type; in type() 129 if (type() == Type.DIRECT) in toString() 131 return type() + " @ " + address(); in toString() [all …]
|
/libcore/ojluni/src/main/java/sun/security/validator/ |
D | ValidatorException.java | 64 private Object type; field in ValidatorException 76 public ValidatorException(Object type) { in ValidatorException() argument 77 this(type, null); in ValidatorException() 80 public ValidatorException(Object type, X509Certificate cert) { in ValidatorException() argument 81 super((String)type); in ValidatorException() 82 this.type = type; in ValidatorException() 86 public ValidatorException(Object type, X509Certificate cert, in ValidatorException() argument 88 this(type, cert); in ValidatorException() 92 public ValidatorException(String msg, Object type, X509Certificate cert) { in ValidatorException() argument 94 this.type = type; in ValidatorException() [all …]
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotationMember.java | 129 public AnnotationMember(String name, Object val, Class type, Method m) { in AnnotationMember() argument 134 if (type == int.class) { in AnnotationMember() 136 } else if (type == boolean.class) { in AnnotationMember() 138 } else if (type == char.class) { in AnnotationMember() 140 } else if (type == float.class) { in AnnotationMember() 142 } else if (type == double.class) { in AnnotationMember() 144 } else if (type == long.class) { in AnnotationMember() 146 } else if (type == short.class) { in AnnotationMember() 148 } else if (type == byte.class) { in AnnotationMember() 151 elementType = type; in AnnotationMember() [all …]
|
D | ListOfTypes.java | 36 for (Type type : types) { in ListOfTypes() 37 this.types.add(type); in ListOfTypes() 41 void add(Type type) { in add() argument 42 if (type == null) { in add() 45 types.add(type); in add() 68 Type type = unresolved.get(i); in resolveTypes() local 69 if (type instanceof ParameterizedTypeImpl) { in resolveTypes() 70 result[i] = ((ParameterizedTypeImpl) type).getResolvedType(); in resolveTypes() 72 result[i] = type; in resolveTypes()
|
D | Types.java | 54 public static Type getType(Type type) { in getType() argument 55 if (type instanceof ParameterizedTypeImpl) { in getType() 56 return ((ParameterizedTypeImpl)type).getResolvedType(); in getType() 58 return type; in getType() 125 public static void appendGenericType(StringBuilder out, Type type) { in appendGenericType() argument 126 if (type instanceof TypeVariable) { in appendGenericType() 127 out.append(((TypeVariable) type).getName()); in appendGenericType() 128 } else if (type instanceof ParameterizedType) { in appendGenericType() 129 out.append(type.toString()); in appendGenericType() 130 } else if (type instanceof GenericArrayType) { in appendGenericType() [all …]
|
/libcore/support/src/test/java/libcore/tlswire/handshake/ |
D | CompressionMethod.java | 27 public final int type; field in CompressionMethod 30 private CompressionMethod(int type, String name) { in CompressionMethod() argument 31 this.type = type; in CompressionMethod() 35 public static CompressionMethod valueOf(int type) { in valueOf() argument 36 switch (type) { in valueOf() 42 return new CompressionMethod(type, String.valueOf(type)); in valueOf() 55 result = prime * result + type; in hashCode() 71 if (type != other.type) { in equals()
|
/libcore/dex/src/main/java/com/android/dex/ |
D | EncodedValueReader.java | 46 private int type = MUST_READ; field in EncodedValueReader 66 this.type = knownType; in EncodedValueReader() 77 if (type == MUST_READ) { in peek() 79 type = argAndType & 0x1f; in peek() 82 return type; in peek() 97 type = MUST_READ; in readArray() 116 type = MUST_READ; in readAnnotation() 136 type = MUST_READ; in readByte() 142 type = MUST_READ; in readShort() 148 type = MUST_READ; in readChar() [all …]
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SNIServerName.java | 50 private final int type; field in SNIServerName 74 protected SNIServerName(int type, byte[] encoded) { in SNIServerName() argument 75 if (type < 0) { in SNIServerName() 78 } else if (type > 255) { in SNIServerName() 82 this.type = type; in SNIServerName() 98 return type; in getType() 128 return (this.type == that.type) && in equals() 143 result = 31 * result + type; in hashCode() 183 if (type == StandardConstants.SNI_HOST_NAME) { in toString() 186 return "type=(" + type + "), value=" + toHexString(encoded); in toString()
|
D | SNIMatcher.java | 54 private final int type; field in SNIMatcher 65 protected SNIMatcher(int type) { in SNIMatcher() argument 66 if (type < 0) { in SNIMatcher() 69 } else if (type > 255) { in SNIMatcher() 74 this.type = type; in SNIMatcher() 85 return type; in getType()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertPath.java | 124 private String type; // the type of certificates in this chain field in CertPath 135 protected CertPath(String type) { in CertPath() argument 136 this.type = type; in CertPath() 149 return type; in getType() 186 if (! otherCP.getType().equals(type)) in equals() 210 int hashCode = type.hashCode(); in hashCode() 227 sb.append("\n" + type + " Cert Path: length = " in toString() 287 return new CertPathRep(type, getEncoded()); in writeReplace() 291 ("java.security.cert.CertPath: " + type); in writeReplace() 306 private String type; field in CertPath.CertPathRep [all …]
|
D | CertificateFactory.java | 152 private String type; field in CertificateFactory 169 Provider provider, String type) in CertificateFactory() argument 173 this.type = type; in CertificateFactory() 203 public static final CertificateFactory getInstance(String type) in getInstance() argument 207 CertificateFactorySpi.class, type); in getInstance() 209 instance.provider, type); in getInstance() 211 throw new CertificateException(type + " not found", e); in getInstance() 249 public static final CertificateFactory getInstance(String type, in getInstance() argument 254 CertificateFactorySpi.class, type, provider); in getInstance() 256 instance.provider, type); in getInstance() [all …]
|
D | Certificate.java | 66 private final String type; field in Certificate 77 protected Certificate(String type) { in Certificate() argument 78 this.type = type; in Certificate() 87 return this.type; in getType() 211 private String type; field in Certificate.CertificateRep 224 protected CertificateRep(String type, byte[] data) { in CertificateRep() argument 225 this.type = type; in CertificateRep() 241 CertificateFactory cf = CertificateFactory.getInstance(type); in readResolve() 247 type + in readResolve() 265 return new CertificateRep(type, getEncoded()); in writeReplace() [all …]
|
D | CertStore.java | 112 private String type; field in CertStore 125 String type, CertStoreParameters params) { in CertStore() argument 128 this.type = type; in CertStore() 233 public static CertStore getInstance(String type, CertStoreParameters params) in getInstance() argument 238 CertStoreSpi.class, type, params); in getInstance() 240 instance.provider, type, params); in getInstance() 302 public static CertStore getInstance(String type, in getInstance() argument 308 CertStoreSpi.class, type, params, provider); in getInstance() 310 instance.provider, type, params); in getInstance() 357 public static CertStore getInstance(String type, CertStoreParameters params, in getInstance() argument [all …]
|
D | CRL.java | 49 private String type; field in CRL 60 protected CRL(String type) { in CRL() argument 61 this.type = type; in CRL() 70 return this.type; in getType()
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | GetInstance.java | 64 public static Service getService(String type, String algorithm) in getService() argument 67 Service s = list.getService(type, algorithm); in getService() 70 (algorithm + " " + type + " not available"); in getService() 75 public static Service getService(String type, String algorithm, in getService() argument 85 Service s = p.getService(type, algorithm); in getService() 93 public static Service getService(String type, String algorithm, in getService() argument 98 Service s = provider.getService(type, algorithm); in getService() 112 public static List<Service> getServices(String type, String algorithm) { in getServices() argument 114 return list.getServices(type, algorithm); in getServices() 123 public static List<Service> getServices(String type, in getServices() argument [all …]
|
/libcore/ojluni/src/main/java/java/io/ |
D | ObjectStreamField.java | 52 private final Class<?> type; field in ObjectStreamField 67 public ObjectStreamField(String name, Class<?> type) { in ObjectStreamField() argument 68 this(name, type, false); in ObjectStreamField() 88 public ObjectStreamField(String name, Class<?> type, boolean unshared) { in ObjectStreamField() argument 93 this.type = type; in ObjectStreamField() 95 signature = getClassSignature(type).intern(); in ObjectStreamField() 113 case 'Z': type = Boolean.TYPE; break; in ObjectStreamField() 114 case 'B': type = Byte.TYPE; break; in ObjectStreamField() 115 case 'C': type = Character.TYPE; break; in ObjectStreamField() 116 case 'S': type = Short.TYPE; break; in ObjectStreamField() [all …]
|
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
D | Chunk.java | 33 public int type; // chunk type field in Chunk 45 public Chunk(int type, byte[] data, int offset, int length) { in Chunk() argument 46 this.type = type; in Chunk() 56 public Chunk(int type, ByteBuffer buf) { in Chunk() argument 57 this.type = type; in Chunk()
|
D | DdmServer.java | 52 public static void registerHandler(int type, ChunkHandler handler) { in registerHandler() argument 57 if (mHandlerMap.get(type) != null) in registerHandler() 58 throw new RuntimeException("type " + Integer.toHexString(type) in registerHandler() 61 mHandlerMap.put(type, handler); in registerHandler() 70 public static ChunkHandler unregisterHandler(int type) { in unregisterHandler() argument 72 return mHandlerMap.remove(type); in unregisterHandler() 96 nativeSendChunk(chunk.type, chunk.data, chunk.offset, chunk.length); in sendChunk() 100 native private static void nativeSendChunk(int type, byte[] data, in nativeSendChunk() argument 139 private static Chunk dispatch(int type, byte[] data, int offset, int length) in dispatch() argument 162 handler = mHandlerMap.get(type); in dispatch() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyRep.java | 88 private Type type; field in KeyRep 130 public KeyRep(Type type, String algorithm, in KeyRep() argument 133 if (type == null || algorithm == null || in KeyRep() 138 this.type = type; in KeyRep() 170 if (type == Type.SECRET && RAW.equals(format)) { in readResolve() 172 } else if (type == Type.PUBLIC && X509.equals(format)) { in readResolve() 175 } else if (type == Type.PRIVATE && PKCS8.equals(format)) { in readResolve() 181 type + "/" + format); in readResolve() 188 "[" + type + "] " + in readResolve()
|
D | Provider.java | 539 private final String type; field in Provider.ServiceKey 542 private ServiceKey(String type, String algorithm, boolean intern) { in ServiceKey() argument 543 this.type = type; in ServiceKey() 549 return type.hashCode() + algorithm.hashCode(); in hashCode() 559 return this.type.equals(other.type) in equals() 562 boolean matches(String type, String algorithm) { in matches() argument 563 return (this.type == type) && (this.originalAlgorithm == algorithm); in matches() 611 String type = key.substring(0, i); in getTypeAndAlgorithm() local 613 return new String[] {type, alg}; in getTypeAndAlgorithm() 630 String type = typeAndAlg[0]; in parseLegacyPut() local [all …]
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | CoderResult.java | 96 private final int type; field in CoderResult 99 private CoderResult(int type, int length) { in CoderResult() argument 100 this.type = type; in CoderResult() 110 String nm = names[type]; in toString() 120 return (type == CR_UNDERFLOW); in isUnderflow() 129 return (type == CR_OVERFLOW); in isOverflow() 139 return (type >= CR_ERROR_MIN); in isError() 150 return (type == CR_MALFORMED); in isMalformed() 161 return (type == CR_UNMAPPABLE); in isUnmappable() 274 switch (type) { in throwException()
|
/libcore/ojluni/src/main/java/sun/reflect/annotation/ |
D | AnnotationType.java | 112 Class<?> type = method.getReturnType(); in AnnotationType() local 113 memberTypes.put(name, invocationHandlerReturnType(type)); in AnnotationType() 141 public static Class<?> invocationHandlerReturnType(Class<?> type) { in invocationHandlerReturnType() argument 143 if (type == byte.class) in invocationHandlerReturnType() 145 if (type == char.class) in invocationHandlerReturnType() 147 if (type == double.class) in invocationHandlerReturnType() 149 if (type == float.class) in invocationHandlerReturnType() 151 if (type == int.class) in invocationHandlerReturnType() 153 if (type == long.class) in invocationHandlerReturnType() 155 if (type == short.class) in invocationHandlerReturnType() [all …]
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | KeyStoreTestSupport.java | 64 private String type; field in KeyStoreTestSupport.SKey 68 public SKey(String type, byte[] encoded) { in SKey() argument 69 this.type = type; in SKey() 74 return type; in getAlgorithm() 121 private final String type; field in KeyStoreTestSupport.MCertificate 123 public MCertificate(String type, byte[] encoding) { in MCertificate() argument 124 super(type); in MCertificate() 126 this.type = type; in MCertificate() 151 return type; in getPublicKey()
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | HelloExtensions.java | 76 int type = s.getInt16(); in HelloExtensions() local 78 ExtensionType extType = ExtensionType.get(type); in HelloExtensions() 116 HelloExtension get(ExtensionType type) { in get() argument 118 if (ext.type == type) { in get() 232 final ExtensionType type; field in HelloExtension 234 HelloExtension(ExtensionType type) { in HelloExtension() argument 235 this.type = type; in HelloExtension() 251 UnknownExtension(HandshakeInStream s, int len, ExtensionType type) in UnknownExtension() argument 253 super(type); in UnknownExtension() 266 s.putInt16(type.id); in send() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | DOMErrorImpl.java | 46 private final String type; field in DOMErrorImpl 48 public DOMErrorImpl(short severity, String type) { in DOMErrorImpl() argument 50 this.type = type; in DOMErrorImpl() 58 return type; in getMessage() 62 return type; in getType()
|