Home
last modified time | relevance | path

Searched refs:insertProviderAt (Results 1 – 21 of 21) 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()
DAlgorithmParameterGenerator2Test.java68 Security.insertProviderAt(mProv, 1); in setUp()
DKeyStoreTest.java89 Security.insertProviderAt(mProv, 2); in setUp()
DKeyPairGenerator2Test.java85 Security.insertProviderAt(mProv, 1); in setProv()
DSignatureTest.java175 Security.insertProviderAt(provider, 1); in getTestSignature()
DAlgorithmParametersTest.java60 Security.insertProviderAt(p, 1); in setUp()
/libcore/luni/src/main/java/java/security/
DSecurity.java122 public static synchronized int insertProviderAt(Provider provider, int position) { in insertProviderAt() method in Security
130 int result = Services.insertProviderAt(provider, position); in insertProviderAt()
145 return insertProviderAt(provider, 0); in addProvider()
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
DServices.java110 public static synchronized int insertProviderAt(Provider provider, int position) { in insertProviderAt() method in Services
/libcore/luni/src/test/java/tests/java/security/
DSecureRandomTest.java50 Security.insertProviderAt(p, 1); in setUp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyManagerFactory2Test.java66 Security.insertProviderAt(mProv, 2); in setUp()
DTrustManagerFactory2Test.java63 Security.insertProviderAt(mProv, 1); in setUp()
DSSLContext2Test.java64 Security.insertProviderAt(mProv, 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/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java152 Security.insertProviderAt(fakeProvider, 1); in test_SSLSocketFactory_getDefault_cacheInvalidate()
DSSLContextTest.java405 providerPosition = Security.insertProviderAt(provider, 1); in invokeWithHighestPrioritySecurityProvider()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java132 Security.insertProviderAt(provider, 1); in install_test_x509_factory()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java587 int position = Security.insertProviderAt(srp, 1); // first is one, not zero in testSecureRandomImplementationOrder()
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java95 Security.insertProviderAt(new BouncyCastleProvider(), in Security.insertProviderAt()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java1081 Security.insertProviderAt(new JarFileBadProvider(), 1); in testJarFile_BadSignatureProvider_Success()