Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java313 Provider.Service service = provider.getService("Fake", "FOO"); in testProviderService_supportsParameter_UnknownService_Success()
333 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_NoClassInitialization_Success()
358 Provider.Service service = provider.getService("KeyFactory", "FOO"); in testProviderService_supportsParameter_TypeDoesNotSupportParameter_Failure()
381 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_SupportedKeyClasses_NonKeyClass_Success()
399 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_NonKey_Failure()
422 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_SupportedKeyClasses_NonKey_Failure()
444 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_KnownService_Null_Failure()
463 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_SupportedKeyClasses_Success()
482 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_SupportedKeyClasses_Failure()
501 Provider.Service service = provider.getService("Signature", "FOO"); in testProviderService_supportsParameter_SupportedKeyFormats_Success()
[all …]
DKeyPairGeneratorTest.java420 Service s = p.getService("KeyPairGenerator", "DSA"); in testDSAGeneratorWithParams()
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
DSecurityAccess.java53 public Provider.Service getService(Provider p, String type); in getService() method
DEngine.java181 Provider.Service service = provider.getService(serviceName, algorithm); in getInstance()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProviderTest.java302 Provider.Service s = p.getService("MessageDigest", "SHA-1"); in testService1()
312 assertEquals("foo", p.getService("i", "i").getClassName()); in testGetServiceCaseSensitivity()
313 assertEquals("foo", p.getService("i", "I").getClassName()); in testGetServiceCaseSensitivity()
314 assertNull(p.getService("\u0130", "\u0130")); // Turkish dotless i and dotted I in testGetServiceCaseSensitivity()
315 assertNull(p.getService("\u0131", "\u0131")); in testGetServiceCaseSensitivity()
370 Provider.Service s = p2.getService("MessageDigest", "ASH-1"); in testService2()
/libcore/luni/src/main/java/java/security/
DSecurity.java407 public Provider.Service getService(Provider p, String type) { in getService() method in Security.SecurityDoor
408 return p.getService(type); in getService()
DSignature.java192 Provider.Service service = provider.getService(SERVICE, algorithm); in tryAlgorithm()
DProvider.java374 synchronized Provider.Service getService(String type) { in getService() method in Provider
407 public synchronized Provider.Service getService(String type, in getService() method in Provider
/libcore/luni/src/main/java/javax/crypto/
DKeyAgreement.java194 Provider.Service service = provider.getService(SERVICE, algorithm); in tryAlgorithm()
DMac.java198 Provider.Service service = provider.getService(SERVICE, algorithm); in tryAlgorithm()
DCipher.java418 Provider.Service service = provider.getService(SERVICE, transform); in tryTransform()