Searched defs:getInstance (Results 1 - 25 of 50) sorted by relevance

12

/libcore/support/src/test/java/tests/support/
H A DSupport_ClassLoader.java31 public static ClassLoader getInstance(URL url, ClassLoader parent) { method in class:Support_ClassLoader
/libcore/luni/src/main/java/libcore/net/
H A DNetworkSecurityPolicy.java33 public static NetworkSecurityPolicy getInstance() { method in class:NetworkSecurityPolicy
/libcore/luni/src/main/java/libcore/net/event/
H A DNetworkEventDispatcher.java35 public static NetworkEventDispatcher getInstance() { method in class:NetworkEventDispatcher
39 /** Visible for testing. Use {@link #getInstance()} instead. */
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
H A DTimezoneGetter.java32 public static TimezoneGetter getInstance() { method in class:TimezoneGetter
/libcore/ojluni/src/main/java/java/security/
H A DAlgorithmParameterGenerator.java34 * are constructed using the {@code getInstance} factory methods
179 public static AlgorithmParameterGenerator getInstance(String algorithm) method in class:AlgorithmParameterGenerator
229 public static AlgorithmParameterGenerator getInstance(String algorithm, method in class:AlgorithmParameterGenerator
273 public static AlgorithmParameterGenerator getInstance(String algorithm, method in class:AlgorithmParameterGenerator
H A DAlgorithmParameters.java37 * calling one of the {@code getInstance} factory methods
232 public static AlgorithmParameters getInstance(String algorithm) method in class:AlgorithmParameters
282 public static AlgorithmParameters getInstance(String algorithm, method in class:AlgorithmParameters
327 public static AlgorithmParameters getInstance(String algorithm, method in class:AlgorithmParameters
H A DKeyFactory.java62 * KeyFactory keyFactory = KeyFactory.getInstance("DSA");
64 * Signature sig = Signature.getInstance("DSA");
122 Debug.getInstance("jca", "KeyFactory");
193 public static KeyFactory getInstance(String algorithm) method in class:KeyFactory
232 public static KeyFactory getInstance(String algorithm, String provider) method in class:KeyFactory
234 Instance instance = GetInstance.getInstance("KeyFactory",
269 public static KeyFactory getInstance(String algorithm, Provider provider) method in class:KeyFactory
271 Instance instance = GetInstance.getInstance("KeyFactory",
H A DPolicy.java52 public static Policy getInstance(String type, Policy.Parameters params) method in class:Policy
57 public static Policy getInstance(String type, method in class:Policy
65 public static Policy getInstance(String type, method in class:Policy
/libcore/ojluni/src/main/java/java/security/cert/
H A DCertPathBuilder.java45 * one of the static {@code getInstance} methods, passing in the
62 * CertPathBuilder cpb = CertPathBuilder.getInstance("PKIX");
171 public static CertPathBuilder getInstance(String algorithm) method in class:CertPathBuilder
173 Instance instance = GetInstance.getInstance("CertPathBuilder",
214 public static CertPathBuilder getInstance(String algorithm, String provider) method in class:CertPathBuilder
216 Instance instance = GetInstance.getInstance("CertPathBuilder",
251 public static CertPathBuilder getInstance(String algorithm, method in class:CertPathBuilder
253 Instance instance = GetInstance.getInstance("CertPathBuilder",
301 * of the {@code getInstance} methods, and want to provide a default
H A DCertPathValidator.java46 * call one of the static {@code getInstance} methods, passing in the
64 * CertPathValidator cpv = CertPathValidator.getInstance("PKIX");
170 public static CertPathValidator getInstance(String algorithm) method in class:CertPathValidator
172 Instance instance = GetInstance.getInstance("CertPathValidator",
213 public static CertPathValidator getInstance(String algorithm, method in class:CertPathValidator
216 Instance instance = GetInstance.getInstance("CertPathValidator",
251 public static CertPathValidator getInstance(String algorithm, method in class:CertPathValidator
253 Instance instance = GetInstance.getInstance("CertPathValidator",
311 * of the {@code getInstance} methods, and want to provide a default
H A DCertStore.java46 * {@code getInstance} methods, passing in the type of
233 public static CertStore getInstance(String type, CertStoreParameters params) method in class:CertStore
237 Instance instance = GetInstance.getInstance("CertStore",
302 public static CertStore getInstance(String type, method in class:CertStore
307 Instance instance = GetInstance.getInstance("CertStore",
357 public static CertStore getInstance(String type, CertStoreParameters params, method in class:CertStore
361 Instance instance = GetInstance.getInstance("CertStore",
407 * {@code getInstance} methods, and want to provide a default
H A DCertificateFactory.java72 * CertificateFactory cf = CertificateFactory.getInstance("X.509");
85 * CertificateFactory cf = CertificateFactory.getInstance("X.509");
203 public static final CertificateFactory getInstance(String type) method in class:CertificateFactory
206 Instance instance = GetInstance.getInstance("CertificateFactory",
249 public static final CertificateFactory getInstance(String type, method in class:CertificateFactory
253 Instance instance = GetInstance.getInstance("CertificateFactory",
291 public static final CertificateFactory getInstance(String type, method in class:CertificateFactory
294 Instance instance = GetInstance.getInstance("CertificateFactory",
/libcore/ojluni/src/main/java/javax/net/ssl/
H A DKeyManagerFactory.java113 * <code>getInstance</code> calls that created this
150 public static final KeyManagerFactory getInstance(String algorithm) method in class:KeyManagerFactory
152 GetInstance.Instance instance = GetInstance.getInstance
193 public static final KeyManagerFactory getInstance(String algorithm, method in class:KeyManagerFactory
196 GetInstance.Instance instance = GetInstance.getInstance
231 public static final KeyManagerFactory getInstance(String algorithm, method in class:KeyManagerFactory
233 GetInstance.Instance instance = GetInstance.getInstance
H A DTrustManagerFactory.java114 * <code>getInstance</code> calls that created this
152 public static final TrustManagerFactory getInstance(String algorithm) method in class:TrustManagerFactory
154 GetInstance.Instance instance = GetInstance.getInstance
195 public static final TrustManagerFactory getInstance(String algorithm, method in class:TrustManagerFactory
198 GetInstance.Instance instance = GetInstance.getInstance
233 public static final TrustManagerFactory getInstance(String algorithm, method in class:TrustManagerFactory
235 GetInstance.Instance instance = GetInstance.getInstance
H A DSSLContext.java116 * <code>SSLContext.getInstance("Default")</code>.
124 * {@link SSLContext#getInstance SSLContext.getInstance()} call fails
130 defaultContext = SSLContext.getInstance("Default");
187 public static SSLContext getInstance(String protocol) method in class:SSLContext
189 GetInstance.Instance instance = GetInstance.getInstance
230 public static SSLContext getInstance(String protocol, String provider) method in class:SSLContext
232 GetInstance.Instance instance = GetInstance.getInstance
267 public static SSLContext getInstance(String protocol, Provider provider) method in class:SSLContext
269 GetInstance.Instance instance = GetInstance.getInstance
[all...]
/libcore/ojluni/src/main/java/sun/security/util/
H A DDebug.java108 public static Debug getInstance(String option) method in class:Debug
110 return getInstance(option, option);
117 public static Debug getInstance(String option, String prefix) method in class:Debug
145 * created from the call to getInstance.
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDOMImplementationImpl.java79 public static DOMImplementationImpl getInstance() { method in class:DOMImplementationImpl
/libcore/ojluni/src/main/java/java/util/
H A DCurrency.java45 * the <code>getInstance</code> methods.
89 public static Currency getInstance(String currencyCode) { method in class:Currency
96 android.icu.util.Currency.getInstance(currencyCode);
127 public static Currency getInstance(Locale locale) { method in class:Currency
130 android.icu.util.Currency.getInstance(locale);
144 return getInstance(currencyCode);
166 Currency currency = getInstance(icuCurrency.getCurrencyCode());
308 return getInstance(currencyCode);
/libcore/ojluni/src/main/java/javax/crypto/
H A DSecretKeyFactory.java342 public static final SecretKeyFactory getInstance(String algorithm) method in class:SecretKeyFactory
385 public static final SecretKeyFactory getInstance(String algorithm, method in class:SecretKeyFactory
388 Instance instance = JceSecurity.getInstance("SecretKeyFactory",
426 public static final SecretKeyFactory getInstance(String algorithm, method in class:SecretKeyFactory
428 Instance instance = JceSecurity.getInstance("SecretKeyFactory",
451 * <code>getInstance</code> calls that created this
H A DExemptionMechanism.java92 * <code>getInstance</code> calls that created this
134 public static final ExemptionMechanism getInstance(String algorithm) method in class:ExemptionMechanism
136 Instance instance = JceSecurity.getInstance("ExemptionMechanism",
181 public static final ExemptionMechanism getInstance(String algorithm, method in class:ExemptionMechanism
184 Instance instance = JceSecurity.getInstance("ExemptionMechanism",
222 public static final ExemptionMechanism getInstance(String algorithm, method in class:ExemptionMechanism
224 Instance instance = JceSecurity.getInstance("ExemptionMechanism",
H A DKeyAgreement.java96 Debug.getInstance("provider", "Provider");
136 * <code>getInstance</code> calls that created this
176 public static final KeyAgreement getInstance(String algorithm) method in class:KeyAgreement
231 public static final KeyAgreement getInstance(String algorithm, method in class:KeyAgreement
234 Instance instance = JceSecurity.getInstance
272 public static final KeyAgreement getInstance(String algorithm, method in class:KeyAgreement
274 Instance instance = JceSecurity.getInstance
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DJarFileFactory.java55 public static JarFileFactory getInstance() { method in class:JarFileFactory
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
H A DCertStoreHelper.java66 public static CertStoreHelper getInstance(final String type) method in class:CertStoreHelper
105 CertStoreHelper csh = CertStoreHelper.getInstance(type);
/libcore/ojluni/src/main/java/java/time/format/
H A DDateTimeTextProvider.java123 static DateTimeTextProvider getInstance() { method in class:DateTimeTextProvider
/libcore/ojluni/src/main/java/javax/security/cert/
H A DX509Certificate.java92 * X509Certificate cert = X509Certificate.getInstance(inStream);
98 * X509Certificate cert = X509Certificate.getInstance(certData);
179 public static final X509Certificate getInstance(InputStream inStream) method in class:X509Certificate
204 public static final X509Certificate getInstance(byte[] certData) method in class:X509Certificate

Completed in 597 milliseconds

12