/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 71 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 …]
|
D | KeyAgreementTest.java | 69 Security.removeProvider(mockProvider.getName()); in testKeyAgreement_getInstance_DoesNotSupportKeyClass_Success() 95 Security.removeProvider(mockProvider.getName()); in testKeyAgreement_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
|
D | MacTest.java | 74 Security.removeProvider(mockProvider.getName()); in testMac_init_DoesNotSupportKeyClass_throwsInvalidKeyException()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecurityTest.java | 63 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()
|
D | Security2Test.java | 271 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()
|
D | Provider2Test.java | 149 Security.removeProvider("MOCKNAME"); in test_getAlias()
|
D | AlgorithmParameterGenerator2Test.java | 76 Security.removeProvider(mProv.getName()); in tearDown()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 507 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 …]
|
D | SignatureTest.java | 93 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()
|
D | SecureRandomTest.java | 145 Security.removeProvider(weakProvider.getName()); in testGetInstanceStrong()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ProviderBenchmark.java | 36 Security.removeProvider("Mock"); in timeWithNewProvider()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | MessageDigestTestMD2.java | 53 Security.removeProvider(provider.getName()); in testMessageDigest2()
|
D | SignatureTestMD2withRSA.java | 106 Security.removeProvider(provider.getName()); in testSignature2()
|
/libcore/luni/src/test/java/libcore/sun/security/jca/ |
D | ProvidersTest.java | 409 Security.removeProvider("BC"); in testCustomProvider() 425 Security.removeProvider("BC"); in testCustomProvider()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLServerSocketFactoryTest.java | 57 Security.removeProvider(fakeProvider.getName()); in test_SSLServerSocketFactory_getDefault_cacheInvalidate()
|
D | SSLSocketFactoryTest.java | 59 Security.removeProvider(fakeProvider.getName()); in test_SSLSocketFactory_getDefault_cacheInvalidate()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | KeyAgreementTest.java | 725 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()
|
D | MacTest.java | 928 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/ |
D | SecureRandomTest.java | 58 Security.removeProvider(p.getName()); in tearDown()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertPathBuilder2Test.java | 76 Security.removeProvider(mProv.getName()); in tearDown()
|
D | CertPathValidator2Test.java | 77 Security.removeProvider(mProv.getName()); in tearDown()
|
D | CertificateFactory2Test.java | 81 Security.removeProvider(mProv.getName()); in tearDown()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | TrustManagerFactory2Test.java | 71 Security.removeProvider(mProv.getName()); in tearDown()
|
D | KeyManagerFactory2Test.java | 74 Security.removeProvider(mProv.getName()); in tearDown()
|
D | SSLContext2Test.java | 72 Security.removeProvider(mProv.getName()); in tearDown()
|