HomeSort by relevance Sort by last modified time
    Searched refs:Provider (Results 276 - 300 of 417) sorted by null

<<11121314151617

  /external/guice/extensions/grapher/test/com/google/inject/grapher/
TransitiveDependencyVisitorTest.java 26 import com.google.inject.Provider;
99 Binding<?> binding = getBinding(Key.get(new TypeLiteral<Provider<ConstructedClass>>() {}));
163 private static class ConstructedClassProvider implements Provider<ConstructedClass> {
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ScopeRequestIntegrationTest.java 26 import com.google.inject.Provider;
163 @Inject Provider<SomeObject> someObject;
180 @Inject Provider<SomeObject> someObject;
ServletPipelineRequestDispatcherTest.java 33 import com.google.inject.Provider;
102 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition);
169 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition);
239 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition);
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProviderMethodsModule.java 26 import com.google.inject.Provider;
42 * binding annotations on the provider method to configure the binding.
57 /** Returns a module which creates bindings for provider methods from the given module. */
96 List<Provider<?>> parameterProviders = Lists.newArrayList();
103 // provider that provides a logger with a proper name.
153 /** A provider that returns a logger based on the method name. */
154 private static final class LogProvider implements Provider<Logger> {
ThrowingProviderBinder.java 28 import com.google.inject.Provider;
59 * or, you can use throwing provider methods:
215 final Provider<T> typeProvider;
283 // Note that this provider will behave like the final provider Guice creates.
285 final Provider<Result> resultProvider = binder.getProvider(resultKey);
286 final Provider<? extends CheckedProvider<?>> targetProvider = binder.getProvider(targetKey);
340 // The provider is unscoped, but the user may apply a scope to it through the
347 final Provider<? extends CheckedProvider<?>> targetProvider) {
467 * RuntimeException class to wrap exceptions from the checked provider. The regular guice provide
    [all...]
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/
JavaParser.java 41 import static com.github.javaparser.Providers.provider;
69 private ASTParser getParserForProvider(Provider provider) {
71 astParser = new ASTParser(provider);
73 astParser.ReInit(provider);
80 * It takes the source code from a Provider.
84 * @param provider refer to Providers to see how you can read source.
88 public <N extends Node> ParseResult<N> parse(ParseStart<N> start, Provider provider) {
90 final ASTParser parser = getParserForProvider(provider);
    [all...]
  /external/conscrypt/common/src/main/java/org/conscrypt/
Conscrypt.java 23 import java.security.Provider;
115 * Indicates whether the given {@link Provider} was created by this distribution of Conscrypt.
117 public static boolean isConscrypt(Provider provider) {
118 return provider instanceof OpenSSLProvider;
122 * Constructs a new {@link Provider} with the default name.
124 public static Provider newProvider() {
130 * Constructs a new {@link Provider} with the given name.
135 public static Provider newProvider(String providerName) {
147 * Sets the name of the Provider to be built
    [all...]
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
KeyManagerFactoryTest.java 30 import java.security.Provider;
302 Provider[] providers = Security.getProviders();
303 for (Provider provider : providers) {
304 Set<Provider.Service> services = provider.getServices();
305 for (Provider.Service service : services) {
319 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm, provider);
321 assertEquals(provider, kmf.getProvider());
327 KeyManagerFactory.getInstance(algorithm, provider.getName())
    [all...]
  /external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
Conscrypt.java 24 import java.security.Provider;
121 * Indicates whether the given {@link Provider} was created by this distribution of Conscrypt.
123 public static boolean isConscrypt(Provider provider) {
124 return provider instanceof OpenSSLProvider;
128 * Constructs a new {@link Provider} with the default name.
130 public static Provider newProvider() {
136 * Constructs a new {@link Provider} with the given name.
141 public static Provider newProvider(String providerName) {
156 * Sets the name of the Provider to be built
    [all...]
  /external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/
KeyManagerFactoryTest.java 31 import java.security.Provider;
306 Provider[] providers = Security.getProviders();
307 for (Provider provider : providers) {
308 Set<Provider.Service> services = provider.getServices();
309 for (Provider.Service service : services) {
323 KeyManagerFactory kmf = KeyManagerFactory.getInstance(algorithm, provider);
325 assertEquals(provider, kmf.getProvider());
331 KeyManagerFactory.getInstance(algorithm, provider.getName())
    [all...]
  /external/guice/core/test/com/google/inject/spi/
InjectionPointTest.java 31 import com.google.inject.Provider;
355 assertPointDependencies(points, new TypeLiteral<Provider<String>>() {});
360 assertPointDependencies(points, new TypeLiteral<Provider<String>>() {});
451 public void gInject(Provider<String> p) {}
454 public void jInject(Provider<String> p) {}
ElementsTest.java 35 import com.google.inject.Provider;
374 final Provider<String> aProvider =
375 new Provider<String>() {
382 final javax.inject.Provider<Integer> intJavaxProvider =
383 new javax.inject.Provider<Integer>() {
390 final javax.inject.Provider<Double> doubleJavaxProvider =
391 new javax.inject.Provider<Double>() {
836 Provider<String> keyGetProvider =
843 "This Provider cannot be used until the Injector has been created.",
847 Provider<String> typeGetProvider = getProvider(String.class)
    [all...]
  /cts/tests/tests/keystore/src/android/keystore/cts/
CipherTest.java 38 import java.security.Provider;
44 import java.security.Provider.Service;
303 // Assert that Android Keystore Provider exposes exactly the expected Cipher
306 // If the Provider exposes extraneous algorithms, it'll be caught because it'll have to
310 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
311 Set<Service> services = provider.getServices();
328 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
329 assertNotNull(provider);
365 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
390 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
483 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
544 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
919 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
977 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
1511 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
    [all...]
  /external/guice/core/test/com/google/inject/
TypeListenerTest.java 155 Provider<A> aProvider = injector.getProvider(A.class);
316 Provider<B> bProvider = injector.getProvider(B.class);
398 // getting a provider shouldn't
399 Provider<A> aProvider = injector.getProvider(A.class);
403 // exercise the provider
418 final AtomicReference<Provider<B>> bProviderReference = new AtomicReference<>();
442 Provider<B> bProvider = encounter.getProvider(B.class);
448 "This Provider cannot be used until the Injector has been created.",
601 Provider<B> bProvider = injector.getProvider(B.class);
ProvisionListenerTest.java 410 // provider key binding -- notifies about provider & the object, always
416 // JIT provider key binding -- notifies about provider & the object, always
422 // provider instance binding -- just the object (not the provider)
516 static class FooP implements Provider<Foo> {
523 static class JitFoo2P implements Provider<JitFoo2> {
761 new Provider<Object>() {
847 private static class DP implements Provider<D>
    [all...]
ErrorHandlingTest.java 46 new Provider<String>() {
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
ExperimentingCaliperRun.java 51 import javax.inject.Provider;
75 private final Provider<ListeningExecutorService> executorProvider;
86 Provider<ListeningExecutorService> executorProvider) {
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
CipherBasicsTest.java 31 import java.security.Provider;
92 for (Provider p : Security.getProviders()) {
109 // This provider doesn't provide this algorithm, ignore it
132 assertEquals("Provider " + p.getName()
136 assertTrue("Provider " + p.getName()
142 assertEquals("Provider " + p.getName()
146 assertTrue("Provider " + p.getName()
161 for (Provider p : Security.getProviders()) {
169 // This provider doesn't provide this algorithm, ignore it
202 assertEquals("Provider " + p.getName(
    [all...]
  /external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/crypto/
CipherBasicsTest.java 32 import java.security.Provider;
94 for (Provider p : Security.getProviders()) {
111 // This provider doesn't provide this algorithm, ignore it
134 assertEquals("Provider " + p.getName()
138 assertTrue("Provider " + p.getName()
144 assertEquals("Provider " + p.getName()
148 assertTrue("Provider " + p.getName()
163 for (Provider p : Security.getProviders()) {
171 // This provider doesn't provide this algorithm, ignore it
204 assertEquals("Provider " + p.getName(
    [all...]
  /external/guice/core/src/com/google/inject/internal/
InjectorShell.java 28 import com.google.inject.Provider;
233 private static class InjectorFactory implements InternalFactory<Injector>, Provider<Injector> {
252 return "Provider<Injector>";
275 private static class LoggerFactory implements InternalFactory<Logger>, Provider<Logger> {
291 return "Provider<Logger>";
  /external/guice/extensions/persist/src/com/google/inject/persist/jpa/
JpaFinderProxy.java 21 import com.google.inject.Provider;
47 private final Provider<EntityManager> emProvider;
50 public JpaFinderProxy(Provider<EntityManager> emProvider) {
  /external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
JavaParser.java 100 private GeneratedJavaParser getParserForProvider(Provider provider) {
102 astParser = new GeneratedJavaParser(provider);
104 astParser.reset(provider);
113 * It takes the source code from a Provider.
117 * @param provider refer to Providers to see how you can read source. The provider will be closed after parsing.
121 public <N extends Node> ParseResult<N> parse(ParseStart<N> start, Provider provider) {
123 assertNotNull(provider);
    [all...]
  /external/v8/tools/clang/plugins/tests/
ipc.cpp 282 struct Provider {
310 Provider p;
320 IPC::WriteParam(nullptr, p.get<Provider::flags>()); // OK
  /external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
GrpclbLoadBalancer.java 62 BackoffPolicy.Provider backoffPolicyProvider) {
66 checkNotNull(time, "time provider");
  /external/skia/src/shaders/
SkLightingShader.cpp 64 // The context takes ownership of the context and provider. It will call their destructors
67 SkShaderBase::Context* diffuseContext, SkNormalSource::Provider*,
76 SkNormalSource::Provider* fNormalProvider;
317 SkShaderBase::Context* diffuseContext, SkNormalSource::Provider* normalProvider,
465 SkNormalSource::Provider* normalProvider = fNormalSource->asProvider(rec, alloc);

Completed in 641 milliseconds

<<11121314151617