Searched defs:providers (Results 1 - 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
H A DServiceLoader.java47 * and subclass the classes defined in the service itself. Service providers
89 * service loader maintains a cache of the providers that have been loaded so
93 * providers, adding each one to the cache in turn. The cache can be cleared
118 * does not support the given encoding. Typical providers support more than
140 * factory method which iterates through the known and available providers,
142 * providers.
192 // The class loader used to locate, load, and instantiate providers
199 // Cached providers, in instantiation order
200 private LinkedHashMap<String,S> providers = new LinkedHashMap<>(); field in class:ServiceLoader
206 * Clear this loader's provider cache so that all providers wil
[all...]
/libcore/luni/src/test/java/libcore/java/security/
H A DKeyPairGeneratorTest.java62 private List<Provider> providers = new ArrayList<Provider>(); field in class:KeyPairGeneratorTest
72 Provider[] providers = Security.getProviders();
73 for (Provider p : providers) {
78 this.providers.add(p);
85 providers.clear();
93 assertTrue(providers.size() > 0);
96 assertTrue(providers.size() < 10);
140 if (providerIndex >= providers.size()) {
147 Provider provider = providers.get(providerIndex);
331 for (Provider p : providers) {
[all...]
/libcore/ojluni/src/main/java/java/nio/charset/
H A DCharset.java354 // Creates an iterator that walks over the available providers, ignoring
358 private static Iterator<CharsetProvider> providers() { method in class:Charset
413 // however, so we can't look for providers because doing so will cause
429 for (Iterator<CharsetProvider> i = providers();
510 // providers.
616 * charset providers are dynamically made available to the current Java
637 for (Iterator i = providers(); i.hasNext();) {
/libcore/ojluni/src/main/java/sun/security/jca/
H A DProviderList.java128 public static ProviderList newList(Provider ... providers) { argument
129 ProviderConfig[] configs = new ProviderConfig[providers.length];
130 for (int i = 0; i < providers.length; i++) {
131 configs[i] = new ProviderConfig(providers[i]);
136 // configuration of the providers
142 // List returned by providers()
186 // Get rid of duplicate providers.
199 * of the providers specified via jarClassNames, which must be on the
242 public List<Provider> providers() { method in class:ProviderList
277 debug.println("Loading all providers");
[all...]

Completed in 1453 milliseconds