Home
last modified time | relevance | path

Searched refs:defaultType (Results 1 – 17 of 17) sorted by relevance

/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DKSBuilder_ImplTest.java62 private static String defaultType = KeyStoreTestSupport.defaultType; field in KSBuilder_ImplTest
70 KeyStoreTestSupport.defaultType, KeyStoreTestSupport.srvKeyStore);
123 fail(defaultType + " type is not supported"); in testNewInstanceKeyStoreProtectionParameter()
127 KeyStore ks = KeyStore.getInstance(defaultType); in testNewInstanceKeyStoreProtectionParameter()
149 ks = KeyStore.getInstance(defaultType); in testNewInstanceKeyStoreProtectionParameter()
236 fail(defaultType + " type is not supported"); in testNewInstanceStringProviderFileProtectionParameter()
255 KeyStore.Builder.newInstance(defaultType, defaultProvider, null, in testNewInstanceStringProviderFileProtectionParameter()
262 .newInstance(defaultType, defaultProvider, fl, null); in testNewInstanceStringProviderFileProtectionParameter()
268 .newInstance(defaultType, defaultProvider, fl, myPP); in testNewInstanceStringProviderFileProtectionParameter()
273 KeyStore.Builder.newInstance(defaultType, defaultProvider, in testNewInstanceStringProviderFileProtectionParameter()
[all …]
DKeyStore_Impl3Test.java46 private static final String defaultType = "KeyStore"; field in KeyStore_Impl3Test
62 kpg[0] = KeyStore.getInstance(defaultType); in createKS()
63 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider); in createKS()
64 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName); in createKS()
72 .concat(defaultType), KeyStoreProviderClass); in setUp()
74 defaultProvider = SpiEngUtils.isSupport(defaultType, in setUp()
DKeyStore_Impl1Test.java59 public static String defaultType = KeyStoreTestSupport.defaultType; field in KeyStore_Impl1Test
70 kpg[0] = KeyStore.getInstance(defaultType); in createKS()
71 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider); in createKS()
72 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName); in createKS()
953 defaultType); in testKeyStoreConstr()
955 defaultType); in testKeyStoreConstr()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertPathValidator3Test.java57 private static final String defaultType = CertPathBuilder1Test.defaultType; field in CertPathValidator3Test
67 defaultProvider = SpiEngUtils.isSupport(defaultType,
71 NotSupportMsg = defaultType.concat(" is not supported");
81 certPVs[0] = CertPathValidator.getInstance(defaultType); in createCPVs()
82 certPVs[1] = CertPathValidator.getInstance(defaultType, in createCPVs()
84 certPVs[2] = CertPathValidator.getInstance(defaultType, in createCPVs()
DCertificateFactory3Test.java52 private static String defaultType = CertificateFactory1Test.defaultType; field in CertificateFactory3Test
61 defaultProvider = SpiEngUtils.isSupport(defaultType,
66 NotSupportMsg = defaultType.concat(" is not supported");
75 certFs[0] = CertificateFactory.getInstance(defaultType); in initCertFs()
76 certFs[1] = CertificateFactory.getInstance(defaultType, in initCertFs()
79 .getInstance(defaultType, defaultProvider); in initCertFs()
157 assertEquals(defaultType, certPath.getType()); in testGenerateCertPath02()
185 assertEquals(defaultType, certPath.getType()); in testGenerateCertPath03()
DCertPathValidator1Test.java59 private static final String defaultType = "PKIX"; field in CertPathValidator1Test
73 defaultProvider = SpiEngUtils.isSupport(defaultType,
77 NotSupportMsg = defaultType.concat(" is not supported");
88 certPVs[0] = CertPathValidator.getInstance(defaultType); in createCPVs()
89 certPVs[1] = CertPathValidator.getInstance(defaultType, in createCPVs()
91 certPVs[2] = CertPathValidator.getInstance(defaultType, in createCPVs()
115 resType = defaultType; in testCertPathValidator01()
121 Security.setProperty(propName, defaultType); in testCertPathValidator01()
376 defaultProvider, defaultType); in testCertPathValidator12()
377 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), defaultType); in testCertPathValidator12()
DCertPathBuilder1Test.java59 public static final String defaultType = "PKIX"; field in CertPathBuilder1Test
75 defaultProvider = SpiEngUtils.isSupport(defaultType,
79 NotSupportMsg = defaultType.concat(" is not supported");
89 certPBs[0] = CertPathBuilder.getInstance(defaultType); in createCPBs()
90 certPBs[1] = CertPathBuilder.getInstance(defaultType, in createCPBs()
92 certPBs[2] = CertPathBuilder.getInstance(defaultType, in createCPBs()
359 defaultProvider, defaultType); in testCertPathBuilder12()
360 assertEquals("Incorrect algorithm", certPB.getAlgorithm(), defaultType); in testCertPathBuilder12()
DCertificateFactory1Test.java73 public static String defaultType = "X.509"; field in CertificateFactory1Test
83 defaultProvider = SpiEngUtils.isSupport(defaultType,
87 NotSupportMsg = defaultType.concat(" is not supported");
97 certFs[0] = CertificateFactory.getInstance(defaultType); in initCertFs()
98 certFs[1] = CertificateFactory.getInstance(defaultType, in initCertFs()
100 certFs[2] = CertificateFactory.getInstance(defaultType, in initCertFs()
662 defaultType); in testCertificateFactory17()
663 assertEquals("Incorrect type", cf.getType(), defaultType); in testCertificateFactory17()
DCertStore1Test.java61 private static final String defaultType = "LDAP"; field in CertStore1Test
80 defaultProvider = SpiEngUtils.isSupport(defaultType,
111 dType = (CollectionSupport ? CollectionType : defaultType); in initParams()
147 sn = defaultType; in testCertStore01()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationLoader.java137 String defaultType = "standard"; in loadTailoring() local
141 defaultType = defT; in loadTailoring()
145 type = defaultType; in loadTailoring()
165 if (data == null && !type.equals(defaultType)) { in loadTailoring()
168 type = defaultType; in loadTailoring()
220 if (!type.equals(defaultType)) { in loadTailoring()
235 defaultType = defT; in loadTailoring()
239 if (!type.equals(defaultType)) { in loadTailoring()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DKeyStoreTest.java62 private static final String defaultType = "KeyStore"; field in KeyStoreTest
78 kpg[0] = KeyStore.getInstance(defaultType); in createKS()
79 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider); in createKS()
80 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName); in createKS()
88 .concat(defaultType), KeyStoreProviderClass); in setUp()
90 defaultProvider = SpiEngUtils.isSupport(defaultType, in setUp()
192 resType = defaultType; in testKeyStore01()
198 Security.setProperty(propName, defaultType); in testKeyStore01()
/external/icu/icu4c/source/i18n/
Ducol_res.cpp170 defaultType[0] = 0; in CollationLoader()
269 if(U_SUCCESS(internalErrorCode) && 0 < length && length < UPRV_LENGTHOF(defaultType)) { in loadFromBundle()
270 u_UCharsToChars(s, defaultType, length + 1); in loadFromBundle()
272 uprv_strcpy(defaultType, "standard"); in loadFromBundle()
286 uprv_strcpy(type, defaultType); in loadFromBundle()
297 if(uprv_strcmp(type, defaultType) == 0) { in loadFromBundle()
329 uprv_strcpy(type, defaultType); in loadFromCollations()
352 if(uprv_strcmp(type, defaultType) != 0) { in loadFromCollations()
427 if(U_SUCCESS(internalErrorCode) && length < UPRV_LENGTHOF(defaultType)) { in loadFromData()
428 u_UCharsToChars(s, defaultType, length + 1); in loadFromData()
[all …]
Ducol_imp.h123 char defaultType[16]; variable
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DKeyStoreTestSupport.java45 public static String defaultType = "bks"; field in KeyStoreTestSupport
54 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore);
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java1023 TypeToken<?> defaultType = (TypeToken<?>) getDefaultParameterValue(0); in check() local
1025 .isAssignableFrom(defaultType)); in check()
1044 TypeToken<?> defaultType = (TypeToken<?>) getDefaultParameterValue(0); in check() local
1045 assertEquals(new TypeToken<Object>() {}, defaultType); in check()
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java408 T defaultType = (T) getFirstTypeParameter(type.getType()); in getDefaultValue() local
409 return defaultType; in getDefaultValue()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.jasper_5.5.17.v201004212143.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...