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

1 2

  /external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyFactory_Impl1Test.java 48 private static Provider defaultProvider = null;
55 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm1,
57 DEFSupported = (defaultProvider != null);
60 defaultProviderName = defaultProvider.getName();
62 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm2,
64 DEFSupported = (defaultProvider != null);
67 defaultProviderName = defaultProvider.getName();
71 defaultProvider = null;
85 defaultProvider);
KeyAgreement_Impl1Test.java 47 private static Provider defaultProvider = null;
55 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm,
57 DEFSupported = (defaultProvider != null);
71 KeyAgreement keyA = new myKeyAgreement(spi, defaultProvider,
75 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider);
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
MockContactPhotoManager.java 33 DefaultImageRequest defaultImageRequest, DefaultImageProvider defaultProvider) {
34 defaultProvider.applyDefaultImage(view, -1, darkTheme, null);
40 DefaultImageProvider defaultProvider) {
41 defaultProvider.applyDefaultImage(view, requestedExtent, darkTheme, null);
  /libcore/luni/src/test/java/tests/security/cert/
CertPathValidator3Test.java 52 private static Provider defaultProvider;
58 defaultProvider = SpiEngUtils.isSupport(defaultType,
60 PKIXSupport = (defaultProvider != null);
61 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
76 defaultProvider);
CertPathValidator1Test.java 59 private static Provider defaultProvider;
65 defaultProvider = SpiEngUtils.isSupport(defaultType,
67 PKIXSupport = (defaultProvider != null);
68 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
85 defaultProvider);
287 CertPathValidator.getInstance(null, defaultProvider);
294 CertPathValidator.getInstance(invalidValues[i], defaultProvider);
313 defaultProvider);
317 defaultProvider);
364 defaultProvider, defaultType)
    [all...]
CertPathBuilder1Test.java 63 private static Provider defaultProvider;
71 defaultProvider = SpiEngUtils.isSupport(defaultType,
73 PKIXSupport = (defaultProvider != null);
74 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
88 defaultProvider);
268 CertPathBuilder.getInstance(null, defaultProvider);
274 CertPathBuilder.getInstance(invalidValues[i], defaultProvider);
292 certPB = CertPathBuilder.getInstance(validValues[i], defaultProvider);
294 assertEquals("Incorrect provider name", certPB.getProvider(), defaultProvider);
351 defaultProvider, defaultType)
    [all...]
