Home
last modified time | relevance | path

Searched refs:providerKey (Results 1 – 14 of 14) sorted by relevance

/external/guice/core/src/com/google/inject/internal/
DLinkedProviderBindingImpl.java33 final Key<? extends javax.inject.Provider<? extends T>> providerKey; field in LinkedProviderBindingImpl
42 Key<? extends javax.inject.Provider<? extends T>> providerKey, in LinkedProviderBindingImpl() argument
45 this.providerKey = providerKey; in LinkedProviderBindingImpl()
55 Key<? extends javax.inject.Provider<? extends T>> providerKey) { in LinkedProviderBindingImpl() argument
56 this(injector, key, source, internalFactory, scoping, providerKey, null); in LinkedProviderBindingImpl()
63 Key<? extends javax.inject.Provider<? extends T>> providerKey) { in LinkedProviderBindingImpl() argument
65 this.providerKey = providerKey; in LinkedProviderBindingImpl()
75 Key<? extends javax.inject.Provider<? extends T>> providerKey, in createWithInitializer() argument
78 injector, key, source, internalFactory, scoping, providerKey, delayedInitializer); in createWithInitializer()
88 return providerKey; in getProviderKey()
[all …]
DBoundProviderFactory.java29 final Key<? extends javax.inject.Provider<? extends T>> providerKey; field in BoundProviderFactory
34 Key<? extends javax.inject.Provider<? extends T>> providerKey, in BoundProviderFactory() argument
40 this.providerKey = providerKey; in BoundProviderFactory()
48 providerKey, errors.withSource(source), JitLimitation.NEW_OR_EXISTING_JIT); in notify()
57 context.pushState(providerKey, source); in get()
63 throw ipe.addSource(providerKey); in get()
85 return providerKey.toString(); in toString()
DProvidedByInternalFactory.java34 private final Key<? extends Provider<T>> providerKey; field in ProvidedByInternalFactory
41 Key<? extends Provider<T>> providerKey) { in ProvidedByInternalFactory() argument
42 super(providerKey); in ProvidedByInternalFactory()
45 this.providerKey = providerKey; in ProvidedByInternalFactory()
55 injector.getBindingOrThrow(providerKey, errors, JitLimitation.NEW_OR_EXISTING_JIT); in initialize()
65 Key<? extends Provider<T>> localProviderKey = providerKey; in get()
DBindingBuilder.java145 Key<? extends javax.inject.Provider<? extends T>> providerKey) { in toProvider() argument
146 checkNotNull(providerKey, "providerKey"); in toProvider()
152 base.getSource(), base.getKey(), base.getScoping(), providerKey)); in toProvider()
DBindingProcessor.java146 Key<? extends javax.inject.Provider<? extends T>> providerKey = in visit() local
153 providerKey, in visit()
166 injector, key, source, scopedFactory, scoping, providerKey)); in visit()
DInjectorImpl.java765 Key<? extends Provider<T>> providerKey = (Key<? extends Provider<T>>) Key.get(providerType);
767 new ProvidedByInternalFactory<T>(rawType, providerType, providerKey);
776 providerKey,
/external/guice/core/src/com/google/inject/spi/
DProviderLookup.java118 Key<?> providerKey = getKey().ofType(Types.providerOf(getKey().getTypeLiteral().getType())); in getProvider() local
119 return ImmutableSet.<Dependency<?>>of(Dependency.get(providerKey)); in getProvider()
/external/guice/core/src/com/google/inject/binder/
DLinkedBindingBuilder.java70 ScopedBindingBuilder toProvider(Key<? extends javax.inject.Provider<? extends T>> providerKey); in toProvider() argument
/external/guice/core/src/com/google/inject/
DKey.java173 Key<Provider<T>> providerKey() { in providerKey() method in Key
/external/guice/core/test/com/google/inject/
DKeyTest.java70 .providerKey(); in testProviderKey()
/external/guice/core/test/com/google/inject/internal/
DOptionalBinderTest.java24 import static com.google.inject.internal.SpiUtils.providerKey;
1230 providerKey(Key.get(AStringProvider.class)), in testModuleOverrideRepeatedInstalls_toProviderKey()
1231 providerKey(Key.get(BStringProvider.class)), in testModuleOverrideRepeatedInstalls_toProviderKey()
DSpiUtils.java1259 static <T> BindResult<T> providerKey(Key<T> key) { in providerKey() method in SpiUtils
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/
DCipherTest.java506 private static String providerKey(String algorithm, String provider) { in providerKey() method in CipherTest
528 setExpectedSize(map, providerKey(algorithm, provider), value); in setExpectedSize()
538 expected = map.get(providerKey(algorithm, provider)); in getExpectedSize()
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/
DCipherTest.java502 private static String providerKey(String algorithm, String provider) { in providerKey() method in CipherTest
524 setExpectedSize(map, providerKey(algorithm, provider), value); in setExpectedSize()
534 expected = map.get(providerKey(algorithm, provider)); in getExpectedSize()