/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 | 48 private static Provider defaultProvider = null; 56 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm, 58 DEFSupported = (defaultProvider != null); 72 KeyAgreement keyA = new myKeyAgreement(spi, defaultProvider, 76 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
MockContactPhotoManager.java | 31 DefaultImageProvider defaultProvider) { 32 defaultProvider.applyDefaultImage(view, hires, darkTheme); 37 DefaultImageProvider defaultProvider) { 38 defaultProvider.applyDefaultImage(view, hires, darkTheme);
|
/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 | 60 private static Provider defaultProvider = null; 70 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm1, 72 DEFSupported = (defaultProvider != null); 77 defaultProviderName = defaultProvider.getName(); 79 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm2, 81 DEFSupported = (defaultProvider != null); 86 defaultProviderName = defaultProvider.getName(); 90 defaultProvider = null; 104 defaultProvider); 125 SecretKeyFactory secKF = new mySecretKeyFactory(spi, defaultProvider, [all...] |
KeyGeneratorTest.java | 62 private static Provider defaultProvider = null; 74 defaultProvider = SpiEngUtils.isSupport(validAlgorithmsKeyGenerator[i], 76 DEFSupported = (defaultProvider != null); 80 defaultProviderName = defaultProvider.getName(); 96 kg[1] = KeyGenerator.getInstance(defaultAlgorithm, defaultProvider); 113 KeyGenerator keyG = new myKeyGenerator(spi, defaultProvider, 117 assertEquals("Incorrect provider", keyG.getProvider(), defaultProvider); 279 KeyGenerator.getInstance(null, defaultProvider); 286 KeyGenerator.getInstance(invalidValues[i], defaultProvider); 325 keyA = KeyGenerator.getInstance(validValues[i], defaultProvider); [all...] |
KeyAgreementTest.java | 61 private static Provider defaultProvider = null; 79 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm, 81 DEFSupported = (defaultProvider != null); 82 defaultProviderName = (DEFSupported ? defaultProvider.getName() : null); 102 ka[1] = KeyAgreement.getInstance(defaultAlgorithm, defaultProvider); 248 KeyAgreement.getInstance(null, defaultProvider); 255 KeyAgreement.getInstance(invalidValues[i], defaultProvider); 294 keyA = KeyAgreement.getInstance(validValues[i], defaultProvider); 298 defaultProvider);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertPathValidator3Test.java | 60 private static Provider defaultProvider; 66 defaultProvider = SpiEngUtils.isSupport(defaultType, 68 PKIXSupport = (defaultProvider != null); 69 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null); 84 defaultProvider);
|
CertPathBuilder1Test.java | 66 private static Provider defaultProvider; 74 defaultProvider = SpiEngUtils.isSupport(defaultType, 76 PKIXSupport = (defaultProvider != null); 77 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null); 91 defaultProvider); 287 CertPathBuilder.getInstance(null, defaultProvider); 293 CertPathBuilder.getInstance(invalidValues[i], defaultProvider); 311 certPB = CertPathBuilder.getInstance(validValues[i], defaultProvider); 313 assertEquals("Incorrect provider name", certPB.getProvider(), defaultProvider); 352 defaultProvider, defaultType) [all...] |
CertPathValidator1Test.java | 66 private static Provider defaultProvider; 72 defaultProvider = SpiEngUtils.isSupport(defaultType, 74 PKIXSupport = (defaultProvider != null); 75 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null); 92 defaultProvider); 294 CertPathValidator.getInstance(null, defaultProvider); 301 CertPathValidator.getInstance(invalidValues[i], defaultProvider); 320 defaultProvider); 324 defaultProvider); 371 defaultProvider, defaultType) [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
TrustManagerFactory1Test.java | 50 private static Provider defaultProvider = null; 63 defaultProvider = SpiEngUtils.isSupport(defaultAlgorithm, 65 DEFSupported = (defaultProvider != null); 66 defaultProviderName = (DEFSupported ? defaultProvider.getName() 83 defaultProvider); 263 defaultProvider); 300 TrustManagerFactory.getInstance(null, defaultProvider); 308 defaultProvider); 329 defaultProvider); 335 defaultProvider); [all...] |
KeyManagerFactory1Test.java | 51 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 | 64 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 | 52 public static Provider defaultProvider = null; 55 defaultProvider = SpiEngUtils.isSupport(defaultType, srvKeyStore); 56 JKSSupported = (defaultProvider != null); 57 defaultProviderName = (JKSSupported ? defaultProvider.getName() : null);
|
/libcore/luni/src/test/java/tests/api/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...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactPhotoManager.java | 126 DefaultImageProvider defaultProvider); 142 DefaultImageProvider defaultProvider); 289 DefaultImageProvider defaultProvider) { 292 defaultProvider.applyDefaultImage(view, hires, darkTheme); 296 defaultProvider)); 302 DefaultImageProvider defaultProvider) { 305 defaultProvider.applyDefaultImage(view, hires, darkTheme); 309 defaultProvider)); 852 DefaultImageProvider defaultProvider) { 857 mDefaultProvider = defaultProvider; [all...] |