/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
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...] |
Injector.java | 20 import javax.inject.Provider; 27 Provider<T> provider(); method in interface:Injector
|
/libcore/ojluni/src/main/java/sun/security/action/ |
PutAllAction.java | 30 import java.security.Provider; 35 * a provider. See the SunRsaSign provider for a usage example. 43 private final Provider provider; field in class:PutAllAction 46 public PutAllAction(Provider provider, Map map) { 47 this.provider = provider; 52 provider.putAll(map) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 24 import java.security.Provider; 34 * Tests for <code>Provider.Service</code> constructor and methods 39 Provider p = new MyProvider(); 41 new Provider.Service(null, "type", "algorithm", 43 fail("provider is null: No expected NullPointerException"); 47 new Provider.Service(p, null, "algorithm", 53 new Provider.Service(p, "type", null, 59 new Provider.Service(p, "type", "algorithm", 65 Provider.Service s = new Provider.Service(p [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
SpiEngUtils.java | 26 import java.security.Provider; 47 public static Provider isSupport(String algorithm, String service) { 49 Provider[] provs = Security.getProviders(service.concat(".") 60 public class MyProvider extends Provider {
|
/system/update_engine/update_manager/ |
random_provider.h | 20 #include "update_engine/update_manager/provider.h" 25 // Provider of random values. 26 class RandomProvider : public Provider {
|
system_provider.h | 20 #include "update_engine/update_manager/provider.h" 25 // Provider for system information, mostly constant, such as the information 27 class SystemProvider : public Provider {
|
time_provider.h | 22 #include "update_engine/update_manager/provider.h" 27 // Provider for time related information. 28 class TimeProvider : public 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...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
MyProvider.java | 24 import java.security.Provider; 27 * Provider for testing 29 public class MyProvider extends Provider { 31 super("MyProvider", 1.0, "Provider for testing");
|
ServicesTest.java | 24 import java.security.Provider; 36 Provider p = new MyProvider(); 38 Provider ap = new AnotherProvider(); 41 Provider.Service serv = Services.getService("Service.ALGORITHM"); 57 Provider p = new MyProvider(); 60 Provider.Service serv = Services.getService("Service.ALGORITHM"); 75 class AnotherProvider extends Provider { 77 super("MyProvider", 1.0, "Provider for testing");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
BCJcaJceHelper.java | 3 import java.security.Provider; 6 import org.bouncycastle.jce.provider.BouncyCastleProvider; 9 * A JCA/JCE helper that refers to the BC provider for all it's needs. 14 private static Provider getBouncyCastleProvider()
|
/external/conscrypt/src/platform/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/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 26 * When an extension binds a provider instance, the provider can implement this 47 public interface ProviderWithExtensionVisitor<T> extends Provider<T> { 56 * relate to the type of the provider. In practice, the 'B' type will always
|
/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/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/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
SpiEngUtils.java | 26 import java.security.Provider; 47 public static Provider isSupport(String algorithm, String service) { 49 Provider[] provs = Security.getProviders(service.concat(".") 60 public class MyProvider extends Provider {
|
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/ |
SpiEngUtils.java | 24 import java.security.Provider; 45 public static Provider isSupport(String algorithm, String service) { 47 Provider[] provs = Security.getProviders(service.concat(".") 58 public class MyProvider extends Provider {
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
MacTest.java | 22 import java.security.Provider; 28 private static abstract class MockProvider extends Provider { 30 super(name, 1.0, "Mock provider used for testing"); 44 Provider mockProvider = new MockProvider("MockProvider") { 68 Provider androidOpenSSLProvider = Security.getProvider("AndroidOpenSSL");
|