CertificateFactory1Test.java 60 private static Provider defaultProvider = null;
74 defaultProvider = SpiEngUtils.isSupport(defaultType,
76 X509Support = (defaultProvider != null);
77 defaultProviderName = (X509Support ? defaultProvider.getName() : null);
91 defaultProvider);
250 CertificateFactory.getInstance(null, defaultProvider);
258 defaultProvider);
261 defaultProvider.getName()).concat(")"));
281 defaultProvider);
283 defaultProvider);
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyFactoryTest.java 59 private static Provider defaultProvider = null;
69 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm1,
71 DEFSupported = (defaultProvider != null);
76 defaultProviderName = defaultProvider.getName();
78 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm2,
80 DEFSupported = (defaultProvider != null);
85 defaultProviderName = defaultProvider.getName();
89 defaultProvider = null;
103 defaultProvider);
124 SecretKeyFactory secKF = new mySecretKeyFactory(spi, defaultProvider,
    [all...]
KeyGeneratorTest.java 61 private static Provider defaultProvider = null;
73 defaultProvider = SpiEngUtils.isSupport(validAlgorithmsKeyGenerator[i],
75 DEFSupported = (defaultProvider != null);
79 defaultProviderName = defaultProvider.getName();
95 kg[1] = KeyGenerator.getInstance(defaultAlgorithm, defaultProvider);
112 KeyGenerator keyG = new myKeyGenerator(spi, defaultProvider,
116 assertEquals("Incorrect provider", keyG.getProvider(), defaultProvider);
278 KeyGenerator.getInstance(null, defaultProvider);
285 KeyGenerator.getInstance(invalidValues[i], defaultProvider);
325 keyA = KeyGenerator.getInstance(validValues[i], defaultProvider);
    [all...]
KeyAgreementTest.java 60 private static Provider defaultProvider = null;
78 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm,
80 DEFSupported = (defaultProvider != null);
81 defaultProviderName = (DEFSupported ? defaultProvider.getName() : null);
101 ka[1] = KeyAgreement.getInstance(defaultAlgorithm, defaultProvider);
247 KeyAgreement.getInstance(null, defaultProvider);
254 KeyAgreement.getInstance(invalidValues[i], defaultProvider);
293 keyA = KeyAgreement.getInstance(validValues[i], defaultProvider);
297 defaultProvider);
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathValidator3Test.java 61 private static Provider defaultProvider;
67 defaultProvider = SpiEngUtils.isSupport(defaultType,
69 PKIXSupport = (defaultProvider != null);
70 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
85 defaultProvider);
CertPathBuilder1Test.java 67 private static Provider defaultProvider;
75 defaultProvider = SpiEngUtils.isSupport(defaultType,
77 PKIXSupport = (defaultProvider != null);
78 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
93 defaultProvider);
291 CertPathBuilder.getInstance(null, defaultProvider);
297 CertPathBuilder.getInstance(invalidValues[i], defaultProvider);
316 certPB = CertPathBuilder.getInstance(validValues[i], defaultProvider);
318 assertEquals("Incorrect provider name", certPB.getProvider(), defaultProvider);
359 defaultProvider, defaultType)
    [all...]
CertPathValidator1Test.java 67 private static Provider defaultProvider;
73 defaultProvider = SpiEngUtils.isSupport(defaultType,
75 PKIXSupport = (defaultProvider != null);
76 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
92 defaultProvider);
298 CertPathValidator.getInstance(null, defaultProvider);
305 CertPathValidator.getInstance(invalidValues[i], defaultProvider);
325 defaultProvider);
329 defaultProvider);
376 defaultProvider, defaultType)
    [all...]
CertificateFactory3Test.java 50 private static Provider defaultProvider = null;
61 defaultProvider = SpiEngUtils.isSupport(defaultType,
63 X509Support = defaultProvider != null;
64 defaultProviderName = X509Support ? defaultProvider.getName() : null;
79 .getInstance(defaultType, defaultProvider);
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
TrustManagerFactory1Test.java 49 private static Provider defaultProvider = null;
63 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm,
65 DEFSupported = (defaultProvider != null);
66 defaultProviderName = (DEFSupported ? defaultProvider.getName()
83 defaultProvider);
264 defaultProvider);
301 TrustManagerFactory.getInstance(null, defaultProvider);
309 defaultProvider);
330 defaultProvider);
336 defaultProvider);
    [all...]
KeyManagerFactory1Test.java 50 private static Provider defaultProvider = null;
64 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm,
66 DEFSupported = (defaultProvider != null);
67 defaultProviderName = (DEFSupported ? defaultProvider.getName()
84 defaultProvider);
301 KeyManagerFactory.getInstance(null, defaultProvider);
309 .getInstance(invalidValues[i], defaultProvider);
330 .getInstance(validValues[i], defaultProvider);
333 assertEquals(kMF.getProvider(), defaultProvider);
347 KeyManagerFactory keyMF = new myKeyManagerFactory(spi, defaultProvider,
    [all...]
SSLContext1Test.java 63 private static Provider defaultProvider = null;
74 defaultProvider = SpiEngUtils.isSupport(defaultProtocol, srvSSLContext);
75 DEFSupported = (defaultProvider != null);
77 defaultProviderName = (DEFSupported ? defaultProvider.getName()
103 sslC[1] = SSLContext.getInstance(defaultProtocol, defaultProvider);
248 defaultProvider);
282 SSLContext.getInstance(null, defaultProvider);
289 SSLContext.getInstance(invalidValues[i], defaultProvider);
308 .getInstance(validValues[i], defaultProvider);
314 defaultProvider);
    [all...]
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 51 public static Provider defaultProvider = null;
54 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore);
55 JKSSupported = (defaultProvider != null);
56 defaultProviderName = (JKSSupported ? defaultProvider.getName() : null);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
KeyManagerFactory1Test.java 54 private static Provider defaultProvider = null;
67 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm,
69 DEFSupported = (defaultProvider != null);
70 defaultProviderName = (DEFSupported ? defaultProvider.getName()
87 defaultProvider);
114 KeyManagerFactory.getInstance(defaultAlgorithm, defaultProvider)
326 KeyManagerFactory.getInstance(null, defaultProvider);
334 .getInstance(invalidValues[i], defaultProvider);
356 .getInstance(validValues[i], defaultProvider);
359 assertEquals(kMF.getProvider(), defaultProvider);
    [all...]
