Searched refs:provider (Results 1 - 25 of 180) sorted by relevance

12345678

/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
H A DSelectorProviderTest.java33 // calling #provider to see if it returns without Exception.
34 assertNotNull(SelectorProvider.provider());
37 SelectorProvider.provider().inheritedChannel();
39 assertNotNull(SelectorProvider.provider().openDatagramChannel());
40 assertNotNull(SelectorProvider.provider().openPipe());
41 assertNotNull(SelectorProvider.provider().openServerSocketChannel());
42 assertNotNull(SelectorProvider.provider().openSocketChannel());
43 assertNotNull(SelectorProvider.provider().openSelector());
/libcore/luni/src/test/java/libcore/java/nio/channels/spi/
H A DAsynchronousChannelProviderTest.java29 AsynchronousChannelProvider provider = AsynchronousChannelProvider.provider();
31 assertNotNull(provider);
32 assertSame(AsynchronousChannelProvider.provider(), provider);
34 assertNotNull(provider.openAsynchronousChannelGroup(1, new TestThreadFactory()));
36 assertNotNull(provider.openAsynchronousChannelGroup(Executors.newSingleThreadExecutor(),
39 assertNotNull(provider.openAsynchronousServerSocketChannel(
42 assertNotNull(provider.openAsynchronousSocketChannel(
45 assertNotNull(provider
[all...]
/libcore/ojluni/src/main/java/java/nio/channels/
H A DAsynchronousChannelGroup.java134 private final AsynchronousChannelProvider provider; field in class:AsynchronousChannelGroup
139 * @param provider
140 * The asynchronous channel provider for this group
142 protected AsynchronousChannelGroup(AsynchronousChannelProvider provider) { argument
143 this.provider = provider;
147 * Returns the provider that created this channel group.
149 * @return The provider that created this channel group
151 public final AsynchronousChannelProvider provider() { method in class:AsynchronousChannelGroup
152 return provider;
[all...]
H A DPipe.java66 * @param provider
67 * The selector provider
69 protected SourceChannel(SelectorProvider provider) { argument
70 super(provider);
100 * @param provider
101 * The selector provider
103 protected SinkChannel(SelectorProvider provider) { argument
104 super(provider);
155 return SelectorProvider.provider().openPipe();
H A DAsynchronousServerSocketChannel.java97 private final AsynchronousChannelProvider provider; field in class:AsynchronousServerSocketChannel
102 * @param provider
103 * The provider that created this channel
105 protected AsynchronousServerSocketChannel(AsynchronousChannelProvider provider) { argument
106 this.provider = provider;
110 * Returns the provider that created this channel.
112 * @return The provider that created this channel
114 public final AsynchronousChannelProvider provider() { method in class:AsynchronousServerSocketChannel
115 return provider;
[all...]
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpClientProvider.java33 * Service provider class for FtpClient.
36 * See {@link #provider() } for how providers are found and loaded.
43 * Creates a FtpClient from this provider.
49 private static FtpClientProvider provider = null; field in class:FtpClientProvider
71 provider = (FtpClientProvider) c.newInstance();
88 // provider = i.next();
92 // // Ignore, try next provider, if any
105 * <p> The first invocation of this method locates the default provider
112 * taken to be the fully-qualified name of a concrete provider class.
116 * <li><p> If a provider clas
136 public static FtpClientProvider provider() { method in class:FtpClientProvider
[all...]
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DDefaultFileTypeDetector.java36 FileSystemProvider provider = FileSystems.getDefault().provider();
37 return ((UnixFileSystemProvider)provider).getFileTypeDetector();
/libcore/ojluni/src/main/java/java/nio/file/
H A DFileSystems.java42 * the default {@link FileSystemProvider provider} to be loaded. The default
43 * provider, identified by the URI scheme "file", creates the {@link FileSystem}
45 * machine. If the process of loading or initializing the default provider fails
52 * service-provider loading facility defined by the {@link ServiceLoader} class.
58 * provider-configuration file named {@code java.nio.file.spi.FileSystemProvider}
63 * If a provider is instantiated and its {@link FileSystemProvider#getScheme()
64 * getScheme} returns the same URI scheme of a provider that was previously
66 * schemes are compared without regard to case. During construction a provider
67 * may safely access files associated with the default provider but care needs
73 * to be specified when locating a provider
[all...]
H A DPaths.java48 * The details as to how the Strings are joined is provider specific but
91 * installed} providers to locate the provider that is identified by the
93 * compared without regard to case. If the provider is found then its {@link
97 * <p> In the case of the default provider, identified by the URI scheme
103 * <p> The default provider provides a similar <em>round-trip</em> guarantee
113 * provider specific and therefore unspecified.
122 * format of the URI is provider specific.
125 * cannot be created automatically, or the provider identified by
136 // check for default provider to avoid loading of installed providers
138 return FileSystems.getDefault().provider()
[all...]
/libcore/ojluni/src/main/java/java/security/
H A DAlgorithmParameterGenerator.java64 * (via a call to an {@code init} method), each provider must supply (and
65 * document) a default initialization. For example, the Sun provider uses a
117 // The provider
118 private Provider provider; field in class:AlgorithmParameterGenerator
120 // The provider implementation (delegate)
130 * @param provider the provider
134 (AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider,
137 this.provider = provider;
133 AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm) argument
229 getInstance(String algorithm, String provider) argument
273 getInstance(String algorithm, Provider provider) argument
[all...]
H A DAlgorithmParameters.java172 // The provider
173 private Provider provider; field in class:AlgorithmParameters
175 // The provider implementation (delegate)
188 * @param provider the provider
192 Provider provider, String algorithm)
195 this.provider = provider;
255 * AlgorithmParametersSpi implementation from the specified provider
256 * is returned. The specified provider mus
191 AlgorithmParameters(AlgorithmParametersSpi paramSpi, Provider provider, String algorithm) argument
288 getInstance(String algorithm, String provider) argument
335 getInstance(String algorithm, Provider provider) argument
[all...]
/libcore/ojluni/src/main/java/java/security/cert/
H A DCertPathBuilder.java43 * This class uses a provider-based architecture.
47 * the name of the provider desired.
100 * Unless otherwise documented by a specific provider, threads that need to
124 private final Provider provider; field in class:CertPathBuilder
129 * and encapsulates the given provider implementation (SPI object) in it.
131 * @param builderSpi the provider implementation
132 * @param provider the provider
135 protected CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, argument
139 this.provider
214 getInstance(String algorithm, String provider) argument
251 getInstance(String algorithm, Provider provider) argument
[all...]
H A DCertPathValidator.java44 * This class uses a provider-based architecture.
48 * optionally the name of the provider desired.
100 * Unless otherwise documented by a specific provider, threads that need to
123 private final Provider provider; field in class:CertPathValidator
128 * and encapsulates the given provider implementation (SPI object) in it.
130 * @param validatorSpi the provider implementation
131 * @param provider the provider
135 Provider provider, String algorithm)
138 this.provider
134 CertPathValidator(CertPathValidatorSpi validatorSpi, Provider provider, String algorithm) argument
213 getInstance(String algorithm, String provider) argument
251 getInstance(String algorithm, Provider provider) argument
[all...]
H A DCertificateFactory.java154 // The provider
155 private Provider provider; field in class:CertificateFactory
157 // The provider implementation
162 * the given provider implementation (SPI object) in it.
164 * @param certFacSpi the provider implementation.
165 * @param provider the provider.
169 Provider provider, String type)
172 this.provider = provider;
168 CertificateFactory(CertificateFactorySpi certFacSpi, Provider provider, String type) argument
249 getInstance(String type, String provider) argument
293 getInstance(String type, Provider provider) argument
[all...]
H A DCertStore.java44 * This class uses a provider-based architecture.
48 * and optionally the name of the provider desired.
111 private Provider provider; field in class:CertStore
117 * encapsulates the given provider implementation (SPI object) in it.
119 * @param storeSpi the provider implementation
120 * @param provider the provider
124 protected CertStore(CertStoreSpi storeSpi, Provider provider, argument
127 this.provider = provider;
302 getInstance(String type, CertStoreParameters params, String provider) argument
357 getInstance(String type, CertStoreParameters params, Provider provider) argument
[all...]
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DKeyManagerFactory.java37 * material is based on a KeyStore and/or provider specific sources.
59 // The provider
60 private Provider provider; field in class:KeyManagerFactory
62 // The provider implementation (delegate)
99 * @param provider the provider
103 Provider provider, String algorithm) {
105 this.provider = provider;
156 instance.provider, algorith
102 KeyManagerFactory(KeyManagerFactorySpi factorySpi, Provider provider, String algorithm) argument
193 getInstance(String algorithm, String provider) argument
231 getInstance(String algorithm, Provider provider) argument
[all...]
H A DTrustManagerFactory.java37 * material is based on a KeyStore and/or provider specific sources.
59 // The provider
60 private Provider provider; field in class:TrustManagerFactory
62 // The provider implementation (delegate)
99 * @param provider the provider
103 Provider provider, String algorithm) {
105 this.provider = provider;
158 instance.provider, algorith
102 TrustManagerFactory(TrustManagerFactorySpi factorySpi, Provider provider, String algorithm) argument
195 getInstance(String algorithm, String provider) argument
233 getInstance(String algorithm, Provider provider) argument
[all...]
H A DSSLContext.java88 private final Provider provider; field in class:SSLContext
98 * @param provider the provider
101 protected SSLContext(SSLContextSpi contextSpi, Provider provider, argument
104 this.provider = provider;
191 return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
200 * SSLContextSpi implementation from the specified provider
201 * is returned. The specified provider must be registered
202 * in the security provider lis
230 getInstance(String protocol, String provider) argument
267 getInstance(String protocol, Provider provider) argument
[all...]
/libcore/ojluni/src/main/java/java/time/zone/
H A DZoneRulesProvider.java90 * directories. Installed providers are loaded using the service-provider loading
92 * identifies itself with a provider configuration file named
95 * fully qualified concrete zonerules-provider class name.
99 * The Java virtual machine has a default provider that provides zone rules
103 * class to be loaded as the default provider, using the system class loader.
104 * If this system property is not defined, a system-default provider will be
105 * loaded to serve as the default provider.
111 * Each provider will provide the latest rules for each zone ID, but they
115 * This interface is a service provider that can be called by multiple threads.
125 * Providers may choose to handle dynamic updates, however the default provider doe
249 registerProvider(ZoneRulesProvider provider) argument
261 registerProvider0(ZoneRulesProvider provider) argument
[all...]
/libcore/ojluni/src/main/java/java/nio/channels/spi/
H A DSelectorProvider.java40 * Service-provider class for selectors and selectable channels.
42 * <p> A selector provider is a concrete subclass of this class that has a
45 * system-wide default provider instance, which is returned by the {@link
46 * #provider() provider} method. The first invocation of that method will locate
47 * the default provider as specified below.
49 * <p> The system-wide default provider is used by the static <tt>open</tt>
56 * method. A program may make use of a provider other than the default provider
57 * by instantiating that provider an
72 private static SelectorProvider provider = null; field in class:SelectorProvider
164 public static SelectorProvider provider() { method in class:SelectorProvider
[all...]
H A DAbstractSelector.java75 // The provider that created this selector
76 private final SelectorProvider provider; field in class:AbstractSelector
81 * @param provider
82 * The provider that created this selector
84 protected AbstractSelector(SelectorProvider provider) { argument
85 this.provider = provider;
137 * Returns the provider that created this channel.
139 * @return The provider that created this channel
141 public final SelectorProvider provider() { method in class:AbstractSelector
[all...]
/libcore/luni/src/test/java/libcore/java/security/
H A DProviderTest.java101 for (Provider provider : providers) {
102 String providerName = provider.getName();
103 // ignore BouncyCastle provider if it is installed on the RI
107 Set<Provider.Service> services = provider.getServices();
159 Cipher.getInstance(remainingAlgo, provider);
176 provider.getClass().getClassLoader()));
219 * Makes sure all provider properties either point to a class
231 for (Provider provider : providers) {
233 assertEquals(provider.getName(),
234 provider
1061 private final Provider provider; field in class:ProviderTest.ProviderAndOperationParameter
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DKeyPairGeneratorBenchmark.java45 final String provider;
47 provider = "BC";
49 provider = "AndroidOpenSSL";
52 this.generator = KeyPairGenerator.getInstance(generatorAlgorithm, provider);
/libcore/luni/src/main/native/
H A DIcuUtilities.h24 extern jobjectArray fromStringEnumeration(JNIEnv* env, UErrorCode& status, const char* provider, icu::StringEnumeration*);
/libcore/ojluni/src/main/java/sun/security/provider/
H A DCertPathProvider.java27 package sun.security.provider;
32 * A security provider that provides the OpenJDK version of the CertPathBuilder and
41 put("CertPathBuilder.PKIX", "sun.security.provider.certpath.SunCertPathBuilder");
46 put("CertPathValidator.PKIX", "sun.security.provider.certpath.PKIXCertPathValidator");

Completed in 2317 milliseconds

12345678