Home
last modified time | relevance | path

Searched defs:injector (Results 1 – 25 of 191) sorted by relevance

12345678

/external/guice/core/test/com/google/inject/
DPrivateModuleTest.java41 Injector injector = in testBasicUsage() local
82 Injector injector = in testWithoutPrivateModules() local
146 Injector injector = in testPrivateModulesAndProvidesMethods() local
309 Injector injector = in testNestedPrivateInjectors() local
331 Injector injector = in testInstallingRegularModulesFromPrivateModules() local
352 Injector injector = in testNestedPrivateModulesWithSomeKeysUnexposed() local
401 Injector injector = in testDependenciesBetweenPrivateAndPublic() local
440 Injector injector = in testDependenciesBetweenPrivateAndPublicWithPublicEagerSingleton() local
496 Injector injector = in testDependenciesBetweenPrivateAndPublicWithPrivateEagerSingleton() local
563 Injector injector = in testSpiAccess() local
[all …]
DJitBindingsTest.java57 Injector injector = in testLinkedBindingWorks() local
75 Injector injector = in testMoreBasicsWork() local
95 Injector injector = in testLinkedEagerSingleton() local
113 Injector injector = in testBasicsWithEagerSingleton() local
133 Injector injector = in testLinkedToScoped() local
151 Injector injector = in testBasicsWithScoped() local
189 Injector injector = in testLinkedProviderBindingWorks() local
276 Injector injector = in testImplementedBy() local
290 Injector injector = in testImplementedBySomethingThatIsAnnotated() local
304 Injector injector = in testProvidedBy() local
[all …]
DProvisionListenerTest.java51 Injector injector = in testExceptionInListenerBeforeProvisioning() local
77 Injector injector = in testExceptionInListenerAfterProvisioning() local
103 Injector injector = in testExceptionInProvisionExplicitlyCalled() local
126 Injector injector = in testExceptionInProvisionAutomaticallyCalled() local
150 Injector injector = in testExceptionInFieldProvision() local
199 Injector injector = in testExceptionInCxtorProvision() local
247 Injector injector = in testListenerCallsProvisionTwice() local
274 Injector injector = in testCachedInScopePreventsProvisionNotify() local
297 Injector injector = in testCombineAllBindListenerCalls() local
314 Injector injector = in testNotifyEarlyListenersIfFailBeforeProvision() local
[all …]
DProvisionExceptionsTest.java34 Injector injector = in testConstructorRuntimeException() local
61 Injector injector = in testConstructorCheckedException() local
85 Injector injector = in testCustomProvidersRuntimeException() local
116 Injector injector = in testProviderMethodRuntimeException() local
144 Injector injector = in testProviderMethodCheckedException() local
DLoggerInjectionTest.java19 Injector injector = Guice.createInjector(); in testLoggerWithMember() local
25 Injector injector = Guice.createInjector(); in testLoggerInConstructor() local
41 Injector injector = Guice.createInjector(); in testLoggerWithoutMember() local
49 Injector injector = in testCanBindAnnotatedLogger() local
DMethodInterceptionTest.java66 Injector injector = in testSharedProxyClasses() local
126 Injector injector = in testGetThis() local
150 Injector injector = in testInterceptingFinalClass() local
182 Injector injector = in testSpiAccessToInterceptors() local
217 Injector injector = in testInterceptedMethodThrows() local
244 Injector injector = in testNotInterceptedMethodsInInterceptedClassDontAddFrames() local
303 Injector injector = in testInterceptingNonBridgeWorks() local
344 Injector injector = in testInterceptionOrder() local
381 Injector injector = in testDeDuplicateInterceptors() local
399 Injector injector = in testCallLater() local
DMembersInjectorTest.java113 Injector injector = in testMembersInjectorFromInjector() local
144 Injector injector = Guice.createInjector(); in testMembersInjectorWithNonInjectedTypes() local
154 Injector injector = Guice.createInjector(); in testInjectionFailure() local
170 Injector injector = Guice.createInjector(); in testInjectionAppliesToSpecifiedType() local
243 Injector injector = in testLookupMembersInjectorBinding() local
265 Injector injector = Guice.createInjector(); in testGettingRawMembersInjector() local
276 Injector injector = Guice.createInjector(); in testGettingAnnotatedMembersInjector() local
305 void callback(final Injector injector) throws Exception { in callback()
DCircularDependencyTest.java45 Injector injector = in testCircularlyDependentConstructors() local
58 Injector injector = in testCircularlyDependentConstructorsWithProviderMethods() local
77 Injector injector = in testCircularlyDependentConstructorsWithProviderInstances() local
109 Injector injector = in testCircularlyDependentConstructorsWithProviderKeys() local
122 Injector injector = Guice.createInjector(); in testCircularlyDependentConstructorsWithProvidedBy() local
126 private void assertCircularDependencies(Injector injector) { in assertCircularDependencies()
441 Injector injector = in testCircularlyDependentMultipleWays() local
454 Injector injector = in testDisablingCircularDependencies() local
499 Injector injector = in testCircularDependencyProxyDelegateNeverInitialized() local
567 Injector injector = in testCircularDependenciesDetectedEarlyWhenDependenciesHaveDifferentTypes() local
[all …]
DTypeConversionTest.java79 Injector injector = in testOneConstantInjection() local
98 Injector injector = in testConstantInjection() local
131 Injector injector = in testConstantInjectionWithExplicitBindingsRequired() local
186 Injector injector = Guice.createInjector(new OuterErrorModule()); in testInvalidInteger() local
208 Injector injector = in testInvalidCharacter() local
232 Injector injector = in testInvalidEnum() local
256 Injector injector = in testToInstanceIsTreatedLikeConstant() local
276 Injector injector = in testCustomTypeConversion() local
431 Injector injector = in testStringIsConvertedOnlyOnce() local
DInjectorTest.java50 Injector injector = Guice.createInjector(Stage.TOOL); in testToStringDoesNotInfinitelyRecurse() local
59 Injector injector = in testProviderMethods() local
78 Injector injector = createFooInjector(); in testInjection() local
/external/guice/jdk8-tests/test/com/google/inject/jdk8/
DJava8LanguageFeatureBindingTest.java47 Injector injector = in testBinding_lambdaToInterface() local
62 Injector injector = in testProviderMethod_returningLambda() local
77 Injector injector = in testProviderMethod_containingLambda_throwingException() local
114 Injector injector = in testProvider_usingJdk8Features() local
142 Injector injector = in testBinding_toProvider_lambda() local
157 Injector injector = in testBinding_toProvider_methodReference() local
DDefaultMethodInterceptionTest.java77 Injector injector = in testInterceptedDefaultMethod() local
95 Injector injector = in testInterceptedDefaultMethod_calledByAnotherMethod() local
124 Injector injector = in testInterceptedDefaultMethod_whenParentClassDefinesNonInterceptedMethod() local
160 Injector injector = in testInterceptedDefaultMethod_whenParentClassDefinesInterceptedMethod() local
195 Injector injector = in testInterception_ofAllMethodsOnType() local
214 Injector injector = in testInterception_ofAllMethodsOnType_interceptsInheritedDefaultMethod() local
/external/guice/core/test/com/google/inject/internal/
DMultibinderTest.java123 Injector injector = Guice.createInjector(abc, de); in testMultibinderAggregatesMultipleModules() local
157 Injector injector = Guice.createInjector(module); in testMultibinderAggregationForAnnotationInstance() local
189 Injector injector = Guice.createInjector(module); in testMultibinderAggregationForAnnotationType() local
224 Injector injector = Guice.createInjector(module); in testMultibinderWithMultipleAnnotationValueSets() local
265 Injector injector = Guice.createInjector(module); in testMultibinderWithMultipleAnnotationTypeSets() local
298 Injector injector = Guice.createInjector(module); in testMultibinderWithMultipleSetTypes() local
315 Injector injector = Guice.createInjector(module); in testMultibinderWithEmptySet() local
323 Injector injector = in testMultibinderSetIsUnmodifiable() local
341 Injector injector = in testMultibinderSetIsSerializable() local
386 Injector injector = Guice.createInjector(module); in testMultibinderSetIsLazy() local
[all …]
DOptionalBinderTest.java160 Injector injector = Guice.createInjector(module); in testOptionalIsAbsentByDefault() local
199 Injector injector = Guice.createInjector(module); in testUsesUserBoundValue() local
241 Injector injector = Guice.createInjector(module); in testUsesUserBoundValueNullProvidersMakeAbsent() local
291 Injector injector = Guice.createInjector(module); in testOptionalBinderDependsOnJitBinding() local
351 Injector injector = Guice.createInjector(module); in testSetDefault() local
392 Injector injector = Guice.createInjector(module); in testSetBinding() local
436 Injector injector = Guice.createInjector(module); in testSetBindingOverridesDefault() local
493 Injector injector = Guice.createInjector(module1, module2, module3); in testSpreadAcrossModules() local
546 Injector injector = Guice.createInjector(module); in testExactSameBindingCollapses_defaults() local
592 Injector injector = Guice.createInjector(module); in testExactSameBindingCollapses_actual() local
[all …]
DMapBinderTest.java126 Injector injector = Guice.createInjector(module); in testAllBindings() local
209 Injector injector = Guice.createInjector(abc, de); in testMapBinderAggregatesMultipleModules() local
247 Injector injector = Guice.createInjector(module); in testMapBinderAggregationForAnnotationInstance() local
283 Injector injector = Guice.createInjector(module); in testMapBinderAggregationForAnnotationType() local
322 Injector injector = Guice.createInjector(module); in testMapBinderWithMultipleAnnotationValueSets() local
376 Injector injector = Guice.createInjector(module); in testMapBinderWithMultipleAnnotationTypeSets() local
426 Injector injector = Guice.createInjector(module); in testMapBinderWithMultipleTypes() local
458 Injector injector = Guice.createInjector(module); in testMapBinderWithEmptyMap() local
466 Injector injector = in testMapBinderMapIsUnmodifiable() local
503 Injector injector = Guice.createInjector(module); in testMapBinderMapIsLazy() local
[all …]
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/
DBoundFieldModuleTest.java59 Injector injector = Guice.createInjector(module); in testBindingOnePrivate() local
72 Injector injector = Guice.createInjector(module); in testBindingOnePublic() local
95 Injector injector = Guice.createInjector(module); in testSuperTypeBinding() local
110 Injector injector = Guice.createInjector(module); in testBindingTwo() local
125 Injector injector = Guice.createInjector(module); in testBindingSuperType() local
139 Injector injector = Guice.createInjector(module); in testBindingSuperTypeAccessSubType() local
190 Injector injector = Guice.createInjector(module); in testBindingWithBindingAnnotation() local
211 Injector injector = Guice.createInjector(module); in testBindingWithQualifier() local
232 Injector injector = Guice.createInjector(module); in testCanReuseBindingAnnotationsWithDifferentValues() local
251 Injector injector = Guice.createInjector(module); in testBindingWithValuedBindingAnnotation() local
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DServletTest.java83 Injector injector = in testScopeExceptions() local
135 final Injector injector = createInjector(); in testRequestAndResponseBindings() local
183 final Injector injector = in testRequestAndResponseBindings_wrappingFilter() local
334 final Injector injector = createInjector(); in testNewRequestObject() local
355 final Injector injector = createInjector(); in testExistingRequestObject() local
380 final Injector injector = createInjector(); in testNewSessionObject() local
401 final Injector injector = createInjector(); in testExistingSessionObject() local
426 final Injector injector = createInjector(); in testHttpSessionIsSerializable() local
457 final Injector injector = in testGuiceFilterConstructors() local
DFilterDefinitionTest.java38 Injector injector = createMock(Injector.class); in testFilterInitAndConfig() local
91 Injector injector = createMock(Injector.class); in testFilterCreateDispatchDestroy() local
115 filterDef.init(createMock(ServletContext.class), injector, Sets.<Filter>newIdentityHashSet()); in testFilterCreateDispatchDestroy() local
145 Injector injector = createMock(Injector.class); in testFilterCreateDispatchDestroySupressChain() local
178 filterDef.init(createMock(ServletContext.class), injector, Sets.<Filter>newIdentityHashSet()); in testFilterCreateDispatchDestroySupressChain() local
215 Injector injector = createMock(Injector.class); in testGetFilterIfMatching() local
252 Injector injector = createMock(Injector.class); in testGetFilterIfMatchingNotMatching() local
/external/guice/core/src/com/google/inject/internal/
DTypeConverterBindingProcessor.java43 static void prepareBuiltInConverters(InjectorImpl injector) { in prepareBuiltInConverters()
120 InjectorImpl injector, Class<T> primitiveType, final Class<T> wrapperType) { in convertToPrimitiveType()
152 InjectorImpl injector, Class<T> type, TypeConverter converter) { in convertToClass()
157 InjectorImpl injector, final Matcher<? super Class<?>> typeMatcher, TypeConverter converter) { in convertToClasses()
180 InjectorImpl injector, Matcher<? super TypeLiteral<?>> typeMatcher, TypeConverter converter) { in internalConvertToTypes()
DInjectorShell.java54 private final InjectorImpl injector; field in InjectorShell
56 private InjectorShell(List<Element> elements, InjectorImpl injector) { in InjectorShell()
144 InjectorImpl injector = new InjectorImpl(parent, state, options); in build() local
218 private static void bindInjector(InjectorImpl injector) { in bindInjector()
234 private final Injector injector; field in InjectorShell.InjectorFactory
236 private InjectorFactory(Injector injector) { in InjectorFactory()
260 private static void bindLogger(InjectorImpl injector) { in bindLogger()
295 private static void bindStage(InjectorImpl injector, Stage stage) { in bindStage()
/external/dagger2/java/dagger/android/
DAndroidInjection.java47 AndroidInjector<? super Activity> injector; in inject() local
92 AndroidInjector<? super Fragment> injector; in inject() local
150 AndroidInjector<? super Service> injector; in inject() local
182 AndroidInjector<? super BroadcastReceiver> injector; in inject() local
213 AndroidInjector<? super ContentProvider> injector; in inject() local
/external/guice/core/test/com/google/inject/util/
DOverrideModuleTest.java70 Injector injector = createInjector(Modules.override(newModule("A")).with(newModule("B"))); in testOverride() local
78 Injector injector = createInjector(module); in testOverrideMultiple() local
86 Injector injector = createInjector(Modules.override(EMPTY_MODULE).with(newModule("B"))); in testOverrideUnmatchedTolerated() local
107 Injector injector = createInjector(Modules.override(original).with(replacements)); in testOverrideConstant() local
121 Injector injector = createInjector(Modules.override(original).with(EMPTY_MODULE)); in testGetProviderInModule() local
138 Injector injector = createInjector(Modules.override(original).with(replacements)); in testOverrideWhatGetProviderProvided() local
161 Injector injector = createInjector(Modules.override(original).with(replacements)); in testOverrideUsingOriginalsGetProvider() local
197 Injector injector = createInjector(Modules.override(overrides).with(replacements2)); in testOverrideOfOverride() local
311 Injector injector = createInjector(Modules.override(original).with(replacements)); in testOverrideUntargettedBinding() local
343 Injector injector = createInjector(Modules.override(original).with(replacements)); in testOverrideScopeAnnotation() local
[all …]
/external/guice/extensions/jmx/src/com/google/inject/tools/jmx/
DManager.java41 public static void manage(String domain, Injector injector) { in manage()
42 manage(ManagementFactory.getPlatformMBeanServer(), domain, injector); in manage() local
49 public static void manage(MBeanServer server, String domain, Injector injector) { in manage()
95 Injector injector = Guice.createInjector(module); in main() local
/external/guice/core/src/com/google/inject/
DScopes.java102 Injector injector = linkedBinding.getInjector(); in isSingleton() local
109 Injector injector = exposedBinding.getPrivateElements().getInjector(); in isSingleton() local
164 Injector injector = linkedBinding.getInjector(); in isScoped() local
171 Injector injector = exposedBinding.getPrivateElements().getInjector(); in isScoped() local
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/
DCheckedProviderMethodsModuleTest.java125 Injector injector = Guice.createInjector(new TestModule()); in testNoAnnotationNoScope() local
132 Injector injector = Guice.createInjector(testModule); in testWithScope() local
144 Injector injector = Guice.createInjector(testModule); in testWithAnnotation() local
152 Injector injector = Guice.createInjector(testModule); in testWithInjectedParameters() local
160 Injector injector = Guice.createInjector(testModule); in testWithThrownException() local
174 Injector injector = Guice.createInjector(testModule); in testExposedMethod() local

12345678