HomeSort by relevance Sort by last modified time
    Searched refs:Provider (Results 226 - 250 of 670) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
ToolStageInjectorTest.java 10 import com.google.inject.Provider;
134 private static class Foo implements Provider<Object> {
147 private static class Tooled implements Provider<Object> {
  /external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/
SimpleProducerModule.java 28 import javax.inject.Provider;
108 static String strWithArgs(int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) {
115 int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) throws IOException {
122 int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) {
129 int i, Produced<Double> b, Producer<Object> c, Provider<Boolean> d) throws IOException {
  /external/guice/examples/src/example/xml/
XmlBeanModule.java 5 import com.google.inject.Provider;
144 Provider<?> provider = sourced.getProvider(Key.get(parameterTypes[0])); local
146 new Property(setter, provider));
158 final Provider<?> provider; field in class:XmlBeanModule.Property
160 Property(Method setter, Provider<?> provider) {
162 this.provider = provider;
    [all...]
  /external/skia/src/core/
SkNormalMapSource.cpp 134 SkNormalMapSourceImpl::Provider::Provider(const SkNormalMapSourceImpl& source,
139 SkNormalSource::Provider* SkNormalMapSourceImpl::asProvider(const SkShader::ContextRec &rec,
157 return alloc->make<Provider>(*this, context);
171 void SkNormalMapSourceImpl::Provider::fillScanLine(int x, int y, SkPoint3 output[],
  /libcore/luni/src/test/java/libcore/java/security/
MessageDigestTest.java 23 import java.security.Provider;
55 Provider[] providers = Security.getProviders();
56 for (Provider provider : providers) {
57 Set<Provider.Service> services = provider.getServices();
58 for (Provider.Service service : services) {
70 // MessageDigest.getInstance(String, Provider)
71 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider);
73 assertEquals(provider, md2.getProvider())
    [all...]
  /libcore/luni/src/test/java/tests/java/security/
SecureRandomTest.java 27 import java.security.Provider;
42 Provider p;
200 * Class under test for SecureRandom getInstance(String, Provider)
203 Provider p = new SRProvider();
233 SecureRandom r = SecureRandom.getInstance("anyRandom", (Provider)null);
278 public class SRProvider extends Provider {
  /libcore/luni/src/test/java/tests/targets/security/cert/
CertificateTest.java 21 import java.security.Provider;
    [all...]
  /libcore/ojluni/src/main/java/java/security/
KeyFactory.java 29 import java.security.Provider.Service;
127 // The provider
128 private Provider provider; field in class:KeyFactory
130 // The provider implementation (delegate)
133 // lock for mutex during provider selection
136 // remaining services to try in provider selection
137 // null once provider is selected
144 * @param provider the provider
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/
KeyAgreement.java 32 import java.security.Provider.Service;
96 Debug.getInstance("provider", "Provider");
101 // The provider
102 private Provider provider; field in class:KeyAgreement
104 // The provider implementation (delegate)
116 * @param provider the provider
119 protected KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider
    [all...]
KeyGenerator.java 31 import java.security.Provider.Service;
63 * of the highest-priority installed provider as the source of randomness
70 * provider what to do about the algorithm-specific parameters (if any) to be
80 * of the highest-priority installed provider as the source of randomness
86 * (via a call to an <code>init</code> method), each provider must
172 Debug.getInstance("provider", "Provider");
184 // The provider
185 private Provider provider; field in class:KeyGenerator
    [all...]
Mac.java 32 import java.security.Provider.Service;
161 Debug.getInstance("provider", "Provider");
166 // The provider
167 private Provider provider; field in class:Mac
169 // The provider implementation (delegate)
184 * @param provider the provider
187 protected Mac(MacSpi macSpi, Provider provider, String algorithm)
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
X509SignatureUtil.java 1 package org.bouncycastle.jcajce.provider.asymmetric.x509;
8 import java.security.Provider;
24 import org.bouncycastle.jce.provider.BouncyCastleProvider;
83 Provider prov = Security.getProvider(BouncyCastleProvider.PROVIDER_NAME);
95 Provider[] provs = Security.getProviders();
98 // search every provider looking for a real algorithm
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
MonitoringModuleGenerator.java 35 import javax.inject.Provider;
91 ParameterizedTypeName.create(Provider.class, ClassName.fromTypeElement(componentElement)),
94 ParameterizedTypeName.create(Provider.class, SET_OF_FACTORIES), "factories");
  /external/guice/core/src/com/google/inject/internal/
EncounterImpl.java 26 import com.google.inject.Provider;
127 public <T> Provider<T> getProvider(Key<T> key) {
132 public <T> Provider<T> getProvider(Class<T> type) {
InstanceBindingImpl.java 23 import com.google.inject.Provider;
36 final Provider<T> provider; field in class:InstanceBindingImpl
45 this.provider = Providers.of(instance);
53 this.provider = Providers.of(instance);
56 @Override public Provider<T> getProvider() {
57 return this.provider;
ProviderMethod.java 26 import com.google.inject.Provider;
46 * A provider that invokes a method and returns its result.
62 ImmutableSet<Dependency<?>> dependencies, List<Provider<?>> parameterProviders,
102 private final List<Provider<?>> parameterProviders;
110 ImmutableSet<Dependency<?>> dependencies, List<Provider<?>> parameterProviders,
235 * to invoke the provider method.
245 List<Provider<?>> parameterProviders,
285 List<Provider<?>> parameterProviders,
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
Multibinder.java 39 import com.google.inject.Provider;
83 * If desired, {@link Collection}{@code <Provider<Snack>>} can also be injected.
101 * provider, that provider's get method will be called each time the set is
199 static <T> TypeLiteral<Collection<Provider<T>>> collectionOfProvidersOf(
203 return (TypeLiteral<Collection<Provider<T>>>) TypeLiteral.get(type);
207 static <T> TypeLiteral<Collection<javax.inject.Provider<T>>> collectionOfJavaxProvidersOf(
210 Types.newParameterizedType(javax.inject.Provider.class, elementType.getType());
212 return (TypeLiteral<Collection<javax.inject.Provider<T>>>) TypeLiteral.get(type);
253 * <p>As a Provider, this constructs the set instances
    [all...]
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
ManagedFilterPipeline.java 23 import com.google.inject.Provider;
51 private final Provider<ServletContext> servletContext;
63 Provider<ServletContext> servletContext) {
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProviderMethod.java 24 import com.google.inject.Provider;
39 * A provider that invokes a method and returns its result.
49 private final List<Provider<?>> parameterProviders;
60 List<Provider<?>> parameterProviders,
  /external/guice/jdk8-tests/test/com/google/inject/jdk8/
Java8LanguageFeatureBindingTest.java 25 import com.google.inject.Provider;
124 private static final class StringProvider implements Provider<String> {
161 Provider<String> provider = injector.getProvider(String.class); local
162 assertEquals("Hello", provider.get());
  /external/libmojo/mojo/public/cpp/bindings/tests/
request_response_unittest.cc 20 class ProviderImpl : public sample::Provider {
22 explicit ProviderImpl(InterfaceRequest<sample::Provider> request)
53 Binding<sample::Provider> binding_;
97 sample::ProviderPtr provider; local
98 ProviderImpl provider_impl(GetProxy(&provider));
102 provider->EchoString("hello",
111 sample::ProviderPtr provider; local
112 ProviderImpl provider_impl(GetProxy(&provider));
116 provider->EchoStrings("hello", " world", base::Bind(&RecordStrings, &buf,
125 sample::ProviderPtr provider; local
143 sample::ProviderPtr provider; local
    [all...]
  /frameworks/base/core/java/android/service/notification/
ConditionProviderService.java 66 private Provider mProvider;
110 * Called by the system when there is a new {@link Condition} to be managed by this provider.
130 * Request that the provider be rebound, after a previous call to (@link #requestUnbind).
145 * Request that the provider service be unbound.
195 mProvider = new Provider();
202 Log.w(TAG, "Condition provider service not yet bound.");
208 private final class Provider extends IConditionProvider.Stub {
  /external/clang/unittests/Sema/
ExternalSemaSourceTest.cpp 239 NamespaceTypoProvider Provider("AAB", "BBB");
241 Installer->PushSource(&Provider);
246 ASSERT_LE(0, Provider.CallCount);
275 FunctionTypoProvider Provider("aaa", "bbb");
277 Installer->PushSource(&Provider);
283 ASSERT_LE(0, Provider.CallCount);
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
JcaContentSignerBuilder.java 7 import java.security.Provider;
35 public JcaContentSignerBuilder setProvider(Provider provider)
37 this.helper = new OperatorHelper(new ProviderJcaJceHelper(provider));

Completed in 871 milliseconds

1 2 3 4 5 6 7 8 91011>>