Home
last modified time | relevance | path

Searched refs:insertProviderAt (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java44 Security.insertProviderAt(null, 1); in test_insertProviderAtLjava_security_ProviderLI()
57 assertEquals(initNum + 1, Security.insertProviderAt(p, -1)); in test_insertProviderAtLjava_security_ProviderLI()
61 assertEquals(-1, Security.insertProviderAt(p, 1)); in test_insertProviderAtLjava_security_ProviderLI()
66 assertEquals(initNum + 1, Security.insertProviderAt(p, in test_insertProviderAtLjava_security_ProviderLI()
73 assertEquals(1, Security.insertProviderAt(p, 1)); in test_insertProviderAtLjava_security_ProviderLI()
DKeyStoreTest.java89 Security.insertProviderAt(mProv, 2); in setUp()
DKeyPairGenerator2Test.java85 Security.insertProviderAt(mProv, 1); in setProv()
DSignatureTest.java176 Security.insertProviderAt(provider, 1); in getTestSignature()
DAlgorithmParametersTest.java60 Security.insertProviderAt(p, 1); in setUp()
/libcore/luni/src/test/java/libcore/sun/security/jca/
DProvidersTest.java410 Security.insertProviderAt(newBouncyCastle, originalBouncyCastleIndex); in testCustomProvider()
426 Security.insertProviderAt(originalBouncyCastle, originalBouncyCastleIndex); in testCustomProvider()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLServerSocketFactoryTest.java47 Security.insertProviderAt(fakeProvider, 1); in test_SSLServerSocketFactory_getDefault_cacheInvalidate()
DSSLSocketFactoryTest.java49 Security.insertProviderAt(fakeProvider, 1); in test_SSLSocketFactory_getDefault_cacheInvalidate()
/libcore/luni/src/test/java/libcore/java/security/
DSecureRandomTest.java138 Security.insertProviderAt(weakProvider, 1); in testGetInstanceStrong()
DProviderTest.java919 int position = Security.insertProviderAt(srp, 1); // first is one, not zero in testSecureRandomImplementationOrder()
/libcore/luni/src/test/java/tests/java/security/
DSecureRandomTest.java50 Security.insertProviderAt(p, 1); in setUp()
/libcore/luni/src/test/java/tests/security/cert/
DCertPathBuilder2Test.java68 Security.insertProviderAt(mProv, 1); in setUp()
DCertPathValidator2Test.java69 Security.insertProviderAt(mProv, 1); in setUp()
DCertificateFactory2Test.java73 Security.insertProviderAt(mProv, 1); in setUp()
/libcore/ojluni/src/main/java/java/security/
DSecurity.java283 public static synchronized int insertProviderAt(Provider provider, in insertProviderAt() method in Security
333 return insertProviderAt(provider, 0); in addProvider()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DTrustManagerFactory2Test.java63 Security.insertProviderAt(mProv, 1); in setUp()
DKeyManagerFactory2Test.java66 Security.insertProviderAt(mProv, 2); in setUp()
DSSLContext2Test.java64 Security.insertProviderAt(mProv, 1); in setUp()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java132 Security.insertProviderAt(provider, 1); in install_test_x509_factory()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java148 Security.insertProviderAt(new BouncyCastleProvider(), in Security.insertProviderAt()