Home
last modified time | relevance | path

Searched refs:getProvider (Results 1 – 25 of 104) sorted by relevance

12345

/external/guice/core/src/com/google/inject/
DAbstractModule.java184 binder().getProvider(key); in requireBinding()
196 binder().getProvider(type); in requireBinding()
203 protected <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in AbstractModule
204 return binder().getProvider(key); in getProvider()
211 protected <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in AbstractModule
212 return binder().getProvider(type); in getProvider()
DPrivateModule.java237 binder().getProvider(key); in requireBinding()
244 binder().getProvider(type); in requireBinding()
250 protected final <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in PrivateModule
251 return binder().getProvider(key); in getProvider()
257 protected final <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in PrivateModule
258 return binder().getProvider(type); in getProvider()
DBinder.java325 <T> Provider<T> getProvider(Key<T> key); in getProvider() method
337 <T> Provider<T> getProvider(Dependency<T> dependency); in getProvider() method
347 <T> Provider<T> getProvider(Class<T> type); in getProvider() method
DInjector.java171 <T> Provider<T> getProvider(Key<T> key); in getProvider() method
180 <T> Provider<T> getProvider(Class<T> type); in getProvider() method
/external/guice/core/test/com/google/inject/
DEagerSingletonTest.java36 getProvider(A.class); in testJustInTimeEagerSingletons()
55 injector.getProvider(B.class); in testJustInTimeSingletonsAreNotEager()
76 injector.getProvider(B.class); in A()
DLoggerInjectionTest.java43 assertNull(injector.getProvider(Logger.class).get().getName()); in testLoggerWithoutMember()
44 assertNull(injector.getBinding(Logger.class).getProvider().get().getName()); in testLoggerWithoutMember()
45 assertEquals("Provider<Logger>", injector.getProvider(Logger.class).toString()); in testLoggerWithoutMember()
DReflectionTest.java45 assertSame(foo, fooBinding.getProvider().get()); in testNormalBinding()
59 assertEquals(5, i.getProvider().get()); in testConstantBinding()
76 assertSame(bar, fooBinding.getProvider().get()); in testLinkedBinding()
DTypeListenerTest.java137 Provider<A> aProvider = injector.getProvider(A.class); in testInstallingInjectionListener()
215 injector.getProvider(B.class);
273 Provider<B> bProvider = injector.getProvider(B.class);
343 Provider<A> aProvider = injector.getProvider(A.class);
380 Provider<B> bProvider = encounter.getProvider(B.class);
418 assertNotNull(encounter.getProvider(B.class).get());
514 Provider<B> bProvider = injector.getProvider(B.class);
601 encounter.getProvider(B.class);
DJitBindingsTest.java230 }).getProvider(Bar.class); in testJitProviderGetFails()
604 injector.getProvider(classes[i]).get(); in ensureWorks()
605 injector.getBinding(classes[i]).getProvider().get(); in ensureWorks()
621 injector.getProvider(classes[i]); in ensureFails()
632 binding.getProvider(); in ensureFails()
666 injector.getProvider(classes[i]); in ensureInChild()
DBinderTest.java77 fooProvider = binder.getProvider(Foo.class); in testProviderFromBinder()
95 getProvider(Runnable.class); in testMissingBindings()
200 assertEquals("Provider<java.lang.Integer>", getProvider(Integer.class).toString()); in testToStringOnBinderApi()
202 getProvider(Key.get(new TypeLiteral<List<String>>() {})).toString()); in testToStringOnBinderApi()
226 assertNotSerializable(getProvider(Integer.class)); in testNothingIsSerializableInBinderApi()
227 assertNotSerializable(getProvider(Key.get(new TypeLiteral<List<String>>() {}))); in testNothingIsSerializableInBinderApi()
DBinderTestSuite.java410 Provider<?> provider = newInjector().getProvider(key); in test()
416 Provider<?> bindingProvider = newInjector().getBinding(key).getProvider(); in test()
502 newInjector().getProvider(key); in test()
509 newInjector().getBinding(key).getProvider(); in test()
582 Provider<?> provider = newInjector().getProvider(key); in test()
583 Provider<?> bindingProvider = newInjector().getBinding(key).getProvider(); in test()
/external/guice/core/src/com/google/inject/internal/
DEncounterImpl.java127 public <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in EncounterImpl
129 return lookups.getProvider(key); in getProvider()
132 public <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in EncounterImpl
133 return getProvider(Key.get(type)); in getProvider()
DDeferredLookups.java52 public <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in DeferredLookups
55 return lookup.getProvider(); in getProvider()
DBindingImpl.java65 public Provider<T> getProvider() { in getProvider() method in BindingImpl
71 provider = injector.getProvider(key); in getProvider()
/external/guice/extensions/jmx/src/com/google/inject/tools/jmx/
DManagedBinding.java37 public String getProvider() { in getProvider() method in ManagedBinding
38 return binding.getProvider().toString(); in getProvider()
DManagedBindingMBean.java34 String getProvider(); in getProvider() method
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/
DBCJcaJceHelper.java18 if (Security.getProvider("BC") != null) in getBouncyCastleProvider()
20 return Security.getProvider("BC"); in getBouncyCastleProvider()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowContentResolver.java95 ContentProvider provider = getProvider(url);
107 ContentProvider provider = getProvider(uri);
120 ContentProvider provider = getProvider(uri);
137 ContentProvider provider = getProvider(url);
149 ContentProvider provider = getProvider(url);
250 public static ContentProvider getProvider(Uri uri) {
/external/guice/core/src/com/google/inject/spi/
DTypeEncounter.java63 <T> Provider<T> getProvider(Key<T> key); in getProvider() method
70 <T> Provider<T> getProvider(Class<T> type); in getProvider() method
DProviderLookup.java83 initializeDelegate(binder.withSource(getSource()).getProvider(dependency)); in applyTo()
99 public Provider<T> getProvider() { in getProvider() method in ProviderLookup
DElements.java392 public <T> Provider<T> getProvider(final Key<T> key) { in getProvider() method in Elements.RecordingBinder
393 return getProvider(Dependency.get(key)); in getProvider()
396 public <T> Provider<T> getProvider(final Dependency<T> dependency) { in getProvider() method in Elements.RecordingBinder
399 return element.getProvider(); in getProvider()
402 public <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in Elements.RecordingBinder
403 return getProvider(Key.get(type)); in getProvider()
/external/guice/core/test/com/google/inject/spi/
DInjectorSpiTest.java48 assertEquals(Foo.class, ((Provider)binding.getProvider().get()).get().getClass()); in testExistingBinding()
61 assertEquals(Baz.class, ((Provider)binding.getProvider().get()).get().getClass()); in testExistingBinding()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DParameter.java90 ? injector.getProvider(getBindingForType(getProvidedType(type))) in getValue()
91 : injector.getProvider(getPrimaryBindingKey()); in getValue()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/
DX509SignatureUtil.java37 …rs sigParams = AlgorithmParameters.getInstance(signature.getAlgorithm(), signature.getProvider()); in setSignatureParameters()
83 Provider prov = Security.getProvider(BouncyCastleProvider.PROVIDER_NAME); in getSignatureName()
/external/conscrypt/common/src/main/java/org/conscrypt/
DCryptoUpcalls.java92 if (isOurProvider(signature.getProvider())) { in rawSignDigestWithPrivateKey()
170 if (isOurProvider(c.getProvider())) { in rsaDecryptWithPrivateKey()

12345