/libcore/luni/src/main/java/java/security/ |
SecureRandom.java | 26 import org.apache.harmony.security.provider.crypto.SHA1PRNG_SecureRandomImpl; 33 * provider available: 40 * provider found in the installed security providers. Use {@link Security} 75 private final Provider provider; field in class:SecureRandom 89 Provider.Service service = Services.getSecureRandomService(); 91 this.provider = null; 96 this.provider = service.getProvider(); 117 * implementation from the specified provider. 121 * @param provider [all...] |
Signature.java | 45 // The provider 46 Provider provider; field in class:Signature 110 * algorithm from the specified provider. 114 * @param provider 115 * the name of the provider. 117 * algorithm from the specified provider. 121 * if the specified provider is not available. 124 * @throws IllegalArgumentException if {@code provider == null || provider.isEmpty() [all...] |
MessageDigest.java | 56 // The provider 57 private Provider provider; field in class:MessageDigest 93 Provider provider = sap.provider; local 97 result.provider = provider; 100 return new MessageDigestImpl((MessageDigestSpi) sap.spi, sap.provider, algorithm); 105 * specified algorithm from the specified provider [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
MessageDigest2Test.java | 26 import java.security.Provider; 39 private Map<Provider, List<String>> digestAlgs = new HashMap<Provider, List<String>>(); 80 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 242 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 255 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 287 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 299 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 311 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) { 330 for (Entry<Provider, List<String>> e : digestAlgs.entrySet()) [all...] |
Signature2Test.java | 30 import java.security.Provider; 113 * java.security.Provider) 117 Provider[] providers = Security.getProviders("Signature.DSA"); 126 Signature.getInstance((String) null, (Provider) null); 132 Signature.getInstance("DSA", (Provider) null); 156 Provider[] providers = Security.getProviders("Signature.DSA"); 168 Provider[] pp = Security.getProviders(); 227 Provider p = Signature.getInstance("DSA").getProvider(); 228 assertNotNull("provider is null", p); 277 Provider p = new MyProvider() [all...] |
/external/chromium_org/google_apis/gaia/ |
oauth2_token_service_request_unittest.cc | 152 class Provider : public OAuth2TokenServiceRequest::TokenServiceProvider { 154 Provider(const scoped_refptr<base::SingleThreadTaskRunner>& task_runner, 162 virtual ~Provider(); 180 new Provider(base::MessageLoopProxy::current(), oauth2_service_.get()); 188 OAuth2TokenServiceRequestTest::Provider::Provider( 195 OAuth2TokenServiceRequestTest::Provider::GetTokenServiceTaskRunner() { 199 OAuth2TokenService* OAuth2TokenServiceRequestTest::Provider::GetTokenService() { 203 OAuth2TokenServiceRequestTest::Provider::~Provider() { [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismTest.java | 27 import java.security.Provider; 59 * Assertion: creates new object using provider and mechanism name 62 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", 63 "Provider for ExemptionMechanism testing", 70 assertEquals("Incorrect provider", em.getProvider(), mProv); 85 assertNull("Incorrect provider", em.getProvider()); 97 * javax/crypto/ExemptionMechanism#getInstance(String algorithm, String provider) 122 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", 123 "Provider for ExemptionMechanism testing", 154 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider" [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Signature_Impl2Test.java | 35 * Provider 37 Provider p; 90 * Class under test for Signature getInstance(String, Provider) 93 Provider p1 = new MyProvider(); 99 * Class under test for Signature getInstance(String, Provider) 102 Provider p2 = new MyProvider(); 107 private void checkSig1(Signature s, Provider p) throws Exception { 157 private void checkSig2(Signature s, Provider p) throws Exception { 199 private class MyProvider extends Provider { 201 super("MyProvider", 1.0, "Provider for testing") [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
ExemptionMechanism.java | 26 import java.security.Provider; 41 // Store used provider 42 private final Provider provider; field in class:ExemptionMechanism 64 * @param provider 65 * the associated provider. 70 Provider provider, String mechanism) { 73 this.provider = provider; [all...] |
/external/chromium_org/chrome/browser/extensions/ |
default_apps_unittest.cc | 17 using default_apps::Provider; 46 Provider provider(profile.get(), NULL, loader, Manifest::INTERNAL, 51 EXPECT_TRUE(provider.ShouldInstallInProfile()); 56 EXPECT_FALSE(provider.ShouldInstallInProfile()); 64 EXPECT_FALSE(provider.ShouldInstallInProfile()); 71 EXPECT_TRUE(provider.ShouldInstallInProfile()); 82 Provider provider2(profile.get(), NULL, loader, Manifest::INTERNAL,
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismTest.java | 23 import java.security.Provider; 48 * Assertion: creates new object using provider and mechanism name 51 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", 52 "Provider for ExemptionMechanism testing", 60 assertEquals("Incorrect provider", em.getProvider(), mProv); 78 assertNull("Incorrect provider", em.getProvider()); 92 * @tests javax/crypto/ExemptionMechanism#getInstance(String algorithm, String provider) 111 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", 112 "Provider for ExemptionMechanism testing", 144 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider" [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator5Test.java | 23 import java.security.Provider;
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
AttentionExtension.java | 23 import org.jivesoftware.smack.provider.PacketExtensionProvider;
86 public static class Provider implements PacketExtensionProvider {
92 * org.jivesoftware.smack.provider.PacketExtensionProvider#parseExtension
|
OfflineMessageInfo.java | 24 import org.jivesoftware.smack.provider.PacketExtensionProvider; 91 public static class Provider implements PacketExtensionProvider { 94 * Creates a new Provider. 98 public Provider() {
|
SharedGroupsInfo.java | 23 import org.jivesoftware.smack.provider.IQProvider;
63 * Internal Search service Provider.
65 public static class Provider implements IQProvider {
68 * Provider Constructor.
70 public Provider() {
|
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data_provider_mac.h | 15 // OSExchangeData::Provider implementation for Mac. 17 : public OSExchangeData::Provider { 23 // Overridden from OSExchangeData::Provider: 24 virtual Provider* Clone() const OVERRIDE;
|
/external/conscrypt/src/test/java/org/conscrypt/ |
MacTest.java | 19 import java.security.Provider; 34 Provider p = Security.getProvider(OpenSSLProvider.PROVIDER_NAME);
|
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
AgentInfo.java | 23 import org.jivesoftware.smack.provider.IQProvider;
102 public static class Provider implements IQProvider {
104 public Provider() {
|
TranscriptSearch.java | 23 import org.jivesoftware.smack.provider.IQProvider;
61 public static class Provider implements IQProvider {
63 public Provider() {
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
Cipher_ImplTest.java | 27 import java.security.Provider; 43 private Provider p1; 44 private Provider p2; 182 * Class under test for Cipher getInstance(String, Provider) 213 * Class under test for Cipher getInstance(String, Provider) 285 private class MyProvider1 extends Provider { 293 private class MyProvider2 extends Provider {
|
/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) { 54 // KeyGenerator.getInstance(String, Provider) 55 KeyGenerator kg2 = KeyGenerator.getInstance(algorithm, provider); 57 assertEquals(provider, kg2.getProvider()) [all...] |
/packages/apps/Email/tests/src/com/android/email/activity/setup/ |
AccountSettingsUtilsTests.java | 23 import com.android.emailcommon.VendorPolicyLoader.Provider; 78 Provider testProvider; 79 // <provider id="gmail" label="Gmail" domain="gmail.com"> 82 // </provider> 90 // <provider id="rr-generic" label="RoadRunner" domain="*.rr.com"> 93 // </provider> 148 Provider testProvider; 149 // <provider id="cox" label="Cox" domain="cox.net"> 152 // </provider> 153 testProvider = new Provider(); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 23 import java.security.Provider; 177 Provider[] providers = Security.getProviders(); 178 for (Provider provider : providers) { 179 Set<Provider.Service> services = provider.getServices(); 180 for (Provider.Service service : services) { 194 provider); 196 assertEquals(provider, tmf.getProvider()); 202 provider.getName()) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathBuilder1Test.java | 34 import java.security.Provider; 63 private static Provider defaultProvider; 144 * Test for <code>getInstance(String algorithm, String provider)</code> method 145 * Assertion: throws IllegalArgumentException when provider is null or empty 147 * FIXME: verify what exception will be thrown if provider is empty 155 String provider = null; local 158 CertPathBuilder.getInstance(validValues[i], provider); 171 * Test for <code>getInstance(String algorithm, String provider)</code> method 173 * throws NoSuchProviderException when provider has invalid value 192 * Test for <code>getInstance(String algorithm, String provider)</code> metho 437 private static Provider provider; field in class:myCertPathBuilder [all...] |