/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | KSBuilder_ImplTest.java | 62 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 …]
|
D | KeyStore_Impl3Test.java | 46 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()
|
D | KeyStore_Impl1Test.java | 59 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/ |
D | CertPathValidator3Test.java | 57 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()
|
D | CertificateFactory3Test.java | 52 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()
|
D | CertPathValidator1Test.java | 59 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()
|
D | CertPathBuilder1Test.java | 59 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()
|
D | CertificateFactory1Test.java | 73 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()
|
D | CertStore1Test.java | 61 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/icu4c/source/i18n/ |
D | ucol_res.cpp | 172 char defaultType[16]; in loadTailoring() local 180 if(U_SUCCESS(internalErrorCode) && length < LENGTHOF(defaultType)) { in loadTailoring() 181 u_UCharsToChars(s, defaultType, length + 1); in loadTailoring() 183 uprv_strcpy(defaultType, "standard"); in loadTailoring() 187 uprv_strcpy(type, defaultType); in loadTailoring() 205 if(errorCode == U_MISSING_RESOURCE_ERROR && uprv_strcmp(type, defaultType) != 0) { in loadTailoring() 208 uprv_strcpy(type, defaultType); in loadTailoring() 272 if(uprv_strcmp(type, defaultType) != 0) { in loadTailoring() 293 if(U_SUCCESS(internalErrorCode) && length < LENGTHOF(defaultType)) { in loadTailoring() 294 u_UCharsToChars(s, defaultType, length + 1); in loadTailoring() [all …]
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | KeyStoreTest.java | 62 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/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
D | KeyStoreTestSupport.java | 45 public static String defaultType = "bks"; field in KeyStoreTestSupport 54 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore);
|