Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherTest.java71 Security.removeProvider(mockProvider.getName()); in testCipher_getInstance_DoesNotSupportKeyClass_Success()
110 Security.removeProvider(mockProvider.getName()); in testCipher_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()
183 Security.removeProvider(mockProviderSpecific.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()
184 Security.removeProvider(mockProviderSpecific2.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()
185 Security.removeProvider(mockProviderAll.getName()); in testCipher_getInstance_DelayedInitialization_KeyType()
207 Security.removeProvider(mockProviderOnlyAlgorithm.getName()); in testCipher_getInstance_CorrectPriority_AlgorithmOnlyFirst()
208 Security.removeProvider(mockProviderFullTransformSpecified.getName()); in testCipher_getInstance_CorrectPriority_AlgorithmOnlyFirst()
230 Security.removeProvider(mockProviderOnlyAlgorithm.getName()); in testCipher_getInstance_CorrectPriority_FullTransformFirst()
231 Security.removeProvider(mockProviderFullTransformSpecified.getName()); in testCipher_getInstance_CorrectPriority_FullTransformFirst()
254 Security.removeProvider(mockProviderAliasedAlgorithm.getName()); in testCipher_getInstance_CorrectPriority_AliasedAlgorithmFirst()
[all …]
DKeyAgreementTest.java69 Security.removeProvider(mockProvider.getName()); in testKeyAgreement_getInstance_DoesNotSupportKeyClass_Success()
95 Security.removeProvider(mockProvider.getName()); in testKeyAgreement_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
DMacTest.java74 Security.removeProvider(mockProvider.getName()); in testMac_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
/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()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java507 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_UnknownService_Success()
527 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()
556 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()
575 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()
597 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_KnownService_NonKey_Failure()
620 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure()
638 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_KnownService_Null_Failure()
657 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_SupportedKeyClasses_Success()
676 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_SupportedKeyClasses_Failure()
695 Security.removeProvider(provider.getName()); in testProviderService_supportsParameter_SupportedKeyFormats_Success()
[all …]
DSignatureTest.java93 Security.removeProvider(mockProvider.getName()); in testSignature_getInstance_DoesNotSupportKeyClass_Success()
119 Security.removeProvider(mockProvider.getName()); in testSignature_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
145 Security.removeProvider(mockProvider.getName()); in testSignature_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()
220 Security.removeProvider(mockProviderSpecific.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
221 Security.removeProvider(mockProviderSpecific2.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
222 Security.removeProvider(mockProviderAll.getName()); in testSignature_getInstance_DelayedInitialization_KeyType()
436 Security.removeProvider(mockProviderNonSpi.getName()); in testSignature_getProvider_Subclass()
DSecureRandomTest.java145 Security.removeProvider(weakProvider.getName()); in testGetInstanceStrong()
/libcore/benchmarks/src/benchmarks/regression/
DProviderBenchmark.java36 Security.removeProvider("Mock"); in timeWithNewProvider()
/libcore/luni/src/test/java/tests/targets/security/
DMessageDigestTestMD2.java53 Security.removeProvider(provider.getName()); in testMessageDigest2()
DSignatureTestMD2withRSA.java106 Security.removeProvider(provider.getName()); in testSignature2()
/libcore/luni/src/test/java/libcore/sun/security/jca/
DProvidersTest.java409 Security.removeProvider("BC"); in testCustomProvider()
425 Security.removeProvider("BC"); in testCustomProvider()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLServerSocketFactoryTest.java57 Security.removeProvider(fakeProvider.getName()); in test_SSLServerSocketFactory_getDefault_cacheInvalidate()
DSSLSocketFactoryTest.java59 Security.removeProvider(fakeProvider.getName()); in test_SSLSocketFactory_getDefault_cacheInvalidate()
/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.java928 Security.removeProvider(mockProvider.getName()); in testMac_getInstance_DoesNotSupportKeyClass_Success()
966 Security.removeProvider(mockProvider.getName()); in testMac_getInstance_OnlyUsesSpecifiedProvider_SameNameAndClass_Success()
1038 Security.removeProvider(mockProviderSpecific.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
1039 Security.removeProvider(mockProviderSpecific2.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
1040 Security.removeProvider(mockProviderAll.getName()); in testMac_getInstance_DelayedInitialization_KeyType()
/libcore/luni/src/test/java/tests/java/security/
DSecureRandomTest.java58 Security.removeProvider(p.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()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DTrustManagerFactory2Test.java71 Security.removeProvider(mProv.getName()); in tearDown()
DKeyManagerFactory2Test.java74 Security.removeProvider(mProv.getName()); in tearDown()
DSSLContext2Test.java72 Security.removeProvider(mProv.getName()); in tearDown()

12