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

<<11121314151617181920>>

  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/
X509Util.java 8 import java.security.Provider;
207 String provider)
210 if (provider != null)
212 return Signature.getInstance(algorithm, provider);
254 String provider,
267 sig = X509Util.getSignatureInstance(sigName, provider);
299 Provider provider; field in class:X509Util.Implementation
303 Provider provider)
    [all...]
  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
MultibindingModule.java 30 import javax.inject.Provider;
72 static Set<String> provideMapKeys(Map<String, Provider<String>> map) {
  /external/dagger2/producers/src/main/java/dagger/producers/internal/
Producers.java 27 import javax.inject.Provider;
91 * Returns a producer that immediately executes the binding logic for the given provider every
94 public static <T> Producer<T> producerFromProvider(final Provider<T> provider) {
95 checkNotNull(provider);
99 return Futures.immediateFuture(provider.get());
  /external/guice/core/src/com/google/inject/
Scopes.java 54 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped) {
  /external/guice/core/test/com/google/inject/
BoundInstanceInjectionTest.java 60 bind(O.class).toProvider(new Provider<O>() {
109 static class MalformedProvider implements Provider<String> {
BinderTestSuite.java 299 /** When Guice creates a value, directly or via a provider */
410 Provider<?> provider = newInjector().getProvider(key); local
413 assertEquals(value, provider.get());
416 Provider<?> bindingProvider = newInjector().getBinding(key).getProvider();
440 hasProvider.provider.get();
443 assertEquals(value, hasProvider.provider.get());
582 Provider<?> provider = newInjector().getProvider(key); local
583 Provider<?> bindingProvider = newInjector().getBinding(key).getProvider()
767 Provider<?> provider = Providers.of(new Object()); field in class:Injectable
    [all...]
NullableInjectionPointTest.java 56 * Provider.getInstance() is allowed to return null via direct calls to
103 bind(Foo.class).toProvider(new Provider<Foo>() {
133 bind(Foo.class).toProvider(new Provider<Foo>() {
154 bind(Foo.class).toProvider(new Provider<Foo>() {
175 bind(Foo.class).toProvider(new Provider<Foo>() {
OptionalBindingTest.java 29 * injectMembers(), bind to instance, and bind to provider instance) for all
31 * provider fields, provider methods, constructors).
181 @Inject(optional=true) Provider<F> fProvider; // provider
182 Provider<G> gProvider; // method injection of provider
205 @Inject(optional=true) void methodInjectProvider(Provider<G> gProvider) {
241 extends HasOptionalInjections implements Provider<HasOptionalInjections> {
  /external/guice/core/test/com/google/inject/spi/
HasDependenciesTest.java 26 import com.google.inject.Provider;
80 static class ProviderOfA implements Provider<A> {
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
InternalServletModule.java 24 import com.google.inject.Provider;
48 * Special Provider that tries to obtain an injected servlet context, specific
53 static class BackwardsCompatibleServletContextProvider implements Provider<ServletContext> {
  /frameworks/base/keystore/java/android/security/keystore/
AndroidKeyStoreBCWorkaroundProvider.java 19 import java.security.Provider;
22 * {@link Provider} of JCA crypto operations operating on Android KeyStore keys.
24 * <p>This provider was separated out of {@link AndroidKeyStoreProvider} to work around the issue
25 * that Bouncy Castle provider incorrectly declares that it accepts arbitrary keys (incl. Android
28 * as higher-priority than Bouncy Castle ones. The purpose of this provider is to do just that: to
30 * than the Bouncy Castle provider.
32 * <p>Once Bouncy Castle provider is fixed, this provider can be merged into the
37 class AndroidKeyStoreBCWorkaroundProvider extends Provider {
39 // IMPLEMENTATION NOTE: Class names are hard-coded in this provider to avoid loading thes
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherOutputStreamTest.java 24 import java.security.Provider;
39 for (Provider provider : Security.getProviders()) {
42 cipher = Cipher.getInstance("AES/GCM/NoPadding", provider);
47 if (provider.getName().equals("AndroidKeyStoreBCWorkaround")) {
59 if (provider.getName().equals("AndroidKeyStoreBCWorkaround")) {
75 + " Provider: " + provider);
83 // The AndroidKeyStoreBCWorkaround provider can't use keys created by anything
  /libcore/ojluni/src/main/java/java/security/cert/
Certificate.java 30 import java.security.Provider;
163 * @exception NoSuchProviderException if there's no default provider.
176 * supplied by the specified provider.
179 * @param sigProvider the name of the signature provider.
184 * @exception NoSuchProviderException on incorrect provider.
197 * supplied by the specified provider. Note that the specified
198 * Provider object does not have to be registered in the provider list.
206 * @param sigProvider the signature provider.
216 public void verify(PublicKey key, Provider sigProvider
    [all...]
  /libcore/support/src/test/java/org/apache/harmony/security/tests/support/
KeyStoreTestSupport.java 25 import java.security.Provider;
52 public static Provider defaultProvider = null;
  /packages/apps/Email/tests/src/com/android/email/
VendorPolicyLoaderTest.java 25 import com.android.emailcommon.VendorPolicyLoader.Provider;
148 Provider p = pl.findProviderForDomain("yahoo.com");
  /prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/support/
test_memory_resource.hpp 385 using Provider = ProviderT;
436 mutable Provider P;
440 template <class Provider, int N>
441 int TestResourceImp<Provider, N>::resource_alive = 0;
443 template <class Provider, int N>
444 int TestResourceImp<Provider, N>::resource_constructed = 0;
446 template <class Provider, int N>
447 int TestResourceImp<Provider, N>::resource_destructed = 0;
  /external/guice/core/src/com/google/inject/internal/
InjectorImpl.java 35 import com.google.inject.Provider;
180 // If Key is a Provider, we have to see if the type it is providing exists,
181 // and, if so, we have to create the binding for the provider.
184 // This is safe because isProvider above ensures that T is a Provider<?>
286 /** Returns true if the key type is Provider (but not a subclass of Provider). */
288 return key.getTypeLiteral().getRawType().equals(Provider.class);
295 private static <T> Key<T> getProvidedKey(Key<Provider<T>> key, Errors errors) throws ErrorsException {
298 // If the Provider has no type parameter (raw Provider)..
358 final Provider<T> provider = providedBinding.getProvider(); local
    [all...]
SingletonScope.java 11 import com.google.inject.Provider;
67 * @see #scope(Key, Provider)
102 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) {
112 return new Provider<T>() {
  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreementTest.java 33 import java.security.Provider;
64 private static Provider defaultProvider = null;
68 private static final String NotSupportMsg = "There is no suitable provider for KeyAgreement";
154 * Test for <code> getInstance(String algorithm, String provider)</code>
181 * Test for <code> getInstance(String algorithm, String provider)</code>
182 * method Assertions: throws IllegalArgumentException when provider is null
183 * or empty throws NoSuchProviderException when provider has not be
193 String provider = null; local
196 KeyAgreement.getInstance(validValues[i], provider);
197 fail("IllegalArgumentException must be thrown when provider is null")
275 Provider provider = null; local
    [all...]
  /libcore/ojluni/src/main/java/java/security/
KeyStore.java 216 Debug.getInstance("provider", "Provider");
235 // The provider
236 private Provider provider; field in class:KeyStore
238 // The provider implementation
337 * If none was set then the keystore provider will use its default
835 * provider implementation (SPI object) in it.
837 * @param keyStoreSpi the provider implementation.
838 * @param provider the provider
1804 private final Provider provider; field in class:KeyStore.FileBuilder
    [all...]
  /cts/tests/tests/security/src/android/security/cts/
X509CertChainBuildingTest.java 29 import java.security.Provider;
176 private static X509TrustManager getTrustManager(KeyStore ks, Provider p) throws Exception {
200 Provider[] providers = Security.getProviders("TrustManagerFactory.PKIX");
203 for (Provider p : providers) {
222 throw new Exception("Failed with provider " + p, e);
  /device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserProfileManagerDxe/
ModifyIdentityPolicy.c 20 provider can't appear twice in one identity policy.
22 @param[in] NewGuid Points to the credential provider guid.
45 L"This Credential Provider Are Already Used!",
61 Add the user's credential record in the provider.
63 @param[in] Identity Identity policy item including credential provider.
80 // Find the specified credential provider.
83 UserCredential = mProviderInfo->Provider[Index];
94 Delete the User's credential record on the provider.
113 // Find the specified credential provider.
116 UserCredential = mProviderInfo->Provider[Index];
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DependencyVariableNamer.java 21 import javax.inject.Provider;
25 * with the {@link DependencyRequest}. I.e. strips out words like "lazy" and "provider" if we
26 * believe that those refer to {@link Lazy} and {@link Provider} rather than the type being
47 case PROVIDER:
48 return variableName.endsWith("Provider") && !variableName.equals("Provider")
  /external/dagger2/producers/src/main/java/dagger/producers/monitoring/internal/
Monitors.java 27 import javax.inject.Provider;
288 /** Returns a provider of a no-op component monitor. */
289 public static Provider<ProductionComponentMonitor> noOpProductionComponentMonitorProvider() {
318 private static final Provider<ProductionComponentMonitor>
320 new Provider() {
  /external/guice/extensions/servlet/test/com/google/inject/servlet/
ContinuingRequestIntegrationTest.java 31 import com.google.inject.Provider;
220 @Inject Provider<HttpServletRequest> request;
221 @Inject Provider<HttpServletResponse> response;
222 @Inject Provider<SomeObject> someObject;

Completed in 770 milliseconds

<<11121314151617181920>>