SSLContext1Test.java 56 private static Provider defaultProvider = null;
61 defaultProvider = SpiEngUtils.isSupport(defaultProtocol, srvSSLContext);
62 DEFSupported = (defaultProvider != null);
64 defaultProviderName = (DEFSupported ? defaultProvider.getName()
82 sslC[1] = SSLContext.getInstance(defaultProtocol, defaultProvider);
104 SSLContext sslContext = new MySslContext(spi, defaultProvider,
108 assertEquals("Incorrect provider", defaultProvider,
146 SSLContext sslContext = new MySslContext(spi, defaultProvider,
161 SSLContext sslContext = new MySslContext(spi, defaultProvider,
324 defaultProvider, sslContext.getProvider())
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 52 public static Provider defaultProvider = null;
55 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore);
56 JKSSupported = (defaultProvider != null);
57 defaultProviderName = (JKSSupported ? defaultProvider.getName() : null);
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KSBuilder_ImplTest.java 66 private static Provider defaultProvider = null;
69 defaultProvider = SpiEngUtils.isSupport(
71 JKSSupported = (defaultProvider != null);
250 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass);
255 KeyStore.Builder.newInstance(defaultType, defaultProvider, null,
262 .newInstance(defaultType, defaultProvider, fl, null);
268 .newInstance(defaultType, defaultProvider, fl, myPP);
273 KeyStore.Builder.newInstance(defaultType, defaultProvider,
281 KeyStore.Builder.newInstance(defaultType, defaultProvider,
286 ksB = KeyStore.Builder.newInstance(defaultType, defaultProvider, fl
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
SecretKeyFactoryTest.java 62 private static Provider defaultProvider = null;
72 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm1,
74 DEFSupported = (defaultProvider != null);
79 defaultProviderName = defaultProvider.getName();
81 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm2,
83 DEFSupported = (defaultProvider != null);
88 defaultProviderName = defaultProvider.getName();
92 defaultProvider = null;
106 defaultProvider);
127 SecretKeyFactory secKF = new mySecretKeyFactory(spi, defaultProvider,
    [all...]
KeyGeneratorTest.java 67 private static Provider defaultProvider = null;
79 defaultProvider = SpiEngUtils.isSupport(validAlgorithmsKeyGenerator[i],
81 DEFSupported = (defaultProvider != null);
85 defaultProviderName = defaultProvider.getName();
101 kg[1] = KeyGenerator.getInstance(defaultAlgorithm, defaultProvider);
118 KeyGenerator keyG = new myKeyGenerator(spi, defaultProvider,
122 assertEquals("Incorrect provider", keyG.getProvider(), defaultProvider);
284 KeyGenerator.getInstance(null, defaultProvider);
291 KeyGenerator.getInstance(invalidValues[i], defaultProvider);
330 keyA = KeyGenerator.getInstance(validValues[i], defaultProvider);
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyStoreBuilderTest.java 63 private static Provider defaultProvider = null;
66 defaultProvider = Security.getProviders(
219 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass);
224 KeyStore.Builder.newInstance(KeyStore.getDefaultType(), defaultProvider, null,
231 .newInstance(KeyStore.getDefaultType(), defaultProvider, fl, null);
237 .newInstance(KeyStore.getDefaultType(), defaultProvider, fl, myPP);
242 KeyStore.Builder.newInstance(KeyStore.getDefaultType(), defaultProvider,
250 KeyStore.Builder.newInstance(KeyStore.getDefaultType(), defaultProvider, fl
255 ksB = KeyStore.Builder.newInstance(KeyStore.getDefaultType(), defaultProvider, fl,
275 defaultProvider, fl, myPP)
    [all...]

Completed in 2239 milliseconds

1 2