/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()
|
D | KeyStoreTest.java | 101 Security.removeProvider(mProv.getName()); in tearDown()
|
D | KeyPairGenerator2Test.java | 77 Security.removeProvider(mProv.getName()); in tearDown()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | ProviderTest.java | 316 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 …]
|
D | SignatureTest.java | 94 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/ |
D | MessageDigestTestMD2.java | 56 Security.removeProvider(provider.getName()); in testMessageDigest2()
|
D | SignatureTestMD2withRSA.java | 109 Security.removeProvider(provider.getName()); in testSignature2()
|
/libcore/luni/src/main/java/java/security/ |
D | Security.java | 160 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/ |
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 | 921 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/ |
D | Services.java | 124 public static synchronized void removeProvider(int providerNumber) { in removeProvider() method in Services
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/ |
D | SubjectPublicKeyInfoTest.java | 98 Security.removeProvider(MyTestProvider.NAME); in test_getPublicKey_NameKnownButOnlyOIDFactoryRegistered()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | SecureRandomTest.java | 58 Security.removeProvider(p.getName()); in tearDown()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | KeyManagerFactory2Test.java | 74 Security.removeProvider(mProv.getName()); in tearDown()
|
D | TrustManagerFactory2Test.java | 71 Security.removeProvider(mProv.getName()); in tearDown()
|
D | SSLContext2Test.java | 72 Security.removeProvider(mProv.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()
|
D | CertStore2Test.java | 37 Security.removeProvider(CERT_STORE_PROVIDER_NAME); in tearDown()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 163 Security.removeProvider(fakeProvider.getName()); in test_SSLSocketFactory_getDefault_cacheInvalidate()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | CipherTest.java | 885 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()
|