Searched defs:service (Results 1 - 7 of 7) sorted by relevance

/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DSpiEngUtils.java44 * @param service
47 public static Provider isSupport(String algorithm, String service) { argument
49 Provider[] provs = Security.getProviders(service.concat(".")
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DProvider2Test.java137 Provider.Service service = new Provider.Service(mockProvider,
139 mockProvider.putService(service);
162 public void putService(Provider.Service service) { argument
163 super.putService(service);
166 public void removeService(Provider.Service service) { argument
167 super.removeService(service);
/libcore/ojluni/src/main/java/java/util/
H A DServiceLoader.java42 * A simple service-provider loading facility.
44 * <p> A <i>service</i> is a well-known set of interfaces and (usually
45 * abstract) classes. A <i>service provider</i> is a specific implementation
46 * of a service. The classes in a provider typically implement the interfaces
47 * and subclass the classes defined in the service itself. Service providers
53 * <p> For the purpose of loading, a service is represented by a single type,
55 * used, but this is not recommended.) A provider of a given service contains
56 * one or more concrete classes that extend this <i>service type</i> with data
61 * The details of provider classes tend to be highly service-specific; no
67 * <p><a name="format"> A service provide
190 private final Class<S> service; field in class:ServiceLoader
230 fail(Class<?> service, String msg, Throwable cause) argument
237 fail(Class<?> service, String msg) argument
243 fail(Class<?> service, URL u, int line, String msg) argument
252 parseLine(Class<?> service, URL u, BufferedReader r, int lc, List<String> names) argument
298 parse(Class<?> service, URL u) argument
328 Class<S> service; field in class:ServiceLoader.LazyIterator
334 LazyIterator(Class<S> service, ClassLoader loader) argument
521 load(Class<S> service, ClassLoader loader) argument
550 load(Class<S> service) argument
581 loadInstalled(Class<S> service) argument
599 loadFromSystemProperty(final Class<S> service) argument
[all...]
/libcore/ojluni/src/main/java/sun/security/jca/
H A DProviders.java325 String service, String algorithm) throws NoSuchAlgorithmException {
330 checkBouncyCastleDeprecation(service, algorithm);
342 String service, String algorithm) throws NoSuchAlgorithmException {
346 checkBouncyCastleDeprecation(service, algorithm);
543 * Throws an exception or logs a warning if the supplied service and algorithm identify
548 private static void checkBouncyCastleDeprecation(String service, String algorithm) argument
550 String key = service + "." + algorithm;
324 checkBouncyCastleDeprecation(String provider, String service, String algorithm) argument
341 checkBouncyCastleDeprecation(Provider provider, String service, String algorithm) argument
/libcore/luni/src/test/java/libcore/java/security/
H A DProviderTest.java125 for (Provider.Service service : services) {
126 String type = service.getType();
127 String algorithm = service.getAlgorithm().toUpperCase();
128 String className = service.getClassName();
152 * Try to see if the service supports this.
193 // don't show up as a service but can still be instantiated.
364 Provider.Service service = getService(bc, conscryptAlg);
365 if (service != null) {
366 bcClasses.add(service.getClassName());
384 Provider.Service service
1201 putServiceForTest(Provider.Service service) argument
[all...]
/libcore/ojluni/src/main/java/javax/crypto/
H A DCipher.java359 // next service to try in provider selection
570 // get the transform matching the specified service
2685 static boolean matchAttribute(Provider.Service service, String attr, String value) { argument
2689 final String pattern = service.getAttribute(attr);
2873 Provider.Service service = provider.getService("Cipher", transform.name);
2874 if (service == null) {
2878 service);
2883 Provider.Service service = prov.getService("Cipher", transform.name);
2884 if (service == null) {
2889 || service
2945 tryTransformWithProvider(InitParams initParams, String[] tokenizedTransformation, NeedToSet type, Provider.Service service) argument
[all...]
/libcore/support/src/test/java/tests/resources/
H A Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ...

Completed in 382 milliseconds