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

12 3 4 5 6 7 8 91011>>

  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/nullables/
NullFoo.java 19 import javax.inject.Provider;
23 final Provider<String> stringProvider;
25 final Provider<Number> numberProvider;
29 Provider<String> stringProvider,
31 Provider<Number> numberProvider) {
39 Provider<String> methodInjectedStringProvider;
41 Provider<Number> methodInjectedNumberProvider;
43 Provider<String> stringProvider,
45 Provider<Number> numberProvider) {
53 @Inject Provider<String> fieldInjectedStringProvider
    [all...]
  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
InjectedThing.java 21 import javax.inject.Provider;
34 @Inject Provider<Byte> byteProvider;
35 @Inject Provider<Character> charProvider;
36 @Inject Provider<Short> shortProvider;
37 @Inject Provider<Integer> intProvider;
38 @Inject Provider<Long> longProvider;
39 @Inject Provider<Boolean> booleanProvider;
40 @Inject Provider<Float> floatProvider;
41 @Inject Provider<Double> doubleProvider;
70 @Inject Provider<byte[]> byteArrayProvider
    [all...]
Injector.java 20 import javax.inject.Provider;
27 Provider<T> provider(); method in interface:Injector
  /external/skia/src/core/
SkNormalBevelSource.h 24 SkNormalSource::Provider* asProvider(const SkShader::ContextRec& rec,
33 class Provider : public SkNormalSource::Provider {
35 Provider();
37 ~Provider() override;
42 typedef SkNormalSource::Provider INHERITED;
SkNormalMapSource.h 23 SkNormalSource::Provider* asProvider(const SkShader::ContextRec& rec,
34 class Provider : public SkNormalSource::Provider {
36 Provider(const SkNormalMapSourceImpl& source, SkShader::Context* mapContext);
44 typedef SkNormalSource::Provider INHERITED;
SkNormalFlatSource.cpp 73 SkNormalFlatSourceImpl::Provider::Provider() {}
75 SkNormalFlatSourceImpl::Provider::~Provider() {}
77 SkNormalSource::Provider* SkNormalFlatSourceImpl::asProvider(const SkShader::ContextRec &rec,
79 return alloc->make<Provider>();
82 void SkNormalFlatSourceImpl::Provider::fillScanLine(int x, int y, SkPoint3 output[],
SkNormalSource.h 34 class Provider {
36 virtual ~Provider() {}
44 /** Returns an instance of 'Provider' that provides normals for the CPU pipeline. The
47 virtual Provider* asProvider(const SkShader::ContextRec&, SkArenaAlloc*) const = 0;
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
BCJcaJceHelper.java 3 import java.security.Provider;
6 import org.bouncycastle.jce.provider.BouncyCastleProvider;
9 * A JCA/JCE helper that refers to the BC provider for all it's needs.
14 private static volatile Provider bcProvider;
16 private static Provider getBouncyCastleProvider()
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
SpiEngUtils.java 26 import java.security.Provider;
47 public static Provider isSupport(String algorithm, String service) {
49 Provider[] provs = Security.getProviders(service.concat(".")
60 public class MyProvider extends Provider {
  /system/update_engine/update_manager/
random_provider.h 20 #include "update_engine/update_manager/provider.h"
25 // Provider of random values.
26 class RandomProvider : public Provider {
time_provider.h 22 #include "update_engine/update_manager/provider.h"
27 // Provider for time related information.
28 class TimeProvider : public Provider {
  /external/dagger2/core/src/test/java/dagger/internal/
MapProviderFactoryTest.java 21 import javax.inject.Provider;
50 Provider<Integer> p1 = incrementingIntegerProvider(10);
51 Provider<Integer> p2 = incrementingIntegerProvider(20);
52 Provider<Integer> p3 = incrementingIntegerProvider(30);
53 Provider<Integer> p4 = incrementingIntegerProvider(40);
54 Provider<Integer> p5 = incrementingIntegerProvider(50);
56 Factory<Map<String, Provider<Integer>>> factory = MapProviderFactory
65 Map<String, Provider<Integer>> expectedMap = new LinkedHashMap<String, Provider<Integer>>();
77 private static Provider<Integer> incrementingIntegerProvider(int seed)
    [all...]
  /external/conscrypt/platform/src/main/java/org/conscrypt/
JSSEProvider.java 20 import java.security.Provider;
23 * JSSE Provider implementation.
25 * The current JSSE provider implementation uses the following
28 * Algorithms that MUST be provided by crypto provider:
40 public final class JSSEProvider extends Provider {
45 super("HarmonyJSSE", 1.0, "Harmony JSSE Provider");
  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/subcomponent/
ChildComponent.java 20 import javax.inject.Provider;
24 Provider<UnscopedType> getUnscopedTypeProvider();
GrandchildComponent.java 20 import javax.inject.Provider;
24 Provider<UnscopedType> getUnscopedTypeProvider();
  /external/guice/core/src/com/google/inject/spi/
ProviderBinding.java 21 import com.google.inject.Provider;
24 * A binding to a {@link Provider} that delegates to the binding for the provided type. This binding
25 * is used whenever a {@code Provider<T>} is injected (as opposed to injecting {@code T} directly).
30 public interface ProviderBinding<T extends Provider<?>> extends Binding<T> {
33 * Returns the key whose binding is used to {@link Provider#get provide instances}. That binding
ProviderWithExtensionVisitor.java 20 import com.google.inject.Provider;
23 * A Provider that is part of an extension which supports a custom
26 * When an extension binds a provider instance, the provider can implement this
47 public interface ProviderWithExtensionVisitor<T> extends Provider<T> {
56 * relate to the type of the provider. In practice, the 'B' type will always
  /external/guice/extensions/grapher/test/com/google/inject/grapher/demo/
DeLorian.java 20 import com.google.inject.Provider;
23 // We @Inject a Provider to demonstrate that the graph doesn't differentiate
24 // between a Provider<T> and just @Injecting T.
25 @Inject @Driver Provider<Person> driver;
PlutoniumProvider.java 20 import com.google.inject.Provider;
22 class PlutoniumProvider implements Provider<Plutonium> {
  /external/dagger2/core/src/main/java/dagger/internal/
MapFactory.java 20 import javax.inject.Provider;
34 private final Map<K, Provider<V>> contributingMap;
36 private MapFactory(Map<K, Provider<V>> map) {
43 public static <K, V> MapFactory<K, V> create(Provider<Map<K, Provider<V>>> mapProviderFactory) {
44 Map<K, Provider<V>> map = mapProviderFactory.get();
55 for (Entry<K, Provider<V>> entry: contributingMap.entrySet()) {
MapProviderFactory.java 20 import javax.inject.Provider;
27 * {@code Map<K, Provider<V>>} when calling {@link #get} (as specified by {@link Factory}).
33 public final class MapProviderFactory<K, V> implements Factory<Map<K, Provider<V>>> {
34 private final Map<K, Provider<V>> contributingMap;
43 private MapProviderFactory(LinkedHashMap<K, Provider<V>> contributingMap) {
48 * Returns a {@code Map<K, Provider<V>>} whose iteration order is that of the elements
53 public Map<K, Provider<V>> get() {
61 private final LinkedHashMap<K, Provider<V>> mapBuilder;
78 public Builder<K, V> put(K key, Provider<V> providerOfValue) {
83 throw new NullPointerException("The provider of the value is null")
    [all...]
DoubleCheckLazy.java 19 import javax.inject.Provider;
22 * A basic {@link Lazy} implementation that memoizes the value returned from a {@link Provider}
32 private final Provider<T> provider; field in class:DoubleCheckLazy
35 private DoubleCheckLazy(Provider<T> provider) {
36 assert provider != null;
37 this.provider = provider;
49 instance = result = provider.get()
    [all...]
  /external/syslinux/com32/include/sys/
gpxe.h 10 uint32_t Provider;
  /external/guice/core/test/com/google/inject/spi/
InjectorSpiTest.java 9 import com.google.inject.Provider;
37 // 1) non-Provider Foo.class
42 // 2) Provider<Foo> class (should already exist, because Baz @Injects it).
43 // the assertTrue is a bit stricter than necessary, but makes sure this works for pre-existing Provider bindings
44 assertTrue(injector.getAllBindings().containsKey(Key.get(new TypeLiteral<Provider<Foo>>() {})));
45 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Foo>>() {}));
47 assertEquals(Provider.class, binding.getKey().getTypeLiteral().getRawType());
48 assertEquals(Foo.class, ((Provider)binding.getProvider().get()).get().getClass());
50 // 3) non-Provider Baz.class
55 // 4) Provider<Baz> class (should not already exist, because nothing used it yet)
    [all...]
  /external/guice/core/src/com/google/inject/internal/
Lookups.java 21 import com.google.inject.Provider;
32 <T> Provider<T> getProvider(Key<T> key);

Completed in 323 milliseconds

12 3 4 5 6 7 8 91011>>