/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
LocalProvider.java | 3 public class LocalProvider extends Provider {
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
SecurityAccess.java | 25 import java.security.Provider; 45 public List<String> getAliases(Provider.Service s); 48 * Access to Provider.getService(String type) 53 public Provider.Service getService(Provider p, String type);
|
Services.java | 20 import java.security.Provider; 41 private static final Map<String, Provider.Service> services 42 = new HashMap<String, Provider.Service>(600); 46 * Avoids similar provider/services iteration in SecureRandom constructor. 48 private static Provider.Service cachedSecureRandomService; 65 private static final List<Provider> providers = new ArrayList<Provider>(20); 68 * Hash for quick provider access by name. 70 private static final Map<String, Provider> providersNames = new HashMap<String, Provider>(20) 124 providersNames.put(provider.getName(), provider); local [all...] |
Engine.java | 26 import java.security.Provider; 31 * This class implements common functionality for Provider supplied 34 * {@code getInstance} and retreival of the selected {@code Provider} 35 * and Service Provider Interface (SPI) results. Retreiving the 47 * private final Provider provider; 51 * Provider provider, 54 * this.provider = provider; 111 public final Provider provider; field in class:Engine.SpiAndProvider [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
ProviderService_ImplTest.java | 24 import java.security.Provider; 31 * Tests for <code>Provider.Service</code> constructor and methods 40 Provider p = new MyProvider(); 41 Provider.Service s = new Provider.Service(p, "type", "algorithm", 44 "Provider MyProvider Service type.algorithm className", 52 s = new Provider.Service(p, "type", "algorithm", "className", 55 "Provider MyProvider Service type.algorithm className\n" 59 class MyProvider extends Provider { 61 super("MyProvider", 1.0, "Provider for testing") [all...] |
/external/smack/src/org/apache/qpid/management/common/sasl/ |
SaslProvider.java | 23 import java.security.Provider; 25 public class SaslProvider extends Provider
|
/frameworks/base/keystore/java/android/security/ |
AndroidKeyStoreProvider.java | 19 import java.security.Provider; 22 * A provider focused on providing JCA interfaces for the Android KeyStore. 26 public class AndroidKeyStoreProvider extends Provider { 30 super(PROVIDER_NAME, 1.0, "Android KeyStore security provider");
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
DRLCertFactory.java | 23 package org.apache.harmony.security.provider.cert; 25 import java.security.Provider; 27 public final class DRLCertFactory extends Provider { 34 * Constructs the instance of the certificate factory provider. 37 // specification of the provider name, version, and description. 40 put("CertificateFactory.X509", "org.apache.harmony.security.provider.cert.X509CertFactoryImpl");
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyProvider.java | 3 import java.security.Provider; 5 public class MyProvider extends Provider { 8 super("MyProvider", 1.0, "Test Provider 1.0");
|
SpiEngUtils.java | 26 import java.security.Provider; 47 public static Provider isSupport(String algorithm, String service) { 49 Provider[] provs = Security.getProviders(service.concat(".") 60 public class MyProvider extends Provider {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 26 import java.security.Provider; 27 import java.security.Provider.Service; 38 * Tests for <code>Provider.Service</code> constructor and methods 44 Provider p = new MyProvider(); 46 new Provider.Service(null, "type", "algorithm", "className", null, 48 fail("provider is null: No expected NullPointerException"); 52 new Provider.Service(p, null, "algorithm", "className", null, null); 57 new Provider.Service(p, "type", null, "className", null, null); 62 new Provider.Service(p, "type", "algorithm", null, null, null); 67 Provider.Service s = new Provider.Service(p, "type", "algorithm" [all...] |
Provider2Test.java | 22 import java.security.Provider; 27 class TestProvider extends Provider { 52 * java.security.Provider#entrySet() 55 // test method of java.security.provider.entrySet 67 * java.security.Provider#getInfo() 70 // test method of java.security.provider.getInfo 71 assertEquals("the information of the provider is not stored properly", 77 * java.security.Provider#getName() 80 // test method of java.security.provider.getName 81 assertEquals("the name of the provider is not stored properly" [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 24 import java.security.Provider; 34 * Tests for <code>Provider.Service</code> constructor and methods 40 Provider p = new MyProvider(); 42 new Provider.Service(null, "type", "algorithm", 44 fail("provider is null: No expected NullPointerException"); 48 new Provider.Service(p, null, "algorithm", 54 new Provider.Service(p, "type", null, 60 new Provider.Service(p, "type", "algorithm", 66 Provider.Service s = new Provider.Service(p [all...] |
Provider2Test.java | 22 import java.security.Provider; 27 class TestProvider extends Provider { 52 * @tests java.security.Provider#entrySet() 55 // test method of java.security.provider.entrySet 67 * @tests java.security.Provider#getInfo() 70 // test method of java.security.provider.getInfo 71 assertEquals("the information of the provider is not stored properly", 77 * @tests java.security.Provider#getName() 80 // test method of java.security.provider.getName 81 assertEquals("the name of the provider is not stored properly" [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
MyProvider.java | 24 import java.security.Provider; 28 * Provider for testing 30 public class MyProvider extends Provider { 32 super("MyProvider", 1.0, "Provider for testing");
|
ServicesTest.java | 24 import java.security.Provider; 37 Provider p = new MyProvider(); 39 Provider ap = new AnotherProvider(); 42 Provider.Service serv = Services.getService("Service.ALGORITHM"); 58 Provider p = new MyProvider(); 61 Provider.Service serv = Services.getService("Service.ALGORITHM"); 76 class AnotherProvider extends Provider { 78 super("MyProvider", 1.0, "Provider for testing");
|
EngineTest.java | 25 import java.security.Provider; 48 Provider p = new MyProvider(); 55 if (engine.provider != p) { 56 fail("Incorrect provider"); 67 Provider p = new MyProvider(); 77 * Class under test for SpiImpl getInstance(String, Provider, Object) 80 Provider p = new MyProvider(); 86 if (engine.provider != p) { 87 fail("Incorrect provider"); 95 * Class under test for SpiImpl getInstance(String, Provider, Object [all...] |
/external/chromium_org/extensions/browser/ |
management_policy.h | 30 // the methods of this Provider interface that it needs. In each case, if the 31 // provider does not need to control a certain action, that method does not 34 // It is not guaranteed that a particular Provider's methods will be called 39 // For all of the Provider methods below, if |error| is not NULL and the 42 class Provider { 44 Provider() {} 45 virtual ~Provider() {} 47 // A human-readable name for this provider, for use in debug messages. 78 DISALLOW_COPY_AND_ASSIGN(Provider); 84 // Registers or unregisters a provider, causing it to be added to or remove [all...] |
management_policy.cc | 27 bool ManagementPolicy::Provider::UserMayLoad(const Extension* extension, 32 bool ManagementPolicy::Provider::UserMayModifySettings( 37 bool ManagementPolicy::Provider::MustRemainEnabled(const Extension* extension, 42 bool ManagementPolicy::Provider::MustRemainDisabled( 49 void ManagementPolicy::RegisterProvider(Provider* provider) { 50 providers_.insert(provider); 53 void ManagementPolicy::UnregisterProvider(Provider* provider) { 54 providers_.erase(provider); 101 const Provider* provider = *it; local [all...] |
/external/chromium_org/chrome/browser/extensions/ |
default_apps.h | 42 class Provider : public extensions::ExternalProviderImpl { 44 Provider(Profile* profile, 61 DISALLOW_COPY_AND_ASSIGN(Provider);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
SpiEngUtils.java | 26 import java.security.Provider; 48 public static Provider isSupport(String algorithm, String service) { 50 Provider[] provs = Security.getProviders(service.concat(".") 61 public class MyProvider extends Provider {
|
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/ |
SpiEngUtils.java | 24 import java.security.Provider; 46 public static Provider isSupport(String algorithm, String service) { 48 Provider[] provs = Security.getProviders(service.concat(".") 59 public class MyProvider extends Provider {
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
VSyncManager.java | 9 * Interface for requesting notification of the display vsync signal. The provider will call 13 public static interface Provider {
|
/libcore/crypto/src/main/java/org/conscrypt/ |
JSSEProvider.java | 20 import java.security.Provider; 23 * JSSE Provider implementation. 34 * Provider implementation supports the following cipher suites: 66 * provider. 76 * Also the current JSSE provider implementation uses the following 79 * Algorithms that MUST be provided by crypto provider: 103 public final class JSSEProvider extends Provider { 108 super("HarmonyJSSE", 1.0, "Harmony JSSE Provider");
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
ECDHKeyAgreementTest.java | 32 import java.security.Provider; 86 throw new RuntimeException("Failed to decode KAT key pairs using default provider", e); 96 for (Provider keyFactoryProvider1 : getKeyFactoryProviders()) { 99 for (Provider keyFactoryProvider2 : getKeyFactoryProviders()) { 104 for (Provider keyAgreementProvider : getKeyAgreementProviders()) { 123 Provider keyAgreementProvider) throws Exception { 134 void testGetAlgorithm(Provider provider) throws Exception { 135 assertEquals("ECDH", getKeyAgreement(provider).getAlgorithm()); 142 void testGetProvider(Provider provider) throws Exception [all...] |