HomeSort by relevance Sort by last modified time
    Searched refs:Provider (Results 176 - 200 of 417) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/guice/core/test/com/google/inject/
SuperclassTest.java 34 Provider<Sub> creator = injector.getProvider(Sub.class);
BoundProviderTest.java 76 static class FooProvider implements Provider<Foo> {
93 static class SingletonFooProvider implements Provider<Foo> {
ImplicitBindingTest.java 115 static class ProvidedProvider implements Provider<Provided> {
222 static class InvalidProvidedByProvider implements Provider<InvalidProvidedBy> {
234 static class InvalidProvidedBy2Provider implements Provider<InvalidProvidedBy2> {
264 * <p>The bug is that a class that asks for a provider for itself during injection time, where any
266 * constructor, explodes when the injected Provider is called.
297 static class TestStringProvider implements Provider<String> {
307 private final Provider<RequiresProviderForSelfWithOtherType> selfProvider;
312 String providedStringValue, Provider<RequiresProviderForSelfWithOtherType> selfProvider) {
406 static final class NonEmptyEnumProvider implements Provider<NonEmptyEnum> {
416 static final class EmptyEnumProvider implements Provider<EmptyEnum>
    [all...]
  /external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
StreamProvider.java 35 public class StreamProvider implements Provider {
StringProvider.java 28 public class StringProvider implements Provider {
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
StreamProvider.java 27 public class StreamProvider implements Provider {
StringProvider.java 20 public class StringProvider implements Provider {
JavaCharStream.java 91 protected Provider inputStream;
412 public JavaCharStream(Provider dstream,
427 public JavaCharStream(Provider dstream,
434 public JavaCharStream(Provider dstream)
439 public void ReInit(Provider dstream,
460 public void ReInit(Provider dstream,
467 public void ReInit(Provider dstream)
  /external/syzkaller/vendor/google.golang.org/appengine/aetest/
user.go 20 req.Header.Set("X-AppEngine-User-Federated-Provider", u.FederatedProvider)
35 req.Header.Del("X-AppEngine-User-Federated-Provider")
  /cts/tests/tests/keystore/src/android/keystore/cts/
RSACipherTest.java 21 import java.security.Provider;
40 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
41 assertNotNull(provider);
59 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider);
73 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
74 assertNotNull(provider);
89 Cipher cipher = Cipher.getInstance("RSA/ECB/NoPadding", provider);
101 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME) local
129 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
159 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
191 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
222 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local
    [all...]
  /external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/
JcaDigestCalculatorProviderBuilder.java 7 import java.security.Provider;
25 public JcaDigestCalculatorProviderBuilder setProvider(Provider provider)
27 this.helper = new OperatorHelper(new ProviderJcaJceHelper(provider));
  /external/conscrypt/benchmark-android/src/main/java/org/conscrypt/
AndroidEndpointFactory.java 4 import java.security.Provider;
52 Provider provider = TestUtils.getConscryptProvider(); local
53 SSLContext clientContext = TestUtils.newClientSslContext(provider);
54 SSLContext serverContext = TestUtils.newServerSslContext(provider);
  /external/conscrypt/repackaged/benchmark-android/src/main/java/com/android/org/conscrypt/
AndroidEndpointFactory.java 5 import java.security.Provider;
54 Provider provider = TestUtils.getConscryptProvider(); local
55 SSLContext clientContext = TestUtils.newClientSslContext(provider);
56 SSLContext serverContext = TestUtils.newServerSslContext(provider);
  /external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/utils/
Utils.java 24 import com.github.javaparser.Provider;
85 public static String providerToString(Provider provider) throws IOException {
90 while ((numChars = provider.read(buffer, 0, buffer.length)) != -1) {
  /external/guice/core/src/com/google/inject/internal/
BindingProcessor.java 22 import com.google.inject.Provider;
65 if (rawType == Provider.class) {
117 javax.inject.Provider<? extends T> provider = binding.getUserSuppliedProvider(); local
118 if (provider instanceof InternalProviderInstanceBindingImpl.Factory) {
121 (InternalProviderInstanceBindingImpl.Factory<T>) provider;
125 Initializable<? extends javax.inject.Provider<? extends T>> initializable =
126 initializer.<javax.inject.Provider<? extends T>>requestInjection(
127 injector, provider, null, source, injectionPoints);
139 injector, key, source, scopedFactory, scoping, provider, injectionPoints))
    [all...]
  /external/libchrome/mojo/public/cpp/bindings/tests/
binding_callback_unittest.cc 47 // An implementation of sample::Provider used on the server side.
50 class InterfaceImpl : public sample::Provider {
78 // sample::Provider implementation
143 Binding<sample::Provider> binding(&server_impl, MakeRequest(&interface_ptr_));
202 Binding<sample::Provider> binding(&server_impl,
248 Binding<sample::Provider> binding(&server_impl,
280 Binding<sample::Provider> binding(&server_impl, MakeRequest(&interface_ptr_));
315 Binding<sample::Provider> binding(&server_impl, MakeRequest(&interface_ptr_));
  /external/guice/core/test/com/google/inject/internal/
OptionalBinderTest.java 42 import com.google.inject.Provider;
94 final TypeLiteral<Optional<Provider<String>>> optionalOfProviderString =
95 new TypeLiteral<Optional<Provider<String>>>() {};
100 final TypeLiteral<Optional<javax.inject.Provider<String>>> optionalOfJavaxProviderString =
101 new TypeLiteral<Optional<javax.inject.Provider<String>>>() {};
111 final TypeLiteral<Optional<Provider<Integer>>> optionalOfProviderInteger =
112 new TypeLiteral<Optional<Provider<Integer>>>() {};
115 final TypeLiteral<Optional<javax.inject.Provider<Integer>>> optionalOfJavaxProviderInteger =
116 new TypeLiteral<Optional<javax.inject.Provider<Integer>>>() {};
164 Optional<Provider<String>> optionalP = injector.getInstance(Key.get(optionalOfProviderString))
    [all...]
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/
KeyPairGeneratorTest.java 34 import java.security.Provider;
35 import java.security.Provider.Service;
88 private List<Provider> providers = new ArrayList<Provider>();
92 Provider[] providers = Security.getProviders();
93 for (Provider p : providers) {
94 // Do not test AndroidKeyStore Provider. It does not accept vanilla public keys for
110 // We expect there to be at least one provider.
195 // specify a fixed number and silenty pass if the provider at the
200 Provider provider = providers.get(providerIndex) local
    [all...]
MessageDigestTest.java 23 import java.security.Provider;
72 Provider[] providers = Security.getProviders();
73 for (Provider provider : providers) {
74 Set<Provider.Service> services = provider.getServices();
75 for (Provider.Service service : services) {
87 // MessageDigest.getInstance(String, Provider)
88 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider);
90 assertEquals(provider, md2.getProvider())
    [all...]
  /external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/
KeyPairGeneratorTest.java 35 import java.security.Provider;
36 import java.security.Provider.Service;
92 private List<Provider> providers = new ArrayList<Provider>();
96 Provider[] providers = Security.getProviders();
97 for (Provider p : providers) {
98 // Do not test AndroidKeyStore Provider. It does not accept vanilla public keys for
114 // We expect there to be at least one provider.
199 // specify a fixed number and silenty pass if the provider at the
204 Provider provider = providers.get(providerIndex) local
    [all...]
MessageDigestTest.java 24 import java.security.Provider;
76 Provider[] providers = Security.getProviders();
77 for (Provider provider : providers) {
78 Set<Provider.Service> services = provider.getServices();
79 for (Provider.Service service : services) {
91 // MessageDigest.getInstance(String, Provider)
92 MessageDigest md2 = MessageDigest.getInstance(algorithm, provider);
94 assertEquals(provider, md2.getProvider())
    [all...]
  /external/grpc-grpc-java/okhttp/third_party/okhttp/main/java/io/grpc/okhttp/internal/
Platform.java 37 import java.security.Provider;
83 * List of recognized security providers. The first recognized security provider according to the
88 // See https://developer.android.com/training/articles/security-gms-provider.html
92 "org.apache.harmony.xnet.provider.jsse.OpenSSLProvider"
101 private final Provider sslProvider;
103 public Platform(Provider sslProvider) {
122 public Provider getProvider() {
160 Provider androidOrAppEngineProvider =
207 Provider sslProvider;
259 Class<?> providerClass = Class.forName(negoClassName + "$Provider");
515 Object provider = Proxy.newProxyInstance(Platform.class.getClassLoader(), local
536 JettyNegoProvider provider = local
    [all...]
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
ServletScopes.java 27 import com.google.inject.Provider;
64 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) {
65 return new Provider<T>() {
96 // Store a sentinel for provider-given null values.
153 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) {
155 return new Provider<T>() {
  /external/guice/core/test/com/google/inject/spi/
SpiBindingsTest.java 32 import com.google.inject.Provider;
104 final Provider<String> stringProvider = new StringProvider();
288 Key<Provider<String>> providerOfStringKey = new Key<Provider<String>>() {};
289 Binding<Provider<String>> binding = injector.getBinding(providerOfStringKey);
294 new FailingTargetVisitor<Provider<String>>() {
296 public Void visit(ProviderBinding<? extends Provider<String>> binding) {
423 // Check for Provider<String> binding -- that is still a ProviderBinding.
424 Key<Provider<String>> providerOfStringKey = new Key<Provider<String>>() {}
    [all...]
  /external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
KeyGeneratorTest.java 22 import java.security.Provider;
74 Provider[] providers = Security.getProviders();
75 for (Provider provider : providers) {
76 Set<Provider.Service> services = provider.getServices();
77 for (Provider.Service service : services) {
87 if ("AndroidKeyStore".equals(provider.getName())) {
98 // KeyGenerator.getInstance(String, Provider)
99 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider);
    [all...]

Completed in 2098 milliseconds

1 2 3 4 5 6 78 91011>>