/external/apache-harmony/support/src/test/java/tests/support/ |
Support_ProviderJCE.java | 22 import java.security.Provider; 25 * This class implements a dummy security provider 27 public class Support_ProviderJCE extends Provider { 30 // Provider name 40 * Constructs a new instance of the dummy provider. 55 "made.up.provider.name.MessageDigestSHA"); 57 "made.up.provider.name.MessageDigestMD5"); 61 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 65 "made.up.provider.name.AlgorithmParametersDSA"); 69 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
Support_ProviderRSA.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_ProviderRSA extends Provider { 30 // Provider name 40 * Constructs a new instance of the dummy provider. 55 "made.up.provider.name.MessageDigestSHA"); 57 "made.up.provider.name.MessageDigestMD5"); 61 "made.up.provider.name.SecureRandomImpl"); 65 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 69 "made.up.provider.name.AlgorithmParametersDSA") [all...] |
Support_ProviderTrust.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_ProviderTrust extends Provider { 30 // Provider name 40 * Constructs a new instance of the dummy provider. 55 "made.up.provider.name.MessageDigestSHA"); 57 "made.up.provider.name.MessageDigestMD5"); 61 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 65 "made.up.provider.name.AlgorithmParametersDSA"); 69 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
Support_TestProvider.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_TestProvider extends Provider { 30 // Provider name 41 * Constructs a new instance of the dummy provider. 56 "made.up.provider.name.MessageDigestSHA"); 58 "made.up.provider.name.MessageDigestMD2"); 67 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 71 "made.up.provider.name.AlgorithmParametersDSA"); 78 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/external/guice/core/src/com/google/inject/internal/ |
ProviderToInternalFactoryAdapter.java | 19 import com.google.inject.Provider; 22 final class ProviderToInternalFactoryAdapter<T> implements Provider<T> {
|
LookupProcessor.java | 20 import com.google.inject.Provider; 51 // ensure the provider can be created 53 Provider<T> provider = injector.getProviderOrThrow(lookup.getDependency(), errors); local 54 lookup.initializeDelegate(provider);
|
/external/wycheproof/java/com/google/security/wycheproof/ |
OpenJDKAllTests.java | 3 import com.google.security.wycheproof.WycheproofRunner.Provider; 28 @Provider(ProviderType.OPENJDK)
|
BouncyCastleAllTests.java | 19 import com.google.security.wycheproof.WycheproofRunner.Provider; 22 import com.android.org.bouncycastle.jce.provider.BouncyCastleProvider; 48 @Provider(ProviderType.BOUNCY_CASTLE)
|
BouncyCastleTest.java | 20 import com.google.security.wycheproof.WycheproofRunner.Provider; 23 import com.android.org.bouncycastle.jce.provider.BouncyCastleProvider; 49 @Provider(ProviderType.BOUNCY_CASTLE)
|
ConscryptTest.java | 20 import com.google.security.wycheproof.WycheproofRunner.Provider; 29 * Conscrypt is a Java security provider that uses OpenSSL. See {@link https://conscrypt.org/}. 45 @Provider(ProviderType.CONSCRYPT)
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
BasicTest.java | 19 import java.security.Provider; 24 /** Not a true test: reports information about the provider. */ 29 for (Provider p : Security.getProviders()) { 31 System.out.println("Provider:" + p.getName());
|
/external/guice/core/src/com/google/inject/ |
ProvidedBy.java | 26 * A pointer to the default provider type for a type. 35 Class<? extends javax.inject.Provider<?>> value();
|
/external/guice/core/src/com/google/inject/spi/ |
ProviderKeyBinding.java | 23 * A binding to a provider key. To resolve injections, the provider key is first resolved, then that 24 * provider's {@code get} method is invoked. 32 * Returns the key used to resolve the provider's binding. That binding can be retrieved from an 36 Key<? extends javax.inject.Provider<? extends T>> getProviderKey();
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
TestScope.java | 22 import com.google.inject.Provider; 43 public <T> Provider<T> scope(final Key<T> key, final Provider<T> provider) { 44 return new Provider<T>() { 50 t = provider.get();
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/java/security/cert/ |
X509CertificateTest.java | 24 import java.security.Provider; 148 Provider[] providers = Security.getProviders("CertificateFactory.X509"); 149 for (Provider p : providers) { 170 Provider[] providers = Security.getProviders("CertificateFactory.X509"); 171 for (Provider p : providers) { 182 fail("Provider: " + p.getName());
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/java/security/cert/ |
X509CertificateTest.java | 25 import java.security.Provider; 152 Provider[] providers = Security.getProviders("CertificateFactory.X509"); 153 for (Provider p : providers) { 174 Provider[] providers = Security.getProviders("CertificateFactory.X509"); 175 for (Provider p : providers) { 186 fail("Provider: " + p.getName());
|
/external/guice/core/test/com/google/inject/util/ |
ProvidersTest.java | 21 import com.google.inject.Provider; 34 Provider<String> p = Providers.of(foo); 40 Provider<String> p = Providers.of(null); 63 private static class JavaxProvider implements javax.inject.Provider<Integer> { 86 private static class JavaxProviderWithDependencies implements javax.inject.Provider<Integer> {
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
CryptoUpcalls.java | 22 import java.security.Provider; 46 private static ArrayList<Provider> getExternalProviders(String algorithm) { 47 ArrayList<Provider> providers = new ArrayList<Provider>(1); 48 for (Provider p : Security.getProviders(algorithm)) { 54 logger.warning("Could not find external provider for algorithm: " + algorithm); 76 // try to get the most preferred provider as long as it isn't us. 89 logger.warning("Preferred provider doesn't support key:"); 94 // If the preferred provider was us, fall back to trying to find the 95 // first not-us provider that initializes correctly [all...] |
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
CryptoUpcalls.java | 23 import java.security.Provider; 47 private static ArrayList<Provider> getExternalProviders(String algorithm) { 48 ArrayList<Provider> providers = new ArrayList<Provider>(1); 49 for (Provider p : Security.getProviders(algorithm)) { 55 logger.warning("Could not find external provider for algorithm: " + algorithm); 77 // try to get the most preferred provider as long as it isn't us. 90 logger.warning("Preferred provider doesn't support key:"); 95 // If the preferred provider was us, fall back to trying to find the 96 // first not-us provider that initializes correctly [all...] |
/external/dagger2/core/src/test/java/dagger/internal/ |
SetFactoryTest.java | 24 import javax.inject.Provider; 41 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { 53 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { 65 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { 81 Factory<Set<Integer>> factory = SetFactory.create(new Provider<Set<Integer>>() { 115 private static Provider<Set<Integer>> incrementingIntegerProvider(int seed) { 117 return new Provider<Set<Integer>>() { 125 private static Provider<Set<Integer>> integerSetProvider(Range<Integer> range) { 127 return new Provider<Set<Integer>>() {
|
/external/dagger2/core/src/main/java/dagger/internal/ |
SetFactory.java | 23 import javax.inject.Provider; 31 * whose elements are populated by subsequent calls to their {@link Provider#get} methods. 54 * {@link Provider} instances. Callers must not modify the providers array after invoking this 58 @SuppressWarnings("unchecked") Provider<Set<T>>... providers) { 61 List<Provider<Set<T>>> contributingProviders = Arrays.asList(providers); 64 : "Codegen error? Null within provider list."; 66 : "Codegen error? Duplicates in the provider list"; 79 private final List<Provider<Set<T>>> contributingProviders; 81 private SetFactory(List<Provider<Set<T>>> contributingProviders) { 102 Provider<Set<T>> provider = contributingProviders.get(i) local [all...] |
/external/libchrome/base/ |
path_service.cc | 34 // PathProviderPosix is the default path provider on POSIX OSes other than 45 struct Provider { 47 struct Provider* next; 55 Provider base_provider = {PathProvider, nullptr, 62 Provider base_provider_win = { 74 Provider base_provider_mac = { 86 Provider base_provider_android = { 98 Provider base_provider_fuchsia = {PathProviderFuchsia, &base_provider, 107 Provider base_provider_posix = { 123 Provider* providers; // Linked list of path service providers [all...] |
/external/guice/extensions/mini/src/com/google/inject/mini/ |
MiniGuice.java | 35 import javax.inject.Provider; 48 private final Map<Key, Provider<?>> bindings = new HashMap<>(); 67 * <li>Injection of {@link Provider}s. 86 Provider<?> provider = miniGuice.bindings.get(key); local 87 return type.cast(provider.get()); 91 Map<Key, Provider<?>> providerBindings = new HashMap<>(); 92 for (final Map.Entry<Key, Provider<?>> binding : bindings.entrySet()) { 94 final Provider<?> value = binding.getValue(); 95 Provider<Provider<?>> providerProvider 122 Provider<?> provider = bindings.get(key); local [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
PlatformModule.java | 29 import javax.inject.Provider; 32 * Provider of a {@link Platform} instance appropriate for the current platform. 44 Provider<JvmPlatform> jvmPlatformProvider) {
|
/external/libcxx/test/support/ |
test_memory_resource.hpp | 50 using Provider = ProviderT; 101 mutable Provider P; 105 template <class Provider, int N> 106 int TestResourceImp<Provider, N>::resource_alive = 0; 108 template <class Provider, int N> 109 int TestResourceImp<Provider, N>::resource_constructed = 0; 111 template <class Provider, int N> 112 int TestResourceImp<Provider, N>::resource_destructed = 0;
|