/libcore/ojluni/src/main/java/javax/net/ssl/ |
KeyManagerFactory.java | 37 * material is based on a KeyStore and/or provider specific sources. 59 // The provider 60 private Provider provider; field in class:KeyManagerFactory 62 // The provider implementation (delegate) 99 * @param provider the provider 103 Provider provider, String algorithm) { 105 this.provider = provider [all...] |
TrustManagerFactory.java | 37 * material is based on a KeyStore and/or provider specific sources. 59 // The provider 60 private Provider provider; field in class:TrustManagerFactory 62 // The provider implementation (delegate) 99 * @param provider the provider 103 Provider provider, String algorithm) { 105 this.provider = provider [all...] |
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/ |
javax.inject-1.jar | |
/prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/ |
javax.inject-1.jar | |
/external/dagger2/core/src/test/java/dagger/internal/ |
ScopedProviderTest.java | 18 import javax.inject.Provider; 41 Provider<Object> scopedProvider = ScopedProvider.create(new Factory<Object>() { 54 Provider<Integer> scopedProvider = ScopedProvider.create(new Factory<Integer>() {
|
/external/dagger2/producers/src/main/java/dagger/producers/internal/ |
AbstractProducer.java | 28 import javax.inject.Provider; 37 private final Provider<ProductionComponentMonitor> monitorProvider; 46 Provider<ProductionComponentMonitor> monitorProvider, @Nullable ProducerToken token) {
|
/external/guice/core/src/com/google/inject/internal/ |
InternalFactoryToInitializableAdapter.java | 33 private final Initializable<? extends javax.inject.Provider<? extends T>> initializable; 36 Initializable<? extends javax.inject.Provider<? extends T>> initializable, 40 this.initializable = checkNotNull(initializable, "provider"); 50 protected T provision(javax.inject.Provider<? extends T> provider, Errors errors, 53 return super.provision(provider, errors, dependency, constructionContext);
|
ProviderInternalFactory.java | 25 import javax.inject.Provider; 41 protected T circularGet(final Provider<? extends T> provider, final Errors errors, 61 return provision(provider, errors, dependency, constructionContext); 65 return provision(provider, errors, dependency, constructionContext); 79 protected T provision(Provider<? extends T> provider, Errors errors, Dependency<?> dependency, 81 T t = errors.checkForNull(provider.get(), source, dependency);
|
LinkedProviderBindingImpl.java | 33 final Key<? extends javax.inject.Provider<? extends T>> providerKey; 38 Key<? extends javax.inject.Provider<? extends T>> providerKey, 47 Key<? extends javax.inject.Provider<? extends T>> providerKey) { 52 Key<? extends javax.inject.Provider<? extends T>> providerKey) { 60 Key<? extends javax.inject.Provider<? extends T>> providerKey, 70 public Key<? extends javax.inject.Provider<? extends T>> getProviderKey() { 102 .add("provider", providerKey)
|
ProviderInstanceBindingImpl.java | 23 import com.google.inject.Provider; 37 final javax.inject.Provider<? extends T> providerInstance; 42 javax.inject.Provider<? extends T> providerInstance, 50 Set<InjectionPoint> injectionPoints, javax.inject.Provider<? extends T> providerInstance) { 56 @SuppressWarnings("unchecked") // the extension type is always consistent with the provider type 66 public Provider<? extends T> getProviderInstance() { 70 public javax.inject.Provider<? extends T> getUserSuppliedProvider() { 105 .add("provider", providerInstance)
|
/external/guice/core/src/com/google/inject/spi/ |
TypeEncounter.java | 21 import com.google.inject.Provider; 59 * Returns the provider used to obtain instances for the given injection key. The returned 60 * provider will not be valid until the injector has been created. The provider will throw an 63 <T> Provider<T> getProvider(Key<T> key); 66 * Returns the provider used to obtain instances for the given injection type. The returned 67 * provider will not be valid until the injector has been created. The provider will throw an 70 <T> Provider<T> getProvider(Class<T> type);
|
/external/libmojo/base/ |
path_service.cc | 32 // PathProviderPosix is the default path provider on POSIX OSes other than 43 struct Provider { 45 struct Provider* next; 53 Provider base_provider = { 64 Provider base_provider_win = { 76 Provider base_provider_mac = { 88 Provider base_provider_android = { 100 Provider base_provider_posix = { 116 Provider* providers; // Linked list of path service providers. 181 Provider* provider = NULL [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
WorkerModule.java | 34 import javax.inject.Provider; 65 Worker provideWorker(Map<Class<? extends Worker>, Provider<Worker>> availableWorkers) { 66 Provider<Worker> workerProvider = availableWorkers.get(workerClass); 126 Provider<AllAllocationsRecorder> allAllocationsRecorderProvider, 127 Provider<AggregateAllocationsRecorder> aggregateAllocationsRecorderProvider) {
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
BindingFieldTest.java | 26 import javax.inject.Provider; 67 assertThat(FrameworkField.createWithTypeFromKey(Provider.class, 71 ClassName.fromClass(Provider.class), xClass)); 82 assertThat(FrameworkField.createWithTypeFromKey(Provider.class, 85 assertThat(FrameworkField.createWithTypeFromKey(Provider.class,
|
DependencyRequestMapperTest.java | 29 import javax.inject.Provider; 106 .isEqualTo(Provider.class); 108 .isEqualTo(Provider.class); 110 .isEqualTo(Provider.class); 120 .isEqualTo(Provider.class); 122 .isEqualTo(Provider.class); 134 Integer a, Lazy<Integer> b, Provider<Integer> c, MembersInjector<Y> d) {
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
TestActivity.java | 27 * A general Activity that allows test set a Provider to custom activity's behavior in life 32 public static class Provider { 70 public TestActivityTestRule(TestActivity.Provider provider, String providerName) { 73 provider.mActivity = null; 74 TestActivity.setProvider(mProviderName, provider); 86 static HashMap<String, Provider> sProviders = new HashMap<>(); 89 Provider mProvider; 95 public static void setProvider(String name, Provider provider) { [all...] |
BackgroundManagerTest.java | 151 TestActivity launchActivity(String name, final TestActivity.Provider provider2) 248 TestActivity.Provider provider1 = new TestActivity.Provider() { 271 TestActivity.Provider provider1 = new TestActivity.Provider() { 309 TestActivity.Provider provider1 = new TestActivity.Provider() { 351 TestActivity.Provider provider1 = new TestActivity.Provider() { 375 TestActivity.Provider provider1 = new TestActivity.Provider() [all...] |
/libcore/ojluni/src/main/java/java/security/cert/ |
CertStore.java | 33 import java.security.Provider; 44 * This class uses a provider-based architecture. 48 * and optionally the name of the provider desired. 111 private Provider provider; field in class:CertStore 117 * encapsulates the given provider implementation (SPI object) in it. 119 * @param storeSpi the provider implementation 120 * @param provider the provider 124 protected CertStore(CertStoreSpi storeSpi, Provider provider [all...] |
CertificateFactory.java | 32 import java.security.Provider; 154 // The provider 155 private Provider provider; field in class:CertificateFactory 157 // The provider implementation 162 * the given provider implementation (SPI object) in it. 164 * @param certFacSpi the provider implementation. 165 * @param provider the provider. 169 Provider provider, String type [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Security2Test.java | 21 import java.security.Provider; 40 Provider[] allProviders = Security.getProviders(); 43 for (Provider provider : allProviders) { 44 for (Object k : provider.keySet()) { 46 // No aliases and no provider data 56 for (Provider provider : allProviders) { 57 for (Map.Entry entry : provider.entrySet()) { 67 // Add 1 to the provider count of the thing being aliase [all...] |
MessageDigest2Test.java | 26 import java.security.Provider; 39 private Map<Provider, List<String>> digestAlgs = new HashMap<Provider, List<String>>(); 80 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 242 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 255 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 287 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 299 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 311 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 330 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Security.java | 59 Provider provider; field in class:Security.ProviderProperty 98 props.put("security.provider.1", "com.android.org.conscrypt.OpenSSLProvider"); 99 props.put("security.provider.2", "sun.security.provider.CertPathProvider"); 100 props.put("security.provider.3", "com.android.org.bouncycastle.jce.provider.BouncyCastleProvider"); 101 props.put("security.provider.4", "com.android.org.conscrypt.JSSEProvider"); 112 * provider) mapping the key, if any. 114 * provider-preference order, as specificed in the securit [all...] |
/external/guice/core/test/com/google/inject/ |
CircularDependencyTest.java | 72 bind(A.class).toProvider(new Provider<A>() { 73 @Inject Provider<B> bp; 78 bind(B.class).toProvider(new Provider<B>() { 79 @Inject Provider<A> ap; 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...] |
ProviderInjectionTest.java | 57 bind(Bar.class).toProvider(new Provider<Bar>() { 79 * injected before use. In this testcase, we verify that a provider for 86 bind(String.class).toProvider(new Provider<String>() { 97 bind(List.class).toProvider(new Provider<List>() { 129 // provider injection 130 bind(Count.class).annotatedWith(named("b")).toProvider(new Provider<Count>() { 177 @Inject Provider<Bar> barProvider; 178 @Inject Provider<SampleSingleton> singletonProvider;
|
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/ |
TestUtil.java | 27 import java.security.Provider; 42 private static final Provider JDK_PROVIDER = getDefaultTlsProvider(); 43 private static final Provider CONSCRYPT_PROVIDER = getConscryptProvider(); 98 private static SSLSocketFactory getSocketFactory(Provider provider) { 99 SSLContext clientContext = initClientSslContext(newContext(provider)); 103 private static SSLServerSocketFactory getServerSocketFactory(Provider provider) { 104 SSLContext serverContext = initServerSslContext(newContext(provider)); 108 public static SSLContext newContext(Provider provider) [all...] |