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

123

/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/luni/src/test/java/libcore/sun/security/jca/
H A DProvidersTest.java56 * An object that can be called to call an appropriate getInstance method. Since
61 Object getInstance() throws GeneralSecurityException; method in interface:ProvidersTest.Algorithm
64 // getInstance calls that result in requests to BC
66 // getInstance calls that result in requests to Conscrypt
72 public Object getInstance() throws GeneralSecurityException {
73 return Signature.getInstance("sha224withrsa", "BC");
79 public Object getInstance() throws GeneralSecurityException {
80 return KeyFactory.getInstance("EC", Security.getProvider("BC"));
86 public Object getInstance() throws GeneralSecurityException {
87 return Signature.getInstance("MD5withRSAEncryptio
[all...]
/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.java39 * calling one of the {@code getInstance} factory methods
238 public static AlgorithmParameters getInstance(String algorithm) method in class:AlgorithmParameters
288 public static AlgorithmParameters getInstance(String algorithm, method in class:AlgorithmParameters
335 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
236 Instance instance = GetInstance.getInstance("KeyFactory",
271 public static KeyFactory getInstance(String algorithm, Provider provider) method in class:KeyFactory
275 Instance instance = GetInstance.getInstance("KeyFactory",
H A DPolicy.java51 public static Policy getInstance(String type, Policy.Parameters params) method in class:Policy
56 public static Policy getInstance(String type, method in class:Policy
64 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
255 Instance instance = GetInstance.getInstance("CertificateFactory",
293 public static final CertificateFactory getInstance(String type, method in class:CertificateFactory
298 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
/libcore/ojluni/src/main/java/sun/security/util/
H A DDebug.java133 public static Debug getInstance(String option) method in class:Debug
135 return getInstance(option, option);
142 public static Debug getInstance(String option, String prefix) method in class:Debug
171 * 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
390 Instance instance = JceSecurity.getInstance("SecretKeyFactory",
428 public static final SecretKeyFactory getInstance(String algorithm, method in class:SecretKeyFactory
432 Instance instance = JceSecurity.getInstance("SecretKeyFactory",
455 * <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 DJceSecurity.java73 Debug.getInstance("jca", "Cipher");
104 static Instance getInstance(String type, Class<?> clazz, String algorithm, method in class:JceSecurity
114 return GetInstance.getInstance(s, clazz);
117 static Instance getInstance(String type, Class<?> clazz, String algorithm, method in class:JceSecurity
126 return GetInstance.getInstance(s, clazz);
129 static Instance getInstance(String type, Class<?> clazz, String algorithm) method in class:JceSecurity
139 Instance instance = GetInstance.getInstance(s, clazz);
H A DKeyAgreement.java94 Debug.getInstance("jca", "KeyAgreement");
97 Debug.getInstance("provider", "Provider");
155 * <code>getInstance</code> calls that created this
195 public static final KeyAgreement getInstance(String algorithm) method in class:KeyAgreement
252 public static final KeyAgreement getInstance(String algorithm, method in class:KeyAgreement
257 Instance instance = JceSecurity.getInstance
295 public static final KeyAgreement getInstance(String algorithm, method in class:KeyAgreement
299 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

Completed in 359 milliseconds

123