HomeSort by relevance Sort by last modified time
    Searched defs:defaultType (Results 1 - 25 of 36) sorted by null

1 2

  /libcore/luni/src/main/java/java/security/cert/
CertPathBuilder.java 194 String defaultType = Security.getProperty(PROPERTY_NAME);
195 return (defaultType != null ? defaultType : DEFAULT_PROPERTY);
CertPathValidator.java 203 String defaultType = Security.getProperty(PROPERTY_NAME);
204 return (defaultType != null ? defaultType : DEFAULT_PROPERTY);
CertStore.java 271 String defaultType = Security.getProperty(PROPERTY_NAME);
272 return (defaultType == null ? DEFAULT_PROPERTY : defaultType);
  /libcore/luni/src/test/java/tests/security/cert/
CertPathValidator3Test.java 48 private static final String defaultType = CertPathBuilder1Test.defaultType;
58 defaultProvider = SpiEngUtils.isSupport(defaultType,
62 NotSupportMsg = defaultType.concat(" is not supported");
72 certPVs[0] = CertPathValidator.getInstance(defaultType);
73 certPVs[1] = CertPathValidator.getInstance(defaultType,
75 certPVs[2] = CertPathValidator.getInstance(defaultType,
CertificateFactory3Test.java 51 private static String defaultType = CertificateFactory1Test.defaultType;
60 defaultProvider = SpiEngUtils.isSupport(defaultType,
65 NotSupportMsg = defaultType.concat(" is not supported");
74 certFs[0] = CertificateFactory.getInstance(defaultType);
75 certFs[1] = CertificateFactory.getInstance(defaultType,
78 .getInstance(defaultType, defaultProvider);
156 assertEquals(defaultType, certPath.getType());
184 assertEquals(defaultType, certPath.getType());
CertPathBuilder1Test.java 55 public static final String defaultType = "PKIX";
71 defaultProvider = SpiEngUtils.isSupport(defaultType,
75 NotSupportMsg = defaultType.concat(" is not supported");
84 certPBs[0] = CertPathBuilder.getInstance(defaultType);
85 certPBs[1] = CertPathBuilder.getInstance(defaultType,
87 certPBs[2] = CertPathBuilder.getInstance(defaultType,
351 defaultProvider, defaultType);
352 assertEquals("Incorrect algorithm", certPB.getAlgorithm(), defaultType);
CertPathValidator1Test.java 51 private static final String defaultType = "PKIX";
65 defaultProvider = SpiEngUtils.isSupport(defaultType,
69 NotSupportMsg = defaultType.concat(" is not supported");
81 certPVs[0] = CertPathValidator.getInstance(defaultType);
82 certPVs[1] = CertPathValidator.getInstance(defaultType,
84 certPVs[2] = CertPathValidator.getInstance(defaultType,
108 resType = defaultType;
114 Security.setProperty(propName, defaultType);
364 defaultProvider, defaultType);
365 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), defaultType);
    [all...]
CertStore1Test.java 53 private static final String defaultType = "LDAP";
72 defaultProvider = SpiEngUtils.isSupport(defaultType,
103 dType = (CollectionSupport ? CollectionType : defaultType );
138 sn = defaultType;
CertificateFactory1Test.java 64 public static String defaultType = "X.509";
74 defaultProvider = SpiEngUtils.isSupport(defaultType,
78 NotSupportMsg = defaultType.concat(" is not supported"); }
87 certFs[0] = CertificateFactory.getInstance(defaultType);
88 certFs[1] = CertificateFactory.getInstance(defaultType,
90 certFs[2] = CertificateFactory.getInstance(defaultType,
641 defaultType);
642 assertEquals("Incorrect type", cf.getType(), defaultType);
700 defaultType);
701 assertEquals("Incorrect type", cf.getType(), defaultType);
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathValidator3Test.java 57 private static final String defaultType = CertPathBuilder1Test.defaultType;
67 defaultProvider = SpiEngUtils.isSupport(defaultType,
71 NotSupportMsg = defaultType.concat(" is not supported");
81 certPVs[0] = CertPathValidator.getInstance(defaultType);
82 certPVs[1] = CertPathValidator.getInstance(defaultType,
84 certPVs[2] = CertPathValidator.getInstance(defaultType,
CertificateFactory3Test.java 52 private static String defaultType = CertificateFactory1Test.defaultType;
61 defaultProvider = SpiEngUtils.isSupport(defaultType,
66 NotSupportMsg = defaultType.concat(" is not supported");
75 certFs[0] = CertificateFactory.getInstance(defaultType);
76 certFs[1] = CertificateFactory.getInstance(defaultType,
79 .getInstance(defaultType, defaultProvider);
157 assertEquals(defaultType, certPath.getType());
185 assertEquals(defaultType, certPath.getType());
CertPathBuilder1Test.java 59 public static final String defaultType = "PKIX";
75 defaultProvider = SpiEngUtils.isSupport(defaultType,
79 NotSupportMsg = defaultType.concat(" is not supported");
89 certPBs[0] = CertPathBuilder.getInstance(defaultType);
90 certPBs[1] = CertPathBuilder.getInstance(defaultType,
92 certPBs[2] = CertPathBuilder.getInstance(defaultType,
112 Support_Exec.execJava(new String[] { DefaultType.class.getName() },
116 public static class DefaultType {
359 defaultProvider, defaultType);
360 assertEquals("Incorrect algorithm", certPB.getAlgorithm(), defaultType);
    [all...]
CertPathValidator1Test.java 59 private static final String defaultType = "PKIX";
73 defaultProvider = SpiEngUtils.isSupport(defaultType,
77 NotSupportMsg = defaultType.concat(" is not supported");
88 certPVs[0] = CertPathValidator.getInstance(defaultType);
89 certPVs[1] = CertPathValidator.getInstance(defaultType,
91 certPVs[2] = CertPathValidator.getInstance(defaultType,
115 resType = defaultType;
121 Security.setProperty(propName, defaultType);
376 defaultProvider, defaultType);
377 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), defaultType);
    [all...]
CertStore1Test.java 61 private static final String defaultType = "LDAP";
80 defaultProvider = SpiEngUtils.isSupport(defaultType,
111 dType = (CollectionSupport ? CollectionType : defaultType);
147 sn = defaultType;
CertificateFactory1Test.java 73 public static String defaultType = "X.509";
83 defaultProvider = SpiEngUtils.isSupport(defaultType,
87 NotSupportMsg = defaultType.concat(" is not supported");
97 certFs[0] = CertificateFactory.getInstance(defaultType);
98 certFs[1] = CertificateFactory.getInstance(defaultType,
100 certFs[2] = CertificateFactory.getInstance(defaultType,
662 defaultType);
663 assertEquals("Incorrect type", cf.getType(), defaultType);
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 45 public static String defaultType = "bks";
54 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore);
  /frameworks/base/core/tests/coretests/src/android/net/http/
X509TrustManagerExtensionsTest.java 53 String defaultType = KeyStore.getDefaultType();
54 TrustManagerImpl tmi = new TrustManagerImpl(KeyStore.getInstance(defaultType));
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 46 public static String defaultType = "bks";
55 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl3Test.java 46 private static final String defaultType = "KeyStore";
62 kpg[0] = KeyStore.getInstance(defaultType);
63 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider);
64 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName);
72 .concat(defaultType), KeyStoreProviderClass);
74 defaultProvider = SpiEngUtils.isSupport(defaultType,
KSBuilder_ImplTest.java 62 private static String defaultType = KeyStoreTestSupport.defaultType;
70 KeyStoreTestSupport.defaultType, KeyStoreTestSupport.srvKeyStore);
123 fail(defaultType + " type is not supported");
127 KeyStore ks = KeyStore.getInstance(defaultType);
149 ks = KeyStore.getInstance(defaultType);
236 fail(defaultType + " type is not supported");
255 KeyStore.Builder.newInstance(defaultType, defaultProvider, null,
262 .newInstance(defaultType, defaultProvider, fl, null);
268 .newInstance(defaultType, defaultProvider, fl, myPP)
    [all...]
  /external/icu/icu4c/source/i18n/
ucol_res.cpp 172 char defaultType[16];
180 if(U_SUCCESS(internalErrorCode) && length < LENGTHOF(defaultType)) {
181 u_UCharsToChars(s, defaultType, length + 1);
183 uprv_strcpy(defaultType, "standard");
187 uprv_strcpy(type, defaultType);
205 if(errorCode == U_MISSING_RESOURCE_ERROR && uprv_strcmp(type, defaultType) != 0) {
208 uprv_strcpy(type, defaultType);
272 if(uprv_strcmp(type, defaultType) != 0) {
293 if(U_SUCCESS(internalErrorCode) && length < LENGTHOF(defaultType)) {
294 u_UCharsToChars(s, defaultType, length + 1)
    [all...]
  /packages/apps/Launcher3/util/com/android/launcher3/
DecoderRing.java 84 Class defaultType = null;
93 defaultType = Key.class;
95 defaultType = Favorite.class;
97 defaultType = Journal.class;
99 defaultType = Resource.class;
101 defaultType = Screen.class;
103 defaultType = Widget.class;
124 if (defaultType == null && files.isEmpty()) {
129 if (files.size() > 1 && defaultType != null) {
131 defaultType = null
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreBuilderTest.java 60 private static String defaultType = KeyStoreTestSupport.defaultType;
392 KeyStore.Builder.newInstance(defaultType, defaultProvider, null);
401 ksB = KeyStore.Builder.newInstance(defaultType, defaultProvider,
403 ksB1 = KeyStore.Builder.newInstance(defaultType, null, pp[i]);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 85 final int defaultType;
89 defaultType = Phone.TYPE_HOME;
93 defaultType = Email.TYPE_HOME;
97 defaultType = StructuredPostal.TYPE_HOME;
101 defaultType = Organization.TYPE_WORK;
114 display = labels[defaultType - 1];
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStoreTest.java 62 private static final String defaultType = "KeyStore";
78 kpg[0] = KeyStore.getInstance(defaultType);
79 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider);
80 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName);
88 .concat(defaultType), KeyStoreProviderClass);
90 defaultProvider = SpiEngUtils.isSupport(defaultType,
192 resType = defaultType;
198 Security.setProperty(propName, defaultType);

Completed in 1086 milliseconds

1 2