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

1 2

  /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());
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...]
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);
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...]
CertStore1Test.java 53 private static final String defaultType = "LDAP";
72 defaultProvider = SpiEngUtils.isSupport(defaultType,
103 dType = (CollectionSupport ? CollectionType : defaultType );
138 sn = defaultType;
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathValidator3Test.java 56 private static final String defaultType = CertPathBuilder1Test.defaultType;
66 defaultProvider = SpiEngUtils.isSupport(defaultType,
70 NotSupportMsg = defaultType.concat(" is not supported");
80 certPVs[0] = CertPathValidator.getInstance(defaultType);
81 certPVs[1] = CertPathValidator.getInstance(defaultType,
83 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 58 public static final String defaultType = "PKIX";
74 defaultProvider = SpiEngUtils.isSupport(defaultType,
78 NotSupportMsg = defaultType.concat(" is not supported");
87 certPBs[0] = CertPathBuilder.getInstance(defaultType);
88 certPBs[1] = CertPathBuilder.getInstance(defaultType,
90 certPBs[2] = CertPathBuilder.getInstance(defaultType,
110 Support_Exec.execJava(new String[] { DefaultType.class.getName() },
114 public static class DefaultType {
352 defaultProvider, defaultType);
353 assertEquals("Incorrect algorithm", certPB.getAlgorithm(), defaultType);
    [all...]
CertPathValidator1Test.java 58 private static final String defaultType = "PKIX";
72 defaultProvider = SpiEngUtils.isSupport(defaultType,
76 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);
371 defaultProvider, defaultType);
372 assertEquals("Incorrect algorithm", certPV.getAlgorithm(), defaultType);
    [all...]
CertificateFactory1Test.java 74 public static String defaultType = "X.509";
84 defaultProvider = SpiEngUtils.isSupport(defaultType,
88 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);
CertStore1Test.java 60 private static final String defaultType = "LDAP";
79 defaultProvider = SpiEngUtils.isSupport(defaultType,
110 dType = (CollectionSupport ? CollectionType : defaultType );
145 sn = defaultType;
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
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...]
KeyStore_Impl3Test.java 47 private static final String defaultType = "KeyStore";
63 kpg[0] = KeyStore.getInstance(defaultType);
64 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider);
65 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName);
73 .concat(defaultType), KeyStoreProviderClass);
75 defaultProvider = SpiEngUtils.isSupport(defaultType,
  /libcore/luni/src/main/java/java/security/cert/
CertPathBuilder.java 195 String defaultType = Security.getProperty(PROPERTYNAME);
196 return (defaultType != null ? defaultType : DEFAULTPROPERTY);
CertPathValidator.java 202 String defaultType = Security.getProperty(PROPERTYNAME);
203 return (defaultType != null ? defaultType : DEFAULTPROPERTY);
CertStore.java 269 String defaultType = Security.getProperty(PROPERTYNAME);
270 return (defaultType == null ? DEFAULTPROPERTY : defaultType);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
KeyStoreTest.java 63 private static final String defaultType = "KeyStore";
79 kpg[0] = KeyStore.getInstance(defaultType);
80 kpg[1] = KeyStore.getInstance(defaultType, defaultProvider);
81 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName);
89 .concat(defaultType), KeyStoreProviderClass);
91 defaultProvider = SpiEngUtils.isSupport(defaultType,
193 resType = defaultType;
199 Security.setProperty(propName, defaultType);
  /libcore/luni/src/test/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);
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]);
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 46 public static String defaultType = "bks";
55 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore);
  /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);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
LocalSource.java 114 private static int getMediaType(String type, int defaultType) {
115 if (type == null) return defaultType;
123 return defaultType;
131 private Path getAlbumPath(Uri uri, int defaultType) {
134 defaultType);
  /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];
  /packages/apps/Contacts/src/com/android/contacts/model/
EntityModifier.java     [all...]

Completed in 2995 milliseconds

1 2