/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
D | InjectedThing.java | 21 import javax.inject.Provider; 34 @Inject Provider<Byte> byteProvider; 35 @Inject Provider<Character> charProvider; 36 @Inject Provider<Short> shortProvider; 37 @Inject Provider<Integer> intProvider; 38 @Inject Provider<Long> longProvider; 39 @Inject Provider<Boolean> booleanProvider; 40 @Inject Provider<Float> floatProvider; 41 @Inject Provider<Double> doubleProvider; 70 @Inject Provider<byte[]> byteArrayProvider; [all …]
|
D | BasicComponent.java | 21 import javax.inject.Provider; 43 Provider<Byte> getByteProvider(); in getByteProvider() 44 Provider<Character> getCharProvider(); in getCharProvider() 45 Provider<Short> getShortProvider(); in getShortProvider() 46 Provider<Integer> getIntProvider(); in getIntProvider() 47 Provider<Long> getLongProvider(); in getLongProvider() 48 Provider<Boolean> getBooleanProvider(); in getBooleanProvider() 49 Provider<Float> getFloatProvider(); in getFloatProvider() 50 Provider<Double> getDoubleProvider(); in getDoubleProvider() 61 Provider<byte[]> getByteArrayProvider(); in getByteArrayProvider() [all …]
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
D | ECDHKeyAgreementTest.java | 34 import java.security.Provider; 133 for (Provider keyFactoryProvider1 : getKeyFactoryProviders()) { in testKnownAnswer() 136 for (Provider keyFactoryProvider2 : getKeyFactoryProviders()) { in testKnownAnswer() 141 for (Provider keyAgreementProvider : getKeyAgreementProviders()) { in testKnownAnswer() 160 Provider keyAgreementProvider) throws Exception { in testKnownAnswer() 172 void testGetAlgorithm(Provider provider) throws Exception { in testGetAlgorithm() 181 void testGetProvider(Provider provider) throws Exception { in testGetProvider() 190 void testInit_withNullPrivateKey(Provider provider) throws Exception { in testInit_withNullPrivateKey() 203 void testInit_withUnsupportedPrivateKeyType(Provider provider) throws Exception { in testInit_withUnsupportedPrivateKeyType() 216 void testInit_withUnsupportedAlgorithmParameterSpec(Provider provider) throws Exception { in testInit_withUnsupportedAlgorithmParameterSpec() [all …]
|
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/ |
D | MapBinder.java | 44 import com.google.inject.Provider; 210 static <K, V> TypeLiteral<Map<K, Provider<V>>> mapOfProviderOf( in mapOfProviderOf() 212 return (TypeLiteral<Map<K, Provider<V>>>) TypeLiteral.get( in mapOfProviderOf() 218 static <K, V> TypeLiteral<Map<K, javax.inject.Provider<V>>> mapOfJavaxProviderOf( in mapOfJavaxProviderOf() 220 return (TypeLiteral<Map<K, javax.inject.Provider<V>>>) TypeLiteral.get( in mapOfJavaxProviderOf() 222 newParameterizedType(javax.inject.Provider.class, valueType.getType()))); in mapOfJavaxProviderOf() 226 static <K, V> TypeLiteral<Map<K, Set<Provider<V>>>> mapOfSetOfProviderOf( in mapOfSetOfProviderOf() 228 return (TypeLiteral<Map<K, Set<Provider<V>>>>) TypeLiteral.get( in mapOfSetOfProviderOf() 233 static <K, V> TypeLiteral<Map.Entry<K, Provider<V>>> entryOfProviderOf( in entryOfProviderOf() 235 return (TypeLiteral<Entry<K, Provider<V>>>) TypeLiteral.get(newParameterizedTypeWithOwner( in entryOfProviderOf() [all …]
|
D | OptionalBinder.java | 34 import com.google.inject.Provider; 227 static <T> TypeLiteral<Optional<javax.inject.Provider<T>>> optionalOfJavaxProvider( in optionalOfJavaxProvider() 229 return (TypeLiteral<Optional<javax.inject.Provider<T>>>) TypeLiteral.get( in optionalOfJavaxProvider() 231 newParameterizedType(javax.inject.Provider.class, type.getType()))); in optionalOfJavaxProvider() 238 newParameterizedType(javax.inject.Provider.class, type.getType()))); in javaOptionalOfJavaxProvider() 242 static <T> TypeLiteral<Optional<Provider<T>>> optionalOfProvider(TypeLiteral<T> type) { in optionalOfProvider() 243 return (TypeLiteral<Optional<Provider<T>>>) TypeLiteral.get(Types.newParameterizedType( in optionalOfProvider() 244 Optional.class, newParameterizedType(Provider.class, type.getType()))); in optionalOfProvider() 250 newParameterizedType(Provider.class, type.getType()))); in javaOptionalOfProvider() 254 static <T> Key<Provider<T>> providerOf(Key<T> key) { in providerOf() [all …]
|
/external/jsr330/tck/org/atinject/tck/auto/ |
D | Convertible.java | 26 import javax.inject.Provider; 34 @Inject Provider<Engine> engineProvider; 44 private Provider<Seat> constructorPlainSeatProvider = nullProvider(); 45 private Provider<Seat> constructorDriversSeatProvider = nullProvider(); 46 private Provider<Tire> constructorPlainTireProvider = nullProvider(); 47 private Provider<Tire> constructorSpareTireProvider = nullProvider(); 53 @Inject Provider<Seat> fieldPlainSeatProvider = nullProvider(); 54 @Inject @Drivers Provider<Seat> fieldDriversSeatProvider = nullProvider(); 55 @Inject Provider<Tire> fieldPlainTireProvider = nullProvider(); 56 @Inject @Named("spare") Provider<Tire> fieldSpareTireProvider = nullProvider(); [all …]
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/nullables/ |
D | NullFoo.java | 19 import javax.inject.Provider; 23 final Provider<String> stringProvider; 25 final Provider<Number> numberProvider; 29 Provider<String> stringProvider, in NullFoo() 31 Provider<Number> numberProvider) { in NullFoo() 39 Provider<String> methodInjectedStringProvider; 41 Provider<Number> methodInjectedNumberProvider; 43 Provider<String> stringProvider, in inject() 45 Provider<Number> numberProvider) { in inject() 53 @Inject Provider<String> fieldInjectedStringProvider; [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | Providers.java | 41 public static Provider provider(Reader reader) { in provider() 45 public static Provider provider(InputStream input, Charset encoding) { in provider() 57 public static Provider provider(InputStream input) { in provider() 61 public static Provider provider(File file, Charset encoding) throws FileNotFoundException { in provider() 65 public static Provider provider(File file) throws FileNotFoundException { in provider() 69 public static Provider provider(Path path, Charset encoding) throws IOException { in provider() 73 public static Provider provider(Path path) throws IOException { in provider() 77 public static Provider provider(String source) { in provider() 86 …public static Provider resourceProvider(ClassLoader classLoader, String pathToResource, Charset en… in resourceProvider() 98 …public static Provider resourceProvider(String pathToResource, Charset encoding) throws IOExceptio… in resourceProvider() [all …]
|
/external/dagger2/core/src/test/java/dagger/internal/ |
D | MapProviderFactoryTest.java | 21 import javax.inject.Provider; 50 Provider<Integer> p1 = incrementingIntegerProvider(10); in iterationOrder() 51 Provider<Integer> p2 = incrementingIntegerProvider(20); in iterationOrder() 52 Provider<Integer> p3 = incrementingIntegerProvider(30); in iterationOrder() 53 Provider<Integer> p4 = incrementingIntegerProvider(40); in iterationOrder() 54 Provider<Integer> p5 = incrementingIntegerProvider(50); in iterationOrder() 56 Factory<Map<String, Provider<Integer>>> factory = MapProviderFactory in iterationOrder() 65 Map<String, Provider<Integer>> expectedMap = new LinkedHashMap<String, Provider<Integer>>(); in iterationOrder() 77 private static Provider<Integer> incrementingIntegerProvider(int seed) { in incrementingIntegerProvider() 79 return new Provider<Integer>() { in incrementingIntegerProvider()
|
D | SetFactoryTest.java | 24 import javax.inject.Provider; 41 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsNullSet() 53 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsNullSet_single() 65 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsSetWithNullElement() 81 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { in providerReturnsSetWithNullElement_single() 115 private static Provider<Set<Integer>> incrementingIntegerProvider(int seed) { in incrementingIntegerProvider() 117 return new Provider<Set<Integer>>() { in incrementingIntegerProvider() 125 private static Provider<Set<Integer>> integerSetProvider(Range<Integer> range) { 127 return new Provider<Set<Integer>>() {
|
/external/guice/extensions/mini/src/com/google/inject/mini/ |
D | MiniGuice.java | 36 import javax.inject.Provider; 48 private final Map<Key, Provider<?>> bindings = new HashMap<Key, Provider<?>>(); 88 Provider<?> provider = miniGuice.bindings.get(key); in inject() 93 Map<Key, Provider<?>> providerBindings = new HashMap<Key, Provider<?>>(); in addProviderBindings() 94 for (final Map.Entry<Key, Provider<?>> binding : bindings.entrySet()) { in addProviderBindings() 96 final Provider<?> value = binding.getValue(); in addProviderBindings() 97 Provider<Provider<?>> providerProvider = new Provider<Provider<?>>() { in addProviderBindings() 98 public Provider<?> get() { in addProviderBindings() 102 providerBindings.put(new Key(new ProviderType(javax.inject.Provider.class, key.type), in addProviderBindings() 110 && (((ParameterizedType) key.type).getRawType() == Provider.class in requireKey() [all …]
|
/external/guice/core/src/com/google/inject/util/ |
D | Providers.java | 26 import com.google.inject.Provider; 53 public static <T> Provider<T> of(final T instance) { in of() 57 private static final class ConstantProvider<T> implements Provider<T> { 89 public static <T> Provider<T> guicify(javax.inject.Provider<T> provider) { in guicify() 90 if (provider instanceof Provider) { in guicify() 91 return (Provider<T>) provider; in guicify() 94 final javax.inject.Provider<T> delegate = checkNotNull(provider, "provider"); in guicify() 111 private static class GuicifiedProvider<T> implements Provider<T> { 112 protected final javax.inject.Provider<T> delegate; 114 private GuicifiedProvider(javax.inject.Provider<T> delegate) { in GuicifiedProvider() [all …]
|
/external/guice/core/test/com/google/inject/spi/ |
D | InjectorSpiTest.java | 9 import com.google.inject.Provider; 44 assertTrue(injector.getAllBindings().containsKey(Key.get(new TypeLiteral<Provider<Foo>>() {}))); in testExistingBinding() 45 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Foo>>() {})); in testExistingBinding() 47 assertEquals(Provider.class, binding.getKey().getTypeLiteral().getRawType()); in testExistingBinding() 48 assertEquals(Foo.class, ((Provider)binding.getProvider().get()).get().getClass()); in testExistingBinding() 57 …assertFalse(injector.getAllBindings().containsKey(Key.get(new TypeLiteral<Provider<Baz>>() {}))); … in testExistingBinding() 58 binding = injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Baz>>() {})); in testExistingBinding() 60 assertEquals(Provider.class, binding.getKey().getTypeLiteral().getRawType()); in testExistingBinding() 61 assertEquals(Baz.class, ((Provider)binding.getProvider().get()).get().getClass()); in testExistingBinding() 67 assertNull(injector.getExistingBinding(Key.get(new TypeLiteral<Provider<Bar>>() {}))); in testExistingBinding() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ |
D | Providers.java | 21 public static Provider provider(Reader reader) { in provider() 25 public static Provider provider(InputStream input, Charset encoding) { in provider() 37 public static Provider provider(InputStream input) { in provider() 41 public static Provider provider(File file, Charset encoding) throws FileNotFoundException { in provider() 45 public static Provider provider(File file) throws FileNotFoundException { in provider() 49 public static Provider provider(Path path, Charset encoding) throws IOException { in provider() 53 public static Provider provider(Path path) throws IOException { in provider() 57 public static Provider provider(String source) { in provider()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/ |
D | com_github_javaparser_JavaParser.txt | 1 …tParser.ReInit(provider) ==> com.github.javaparser.ASTParser.ReInit(com.github.javaparser.Provider) 2 …provider) ==> com.github.javaparser.JavaParser.getParserForProvider(com.github.javaparser.Provider) 13 Line 102) provider.close() ==> com.github.javaparser.Provider.close() 14 …ser.JavaParser.simplifiedParse(com.github.javaparser.ParseStart<T>, com.github.javaparser.Provider) 17 …ser.JavaParser.simplifiedParse(com.github.javaparser.ParseStart<T>, com.github.javaparser.Provider) 19 …ser.JavaParser.simplifiedParse(com.github.javaparser.ParseStart<T>, com.github.javaparser.Provider) 21 …ser.JavaParser.simplifiedParse(com.github.javaparser.ParseStart<T>, com.github.javaparser.Provider) 23 …ser.JavaParser.simplifiedParse(com.github.javaparser.ParseStart<T>, com.github.javaparser.Provider) 25 …ser.JavaParser.simplifiedParse(com.github.javaparser.ParseStart<T>, com.github.javaparser.Provider) 27 …ser.JavaParser.simplifiedParse(com.github.javaparser.ParseStart<T>, com.github.javaparser.Provider) [all …]
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/cycle/ |
D | Cycles.java | 26 import javax.inject.Provider; 63 public final Provider<A> aProvider; 67 C(Provider<A> aProvider) { in C() 91 public final Provider<S> sProvider; 95 S(Provider<S> sProvider) { in S() 110 public final Map<String, Provider<X>> mapOfProvidersOfX; 111 public final Map<String, Provider<Y>> mapOfProvidersOfY; 114 Y(Map<String, Provider<X>> mapOfProvidersOfX, Map<String, Provider<Y>> mapOfProvidersOfY) { in Y()
|
/external/dagger2/core/src/main/java/dagger/internal/ |
D | MapFactory.java | 20 import javax.inject.Provider; 34 private final Map<K, Provider<V>> contributingMap; 36 private MapFactory(Map<K, Provider<V>> map) { in MapFactory() 43 public static <K, V> MapFactory<K, V> create(Provider<Map<K, Provider<V>>> mapProviderFactory) { in create() 44 Map<K, Provider<V>> map = mapProviderFactory.get(); in create() 55 for (Entry<K, Provider<V>> entry: contributingMap.entrySet()) { in get()
|
D | MapProviderFactory.java | 20 import javax.inject.Provider; 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) { in MapProviderFactory() 53 public Map<K, Provider<V>> get() { in get() 61 private final LinkedHashMap<K, Provider<V>> mapBuilder; 78 public Builder<K, V> put(K key, Provider<V> providerOfValue) { in put()
|
/external/libchrome/base/files/ |
D | file_tracing.cc | 18 FileTracing::Provider* GetProvider() { in GetProvider() 20 return reinterpret_cast<FileTracing::Provider*>(provider); in GetProvider() 25 FileTracing::Provider* provider = GetProvider(); in IsCategoryEnabled() 30 void FileTracing::SetProvider(FileTracing::Provider* provider) { in SetProvider() 36 FileTracing::Provider* provider = GetProvider(); in ScopedEnabler() 42 FileTracing::Provider* provider = GetProvider(); in ~ScopedEnabler() 51 FileTracing::Provider* provider = GetProvider(); in ~ScopedTrace()
|
/external/libmojo/base/ |
D | path_service.cc | 42 struct Provider { struct 44 struct Provider* next; argument 52 Provider base_provider = { 63 Provider base_provider_win = { 75 Provider base_provider_mac = { 87 Provider base_provider_android = { 99 Provider base_provider_posix = { 115 Provider* providers; // Linked list of path service providers. 179 Provider* provider = NULL; in Get() 294 Provider* p; in RegisterProvider() [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | CryptoUpcalls.java | 22 import java.security.Provider; 43 private static boolean isOurProvider(Provider p) { in isOurProvider() 50 private static ArrayList<Provider> getExternalProviders(String algorithm) { in getExternalProviders() 51 ArrayList<Provider> providers = new ArrayList<Provider>(1); in getExternalProviders() 52 for (Provider p : Security.getProviders(algorithm)) { in getExternalProviders() 106 ArrayList<Provider> providers = getExternalProviders("Signature." + algorithm); in rawSignDigestWithPrivateKey() 107 for (Provider p : providers) { in rawSignDigestWithPrivateKey() 188 ArrayList<Provider> providers = getExternalProviders("Cipher." + transformation); in rsaDecryptWithPrivateKey() 189 for (Provider p : providers) { in rsaDecryptWithPrivateKey()
|
/external/guice/core/src/com/google/inject/internal/ |
D | ProvidedByInternalFactory.java | 24 import com.google.inject.Provider; 37 private final Class<? extends Provider<?>> providerType; 38 private final Key<? extends Provider<T>> providerKey; 39 private BindingImpl<? extends Provider<T>> providerBinding; 44 Class<? extends Provider<?>> providerType, in ProvidedByInternalFactory() 45 Key<? extends Provider<T>> providerKey) { in ProvidedByInternalFactory() 68 Provider<? extends T> provider = providerBinding.getInternalFactory().get( in get() 77 protected T provision(javax.inject.Provider<? extends T> provider, Errors errors, in provision()
|
/external/guice/core/src/com/google/inject/binder/ |
D | LinkedBindingBuilder.java | 20 import com.google.inject.Provider; 59 ScopedBindingBuilder toProvider(Provider<? extends T> provider); in toProvider() 67 ScopedBindingBuilder toProvider(javax.inject.Provider<? extends T> provider); in toProvider() 73 Class<? extends javax.inject.Provider<? extends T>> providerType); in toProvider() 79 TypeLiteral<? extends javax.inject.Provider<? extends T>> providerType); in toProvider() 85 Key<? extends javax.inject.Provider<? extends T>> providerKey); in toProvider()
|
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/nullables/ |
D | NullabilityTest.java | 18 import javax.inject.Provider; 54 @Override public Provider<String> stringProvider() { in testNullability_components() 55 return new Provider<String>() { in testNullability_components() 66 @Override public Provider<Number> numberProvider() { in testNullability_components() 67 return new Provider<Number>() { in testNullability_components() 97 Provider<String> stringProvider, in validate() 98 Provider<Number> numberProvider) { in validate()
|
/external/guice/core/test/com/google/inject/ |
D | CircularDependencyTest.java | 72 bind(A.class).toProvider(new Provider<A>() { in testCircularlyDependentConstructorsWithProviderInstances() 73 @Inject Provider<B> bp; in testCircularlyDependentConstructorsWithProviderInstances() 78 bind(B.class).toProvider(new Provider<B>() { in testCircularlyDependentConstructorsWithProviderInstances() 79 @Inject Provider<A> ap; in testCircularlyDependentConstructorsWithProviderInstances() 140 static class AP implements Provider<A> { 141 @Inject Provider<B> bp; 148 static class AutoAP implements Provider<A> { 149 @Inject Provider<B> bp; 182 static class BP implements Provider<B> { 183 Provider<A> ap; [all …]
|