Home
last modified time | relevance | path

Searched refs:service (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DServiceLoader.java190 private final Class<S> service; field in ServiceLoader
218 lookupIterator = new LazyIterator(service, loader); in reload()
222 service = Objects.requireNonNull(svc, "Service interface cannot be null"); in ServiceLoader()
230 private static void fail(Class<?> service, String msg, Throwable cause) in fail() argument
233 throw new ServiceConfigurationError(service.getName() + ": " + msg, in fail()
237 private static void fail(Class<?> service, String msg) in fail() argument
240 throw new ServiceConfigurationError(service.getName() + ": " + msg); in fail()
243 private static void fail(Class<?> service, URL u, int line, String msg) in fail() argument
246 fail(service, u + ":" + line + ": " + msg); in fail()
252 private int parseLine(Class<?> service, URL u, BufferedReader r, int lc, in parseLine() argument
[all …]
/libcore/support/src/test/java/tests/resources/manifest/
Dhyts_MANIFEST.MF7 com.ibm.ive.eccomm.service.registry; specification-version=1.0.0,
8 com.ibm.ive.eccomm.service.session; specification-version=1.0.0,
9 com.ibm.ive.eccomm.service.framework; specification-version=1.2.0,
11 org.osgi.service.log; specification-version=1.0.0,
16 Import-Service: org.osgi.service.log.LogReaderService
17 org.osgi.service.log.LogService,
18 com.ibm.ive.eccomm.service.registry.RegistryService
20 com.ibm.ive.eccomm.service.authentication; specification-version=1.0.0,
23 Export-Service: com.ibm.ive.eccomm.service.authentication.AuthenticationService,
24 com.ibm.ive.eccomm.service.session.SessionService
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DProvider2Test.java137 Provider.Service service = new Provider.Service(mockProvider, in test_getAlias() local
139 mockProvider.putService(service); in test_getAlias()
162 public void putService(Provider.Service service) { in putService() argument
163 super.putService(service); in putService()
166 public void removeService(Provider.Service service) { in removeService() argument
167 super.removeService(service); in removeService()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java125 for (Provider.Service service : services) { in test_Provider_getServices()
126 String type = service.getType(); in test_Provider_getServices()
127 String algorithm = service.getAlgorithm().toUpperCase(); in test_Provider_getServices()
128 String className = service.getClassName(); in test_Provider_getServices()
390 Provider.Service service = getService(bc, conscryptAlg); in test_Provider_ConscryptOverridesBouncyCastle() local
391 if (service != null) { in test_Provider_ConscryptOverridesBouncyCastle()
392 bcClasses.add(service.getClassName()); in test_Provider_ConscryptOverridesBouncyCastle()
410 Provider.Service service = getService(bc, key); in test_Provider_ConscryptOverridesBouncyCastle() local
411 if (bcClasses.contains(service.getClassName())) { in test_Provider_ConscryptOverridesBouncyCastle()
461 for (Provider.Service service : services) { in test_Provider_getServices_supportsParameter()
[all …]
DSecureRandomTest.java39 for (Provider.Service service : services) { in test_getInstance()
40 String type = service.getType(); in test_getInstance()
45 String algorithm = service.getAlgorithm(); in test_getInstance()
DSignatureTest.java505 Provider.Service service = spy(new Provider.Service(provider, "Signature", in testGetParameters_IsCalled() local
511 doReturn(service).when(provider).getService(service.getType(), service.getAlgorithm()); in testGetParameters_IsCalled()
512 doReturn(signatureSpi).when(service).newInstance(null); in testGetParameters_IsCalled()
514 Signature sig = Signature.getInstance(service.getAlgorithm(), provider); in testGetParameters_IsCalled()
/libcore/ojluni/src/main/java/sun/security/jca/
DProviders.java325 String service, String algorithm) throws NoSuchAlgorithmException { in checkBouncyCastleDeprecation() argument
330 checkBouncyCastleDeprecation(service, algorithm); in checkBouncyCastleDeprecation()
342 String service, String algorithm) throws NoSuchAlgorithmException { in checkBouncyCastleDeprecation() argument
346 checkBouncyCastleDeprecation(service, algorithm); in checkBouncyCastleDeprecation()
548 private static void checkBouncyCastleDeprecation(String service, String algorithm) in checkBouncyCastleDeprecation() argument
550 String key = service + "." + algorithm; in checkBouncyCastleDeprecation()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java120 String service = "META-INF/services/" + property; in createXMLReader() local
125 in = ClassLoader.getSystemResourceAsStream (service); in createXMLReader()
127 in = loader.getResourceAsStream (service); in createXMLReader()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DSpiEngUtils.java47 public static Provider isSupport(String algorithm, String service) { in isSupport() argument
49 Provider[] provs = Security.getProviders(service.concat(".") in isSupport()
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DProviders.java98 java.lang.String provider, java.lang.String service, java.lang.String algorithm) in checkBouncyCastleDeprecation() argument
104 java.security.Provider provider, java.lang.String service, java.lang.String algorithm) in checkBouncyCastleDeprecation() argument
110 java.lang.String service, java.lang.String algorithm) in checkBouncyCastleDeprecation() argument
/libcore/ojluni/src/main/java/javax/crypto/
DCipher.java2685 static boolean matchAttribute(Provider.Service service, String attr, String value) { in matchAttribute() argument
2689 final String pattern = service.getAttribute(attr); in matchAttribute()
2873 Provider.Service service = provider.getService("Cipher", transform.name); in tryCombinations() local
2874 if (service == null) { in tryCombinations()
2878 service); in tryCombinations()
2883 Provider.Service service = prov.getService("Cipher", transform.name); in tryCombinations() local
2884 if (service == null) { in tryCombinations()
2889 || service.supportsParameter(initParams.key)) { in tryCombinations()
2892 tokenizedTransformation, transform.needToSet, service); in tryCombinations()
2946 String[] tokenizedTransformation, NeedToSet type, Provider.Service service) in tryTransformWithProvider() argument
[all …]
/libcore/ojluni/annotations/mmodule/sun/security/jca/
DProviders.annotated.java66 …checkBouncyCastleDeprecation(java.lang.String provider, java.lang.String service, java.lang.String… in checkBouncyCastleDeprecation() argument
68 …ouncyCastleDeprecation(java.security.Provider provider, java.lang.String service, java.lang.String… in checkBouncyCastleDeprecation() argument
/libcore/ojluni/src/main/java/java/security/
DProvider.java1075 Service service = serviceMap.get(key); in getService() local
1076 if (service != null) { in getService()
1077 return service; in getService()
/libcore/benchmarks/libs/
Dcaliper.jar.txt140 names, trademarks, service marks, or product names of the Licensor,
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/libcore/
DLICENSE24 distribute copies of free software (and charge for this service if you wish),
/libcore/luni/src/main/java/libcore/net/
Dmime.types231 application/vnd.japannet-directory-service
/libcore/ojluni/
DNOTICE310 distribute copies of free software (and charge for this service if you wish),