/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/ |
Provider.java | 1 /* Generated By:JavaCC: Do not edit this line. Provider.java Version 6.1 */ 20 public interface Provider {
|
/external/dagger2/core/src/test/java/dagger/internal/ |
MapProviderFactoryTest.java | 21 import javax.inject.Provider; 50 Provider<Integer> p1 = incrementingIntegerProvider(10); 51 Provider<Integer> p2 = incrementingIntegerProvider(20); 52 Provider<Integer> p3 = incrementingIntegerProvider(30); 53 Provider<Integer> p4 = incrementingIntegerProvider(40); 54 Provider<Integer> p5 = incrementingIntegerProvider(50); 56 Factory<Map<String, Provider<Integer>>> factory = MapProviderFactory 65 Map<String, Provider<Integer>> expectedMap = new LinkedHashMap<String, Provider<Integer>>(); 77 private static Provider<Integer> incrementingIntegerProvider(int seed) [all...] |
/cts/tests/libcore/wycheproof-bc/src/android/libcore/cts/wycheproof/ |
BouncyCastleSupportProvider.java | 19 import java.security.Provider; 25 * Bouncy Castle properly. We install this provider instead. 27 public class BouncyCastleSupportProvider extends Provider { 34 // to be provided by a provider named "AndroidOpenSSL", so we use that name
|
/external/conscrypt/platform/src/main/java/org/conscrypt/ |
JSSEProvider.java | 20 import java.security.Provider; 23 * JSSE Provider implementation. 25 * The current JSSE provider implementation uses the following 28 * Algorithms that MUST be provided by crypto provider: 40 public final class JSSEProvider extends Provider { 45 super("HarmonyJSSE", 1.0, "Harmony JSSE Provider");
|
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/ |
JSSEProvider.java | 21 import java.security.Provider; 24 * JSSE Provider implementation. 26 * The current JSSE provider implementation uses the following 29 * Algorithms that MUST be provided by crypto provider: 42 public final class JSSEProvider extends Provider { 47 super("HarmonyJSSE", 1.0, "Harmony JSSE Provider");
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
Injector.java | 20 import javax.inject.Provider; 27 Provider<T> provider(); method in interface:Injector
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/subcomponent/ |
ChildComponent.java | 20 import javax.inject.Provider; 24 Provider<UnscopedType> getUnscopedTypeProvider();
|
GrandchildComponent.java | 20 import javax.inject.Provider; 24 Provider<UnscopedType> getUnscopedTypeProvider();
|
/external/guice/core/src/com/google/inject/spi/ |
ProviderBinding.java | 21 import com.google.inject.Provider; 24 * A binding to a {@link Provider} that delegates to the binding for the provided type. This binding 25 * is used whenever a {@code Provider<T>} is injected (as opposed to injecting {@code T} directly). 30 public interface ProviderBinding<T extends Provider<?>> extends Binding<T> { 33 * Returns the key whose binding is used to {@link Provider#get provide instances}. That binding
|
ProviderWithExtensionVisitor.java | 20 import com.google.inject.Provider; 23 * A Provider that is part of an extension which supports a custom BindingTargetVisitor. 25 * <p>When an extension binds a provider instance, the provider can implement this interface to 46 public interface ProviderWithExtensionVisitor<T> extends Provider<T> { 54 * the provider. In practice, the 'B' type will always be a supertype of 'T'.
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/ |
DeLorian.java | 20 import com.google.inject.Provider; 23 // We @Inject a Provider to demonstrate that the graph doesn't differentiate 24 // between a Provider<T> and just @Injecting T. 25 @Inject @Driver Provider<Person> driver;
|
PlutoniumProvider.java | 20 import com.google.inject.Provider; 22 class PlutoniumProvider implements Provider<Plutonium> {
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ |
Providers.java | 21 public static Provider provider(Reader reader) { method in class:Providers 25 public static Provider provider(InputStream input, Charset encoding) { method in class:Providers 37 public static Provider provider(InputStream input) { method in class:Providers 38 return provider(input, UTF8); 41 public static Provider provider(File file, Charset encoding) throws FileNotFoundException { method in class:Providers 42 return provider(new FileInputStream(assertNotNull(file)), assertNotNull(encoding)) 45 public static Provider provider(File file) throws FileNotFoundException { method in class:Providers 49 public static Provider provider(Path path, Charset encoding) throws IOException { method in class:Providers 53 public static Provider provider(Path path) throws IOException { method in class:Providers 57 public static Provider provider(String source) { method in class:Providers [all...] |
/external/opencensus-java/api/src/main/java/io/opencensus/internal/ |
Provider.java | 22 * OpenCensus service provider mechanism. 26 * foo = Provider.createInstance( 30 public final class Provider { 31 private Provider() {} 46 "Provider " + rawClass.getName() + " could not be instantiated.", e);
|
/external/skia/src/core/ |
SkNormalMapSource.h | 23 SkNormalSource::Provider* asProvider(const SkShaderBase::ContextRec& rec, 35 class Provider : public SkNormalSource::Provider { 37 Provider(const SkNormalMapSourceImpl& source, SkShaderBase::Context* mapContext); 45 typedef SkNormalSource::Provider INHERITED;
|
SkNormalFlatSource.cpp | 70 SkNormalFlatSourceImpl::Provider::Provider() {} 72 SkNormalFlatSourceImpl::Provider::~Provider() {} 74 SkNormalSource::Provider* SkNormalFlatSourceImpl::asProvider(const SkShaderBase::ContextRec &rec, 76 return alloc->make<Provider>(); 79 void SkNormalFlatSourceImpl::Provider::fillScanLine(int x, int y, SkPoint3 output[],
|
/external/skqp/src/core/ |
SkNormalMapSource.h | 23 SkNormalSource::Provider* asProvider(const SkShaderBase::ContextRec& rec, 35 class Provider : public SkNormalSource::Provider { 37 Provider(const SkNormalMapSourceImpl& source, SkShaderBase::Context* mapContext); 45 typedef SkNormalSource::Provider INHERITED;
|
SkNormalFlatSource.cpp | 70 SkNormalFlatSourceImpl::Provider::Provider() {} 72 SkNormalFlatSourceImpl::Provider::~Provider() {} 74 SkNormalSource::Provider* SkNormalFlatSourceImpl::asProvider(const SkShaderBase::ContextRec &rec, 76 return alloc->make<Provider>(); 79 void SkNormalFlatSourceImpl::Provider::fillScanLine(int x, int y, SkPoint3 output[],
|
/external/dagger2/core/src/main/java/dagger/internal/ |
MapFactory.java | 20 import javax.inject.Provider; 34 private final Map<K, Provider<V>> contributingMap; 36 private MapFactory(Map<K, Provider<V>> map) { 43 public static <K, V> MapFactory<K, V> create(Provider<Map<K, Provider<V>>> mapProviderFactory) { 44 Map<K, Provider<V>> map = mapProviderFactory.get(); 55 for (Entry<K, Provider<V>> entry: contributingMap.entrySet()) {
|
MapProviderFactory.java | 20 import javax.inject.Provider; 27 * {@code Map<K, Provider<V>>} when calling {@link #get} (as specified by {@link Factory}). 33 public final class MapProviderFactory<K, V> implements Factory<Map<K, Provider<V>>> { 34 private final Map<K, Provider<V>> contributingMap; 43 private MapProviderFactory(LinkedHashMap<K, Provider<V>> contributingMap) { 48 * Returns a {@code Map<K, Provider<V>>} whose iteration order is that of the elements 53 public Map<K, Provider<V>> get() { 61 private final LinkedHashMap<K, Provider<V>> mapBuilder; 78 public Builder<K, V> put(K key, Provider<V> providerOfValue) { 83 throw new NullPointerException("The provider of the value is null") [all...] |
DoubleCheckLazy.java | 19 import javax.inject.Provider; 22 * A basic {@link Lazy} implementation that memoizes the value returned from a {@link Provider} 32 private final Provider<T> provider; field in class:DoubleCheckLazy 35 private DoubleCheckLazy(Provider<T> provider) { 36 assert provider != null; 37 this.provider = provider; 49 instance = result = provider.get() [all...] |
/external/libchrome/base/files/ |
file_tracing.cc | 18 FileTracing::Provider* GetProvider() { 19 AtomicWord provider = base::subtle::Acquire_Load(&g_provider); local 20 return reinterpret_cast<FileTracing::Provider*>(provider); 25 FileTracing::Provider* provider = GetProvider(); local 26 return provider && provider->FileTracingCategoryIsEnabled(); 30 void FileTracing::SetProvider(FileTracing::Provider* provider) { 36 FileTracing::Provider* provider = GetProvider(); local 42 FileTracing::Provider* provider = GetProvider(); local 51 FileTracing::Provider* provider = GetProvider(); local [all...] |
/external/google-fruit/examples/server/ |
request_dispatcher.cpp | 34 Provider<FooHandler> fooHandler; 35 Provider<BarHandler> barHandler; 38 INJECT(RequestDispatcherImpl(const Request& request, Provider<FooHandler> fooHandler, 39 Provider<BarHandler> barHandler))
|
/external/guice/core/test/com/google/inject/spi/ |
InjectorSpiTest.java | 9 import com.google.inject.Provider; 35 // 1) non-Provider Foo.class 40 // 2) Provider<Foo> class (should already exist, because Baz @Injects it). 41 // the assertTrue is a bit stricter than necessary, but makes sure this works for pre-existing Provider bindings 42 assertTrue(injector.getAllBindings().containsKey(Key.get(new TypeLiteral<Provider<Foo>>() {}))); 43 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Foo>>() {})); 45 assertEquals(Provider.class, binding.getKey().getTypeLiteral().getRawType()); 46 assertEquals(Foo.class, ((Provider) binding.getProvider().get()).get().getClass()); 48 // 3) non-Provider Baz.class 53 // 4) Provider<Baz> class (should not already exist, because nothing used it yet) [all...] |
/external/guice/core/src/com/google/inject/internal/ |
Lookups.java | 21 import com.google.inject.Provider; 32 <T> Provider<T> getProvider(Key<T> key);
|