/libcore/ojluni/src/main/java/java/security/cert/ |
CertificateFactorySpi.java | 32 import java.security.Provider; 37 * This class defines the <i>Service Provider Interface</i> (<b>SPI</b>) 40 * cryptographic service provider who wishes to supply the implementation
|
/packages/apps/Gallery2/src/com/android/photos/ |
AlbumActivity.java | 22 public class AlbumActivity extends Activity implements MultiChoiceManager.Provider {
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
Provider.java | 25 public class Provider extends ContentProvider {
|
/system/update_engine/update_manager/ |
updater_provider.h | 24 #include "update_engine/update_manager/provider.h" 47 // Provider for Chrome OS update related information. 48 class UpdaterProvider : public Provider {
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
RSACipherTest.java | 21 import java.security.Provider; 40 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 41 assertNotNull(provider); 59 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); 73 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 74 assertNotNull(provider); 89 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider); 101 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME) local 129 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 159 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 191 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 222 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local [all...] |
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
SecretKeyFactory_Impl1Test.java | 25 import java.security.Provider; 48 private static Provider defaultProvider = null;
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator_ImplTest.java | 26 import java.security.Provider; 46 private static Provider validProvider = null;
|
SecureRandom_ImplTest.java | 25 import java.security.Provider; 39 Provider providers[] = Security.getProviders(); 98 assertNull("Non null provider", new SecureRandom().getProvider()); 105 assertNull("Incorrect provider", sr.getProvider());
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaDigestCalculatorProviderBuilder.java | 7 import java.security.Provider; 25 public JcaDigestCalculatorProviderBuilder setProvider(Provider provider) 27 this.helper = new OperatorHelper(new ProviderJcaJceHelper(provider));
|
/external/guice/core/src/com/google/inject/util/ |
Types.java | 20 import com.google.inject.Provider; 126 * Returns a type modelling a {@link Provider} that provides elements of type 132 return newParameterizedType(Provider.class, providedType);
|
/external/guice/core/test/com/google/inject/ |
BoundProviderTest.java | 72 static class FooProvider implements Provider<Foo> { 88 static class SingletonFooProvider implements Provider<Foo> {
|
ImplicitBindingTest.java | 104 static class ProvidedProvider implements Provider<Provided> { 199 static class InvalidProvidedByProvider implements Provider<InvalidProvidedBy> { 208 static class InvalidProvidedBy2Provider implements Provider<InvalidProvidedBy2> { 230 * The bug is that a class that asks for a provider for itself during injection time, 232 * in a child constructor, explodes when the injected Provider is called. 261 static class TestStringProvider implements Provider<String> { 270 private final Provider<RequiresProviderForSelfWithOtherType> selfProvider; 276 Provider<RequiresProviderForSelfWithOtherType> selfProvider 361 static final class NonEmptyEnumProvider implements Provider<NonEmptyEnum> { 371 static final class EmptyEnumProvider implements Provider<EmptyEnum> [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathValidator3Test.java | 36 import java.security.Provider; 52 private static Provider defaultProvider;
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 36 * Tests for <code>Provider</code> constructor and methods 40 Provider p; 51 * Class under test for void Provider() 54 assertEquals("Provider.id name", p.getProperty("Provider.id name"), 56 assertEquals("Provider.id version", p 57 .getProperty("Provider.id version"), String.valueOf(p 59 assertEquals("Provider.id info", p.getProperty("Provider.id info"), 61 assertEquals("Provider.id className", [all...] |
/external/guice/core/src/com/google/inject/internal/ |
BindingProcessor.java | 22 import com.google.inject.Provider; 65 if (rawType == Provider.class) { 106 javax.inject.Provider<? extends T> provider = binding.getUserSuppliedProvider(); local 108 Initializable<? extends javax.inject.Provider<? extends T>> initializable = 109 initializer.<javax.inject.Provider<? extends T>>requestInjection( 110 injector, provider, null, source, injectionPoints); 119 provider, injectionPoints)); 126 Key<? extends javax.inject.Provider<? extends T>> providerKey = binding.getProviderKey();
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/ |
AbstractInjectorGrapherTest.java | 27 import com.google.inject.Provider; 96 @Inject public A2(Provider<String> strProvider) {} 115 ImmutableList.<Member>of(A2.class.getConstructor(Provider.class))); 145 final Wrapper<Provider<A2>> wrapper = new Wrapper<Provider<A2>>(); 161 new BindingEdge(iaNode.getId(), a2ProviderNode.getId(), BindingEdge.Type.PROVIDER), 163 InjectionPoint.forConstructor(A2.class.getConstructor(Provider.class))),
|
/external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/ |
BoundFieldModule.java | 24 import com.google.inject.Provider; 62 * If the field is of type {@link Provider}, the field's value will be bound as a {@link Provider} 63 * using {@link LinkedBindingBuilder#toProvider} to the provider's parameterized type. For example, 64 * {@code Provider<Integer>} binds to {@link Integer}. Attempting to bind a non-parameterized 65 * {@link Provider} without a {@link Bind#to} clause is an error. 75 * // bind(String.class).toProvider(new Provider() { public String get() { return userName; }}); 87 * {@literal @}Bind private Provider{@code <Object>} myProvider = getProvider(); 154 * {@link Number}, and {@code @Bind(to = Object.class) Provider<Number> one = new Integer(1);} 184 "Non parameterized Provider fields must have an explicit [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom2Test.java | 22 import java.security.Provider; 88 * java.security.SecureRandom#SecureRandom(java.security.SecureRandomSpi, java.security.Provider) 155 Provider[] providers = Security 168 fail("getInstance did not find the provider for SHA1PRNG"); 312 public MySecureRandom(SecureRandomSpi secureRandomSpi, Provider provider) { 313 super(secureRandomSpi, provider); 342 class MyProvider extends Provider { 345 super("MyProvider", 1.0, "Provider for testing"); 355 public void putService(Provider.Service s) [all...] |
KeyFactory2Test.java | 29 import java.security.Provider; 94 Provider[] providers = Security.getProviders("KeyFactory.DSA"); 156 + keyfactAlgs[i] + " (provider=" 186 Provider[] providers = Security.getProviders("KeyFactory.DSA"); 194 // Test2: Test with null provider name 207 // java.security.Provider) 208 Provider[] providers = Security.getProviders("KeyFactory.DSA"); 215 // Test2: Test with null provider name 217 KeyFactory.getInstance("DSA", (Provider) null); 251 + keyfactAlgs[i] + " (provider= 325 Provider provider = Security.getProvider(providerName); local [all...] |
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/ |
BoundFieldModuleTest.java | 29 import com.google.inject.Provider; 149 @Bind(to = String.class) private Provider<Integer> anIntProvider = new Provider<Integer>() { 339 @Bind private Provider<Integer> anInt = new Provider<Integer>() { 371 @Bind private Provider<Integer> anIntProvider = null; 386 private static class IntegerProvider implements Provider<Integer> { 473 @Bind private Provider anIntProvider = new Provider() { 487 "Non parameterized Provider fields must have an [all...] |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
OptionalBinderTest.java | 41 import com.google.inject.Provider; 98 final TypeLiteral<Optional<Provider<String>>> optionalOfProviderString = 99 new TypeLiteral<Optional<Provider<String>>>() {}; 102 final TypeLiteral<Optional<javax.inject.Provider<String>>> optionalOfJavaxProviderString = 103 new TypeLiteral<Optional<javax.inject.Provider<String>>>() {}; 111 final TypeLiteral<Optional<Provider<Integer>>> optionalOfProviderInteger = 112 new TypeLiteral<Optional<Provider<Integer>>>() {}; 115 final TypeLiteral<Optional<javax.inject.Provider<Integer>>> optionalOfJavaxProviderInteger = 116 new TypeLiteral<Optional<javax.inject.Provider<Integer>>>() {}; 157 Optional<Provider<String>> optionalP = injector.getInstance(Key.get(optionalOfProviderString)) [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
KeyPairGeneratorTest.java | 29 import java.security.Provider; 30 import java.security.Provider.Service; 59 private List<Provider> providers = new ArrayList<Provider>(); 63 Provider[] providers = Security.getProviders(); 64 for (Provider p : providers) { 65 // Do not test AndroidKeyStore Provider. It does not accept vanilla public keys for 80 // We expect there to be at least one provider. 130 // specify a fixed number and silenty pass if the provider at the 135 Provider provider = providers.get(providerIndex) [all...] |
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
ServletScopes.java | 27 import com.google.inject.Provider; 62 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) { 63 return new Provider<T>() { 92 // Store a sentinel for provider-given null values. 148 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) { 150 return new Provider<T>() {
|
/libcore/ojluni/src/main/java/javax/crypto/ |
Cipher.java | 37 import java.security.Provider.Service; 59 * requested <i>transformation</i> to it. Optionally, the name of a provider 77 * provider-specific default values for the mode and padding scheme are used). 90 * number is specified, a provider-specific default is used. (For 91 * example, the SunJCE provider uses a default of 64 bits for DES.) 665 // The provider 666 private Provider provider; field in class:Cipher 668 // The provider implementation (delegate) 697 * @param provider the provide 2921 Provider provider; field in class:Cipher.CipherSpiAndProvider [all...] |
/external/guice/core/test/com/google/inject/spi/ |
SpiBindingsTest.java | 32 import com.google.inject.Provider; 104 final Provider<String> stringProvider = new StringProvider(); 272 Key<Provider<String>> providerOfStringKey = new Key<Provider<String>>() {}; 273 Binding<Provider<String>> binding = injector.getBinding(providerOfStringKey); 277 binding.acceptTargetVisitor(new FailingTargetVisitor<Provider<String>>() { 279 ProviderBinding<? extends Provider<String>> binding) { 383 // Check for Provider<String> binding -- that is still a ProviderBinding. 384 Key<Provider<String>> providerOfStringKey = new Key<Provider<String>>() {} [all...] |