Home
last modified time | relevance | path

Searched refs:DEFAULT (Results 1 – 19 of 19) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/
DOAEPParameterSpecTest.java50 PSource pSrc = PSource.PSpecified.DEFAULT; in testOAEPParameterSpec()
75 OAEPParameterSpec.DEFAULT.getDigestAlgorithm().equals(mdName)); in testOAEPParameterSpec()
79 OAEPParameterSpec.DEFAULT.getMGFAlgorithm().equals(mgfName)); in testOAEPParameterSpec()
84 OAEPParameterSpec.DEFAULT.getMGFParameters() in testOAEPParameterSpec()
89 OAEPParameterSpec.DEFAULT.getPSource() in testOAEPParameterSpec()
90 == PSource.PSpecified.DEFAULT); in testOAEPParameterSpec()
100 PSource pSrc = PSource.PSpecified.DEFAULT; in testGetDigestAlgorithm()
116 PSource pSrc = PSource.PSpecified.DEFAULT; in testGetMGFAlgorithm()
132 PSource pSrc = PSource.PSpecified.DEFAULT; in testGetMGFParameters()
148 PSource pSrc = PSource.PSpecified.DEFAULT; in testGetPSource()
DPSourceTest.java51 0, PSource.PSpecified.DEFAULT.getValue().length); in testPSpecified()
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1TypeCollection.java37 public final Object[] DEFAULT; field in ASN1TypeCollection
50 this.DEFAULT = new Object[type.length]; in ASN1TypeCollection()
71 DEFAULT[index] = object; in setDefault()
DBerInputStream.java549 if (sequence.DEFAULT[i] != null) { in readSequence()
550 values[i] = sequence.DEFAULT[i]; in readSequence()
562 if (sequence.DEFAULT[i] != null) { in readSequence()
563 values[i] = sequence.DEFAULT[i]; in readSequence()
DDerOutputStream.java171 if (Objects.equal(sequence.DEFAULT[i], values[i])) { in getSequenceLength()
/libcore/luni/src/test/java/tests/security/spec/
DPSSParameterSpecTest.java224 assertEquals("SHA-1", PSSParameterSpec.DEFAULT.getDigestAlgorithm()); in testDEFAULTmdName()
232 assertEquals("MGF1", PSSParameterSpec.DEFAULT.getMGFAlgorithm()); in testDEFAULTmgfName()
241 assertTrue(MGF1ParameterSpec.SHA1.equals(PSSParameterSpec.DEFAULT.getMGFParameters())); in testDEFAULTmgfSpec()
249 assertEquals(20, PSSParameterSpec.DEFAULT.getSaltLength()); in testDEFAULTsaltLen()
257 assertEquals(1, PSSParameterSpec.DEFAULT.getTrailerField()); in testDEFAULTtrailerField()
/libcore/luni/src/main/java/javax/net/ssl/
DSSLContext.java43 private static SSLContext DEFAULT; field in SSLContext
59 if (DEFAULT == null) { in getDefault()
60 DEFAULT = SSLContext.getInstance("Default"); in getDefault()
62 return DEFAULT; in getDefault()
78 DEFAULT = sslContext; in setDefault()
/libcore/luni/src/main/java/java/text/
DDateFormat.java90 public static final int DEFAULT = 2; field in DateFormat
362 return getDateInstance(DEFAULT); in getDateInstance()
411 return getDateTimeInstance(DEFAULT, DEFAULT); in getDateTimeInstance()
495 return getTimeInstance(DEFAULT); in getTimeInstance()
842 || style == FULL || style == DEFAULT)) { in checkDateStyle()
849 || style == FULL || style == DEFAULT)) { in checkTimeStyle()
DMessageFormat.java978 DateFormat.DEFAULT, locale) : DateFormat in parseVariable()
979 .getTimeInstance(DateFormat.DEFAULT, locale); in parseVariable()
1110 if (format.equals(DateFormat.getTimeInstance(DateFormat.DEFAULT, locale))) { in decodeSimpleDateFormat()
1112 } else if (format.equals(DateFormat.getDateInstance(DateFormat.DEFAULT, in decodeSimpleDateFormat()
/libcore/luni/src/main/java/javax/crypto/spec/
DOAEPParameterSpec.java46 public static final OAEPParameterSpec DEFAULT = new OAEPParameterSpec(); field in OAEPParameterSpec
52 this.pSrc = PSource.PSpecified.DEFAULT; in OAEPParameterSpec()
DPSource.java69 public static final PSpecified DEFAULT = new PSpecified(); field in PSource.PSpecified
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectInputStream2Test.java78 assertEquals("super field A.s", A.DEFAULT, ((A) b).s); in test_readObject_Hierarchy()
124 public static final String DEFAULT = "aaa"; field in ObjectInputStream2Test.A
127 s = DEFAULT; in A()
/libcore/luni/src/test/java/libcore/javax/crypto/spec/
DAlgorithmParametersTestOAEP.java27 …RSA"), new OAEPParameterSpec("SHA-1", "MGF1", MGF1ParameterSpec.SHA1, PSource.PSpecified.DEFAULT)); in AlgorithmParametersTestOAEP()
/libcore/luni/src/main/java/java/security/spec/
DPSSParameterSpec.java39 public static final PSSParameterSpec DEFAULT = new PSSParameterSpec(20); field in PSSParameterSpec
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDateFormatTest.java78 DateFormat.DEFAULT, Locale.getDefault()))); in test_getDateInstance()
90 DateFormat.DEFAULT == DateFormat.MEDIUM); in test_getDateInstanceI()
191 DateFormat.DEFAULT, DateFormat.DEFAULT, Locale.getDefault()))); in test_getDateTimeInstance()
328 DateFormat.DEFAULT, Locale.getDefault()))); in test_getTimeInstance()
DSupport_SimpleDateFormat.java54 …SimpleDateFormat format = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.DEFAULT, Locale… in t_format_with_FieldPosition()
138 …SimpleDateFormat format = (SimpleDateFormat) DateFormat.getDateInstance(DateFormat.DEFAULT, Locale… in t_formatToCharacterIterator()
DMessageFormatTest.java309 assertEquals(format.getFormats()[0], DateFormat.getDateInstance(DateFormat.DEFAULT, mk)); in test_ConstructorLjava_lang_StringLjava_util_Locale()
879 assertEquals("Wrong locale3", DateFormat.getDateInstance(DateFormat.DEFAULT, in test_setLocaleLjava_util_Locale()
/libcore/luni/src/test/java/libcore/java/text/
DOldDateFormatTest.java250 format = DateFormat.getDateInstance(DateFormat.DEFAULT, Locale.US); in test_parseLString()
306 format = DateFormat.getTimeInstance(DateFormat.DEFAULT, Locale.US); in test_parseLString()
325 format = DateFormat.getDateTimeInstance(DateFormat.DEFAULT, DateFormat.SHORT, Locale.US); in test_parseLString()
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...