/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/ |
SimpleCharStream.java | 48 protected Provider inputStream; 275 public SimpleCharStream(Provider dstream, int startline, 289 public SimpleCharStream(Provider dstream, int startline, 296 public SimpleCharStream(Provider dstream) 302 public void ReInit(Provider dstream, int startline, 322 public void ReInit(Provider dstream, int startline, 329 public void ReInit(Provider dstream)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
ProviderJcaJceHelper.java | 9 import java.security.Provider; 23 * {@link JcaJceHelper} that obtains all algorithms from a specific {@link Provider} instance. 28 protected final Provider provider; field in class:ProviderJcaJceHelper 30 public ProviderJcaJceHelper(Provider provider) 32 this.provider = provider; 39 return Cipher.getInstance(algorithm, provider); 45 return Mac.getInstance(algorithm, provider); [all...] |
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/ |
ProviderJcaJceHelper.java | 10 import java.security.Provider; 24 * {@link JcaJceHelper} that obtains all algorithms from a specific {@link Provider} instance. 30 protected final Provider provider; field in class:ProviderJcaJceHelper 32 public ProviderJcaJceHelper(Provider provider) 34 this.provider = provider; 41 return Cipher.getInstance(algorithm, provider); 47 return Mac.getInstance(algorithm, provider); [all...] |
/external/conscrypt/benchmark-jmh/src/jmh/java/org/conscrypt/ |
OpenJdkEndpointFactory.java | 4 import java.security.Provider; 54 Provider provider = TestUtils.getJdkProvider(); local 55 SSLContext clientContext = TestUtils.newClientSslContext(provider); 56 SSLContext serverContext = TestUtils.newServerSslContext(provider); 64 Provider provider = TestUtils.getConscryptProvider(); local 65 SSLContext clientContext = TestUtils.newClientSslContext(provider); 66 SSLContext serverContext = TestUtils.newServerSslContext(provider);
|
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/membersinject/ |
MembersInjectTest.java | 19 import javax.inject.Provider; 84 Provider<String> provider = local 85 new Provider<String>() { 91 MembersInjector<NonRequestedChild> injector = new NonRequestedChild_MembersInjector(provider);
|
/external/dagger2/core/src/test/java/dagger/internal/ |
DoubleCheckLazyTest.java | 30 import javax.inject.Provider; 46 LatchedProvider provider = new LatchedProvider(latch); local 47 final Lazy<Object> lazy = DoubleCheckLazy.create(provider); 61 assert_().that(provider.provisions.get()).isEqualTo(1); 71 Lazy<Object> lazy = DoubleCheckLazy.create(new Provider<Object> () { 82 private static class LatchedProvider implements Provider<Object> {
|
/external/guice/core/src/com/google/inject/ |
Binder.java | 67 * In this example, {@code ServiceProvider} must extend or implement {@code Provider<Service>}. This 70 * Provider#get get()} on the resulting Provider instance to obtain the {@code Service} instance. 72 * <p>The {@link Provider} you use here does not have to be a "factory"; that is, a provider which 167 * {@link Provider}. 279 * Returns the provider used to obtain instances for the given injection key. The returned 280 * provider will not be valid until the {@link Injector} has been created. The provider will throw 285 <T> Provider<T> getProvider(Key<T> key) [all...] |
/external/guice/core/src/com/google/inject/internal/ |
BindingImpl.java | 22 import com.google.inject.Provider; 67 private volatile Provider<T> provider; field in class:BindingImpl 70 public Provider<T> getProvider() { 71 if (provider == null) { 76 provider = injector.getProvider(key); 78 return provider;
|
InternalProviderInstanceBindingImpl.java | 5 import com.google.inject.Provider; 61 // For these kinds of providers, the 'user supplied provider' is really 'guice supplied' 62 // So make our user supplied provider just delegate to the guice supplied one. 71 abstract static class Factory<T> implements InternalFactory<T>, Provider<T>, HasDependencies { 74 private Provider<T> delegateProvider; 101 Provider<T> local = delegateProvider; 104 "This Provider cannot be used until the Injector has been created.");
|
SingletonScope.java | 9 import com.google.inject.Provider; 51 * @see #scope(Key, Provider) 85 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) { 93 return new Provider<T>() { 110 * The singleton provider needs a reference back to the injector, in order to get ahold of
|
/external/guice/core/test/com/google/inject/spi/ |
ModuleRewriterTest.java | 28 import com.google.inject.Provider; 88 final Provider<String> stringProvider = getProvider(String.class); 93 new Provider<String>() {
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
Parameter.java | 24 import com.google.inject.Provider; 43 private volatile Provider<? extends Object> provider; field in class:Parameter 83 if (null == provider) { 85 if (null == provider) { 86 provider = 94 return isProvider ? provider : provider.get(); 134 && ((ParameterizedType) type).getRawType() == Provider.class;
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaPersistService.java | 22 import com.google.inject.Provider; 38 class JpaPersistService implements Provider<EntityManager>, UnitOfWork, PersistService { 123 public static class EntityManagerFactoryProvider implements Provider<EntityManagerFactory> {
|
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
DynamicFinderTest.java | 22 import com.google.inject.Provider; 83 private final Provider<EntityManager> em; 87 public JpaDao(Provider<EntityManager> em) {
|
/external/guice/extensions/spring/src/com/google/inject/spring/ |
SpringIntegration.java | 23 import com.google.inject.Provider; 37 * Creates a provider which looks up objects from Spring using the given name. Expects a binding 45 public static <T> Provider<T> fromSpring(Class<T> type, String name) { 67 SpringProvider<T> provider = SpringProvider.newInstance(type, name); local 69 provider.initialize(beanFactory); 75 binder.bind(type).annotatedWith(Names.named(name)).toProvider(provider); 78 static class SpringProvider<T> implements Provider<T> {
|
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/ |
BoundFieldModuleTest.java | 29 import com.google.inject.Provider; 154 private Provider<Integer> anIntProvider = 155 new Provider<Integer>() { 346 private Provider<Integer> anInt = 347 new Provider<Integer>() { 366 private javax.inject.Provider<Integer> anInt = 367 new javax.inject.Provider<Integer>() { 415 @Bind private Provider<Integer> anIntProvider = null; 434 @Bind @Nullable private Provider<Integer> anIntProvider = null; 450 private static class IntegerProvider implements Provider<Integer> 850 Provider<Integer> provider = local [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/ |
TextElementIteratorsFactory.java | 31 interface Provider<E> { 35 private final Provider<E> nextProvider; 41 public CascadingIterator(Iterator<E> current, Provider<E> nextProvider) {
|
/external/wycheproof/java/com/google/security/wycheproof/ |
WycheproofRunner.java | 33 * provider. To use it, annotate a runner class with {@code RunWith(WycheproofRunner.class)}, and 37 * <p>To exclude certain tests, a runner class should be annotated with {@code @Provider} which 38 * indicates the target provider. Test exclusion is defined as follows: 58 * Annotation to specify the target provider of a test runner. 60 * <p>Usage: @Provider(ProviderType.BOUNCY_CASTLE) 64 public @interface Provider { 137 Provider targetProvider; 143 this.targetProvider = runnerClass.getAnnotation(Provider.class); 160 // Run all test functions if the test runner is not annotated with {@code @Provider}.
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/ |
TestUtils.java | 36 import java.security.Provider; 57 import org.bouncycastle.jce.provider.BouncyCastleProvider; 74 private static final Provider JDK_PROVIDER = getDefaultTlsProvider(); 84 private static Provider getDefaultTlsProvider() { 86 for (Provider p : Security.getProviders()) { 96 private static boolean hasProtocol(Provider p, String protocol) { 100 static Provider getJdkProvider() { 188 public static Provider getConscryptProvider() { 197 return (Provider) c.newInstance(defaultName, false); 199 return (Provider) c.newInstance(defaultName, true) [all...] |
/external/conscrypt/testing/src/main/java/org/conscrypt/ |
TestUtils.java | 35 import java.security.Provider; 56 import org.bouncycastle.jce.provider.BouncyCastleProvider; 72 private static final Provider JDK_PROVIDER = getDefaultTlsProvider(); 82 private static Provider getDefaultTlsProvider() { 84 for (Provider p : Security.getProviders()) { 94 private static boolean hasProtocol(Provider p, String protocol) { 98 static Provider getJdkProvider() { 186 public static Provider getConscryptProvider() { 195 return (Provider) c.newInstance(defaultName, false); 197 return (Provider) c.newInstance(defaultName, true) [all...] |
/external/guice/core/test/com/google/inject/ |
DuplicateBindingsTest.java | 45 private Provider<Foo> pFoo = Providers.<Foo>of(new FooImpl()); 46 private Class<? extends Provider<? extends Foo>> pclFoo = FooProvider.class; 437 protected final Provider<Foo> pFoo; 438 protected final Class<? extends Provider<? extends Foo>> pclFoo; 444 Provider<Foo> pFoo, 445 Class<? extends Provider<? extends Foo>> pclFoo, 459 Provider<Foo> pFoo, 460 Class<? extends Provider<? extends Foo>> pclFoo, 515 Provider<Foo> pFoo, 516 Class<? extends Provider<? extends Foo>> pclFoo [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/ |
JcaSignerInfoVerifierBuilder.java | 3 import java.security.Provider; 32 public JcaSignerInfoVerifierBuilder setProvider(Provider provider) 34 this.helper = new ProviderHelper(provider); 149 private final Provider provider; field in class:JcaSignerInfoVerifierBuilder.ProviderHelper 151 public ProviderHelper(Provider provider) 153 this.provider = provider; [all...] |
JcaSimpleSignerInfoVerifierBuilder.java | 3 import java.security.Provider; 22 public JcaSimpleSignerInfoVerifierBuilder setProvider(Provider provider) 24 this.helper = new ProviderHelper(provider); 119 private final Provider provider; field in class:JcaSimpleSignerInfoVerifierBuilder.ProviderHelper 121 public ProviderHelper(Provider provider) 123 this.provider = provider; [all...] |
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
AbstractProducerTest.java | 26 import javax.inject.Provider; 49 private Provider<ProductionComponentMonitor> componentMonitorProvider; 57 new Provider<ProductionComponentMonitor>() { 133 Provider<ProductionComponentMonitor> componentMonitorProvider,
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
ExponentialBackoffPolicyTest.java | 55 assertNotNull(new ExponentialBackoffPolicy.Provider().get());
|