HomeSort by relevance Sort by last modified time
    Searched refs:Provider (Results 151 - 175 of 670) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/guice/extensions/persist/test/com/google/inject/persist/jpa/
EntityManagerProvisionTest.java 22 import com.google.inject.Provider;
92 private final Provider<EntityManager> em;
96 public JpaDao(Provider<EntityManager> em) {
  /external/dagger2/core/src/main/java/dagger/
Component.java 22 import javax.inject.Provider;
43 * {@linkplain Provider provision} or {@linkplain MembersInjector members-injection} contracts.
57 * <p>Provision methods, like typical {@link Inject injection} sites, may use {@link Provider} or
58 * {@link Lazy} to more explicitly control provision requests. A {@link Provider} allows the user
59 * of the component to request provision any number of times by calling {@link Provider#get}. A
64 * {@literal Provider<SomeType>} getSomeTypeProvider();
202 * on the dependency is bound as a provider. Note that <em>only</em> the bindings exposed as
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismTest.java 27 import java.security.Provider;
57 * Assertion: creates new object using provider and mechanism name
60 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider",
61 "Provider for ExemptionMechanism testing",
68 assertEquals("Incorrect provider", em.getProvider(), mProv);
83 assertNull("Incorrect provider", em.getProvider());
95 * javax/crypto/ExemptionMechanism#getInstance(String algorithm, String provider)
120 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider",
121 "Provider for ExemptionMechanism testing",
152 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider"
    [all...]
  /libcore/ojluni/src/main/java/java/security/
SecureRandom.java 31 import java.security.Provider.Service;
88 * The SHA1PRNG algorithm from the Crypto provider has been deprecated as it was insecure, and also
90 * <a href="http://android-developers.blogspot.com/2016/06/security-crypto-provider-deprecated-in.html">
91 * Security &quot;Crypto&quot; provider deprecated in Android N</a> for details.
105 Debug.getInstance("provider", "Provider");
112 * The provider.
117 private Provider provider = null; field in class:SecureRandom
120 * The provider implementation
    [all...]
MessageDigest.java 140 Debug.getInstance("provider", "Provider");
152 // The provider
153 private Provider provider; field in class:MessageDigest
173 * starting with the most preferred Provider.
176 * Provider that supports the specified algorithm is returned.
189 * @exception NoSuchAlgorithmException if no Provider supports a
193 * @see Provider
206 md.provider = (Provider)objs[1]
    [all...]
Policy.java 59 String provider)
67 Provider provider)
72 public Provider getProvider() {
  /libcore/ojluni/src/main/java/javax/net/ssl/
SSLContext.java 88 private final Provider provider; field in class:SSLContext
98 * @param provider the provider
101 protected SSLContext(SSLContextSpi contextSpi, Provider provider,
104 this.provider = provider;
163 * starting with the most preferred Provider.
166 * Provider that supports the specified protocol is returned
    [all...]
  /libcore/ojluni/src/main/java/sun/security/jca/
Providers.java 29 import java.security.Provider;
32 * Collection of methods to get and set provider list. Also includes
33 * special code for the provider list during JAR verification.
43 // number of threads currently using thread-local provider lists
47 // current system-wide provider list
80 // To avoid that, we use different provider settings during JAR
81 // verification. However, we do not want those provider settings to
89 "sun.security.provider.VerificationProvider";
96 "sun.security.provider.Sun",
103 "com.android.org.bouncycastle.jce.provider.BouncyCastleProvider"
    [all...]
  /system/update_engine/update_manager/
device_policy_provider.h 26 #include "update_engine/update_manager/provider.h"
33 class DevicePolicyProvider : public Provider {
  /external/guice/extensions/multibindings/src/com/google/inject/multibindings/
OptionalBinder.java 34 import com.google.inject.Provider;
68 * {@code Optional<T>} and {@code Optional<Provider<T>>}. If
78 * <p>If setDefault or setBinding are linked to Providers, the Provider may return
80 * setBinding to a Provider that returns null will not cause OptionalBinder
90 * provider, that provider's get method will be called each time the optional
91 * is injected (unless the binding is also scoped, or an optional of provider is
227 static <T> TypeLiteral<Optional<javax.inject.Provider<T>>> optionalOfJavaxProvider(
229 return (TypeLiteral<Optional<javax.inject.Provider<T>>>) TypeLiteral.get(
231 newParameterizedType(javax.inject.Provider.class, type.getType())))
    [all...]
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
GuidedStepFragmentTest.java 57 GuidedStepTestFragment.Provider first = mockProvider(firstFragmentName);
70 GuidedStepTestFragment.Provider obj = (GuidedStepTestFragment.Provider)
80 GuidedStepTestFragment.Provider second = mockProvider(secondFragmentName);
134 GuidedStepTestFragment.Provider first = mockProvider(firstFragmentName);
151 GuidedStepTestFragment.Provider obj = (GuidedStepTestFragment.Provider)
161 GuidedStepTestFragment.Provider second = mockProvider(secondFragmentName);
202 GuidedStepTestFragment.Provider first = mockProvider(firstFragmentName);
215 GuidedStepTestFragment.Provider obj = (GuidedStepTestFragment.Provider
    [all...]
GuidedStepSupportFragmentTest.java 60 GuidedStepTestSupportFragment.Provider first = mockProvider(firstFragmentName);
73 GuidedStepTestSupportFragment.Provider obj = (GuidedStepTestSupportFragment.Provider)
83 GuidedStepTestSupportFragment.Provider second = mockProvider(secondFragmentName);
137 GuidedStepTestSupportFragment.Provider first = mockProvider(firstFragmentName);
154 GuidedStepTestSupportFragment.Provider obj = (GuidedStepTestSupportFragment.Provider)
164 GuidedStepTestSupportFragment.Provider second = mockProvider(secondFragmentName);
205 GuidedStepTestSupportFragment.Provider first = mockProvider(firstFragmentName);
218 GuidedStepTestSupportFragment.Provider obj = (GuidedStepTestSupportFragment.Provider
    [all...]
GuidedStepTestFragment.java 38 private static final HashMap<String, Provider> sTestMap = new HashMap<String, Provider>();
40 public static class Provider {
108 public static void setupTest(String testName, Provider provider) {
109 sTestMap.put(testName, provider);
117 Provider mProvider;
GuidedStepTestSupportFragment.java 41 private static final HashMap<String, Provider> sTestMap = new HashMap<String, Provider>();
43 public static class Provider {
111 public static void setupTest(String testName, Provider provider) {
112 sTestMap.put(testName, provider);
120 Provider mProvider;
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
Signature2Test.java 30 import java.security.Provider;
110 * java.security.Provider)
114 Provider[] providers = Security.getProviders("Signature.DSA");
123 Signature.getInstance((String) null, (Provider) null);
129 Signature.getInstance("DSA", (Provider) null);
153 Provider[] providers = Security.getProviders("Signature.DSA");
165 Provider[] pp = Security.getProviders();
224 Provider p = Signature.getInstance("DSA").getProvider();
225 assertNotNull("provider is null", p);
274 Provider p = new MyProvider()
    [all...]
  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
MultibindingComponent.java 24 import javax.inject.Provider;
37 Map<String, Provider<String>> mapOfProviders();
  /external/guice/core/src/com/google/inject/
Injector.java 36 * <li>A {@code Provider<T>} for each binding of type {@code T}
165 * Returns the provider used to obtain instances for the given injection key. When feasible, avoid
168 * @throws ConfigurationException if this injector cannot find or create the provider.
171 <T> Provider<T> getProvider(Key<T> key);
174 * Returns the provider used to obtain instances for the given type. When feasible, avoid
177 * @throws ConfigurationException if this injector cannot find or create the provider.
180 <T> Provider<T> getProvider(Class<T> type);
187 * @throws ConfigurationException if this injector cannot find or create the provider.
197 * @throws ConfigurationException if this injector cannot find or create the provider.
  /external/guice/core/src/com/google/inject/internal/
DeferredLookups.java 22 import com.google.inject.Provider;
52 public <T> Provider<T> getProvider(Key<T> key) {
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
SingleRowTest.java 42 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10});
86 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10});
128 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10});
150 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10});
184 mProvider = new Provider(new int[]{100, 100});
197 mProvider = new Provider(new int[]{100, 100});
211 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10});
237 mProvider = new Provider(new int[]{80, 80, 30, 100, 40, 10});
  /libcore/luni/src/test/java/libcore/java/security/cert/
