Home
last modified time | relevance | path

Searched refs:removeProvider (Results 1 – 25 of 36) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java63 Security.removeProvider(p.getName()); in test_insertProviderAtLjava_security_ProviderLI()
70 Security.removeProvider(p.getName()); in test_insertProviderAtLjava_security_ProviderLI()
78 Security.removeProvider(p.getName()); in test_insertProviderAtLjava_security_ProviderLI()
105 Security.removeProvider(p.getName()); in test_addProviderLjava_security_Provider()
132 Security.removeProvider(provider.getName()); in testGetAlgorithmPropertyLjava_lang_String_java_lang_String()
164 Security.removeProvider(providers[i].getName()); in testRemoveProvider()
207 Security.removeProvider(p.getName()); in test_getProviderLjava_lang_String()
274 Security.removeProvider(p.getName()); in testGetProviders()
347 Security.removeProvider(p.getName()); in test_getProvidersLjava_util_Map()
376 Security.removeProvider(provider.getName()); in test_getProviders()
DSecurity2Test.java271 Security.removeProvider(test.getName()); in test_removeProviderLjava_lang_String()
277 Security.removeProvider(test.getName()); in test_removeProviderLjava_lang_String()
284 Security.removeProvider(entrust.getName()); in test_removeProviderLjava_lang_String()
290 Security.removeProvider(entrust.getName()); in test_removeProviderLjava_lang_String()
298 Security.removeProvider(test.getName()); in test_removeProviderLjava_lang_String()
299 Security.removeProvider(entrust.getName()); in test_removeProviderLjava_lang_String()
DProvider2Test.java149 Security.removeProvider("MOCKNAME"); in test_getAlias()
DAlgorithmParameterGenerator2Test.java76 Security.removeProvider(mProv.getName()); in tearDown()
DKeyStoreTest.java101 Security.removeProvider(mProv.getName()); in tearDown()
DKeyPairGenerator2Test.java77 Security.removeProvider(mProv.getName()); in tearDown()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java316 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_UnknownService_Success()
336 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()
365 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()
384 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()
406 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_KnownService_NonKey_Failure()
429 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure()
447 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_KnownService_Null_Failure()
466 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_SupportedKeyClasses_Success()
485 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_SupportedKeyClasses_Failure()
504 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_SupportedKeyFormats_Success()
[all …]
DSignatureTest.java94 Security.removeProvider(mockProvider.getName()); in testSignature_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()
166 Security.removeProvider(mockProviderSpecific.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
167 Security.removeProvider(mockProviderSpecific2.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
168 Security.removeProvider(mockProviderAll.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
231 Security.removeProvider(mockProviderNonSpi.getName()); in testSignature_getProvider_Subclass()
/libcore/luni/src/test/java/tests/targets/security/
DMessageDigestTestMD2.java56 Security.removeProvider(provider.getName()); in testMessageDigest2()
DSignatureTestMD2withRSA.java109 Security.removeProvider(provider.getName()); in testSignature2()
/libcore/luni/src/main/java/java/security/
DSecurity.java160 public static synchronized void removeProvider(String name) { in removeProvider() method in Security
175 Services.removeProvider(p.getProviderNumber()); in removeProvider()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyAgreementTest.java725 Security.removeProvider(mockProvider.getName()); in testKeyAgreement_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()
797 Security.removeProvider(mockProviderSpecific.getName()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
798 Security.removeProvider(mockProviderSpecific2.getName()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
799 Security.removeProvider(mockProviderAll.getName()); in testKeyAgreement_getInstance_DelayedInitialization_KeyType()
DMacTest.java921 Security.removeProvider(mockProvider.getName()); in testMac_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()
993 Security.removeProvider(mockProviderSpecific.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
994 Security.removeProvider(mockProviderSpecific2.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
995 Security.removeProvider(mockProviderAll.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
DServices.java124 public static synchronized void removeProvider(int providerNumber) { in removeProvider() method in Services
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/
DSubjectPublicKeyInfoTest.java98 Security.removeProvider(MyTestProvider.NAME); in test_getPublicKey_NameKnownButOnlyOIDFactoryRegistered()
/libcore/luni/src/test/java/tests/java/security/
DSecureRandomTest.java58 Security.removeProvider(p.getName()); in tearDown()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyManagerFactory2Test.java74 Security.removeProvider(mProv.getName()); in tearDown()
DTrustManagerFactory2Test.java71 Security.removeProvider(mProv.getName()); in tearDown()
DSSLContext2Test.java72 Security.removeProvider(mProv.getName()); in tearDown()
/libcore/luni/src/test/java/tests/security/cert/
DCertPathBuilder2Test.java76 Security.removeProvider(mProv.getName()); in tearDown()
DCertPathValidator2Test.java77 Security.removeProvider(mProv.getName()); in tearDown()
DCertificateFactory2Test.java81 Security.removeProvider(mProv.getName()); in tearDown()
DCertStore2Test.java37 Security.removeProvider(CERT_STORE_PROVIDER_NAME); in tearDown()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketFactoryTest.java163 Security.removeProvider(fakeProvider.getName()); in test_SSLSocketFactory_getDefault_cacheInvalidate()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java885 Security.removeProvider(mockProvider.getName()); in testCipher_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()
958 Security.removeProvider(mockProviderSpecific.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()
959 Security.removeProvider(mockProviderSpecific2.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()
960 Security.removeProvider(mockProviderAll.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()
977 Security.removeProvider(mockProviderInvalid.getName()); in testCipher_getInstance_WrongType_Failure()

12