/external/guice/core/test/com/google/inject/ |
SuperclassTest.java | 33 Provider<Sub> creator = injector.getProvider(Sub.class);
|
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...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
TitleViewAdapter.java | 20 * This class allows a customized widget class to implement {@link TitleViewAdapter.Provider} 33 public interface Provider {
|
/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
|
X509CRL.java | 33 import java.security.Provider; 189 * @exception NoSuchProviderException if there's no default provider. 202 * supplied by the given provider. 205 * @param sigProvider the name of the signature provider. 210 * @exception NoSuchProviderException on incorrect provider. 223 * supplied by the given provider. Note that the specified Provider object 224 * does not have to be registered in the provider list. 232 * @param sigProvider the signature provider. 241 public void verify(PublicKey key, Provider sigProvider [all...] |
/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/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);
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathValidator3Test.java | 36 import java.security.Provider; 52 private static Provider defaultProvider;
|
/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...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
binding_callback_unittest.cc | 47 // An implementation of sample::Provider used on the server side. 50 class InterfaceImpl : public sample::Provider { 78 // sample::Provider implementation 143 Binding<sample::Provider> binding(&server_impl, GetProxy(&interface_ptr_)); 202 Binding<sample::Provider> binding(&server_impl, GetProxy(&interface_ptr_)); 247 Binding<sample::Provider> binding(&server_impl, GetProxy(&interface_ptr_)); 278 Binding<sample::Provider> binding(&server_impl, GetProxy(&interface_ptr_)); 313 Binding<sample::Provider> binding(&server_impl, GetProxy(&interface_ptr_));
|
/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...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
JceSecurity.java | 34 import java.security.Provider.Service; 57 // Map<Provider,?> of the providers we already have verified 60 private final static Map<Provider, Object> verificationResults = 63 // Map<Provider,?> of the providers currently being verified 64 private final static Map<Provider, Object> verifyingProviders = 99 String provider) throws NoSuchAlgorithmException, 101 Service s = GetInstance.getService(type, algorithm, provider); 104 String msg = "JCE cannot authenticate the provider " + provider; 112 Provider provider) throws NoSuchAlgorithmException [all...] |
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.) 120 * // If the GCM parameters were generated by the provider, it can 235 Debug.getInstance("provider", "Provider"); 275 // The provider 276 private Provider provider field in class:Cipher 2607 Provider provider; field in class:Cipher.CipherSpiAndProvider [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>() {
|