FakeOidProvider.java 6 import java.security.Provider;
11 public class FakeOidProvider extends Provider {
27 super(PROVIDER_NAME, 1.0, "Fake OID Provider for Tests");
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
TrustManagerFactorySpiTest.java 23 import java.security.Provider;
56 Provider provider = new MyProvider(); local
58 provider);
83 Provider provider = new MyProvider(); local
85 provider);
109 Provider provider = new MyProvider(); local
111 provider);
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
KeyGeneratorTest.java 19 import java.security.Provider;
39 Provider[] providers = Security.getProviders();
40 for (Provider provider : providers) {
41 Set<Provider.Service> services = provider.getServices();
42 for (Provider.Service service : services) {
52 if ("AndroidKeyStore".equals(provider.getName())) {
63 // KeyGenerator.getInstance(String, Provider)
64 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider);
    [all...]
  /libcore/ojluni/src/main/java/javax/crypto/
ExemptionMechanism.java 29 import java.security.Provider;
53 // The provider
54 private Provider provider; field in class:ExemptionMechanism
56 // The provider implementation (delegate)
76 * @param provider the provider
80 Provider provider,
83 this.provider = provider
    [all...]
SecretKeyFactory.java 31 import java.security.Provider.Service;
50 * <P> Application developers should refer to their provider's documentation
55 * For example, the DES secret-key factory supplied by the "SunJCE" provider
57 * keys, and that provider's secret-key factory for Triple DES keys supports
269 // The provider
270 private Provider provider; field in class:SecretKeyFactory
275 // The provider implementation (delegate)
278 // lock for mutex during provider selection
281 // remaining services to try in provider selectio
    [all...]
  /external/guice/core/test/com/googlecode/guice/
Jsr330Test.java 45 import javax.inject.Provider;
236 * This test verifies that we can compile bindings to provider instances
237 * whose compile-time type implements javax.inject.Provider but not
238 * com.google.inject.Provider. For binary compatibility, we don't (and won't)
239 * support binding to instances of javax.inject.Provider.
258 Provider<String> jsr330Provider = new Provider<String>() {
268 com.google.inject.Provider<String> guicified = Providers.guicify(jsr330Provider);
279 Provider<String> jsr330Provider = new Provider<String>()
    [all...]

Completed in 936 milliseconds

1 2 3 4 5 67 8 91011>>