Home
last modified time | relevance | path

Searched refs:inject (Results 1 – 25 of 1438) sorted by relevance

12345678910>>...58

/external/guice/
Dbuild.properties18 javadoc.packagenames=com.google.inject,com.google.inject.spi,\
19 com.google.inject.matcher,\
20 com.google.inject.servlet,\
21 com.google.inject.name,\
22 com.google.inject.tools.jmx,\
23 com.google.inject.binder,\
24 com.google.inject.jndi,\
25 com.google.inject.spring,\
26 com.google.inject.assistedinject,\
27 com.google.inject.throwingproviders,\
[all …]
/external/guice/core/test/com/google/inject/
DAllTests.java17 package com.google.inject;
20 import com.google.inject.internal.MoreTypesTest;
21 import com.google.inject.internal.UniqueAnnotationsTest;
22 import com.google.inject.internal.WeakKeySetTest;
23 import com.google.inject.internal.util.LineNumbersTest;
24 import com.google.inject.matcher.MatcherTest;
25 import com.google.inject.name.NamedEquivalanceTest;
26 import com.google.inject.name.NamesTest;
27 import com.google.inject.spi.BindingTargetVisitorTest;
28 import com.google.inject.spi.ElementApplyToTest;
[all …]
/external/guice/core/test/com/google/inject/name/
DNamedEquivalanceTest.java17 package com.google.inject.name;
19 import static com.google.inject.Asserts.assertContains;
21 import com.google.inject.AbstractModule;
22 import com.google.inject.ConfigurationException;
23 import com.google.inject.CreationException;
24 import com.google.inject.Guice;
25 import com.google.inject.Inject;
26 import com.google.inject.Injector;
27 import com.google.inject.Key;
28 import com.google.inject.Module;
[all …]
/external/guice/extensions/persist/test/com/google/inject/persist/
DAllTests.java17 package com.google.inject.persist;
19 import com.google.inject.persist.jpa.ClassLevelManagedLocalTransactionsTest;
20 import com.google.inject.persist.jpa.CustomPropsEntityManagerFactoryProvisionTest;
21 import com.google.inject.persist.jpa.EntityManagerFactoryProvisionTest;
22 import com.google.inject.persist.jpa.EntityManagerPerRequestProvisionTest;
23 import com.google.inject.persist.jpa.EntityManagerProvisionTest;
24 import com.google.inject.persist.jpa.JoiningLocalTransactionsTest;
25 import com.google.inject.persist.jpa.JpaWorkManagerTest;
26 import com.google.inject.persist.jpa.ManagedLocalTransactionsAcrossRequestTest;
27 import com.google.inject.persist.jpa.ManagedLocalTransactionsTest;
[all …]
/external/guice/extensions/grapher/src/com/google/inject/grapher/
DTransitiveDependencyVisitor.java17 package com.google.inject.grapher;
21 import com.google.inject.Binding;
22 import com.google.inject.Key;
23 import com.google.inject.spi.ConstructorBinding;
24 import com.google.inject.spi.ConvertedConstantBinding;
25 import com.google.inject.spi.DefaultBindingTargetVisitor;
26 import com.google.inject.spi.Dependency;
27 import com.google.inject.spi.HasDependencies;
28 import com.google.inject.spi.InstanceBinding;
29 import com.google.inject.spi.LinkedKeyBinding;
[all …]
/external/rust/crates/tokio/src/runtime/tests/
Dqueue.rs10 let inject = queue::Inject::new(); in fits_256() localVariable
14 local.push_back(task, &inject); in fits_256()
17 assert!(inject.pop().is_none()); in fits_256()
25 let inject = queue::Inject::new(); in overflow() localVariable
29 local.push_back(task, &inject); in overflow()
34 while inject.pop().is_some() { in overflow()
49 let inject = queue::Inject::new(); in steal_batch() localVariable
53 local1.push_back(task, &inject); in steal_batch()
81 let inject = queue::Inject::new(); in stress1() localVariable
107 local.push_back(task, &inject); in stress1()
[all …]
Dloom_queue.rs10 let inject = queue::Inject::new(); in basic() localVariable
34 local.push_back(task, &inject); in basic()
43 local.push_back(task, &inject); in basic()
50 while inject.pop().is_some() { in basic()
64 let inject = queue::Inject::new(); in steal_overflow() localVariable
85 local.push_back(task, &inject); in steal_overflow()
93 local.push_back(task, &inject); in steal_overflow()
102 while inject.pop().is_some() { in steal_overflow()
132 let inject = queue::Inject::new(); in multi_stealer() localVariable
137 local.push_back(task, &inject); in multi_stealer()
[all …]
/external/guice/core/src/com/google/inject/internal/
DProviderInstanceBindingImpl.java17 package com.google.inject.internal;
22 import com.google.inject.Binder;
23 import com.google.inject.Key;
24 import com.google.inject.Provider;
25 import com.google.inject.spi.BindingTargetVisitor;
26 import com.google.inject.spi.Dependency;
27 import com.google.inject.spi.HasDependencies;
28 import com.google.inject.spi.InjectionPoint;
29 import com.google.inject.spi.ProviderInstanceBinding;
30 import com.google.inject.spi.ProviderWithExtensionVisitor;
[all …]
DIndexer.java17 package com.google.inject.internal;
20 import com.google.inject.Binding;
21 import com.google.inject.Injector;
22 import com.google.inject.Scope;
23 import com.google.inject.Scopes;
24 import com.google.inject.TypeLiteral;
25 import com.google.inject.spi.BindingScopingVisitor;
26 import com.google.inject.spi.ConstructorBinding;
27 import com.google.inject.spi.ConvertedConstantBinding;
28 import com.google.inject.spi.DefaultBindingTargetVisitor;
[all …]
DBindingProcessor.java17 package com.google.inject.internal;
19 import com.google.inject.Binder;
20 import com.google.inject.Binding;
21 import com.google.inject.Key;
22 import com.google.inject.Provider;
23 import com.google.inject.spi.ConstructorBinding;
24 import com.google.inject.spi.ConvertedConstantBinding;
25 import com.google.inject.spi.ExposedBinding;
26 import com.google.inject.spi.InjectionPoint;
27 import com.google.inject.spi.InstanceBinding;
[all …]
DBindingBuilder.java17 package com.google.inject.internal;
22 import com.google.inject.Binder;
23 import com.google.inject.ConfigurationException;
24 import com.google.inject.Key;
25 import com.google.inject.Provider;
26 import com.google.inject.TypeLiteral;
27 import com.google.inject.binder.AnnotatedBindingBuilder;
28 import com.google.inject.binder.ScopedBindingBuilder;
29 import com.google.inject.spi.Element;
30 import com.google.inject.spi.InjectionPoint;
[all …]
DRealMultibinder.java1 package com.google.inject.internal;
3 import static com.google.inject.internal.Element.Type.MULTIBINDER;
4 import static com.google.inject.internal.Errors.checkConfiguration;
5 import static com.google.inject.internal.Errors.checkNotNull;
6 import static com.google.inject.name.Names.named;
13 import com.google.inject.AbstractModule;
14 import com.google.inject.Binder;
15 import com.google.inject.Binding;
16 import com.google.inject.Injector;
17 import com.google.inject.Key;
[all …]
DAbstractBindingProcessor.java17 package com.google.inject.internal;
20 import com.google.inject.AbstractModule;
21 import com.google.inject.Binder;
22 import com.google.inject.Binding;
23 import com.google.inject.Injector;
24 import com.google.inject.Key;
25 import com.google.inject.MembersInjector;
26 import com.google.inject.Module;
27 import com.google.inject.Provider;
28 import com.google.inject.Scope;
[all …]
DLinkedProviderBindingImpl.java17 package com.google.inject.internal;
22 import com.google.inject.Binder;
23 import com.google.inject.Key;
24 import com.google.inject.spi.BindingTargetVisitor;
25 import com.google.inject.spi.Dependency;
26 import com.google.inject.spi.HasDependencies;
27 import com.google.inject.spi.ProviderKeyBinding;
33 final Key<? extends javax.inject.Provider<? extends T>> providerKey;
42 Key<? extends javax.inject.Provider<? extends T>> providerKey, in LinkedProviderBindingImpl()
55 Key<? extends javax.inject.Provider<? extends T>> providerKey) { in LinkedProviderBindingImpl()
[all …]
DInjectorShell.java17 package com.google.inject.internal;
20 import static com.google.inject.Scopes.SINGLETON;
24 import com.google.inject.Binder;
25 import com.google.inject.Injector;
26 import com.google.inject.Key;
27 import com.google.inject.Module;
28 import com.google.inject.Provider;
29 import com.google.inject.Singleton;
30 import com.google.inject.Stage;
31 import com.google.inject.internal.InjectorImpl.InjectorOptions;
[all …]
/external/guice/extensions/grapher/test/com/google/inject/grapher/
DShortNameFactoryTest.java17 package com.google.inject.grapher;
21 import com.google.inject.AbstractModule;
22 import com.google.inject.BindingAnnotation;
23 import com.google.inject.Guice;
24 import com.google.inject.Injector;
25 import com.google.inject.Key;
26 import com.google.inject.Provider;
27 import com.google.inject.Provides;
28 import com.google.inject.TypeLiteral;
29 import com.google.inject.internal.Annotations;
[all …]
DTransitiveDependencyVisitorTest.java17 package com.google.inject.grapher;
20 import com.google.inject.AbstractModule;
21 import com.google.inject.Binding;
22 import com.google.inject.Guice;
23 import com.google.inject.Inject;
24 import com.google.inject.Key;
25 import com.google.inject.Module;
26 import com.google.inject.Provider;
27 import com.google.inject.TypeLiteral;
28 import com.google.inject.name.Names;
[all …]
/external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/
DBoundFieldModule.java17 package com.google.inject.testing.fieldbinder;
21 import com.google.inject.Binder;
22 import com.google.inject.BindingAnnotation;
23 import com.google.inject.Module;
24 import com.google.inject.Provider;
25 import com.google.inject.TypeLiteral;
26 import com.google.inject.binder.AnnotatedBindingBuilder;
27 import com.google.inject.binder.LinkedBindingBuilder;
28 import com.google.inject.internal.Annotations;
29 import com.google.inject.internal.Nullability;
[all …]
/external/guice/extensions/struts2/test/com/google/inject/struts2/
DStruts2FactoryTest.java17 package com.google.inject.struts2;
20 import com.google.inject.AbstractModule;
21 import com.google.inject.Guice;
22 import com.google.inject.Injector;
23 import com.google.inject.Module;
24 import com.google.inject.Provides;
25 import com.google.inject.servlet.GuiceServletContextListener;
26 import com.google.inject.servlet.ServletModule;
56 .in(com.google.inject.Singleton.class); in getInjector()
/external/dagger2/java/dagger/android/
DAndroidInjection.java44 public static void inject(Activity activity) { in inject() method in AndroidInjection
55 inject(activity, (HasAndroidInjector) application); in inject()
79 public static void inject(Fragment fragment) { in inject() method in AndroidInjection
91 inject(fragment, hasAndroidInjector); in inject()
119 public static void inject(Service service) { in inject() method in AndroidInjection
130 inject(service, (HasAndroidInjector) application); in inject()
140 public static void inject(BroadcastReceiver broadcastReceiver, Context context) { in inject() method in AndroidInjection
152 inject(broadcastReceiver, (HasAndroidInjector) application); in inject()
162 public static void inject(ContentProvider contentProvider) { in inject() method in AndroidInjection
173 inject(contentProvider, (HasAndroidInjector) application); in inject()
[all …]
/external/guice/extensions/dagger-adapter/test/com/google/inject/daggeradapter/
DDaggerAdapterTest.java16 package com.google.inject.daggeradapter;
19 import com.google.inject.AbstractModule;
20 import com.google.inject.Binder;
21 import com.google.inject.Guice;
22 import com.google.inject.Injector;
23 import com.google.inject.Key;
24 import com.google.inject.Module;
25 import com.google.inject.Provides;
26 import com.google.inject.TypeLiteral;
27 import com.google.inject.multibindings.Multibinder;
[all …]
/external/guice/core/test/com/google/inject/spi/
DModuleRewriterTest.java17 package com.google.inject.spi;
20 import com.google.inject.AbstractModule;
21 import com.google.inject.Binding;
22 import com.google.inject.ConfigurationException;
23 import com.google.inject.Guice;
24 import com.google.inject.Inject;
25 import com.google.inject.Injector;
26 import com.google.inject.Key;
27 import com.google.inject.Module;
28 import com.google.inject.Provider;
[all …]
/external/guice/core/src/com/google/inject/util/
DProviders.java17 package com.google.inject.util;
24 import com.google.inject.Inject;
25 import com.google.inject.Injector;
26 import com.google.inject.Provider;
27 import com.google.inject.spi.Dependency;
28 import com.google.inject.spi.InjectionPoint;
29 import com.google.inject.spi.ProviderWithDependencies;
90 public static <T> Provider<T> guicify(javax.inject.Provider<T> provider) { in guicify()
95 final javax.inject.Provider<T> delegate = checkNotNull(provider, "provider"); in guicify()
113 protected final javax.inject.Provider<T> delegate;
[all …]
/external/guice/core/src/com/google/inject/
DBinder.java17 package com.google.inject;
19 import com.google.inject.binder.AnnotatedBindingBuilder;
20 import com.google.inject.binder.AnnotatedConstantBindingBuilder;
21 import com.google.inject.binder.LinkedBindingBuilder;
22 import com.google.inject.matcher.Matcher;
23 import com.google.inject.spi.Dependency;
24 import com.google.inject.spi.Message;
25 import com.google.inject.spi.ModuleAnnotatedMethodScanner;
26 import com.google.inject.spi.ProvisionListener;
27 import com.google.inject.spi.TypeConverter;
[all …]
/external/guice/core/src/com/google/inject/binder/
DLinkedBindingBuilder.java17 package com.google.inject.binder;
19 import com.google.inject.Key;
20 import com.google.inject.Provider;
21 import com.google.inject.TypeLiteral;
60 ScopedBindingBuilder toProvider(javax.inject.Provider<? extends T> provider); in toProvider()
63 ScopedBindingBuilder toProvider(Class<? extends javax.inject.Provider<? extends T>> providerType); in toProvider()
67 TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType); in toProvider()
70 ScopedBindingBuilder toProvider(Key<? extends javax.inject.Provider<? extends T>> providerKey); in toProvider()

12345678910>>...58