/external/apache-harmony/support/src/test/java/tests/support/ |
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...] |
/external/guice/core/src/com/google/inject/internal/ |
ProvidedByInternalFactory.java | 24 import com.google.inject.Provider; 37 private final Class<? extends Provider<?>> providerType; 38 private final Key<? extends Provider<T>> providerKey; 39 private BindingImpl<? extends Provider<T>> providerBinding; 44 Class<? extends Provider<?>> providerType, 45 Key<? extends Provider<T>> providerKey) { 68 Provider<? extends T> provider = providerBinding.getInternalFactory().get( local 70 return circularGet(provider, errors, context, dependency, provisionCallback); 77 protected T provision(javax.inject.Provider<? extends T> provider, Errors errors [all...] |
/external/wycheproof/java/com/google/security/wycheproof/ |
OpenJDKAllTests.java | 3 import com.google.security.wycheproof.WycheproofRunner.Provider; 28 @Provider(ProviderType.OPENJDK)
|
/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());
|
/frameworks/base/core/java/android/security/net/config/ |
NetworkSecurityConfigProvider.java | 21 import java.security.Provider; 24 public final class NetworkSecurityConfigProvider extends Provider { 30 super("AndroidNSSP", 1.0, "Android Network Security Policy Provider"); 40 throw new RuntimeException("Failed to install provider as highest priority provider." 41 + " Provider was installed at position " + pos);
|
/libcore/benchmarks/src/benchmarks/regression/ |
ProviderBenchmark.java | 19 import java.security.Provider; 41 private static class MockProvider extends Provider {
|
/libcore/support/src/test/java/tests/support/ |
Support_ProviderTrust.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 28 public class Support_ProviderTrust extends Provider { 31 // Provider name 41 * Constructs a new instance of the dummy provider. 57 "made.up.provider.name.MessageDigestSHA"); 59 "made.up.provider.name.MessageDigestMD5"); 63 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 67 "made.up.provider.name.AlgorithmParametersDSA"); 71 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SecurityTest.java | 26 import java.security.Provider; 39 * java.security.Security#insertProviderAt(Provider, int) 49 Provider p = new MyProvider(); 52 Provider initialSecondProviderName = Security.getProviders()[1]; 56 // Insert at position -1, the provider is inserted at the end 60 // A provider cannot be added if it is already installed 75 assertSame(initialSecondProviderName, // provider shifted down 83 * java.security.Security#addProvider(Provider) 93 Provider p = new MyProvider(); 102 // A provider cannot be added if it is already installe 118 Provider provider = new MyProvider(); local 357 MyProvider provider = new MyProvider(); local [all...] |
/external/guice/core/src/com/google/inject/ |
ProvidedBy.java | 26 * A pointer to the default provider type for a type. 37 Class<? extends 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();
|
ProviderLookup.java | 25 import com.google.inject.Provider; 31 * A lookup of the provider for a type. Lookups are created explicitly in a module using 34 * Provider<PaymentService> paymentServiceProvider 43 private Provider<T> delegate; 73 * Sets the actual provider. 77 public void initializeDelegate(Provider<T> delegate) { 87 * Returns the delegate provider, or {@code null} if it has not yet been initialized. The delegate 90 public Provider<T> getDelegate() { 95 * Returns the looked up provider. The result is not valid until this lookup has been initialized, 96 * which usually happens when the injector is created. The provider will throw an {@cod [all...] |
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
TestScope.java | 22 import com.google.inject.Provider; 42 public <T> Provider<T> scope( 43 final Key<T> key, final Provider<T> provider) { 44 return new Provider<T>() { 49 t = provider.get();
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
GridTest.java | 23 static class Provider implements Grid.Provider { 29 Provider(int[] items) { 80 Provider mProvider;
|
/system/update_engine/update_manager/ |
shill_provider.h | 23 #include "update_engine/update_manager/provider.h" 28 // Provider for networking related information. 29 class ShillProvider : public Provider {
|
system_provider.h | 20 #include "update_engine/update_manager/provider.h" 25 // Provider for system information, mostly constant, such as the information 27 class SystemProvider : public Provider {
|
/libcore/ojluni/src/main/java/java/security/ |
AlgorithmParameters.java | 172 // The provider 173 private Provider provider; field in class:AlgorithmParameters 175 // The provider implementation (delegate) 188 * @param provider the provider 192 Provider provider, String algorithm) 195 this.provider = provider; [all...] |
Security.java | 66 Provider provider; field in class:Security.ProviderProperty 127 props.put("security.provider.1", "sun.security.provider.Sun"); 128 props.put("security.provider.2", "sun.security.rsa.SunRsaSign"); 129 props.put("security.provider.3", "com.sun.net.ssl.internal.ssl.Provider"); 130 props.put("security.provider.4", "com.sun.crypto.provider.SunJCE"); 131 props.put("security.provider.5", "sun.security.jgss.SunProvider") [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
CryptoUpcalls.java | 22 import java.security.Provider; 43 private static boolean isOurProvider(Provider p) { 50 private static ArrayList<Provider> getExternalProviders(String algorithm) { 51 ArrayList<Provider> providers = new ArrayList<Provider>(1); 52 for (Provider p : Security.getProviders(algorithm)) { 58 logger.warning("Could not find external provider for algorithm: " + algorithm); 85 // try to get the most preferred provider as long as it isn't us. 98 logger.warning("Preferred provider doesn't support key:"); 103 // If the preferred provider was us, fall back to trying to find th [all...] |
/libcore/ojluni/src/main/java/sun/security/jca/ |
ProviderConfig.java | 36 * Class representing a configured provider. Encapsulates configuration 37 * (className plus optional argument), the provider loading logic, and 38 * the loaded Provider object itself. 48 // classname of the SunPKCS11-Solaris provider 52 // config file argument of the SunPKCS11-Solaris provider 56 // maximum number of times to try loading a provider before giving up 59 // parameters for the Provider(String) constructor, 63 // name of the provider class 66 // argument to the provider constructor, 70 // number of times we have already tried to load this provider 74 private volatile Provider provider; field in class:ProviderConfig [all...] |
ProviderList.java | 31 import java.security.Provider.Service; 34 * List of Providers. Used to represent the provider preferences. 63 private final static Provider[] P0 = new Provider[0]; 68 // dummy provider object to use during initialization 70 private static final Provider EMPTY_PROVIDER = 71 new Provider("##Empty##", 1.0d, "initialization in progress") { 80 // (static provider configuration in the java.security file) 91 public static ProviderList add(ProviderList providerList, Provider p) { 95 public static ProviderList insertAt(ProviderList providerList, Provider p [all...] |
/external/guice/core/test/com/google/inject/util/ |
ProvidersTest.java | 21 import com.google.inject.Provider; 36 Provider<String> p = Providers.of(foo); 42 Provider<String> p = Providers.of(null); 71 private static class JavaxProvider implements javax.inject.Provider<Integer> { 91 private static class JavaxProviderWithDependencies implements javax.inject.Provider<Integer> {
|
/libcore/ojluni/src/main/java/java/security/cert/ |
CertPathBuilder.java | 33 import java.security.Provider; 43 * This class uses a provider-based architecture. 47 * the name of the provider desired. 100 * Unless otherwise documented by a specific provider, threads that need to 124 private final Provider provider; field in class:CertPathBuilder 129 * and encapsulates the given provider implementation (SPI object) in it. 131 * @param builderSpi the provider implementation 132 * @param provider the provider [all...] |
CertPathValidator.java | 33 import java.security.Provider; 44 * This class uses a provider-based architecture. 48 * optionally the name of the provider desired. 100 * Unless otherwise documented by a specific provider, threads that need to 123 private final Provider provider; field in class:CertPathValidator 128 * and encapsulates the given provider implementation (SPI object) in it. 130 * @param validatorSpi the provider implementation 131 * @param provider the provider [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
ProviderTest.java | 22 import java.security.Provider; 100 Provider[] providers = Security.getProviders(); 101 for (Provider provider : providers) { 102 String providerName = provider.getName(); 103 // ignore BouncyCastle provider if it is installed on the RI 107 Set<Provider.Service> services = provider.getServices(); 111 Set<Provider.Service> originalServices = services; 112 services = new TreeSet<Provider.Service> 473 Provider provider = new MockProvider("MockProvider") { local 491 Provider provider = new MockProvider("MockProvider") { local 518 Provider provider = new MockProvider("MockProvider") { local 540 Provider provider = new MockProvider("MockProvider") { local 559 Provider provider = new MockProvider("MockProvider") { local 581 Provider provider = new MockProvider("MockProvider") { local 603 Provider provider = new MockProvider("MockProvider") { local 622 Provider provider = new MockProvider("MockProvider") { local 641 Provider provider = new MockProvider("MockProvider") { local 660 Provider provider = new MockProvider("MockProvider") { local 679 Provider provider = new MockProvider("MockProvider") { local 698 MockProvider provider = new MockProvider("MockProvider"); local 721 MockProvider provider = new MockProvider("MockProvider"); local 741 MockProvider provider = new MockProvider("MockProvider"); local 768 Provider provider = new MockProvider("MockProvider") { local 794 Provider provider = new MockProvider("MockProvider") { local 811 MockProvider provider = new MockProvider("MockProvider"); local 1061 private final Provider provider; field in class:ProviderTest.ProviderAndOperationParameter [all...] |