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/luni/src/test/java/libcore/java/util/concurrent/
DExecutorServiceAutoCloseable.java25 private final ExecutorService service; field in ExecutorServiceAutoCloseable
27 public ExecutorServiceAutoCloseable(ExecutorService service) { in ExecutorServiceAutoCloseable() argument
28 this.service = service; in ExecutorServiceAutoCloseable()
34 service.shutdown(); in close()
36 if(!service.awaitTermination(5000, TimeUnit.MILLISECONDS)) { in close()
37 service.shutdownNow(); in close()
38 service.awaitTermination(1000, TimeUnit.MILLISECONDS); in close()
DAbstractExecutorServiceTest.java74 ExecutorService service = new TestExecutorService(); in testSubmitRunnableWithValue() local
76 Future<Integer> future = service.submit(() -> didRun.set(true), value); in testSubmitRunnableWithValue()
/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/libcore/java/security/
DProviderTest.java116 for (Provider.Service service : services) { in test_Provider_getServices()
117 String type = service.getType(); in test_Provider_getServices()
118 String algorithm = service.getAlgorithm().toUpperCase(); in test_Provider_getServices()
119 String className = service.getClassName(); in test_Provider_getServices()
388 Provider.Service service = getService(bc, conscryptAlg); in test_Provider_ConscryptOverridesBouncyCastle() local
389 if (service != null) { in test_Provider_ConscryptOverridesBouncyCastle()
390 bcClasses.add(service.getClassName()); in test_Provider_ConscryptOverridesBouncyCastle()
408 Provider.Service service = getService(bc, key); in test_Provider_ConscryptOverridesBouncyCastle() local
409 if (bcClasses.contains(service.getClassName())) { in test_Provider_ConscryptOverridesBouncyCastle()
459 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.java473 Provider.Service service = spy(new Provider.Service(provider, "Signature", in testGetParameters_IsCalled() local
479 doReturn(service).when(provider).getService(service.getType(), service.getAlgorithm()); in testGetParameters_IsCalled()
480 doReturn(signatureSpi).when(service).newInstance(null); in testGetParameters_IsCalled()
482 Signature sig = Signature.getInstance(service.getAlgorithm(), provider); in testGetParameters_IsCalled()
/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/ojluni/src/main/java/sun/security/jca/
DProviders.java331 String service, String algorithm) throws NoSuchAlgorithmException { in checkBouncyCastleDeprecation() argument
336 checkBouncyCastleDeprecation(service, algorithm); in checkBouncyCastleDeprecation()
348 String service, String algorithm) throws NoSuchAlgorithmException { in checkBouncyCastleDeprecation() argument
352 checkBouncyCastleDeprecation(service, algorithm); in checkBouncyCastleDeprecation()
371 private static void checkBouncyCastleDeprecation(String service, String algorithm) in checkBouncyCastleDeprecation() argument
373 String key = service + "." + algorithm; in checkBouncyCastleDeprecation()
/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLReaderFactory.java122 String service = "META-INF/services/" + property; in createXMLReader() local
127 in = ClassLoader.getSystemResourceAsStream (service); in createXMLReader()
129 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.java81 …checkBouncyCastleDeprecation(java.lang.String provider, java.lang.String service, java.lang.String… in checkBouncyCastleDeprecation() argument
84 …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/
DLICENSE24 distribute copies of free software (and charge for this service if you wish),
/libcore/ojluni/
DNOTICE310 distribute copies of free software (and charge for this service if you wish),