/libcore/ojluni/src/main/java/java/util/ |
H A D | ServiceLoader.java | 42 * 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 189 private Class<S> service; field in class:ServiceLoader 222 fail(Class service, String msg, Throwable cause) argument 229 fail(Class service, String msg) argument 235 fail(Class service, URL u, int line, String msg) argument 244 parseLine(Class service, URL u, BufferedReader r, int lc, List<String> names) argument 290 parse(Class service, URL u) argument 320 Class<S> service; field in class:ServiceLoader.LazyIterator 326 LazyIterator(Class<S> service, ClassLoader loader) argument 473 load(Class<S> service, ClassLoader loader) argument 500 load(Class<S> service) argument 529 loadInstalled(Class<S> service) argument 545 loadFromSystemProperty(final Class<S> service) argument [all...] |
/libcore/ojluni/src/main/java/sun/misc/ |
H A D | Service.java | 43 * A simple service-provider lookup mechanism. A <i>service</i> is a 44 * well-known set of interfaces and (usually abstract) classes. A <i>service 45 * provider</i> is a specific implementation of a service. The classes in a 47 * in the service itself. Service providers may be installed in an 53 * <p> In this lookup mechanism a service is represented by an interface or an 55 * recommended.) A provider of a given service contains one or more concrete 56 * classes that extend this <i>service class</i> with data and code specific to 61 * provider classes tend to be highly service-specific; no single class or 66 * <p> A service provide 134 fail(Class service, String msg, Throwable cause) argument 143 fail(Class service, String msg) argument 149 fail(Class service, URL u, int line, String msg) argument 160 parseLine(Class service, URL u, BufferedReader r, int lc, List names, Set returned) argument 214 parse(Class service, URL u, Set returned) argument 244 Class service; field in class:Service.LazyIterator 251 LazyIterator(Class service, ClassLoader loader) argument 353 providers(Class service, ClassLoader loader) argument 385 providers(Class service) argument 422 installedProviders(Class service) argument [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Provider2Test.java | 137 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/support/src/test/java/org/apache/harmony/security/tests/support/ |
H A D | SpiEngUtils.java | 44 * @param service 47 public static Provider isSupport(String algorithm, String service) { argument 49 Provider[] provs = Security.getProviders(service.concat(".")
|
/libcore/luni/src/test/java/libcore/java/security/ |
H A D | ProviderTest.java | 84 for (Provider.Service service : services) { 85 String type = service.getType(); 86 String algorithm = service.getAlgorithm().toUpperCase(); 87 String className = service.getClassName(); 111 * Try to see if the service supports this. 272 for (Provider.Service service : services) { 273 final String type = service.getType(); 276 service.supportsParameter(new MockKey()); 281 service.supportsParameter(new Object()); 318 Provider.Service service 674 putServiceForTest(Provider.Service service) argument [all...] |
H A D | SecureRandomTest.java | 43 for (Provider.Service service : services) { 44 String type = service.getType(); 49 String algorithm = service.getAlgorithm();
|
H A D | MessageDigestTest.java | 58 for (Provider.Service service : services) { 59 String type = service.getType(); 63 String algorithm = service.getAlgorithm();
|
H A D | KeyPairGeneratorTest.java | 137 for (Provider.Service service : services) { 138 String type = service.getType(); 142 String algorithm = service.getAlgorithm(); 321 for (Provider.Service service : services) { 322 if (!"KeyFactory".equals(service.getType())) { 325 if (!service.getAlgorithm().equals(keyAlgo)) {
|
H A D | SignatureTest.java | 310 for (Provider.Service service : services) { 311 String type = service.getType(); 315 String algorithm = service.getAlgorithm(); 3203 Provider.Service service = spy(new Provider.Service(provider, "Signature", 3209 doReturn(service).when(provider).getService(service.getType(), service.getAlgorithm()); 3210 doReturn(signatureSpi).when(service).newInstance(null); 3212 Signature sig = Signature.getInstance(service.getAlgorithm(), provider);
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
H A D | XMLReaderFactory.java | 119 String service = "META-INF/services/" + property; 124 in = ClassLoader.getSystemResourceAsStream (service); 126 in = loader.getResourceAsStream (service);
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
H A D | KeyGeneratorTest.java | 42 for (Provider.Service service : services) { 43 String type = service.getType(); 56 String algorithm = service.getAlgorithm();
|
H A D | CipherTest.java | 1196 for (Provider.Service service : services) { 1197 String type = service.getType(); 1202 String algorithm = service.getAlgorithm();
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | TrustManagerFactoryTest.java | 180 for (Provider.Service service : services) { 181 String type = service.getType(); 185 String algorithm = service.getAlgorithm(); 226 for (Provider.Service service : services) { 227 String type = service.getType(); 231 String algorithm = service.getAlgorithm();
|
H A D | KeyManagerFactoryTest.java | 266 for (Provider.Service service : services) { 267 String type = service.getType(); 271 String algorithm = service.getAlgorithm();
|
/libcore/ojluni/src/main/java/javax/crypto/ |
H A D | Cipher.java | 2678 static boolean matchAttribute(Provider.Service service, String attr, String value) { argument 2682 final String pattern = service.getAttribute(attr); 2866 Provider.Service service = provider.getService("Cipher", transform.name); 2867 if (service == null) { 2871 service); 2876 Provider.Service service = prov.getService("Cipher", transform.name); 2877 if (service == null) { 2882 || service.supportsParameter(initParams.key)) { 2885 tokenizedTransformation, transform.needToSet, service); 2930 * Tries to initialize the {@code Cipher} from a given {@code service} 2938 tryTransformWithProvider(InitParams initParams, String[] tokenizedTransformation, NeedToSet type, Provider.Service service) argument [all...] |
/libcore/ojluni/src/main/java/java/security/ |
H A D | SecureRandom.java | 403 Service service = cryptoProvider.getService("SecureRandom", algorithm); 404 Instance instance = GetInstance.getInstance(service, SecureRandomSpi.class);
|
H A D | Provider.java | 62 * cryptographic service provider, works and is installed. However, 64 * service in Java that uses a pluggable architecture with a choice 72 * <p>The service type <code>Provider</code> is reserved for use by the 569 * service objects. 688 * Get the service describing this Provider's implementation of the 693 * the service added via {@link #putService putService()} is returned. 695 * @param type the type of {@link Service service} requested 698 * alias) of the service requested (for example, <code>SHA-1</code>) 700 * @return the service describing this Provider's matching service [all...] |
/libcore/support/src/test/java/tests/resources/ |
H A D | junit4-4.3.1.jar | META-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/framework/ junit/runner/ junit/textui/ org/ ... |