Home
last modified time | relevance | path

Searched refs:supportsParameter (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java271 service.supportsParameter(new MockKey()); in test_Provider_getServices_supportsParameter()
276 service.supportsParameter(new Object()); in test_Provider_getServices_supportsParameter()
314 assertTrue(service.supportsParameter(new Object())); in testProviderService_supportsParameter_UnknownService_Success()
334 assertFalse(service.supportsParameter(new MockKey())); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()
360 service.supportsParameter(new MockKey()); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()
382 assertFalse(service.supportsParameter(new MockKey())); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()
401 service.supportsParameter(new Object()); in testProviderService_supportsParameter_KnownService_NonKey_Failure()
424 service.supportsParameter(new Object()); in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure()
445 assertFalse(service.supportsParameter(null)); in testProviderService_supportsParameter_KnownService_Null_Failure()
464 assertTrue(service.supportsParameter(new MockKey())); in testProviderService_supportsParameter_SupportedKeyClasses_Success()
[all …]
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderServiceTest.java82 if (!s.supportsParameter(new Object())) { in testService()
181 assertTrue(s1.supportsParameter(null)); in testSupportsParameter()
182 assertTrue(s1.supportsParameter(new Object())); in testSupportsParameter()
215 public boolean supportsParameter(Object parameter) { in supportsParameter() method in ProviderServiceTest.MyService
/libcore/luni/src/main/java/javax/crypto/
DKeyAgreement.java215 if (key != null && !service.supportsParameter(key)) { in tryAlgorithmWithProvider()
DMac.java219 if (key != null && !service.supportsParameter(key)) { in tryAlgorithmWithProvider()
DCipher.java440 if (key != null && !service.supportsParameter(key)) { in tryTransformWithProvider()
/libcore/luni/src/main/java/java/security/
DProvider.java1139 public boolean supportsParameter(Object parameter) { in supportsParameter() method in Provider.Service
1140 Boolean supportsParameter = supportsParameterTypes.get(type); in supportsParameter() local
1141 if (supportsParameter == null) { in supportsParameter()
1144 if (!supportsParameter) { in supportsParameter()
DSignature.java213 if (key != null && !service.supportsParameter(key)) { in tryAlgorithmWithProvider()