/libcore/ojluni/src/main/java/sun/security/jca/ |
Providers.java | 31 import java.security.Provider; 35 * Collection of methods to get and set provider list. Also includes 36 * special code for the provider list during JAR verification. 46 // number of threads currently using thread-local provider lists 50 // current system-wide provider list 83 // To avoid that, we use different provider settings during JAR 84 // verification. However, we do not want those provider settings to 92 "sun.security.provider.VerificationProvider"; 98 "sun.security.provider.Sun", 104 "com.android.org.bouncycastle.jce.provider.BouncyCastleProvider" [all...] |
GetInstance.java | 31 import java.security.Provider.Service; 51 public final Provider provider; field in class:GetInstance.Instance 53 private Instance(Provider provider, Object impl) { 54 this.provider = provider; 57 // Return Provider and implementation as an array as used in the 60 return new Object[] {impl, provider}; 76 String provider) throws NoSuchAlgorithmException [all...] |
/system/update_engine/update_manager/ |
device_policy_provider.h | 26 #include "update_engine/update_manager/provider.h" 33 class DevicePolicyProvider : public Provider {
|
/libcore/ojluni/src/main/java/java/security/ |
MessageDigest.java | 140 // The provider 141 private Provider provider; field in class:MessageDigest 161 * starting with the most preferred Provider. 164 * Provider that supports the specified algorithm is returned. 177 * @exception NoSuchAlgorithmException if no Provider supports a 181 * @see Provider 190 md.provider = (Provider)objs[1]; 195 delegate.provider = (Provider)objs[1] [all...] |
SecureRandom.java | 30 import java.security.Provider.Service; 87 * The SHA1PRNG algorithm from the Crypto provider has been deprecated as it was insecure, and also 89 * <a href="http://android-developers.blogspot.com/2016/06/security-crypto-provider-deprecated-in.html"> 90 * Security "Crypto" provider deprecated in Android N</a> for details. 102 * The provider. 107 private Provider provider = null; field in class:SecureRandom 110 * The provider implementation. 133 * starting with the most preferred Provider. 136 * Provider that supports a SecureRandom (RNG) algorithm is returned [all...] |
Policy.java | 59 String provider) 67 Provider provider) 72 public Provider getProvider() {
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
OptionalBinder.java | 34 import com.google.inject.Provider; 68 * {@code Optional<T>} and {@code Optional<Provider<T>>}. If 78 * <p>If setDefault or setBinding are linked to Providers, the Provider may return 80 * setBinding to a Provider that returns null will not cause OptionalBinder 90 * provider, that provider's get method will be called each time the optional 91 * is injected (unless the binding is also scoped, or an optional of provider is 227 static <T> TypeLiteral<Optional<javax.inject.Provider<T>>> optionalOfJavaxProvider( 229 return (TypeLiteral<Optional<javax.inject.Provider<T>>>) TypeLiteral.get( 231 newParameterizedType(javax.inject.Provider.class, type.getType()))) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Signature2Test.java | 30 import java.security.Provider; 110 * java.security.Provider) 114 Provider[] providers = Security.getProviders("Signature.DSA"); 123 Signature.getInstance((String) null, (Provider) null); 129 Signature.getInstance("DSA", (Provider) null); 153 Provider[] providers = Security.getProviders("Signature.DSA"); 165 Provider[] pp = Security.getProviders(); 224 Provider p = Signature.getInstance("DSA").getProvider(); 225 assertNotNull("provider is null", p); 274 Provider p = new MyProvider() [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/integration/gs/ |
util.py | 25 from boto.provider import Provider 34 provider = Provider('google') 35 if (provider.get_access_key() is None or 36 provider.get_secret_key() is None):
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
MultibindingComponent.java | 24 import javax.inject.Provider; 37 Map<String, Provider<String>> mapOfProviders();
|
/external/guice/core/src/com/google/inject/ |
Injector.java | 36 * <li>A {@code Provider<T>} for each binding of type {@code T} 165 * Returns the provider used to obtain instances for the given injection key. When feasible, avoid 168 * @throws ConfigurationException if this injector cannot find or create the provider. 171 <T> Provider<T> getProvider(Key<T> key); 174 * Returns the provider used to obtain instances for the given type. When feasible, avoid 177 * @throws ConfigurationException if this injector cannot find or create the provider. 180 <T> Provider<T> getProvider(Class<T> type); 187 * @throws ConfigurationException if this injector cannot find or create the provider. 197 * @throws ConfigurationException if this injector cannot find or create the provider.
|
/external/guice/core/src/com/google/inject/internal/ |
DeferredLookups.java | 22 import com.google.inject.Provider; 52 public <T> Provider<T> getProvider(Key<T> key) {
|
BindingBuilder.java | 25 import com.google.inject.Provider; 99 public BindingBuilder<T> toProvider(Provider<? extends T> provider) { 100 return toProvider((javax.inject.Provider<T>) provider); 103 public BindingBuilder<T> toProvider(javax.inject.Provider<? extends T> provider) { 104 checkNotNull(provider, "provider"); 110 injectionPoints = InjectionPoint.forInstanceMethodsAndFields(provider.getClass()) [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
FakeOidProvider.java | 6 import java.security.Provider; 11 public class FakeOidProvider extends Provider { 27 super(PROVIDER_NAME, 1.0, "Fake OID Provider for Tests");
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
Cipher_ImplTest.java | 27 import java.security.Provider; 43 private Provider p1; 44 private Provider p2; 182 * Class under test for Cipher getInstance(String, Provider) 213 * Class under test for Cipher getInstance(String, Provider) 285 private class MyProvider1 extends Provider { 293 private class MyProvider2 extends Provider {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
TrustManagerFactorySpiTest.java | 23 import java.security.Provider; 56 Provider provider = new MyProvider(); local 58 provider); 83 Provider provider = new MyProvider(); local 85 provider); 109 Provider provider = new MyProvider(); local 111 provider); [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
SecureRandomTest.java | 20 import java.security.Provider; 40 Provider[] providers = Security.getProviders(); 41 for (Provider provider : providers) { 42 Set<Provider.Service> services = provider.getServices(); 43 for (Provider.Service service : services) { 55 // SecureRandom.getInstance(String, Provider) 56 SecureRandom sr2 = SecureRandom.getInstance(algorithm, provider); 58 assertEquals(provider, sr2.getProvider()) [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
KeyGeneratorTest.java | 19 import java.security.Provider; 39 Provider[] providers = Security.getProviders(); 40 for (Provider provider : providers) { 41 Set<Provider.Service> services = provider.getServices(); 42 for (Provider.Service service : services) { 52 if ("AndroidKeyStore".equals(provider.getName())) { 63 // KeyGenerator.getInstance(String, Provider) 64 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider); [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
ExemptionMechanism.java | 29 import java.security.Provider; 53 // The provider 54 private Provider provider; field in class:ExemptionMechanism 56 // The provider implementation (delegate) 76 * @param provider the provider 80 Provider provider, 83 this.provider = provider [all...] |
SecretKeyFactory.java | 31 import java.security.Provider.Service; 50 * <P> Application developers should refer to their provider's documentation 55 * For example, the DES secret-key factory supplied by the "SunJCE" provider 57 * keys, and that provider's secret-key factory for Triple DES keys supports 213 // The provider 214 private Provider provider; field in class:SecretKeyFactory 219 // The provider implementation (delegate) 222 // lock for mutex during provider selection 225 // remaining services to try in provider selectio [all...] |
/external/guice/core/test/com/googlecode/guice/ |
Jsr330Test.java | 45 import javax.inject.Provider; 236 * This test verifies that we can compile bindings to provider instances 237 * whose compile-time type implements javax.inject.Provider but not 238 * com.google.inject.Provider. For binary compatibility, we don't (and won't) 239 * support binding to instances of javax.inject.Provider. 258 Provider<String> jsr330Provider = new Provider<String>() { 268 com.google.inject.Provider<String> guicified = Providers.guicify(jsr330Provider); 279 Provider<String> jsr330Provider = new Provider<String>() [all...] |
/external/guice/extensions/mini/test/com/google/inject/mini/ |
MiniGuiceTest.java | 27 import javax.inject.Provider; 97 @Inject Provider<A> aProvider; 117 @Inject Provider<F> fProvider; 118 @Inject Provider<I> iProvider; 151 @Provides @Singleton @Named("one") F provideF(Provider<A> aProvider) { 167 @Inject Provider<L> lProvider; 196 @Inject Provider<F> fProvider;
|
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSettingsUtilsTests.java | 23 import com.android.emailcommon.VendorPolicyLoader.Provider; 78 Provider testProvider; 79 // <provider id="gmail" label="Gmail" domain="gmail.com"> 82 // </provider> 90 // <provider id="rr-generic" label="RoadRunner" domain="*.rr.com"> 93 // </provider> 148 Provider testProvider; 149 // <provider id="cox" label="Cox" domain="cox.net"> 152 // </provider> 153 testProvider = new Provider(); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 23 import java.security.Provider; 177 Provider[] providers = Security.getProviders(); 178 for (Provider provider : providers) { 179 Set<Provider.Service> services = provider.getServices(); 180 for (Provider.Service service : services) { 194 provider); 196 assertEquals(provider, tmf.getProvider()); 202 provider.getName()) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathBuilder1Test.java | 34 import java.security.Provider; 63 private static Provider defaultProvider; 144 * Test for <code>getInstance(String algorithm, String provider)</code> method 145 * Assertion: throws IllegalArgumentException when provider is null or empty 147 * FIXME: verify what exception will be thrown if provider is empty 155 String provider = null; local 158 CertPathBuilder.getInstance(validValues[i], provider); 171 * Test for <code>getInstance(String algorithm, String provider)</code> method 173 * throws NoSuchProviderException when provider has invalid value 192 * Test for <code>getInstance(String algorithm, String provider)</code> metho 437 private static Provider provider; field in class:myCertPathBuilder [all...] |