HomeSort by relevance Sort by last modified time
    Searched full:provider (Results 151 - 175 of 5016) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyAgreement_Impl1Test.java 26 import java.security.Provider;
47 private static Provider defaultProvider = null;
51 private static final String NotSupportMsg = "There is no suitable provider for KeyAgreement";
75 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider);
81 assertNull("Provider must be null", keyA.getProvider());
96 public myKeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider,
98 super(keyAgreeSpi, provider, algorithm);
SecretKeyFactory_ImplTest.java 27 import java.security.Provider;
61 Provider mProv;
65 mProv = (new SpiEngUtils()).new MyProvider("MySKFProvider", "Testing provider",
119 assertEquals("Incorrect provider", skf.getProvider(), mProv);
125 * Test for <code>getInstance(String algorithm, String provider)</code>
130 * throws IllegalArgumentException when provider is null or empty;
131 * throws NoSuchProviderException when provider is available;
156 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
162 fail("IllegalArgumentException must be thrown when provider is empty (algorithm: "
171 .concat(invalidValues[i]).concat(" provider: "
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/
ServicesTest.java 24 import java.security.Provider;
36 Provider p = new MyProvider();
38 Provider ap = new AnotherProvider();
41 Provider.Service serv = Services.getService("Service.ALGORITHM");
57 Provider p = new MyProvider();
60 Provider.Service serv = Services.getService("Service.ALGORITHM");
75 class AnotherProvider extends Provider {
77 super("MyProvider", 1.0, "Provider for testing");
  /frameworks/base/tests/RemoteDisplayProvider/
README 11 To exercise the provider, use System UI features for connecting to
16 used as an example implementation of a robust remote display provider.
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
MediaRouteProvider.java 34 * The purpose of a media route provider is to discover media routes that satisfy
39 * The provider should watch for changes to the discovery request by implementing
46 * A media route provider may be used privately within the scope of a single
48 * to add it to the local {@link MediaRouter}. A media route provider may also be made
50 * in the provider's manifest. When the media route provider is registered
52 * discover and used the provider's routes without having to install anything else.
74 * Creates a media route provider.
96 * Gets the context of the media route provider.
103 * Gets the provider's handler which is associated with the main thread
    [all...]
  /frameworks/base/location/lib/java/com/android/location/provider/
LocationProviderBase.java 17 package com.android.location.provider;
42 * <p>The network location provider must export a service with action
47 * <p>The fused location provider must export a service with action
71 * Name of the Fused location provider.
73 * <p>This provider combines inputs for all possible location sources
128 * Used by the location provider to report new locations.
140 // never crash provider, might be running in a system process
146 * Enable the location provider.
147 * <p>The provider may initialize resources, but does
153 * Disable the location provider
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ecf.provider.filetransfer.httpclient_4.0.0.v20100529-0735.jar 
  /prebuilts/devtools/tools/lib/
jython-standalone-2.5.3.jar 
  /prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/
jython-standalone-2.5.3.jar 
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
TrustManagerFactory1Test.java 25 import java.security.Provider;
49 private static Provider defaultProvider = null;
53 private static final String NotSupportedMsg = "There is no suitable provider for TrustManagerFactory";
164 * Test for <code>getInstance(String algorithm, String provider)</code>
166 * Assertion: throws IllegalArgumentException when provider is null
175 String provider = null; local
178 TrustManagerFactory.getInstance(validValues[i], provider);
179 fail("IllegalArgumentException must be thrown when provider is null");
184 fail("IllegalArgumentException must be thrown when provider is empty");
191 * Test for <code>getInstance(String algorithm, String provider)</code
278 Provider provider = null; local
    [all...]
KeyManagerFactory1Test.java 25 import java.security.Provider;
50 private static Provider defaultProvider = null;
54 private static final String NotSupportedMsg = "There is no suitable provider for KeyManagerFactory";
166 * Test for <code>getInstance(String algorithm, String provider)</code>
168 * Assertion: throws IllegalArgumentException when provider is null or empty
176 String provider = null; local
179 KeyManagerFactory.getInstance(validValues[i], provider);
180 fail("Expected IllegalArgumentException was not thrown for null provider");
185 fail("Expected IllegalArgumentException was not thrown for empty provider");
192 * Test for <code>getInstance(String algorithm, String provider)</code
278 Provider provider = null; local
    [all...]
  /frameworks/base/docs/html/tools/testing/
contentprovider_testing.jd 1 page.title=Content Provider Testing
11 <a href="#DesignAndTest">Content Provider Design and Testing</a>
14 <a href="#ContentProviderTestAPI">The Content Provider Testing API</a>
77 <h2 id="DesignAndTest">Content Provider Design and Testing</h2>
80 tables of data, with their internals hidden from view. A content provider may have many
82 This suggests that you should write your tests based only on the provider's public members.
83 A content provider that is designed like this is offering a contract between itself and its
88 {@link android.test.ProviderTestCase2}, allows you to test your content provider in an
93 As with other Android tests, provider test packages are run under the control of the test
103 <h2 id="ContentProviderTestAPI">Content Provider Testing API</h2
    [all...]
  /frameworks/base/docs/html/training/articles/
security-gms-provider.jd 1 page.title=Updating Your Security Provider to Protect Against SSL Exploits
11 <li><a href="#patching">Patching the Security Provider with
32 <p> Android relies on a security {@link java.security.Provider Provider} to
34 vulnerabilities are found in the default security provider. To protect against
36 services</a> provides a way to automatically update a device's security provider
50 java.security.Provider Provider} does <em>not</em> update {@link
59 <h2 id="patching">Patching the Security Provider with ProviderInstaller</h2>
61 <p>To update a device's security provider, use th
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/
AbstractSelectorTest.java 34 * @tests AbstractSelector#provider()
38 .provider());
40 assertSame(SelectorProvider.provider(), mockSelector.provider());
42 assertNull(mockSelector.provider());
50 SelectorProvider.provider());
61 SelectorProvider.provider());
68 mockSelector = new MockAbstractSelector(SelectorProvider.provider());
104 Selector acceptSelector = SelectorProvider.provider().openSelector();
114 Selector acceptSelector = SelectorProvider.provider().openSelector()
    [all...]
  /frameworks/base/location/java/android/location/
LocationManager.java 75 * Name of the network location provider.
76 * <p>This provider determines location based on
83 * Name of the GPS location provider.
85 * <p>This provider determines location using
86 * satellites. Depending on conditions, this provider may take a while to return
90 * <p> The extras Bundle for the GPS location provider can contain the
99 * A special location provider for receiving locations without actually initiating
102 * <p>This provider can be used to passively receive location updates
104 * the locations yourself. This provider will return locations generated by other
108 * not enabled this provider might only return coarse fixes
289 String provider = b.getString("provider"); local
    [all...]
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
KeyGeneratorTest.java 28 import java.security.Provider;
61 private static Provider defaultProvider = null;
65 private static final String NotSupportMsg = "There is no suitable provider for KeyGenerator";
116 assertEquals("Incorrect provider", keyG.getProvider(), defaultProvider);
131 assertNull("Provider must be null", keyG.getProvider());
184 * Test for <code> getInstance(String algorithm, String provider)</code> method
212 * Test for <code> getInstance(String algorithm, String provider)</code> method
214 * throws IllegalArgumentException when provider is null or empty
215 * throws NoSuchProviderException when provider has not be configured
223 String provider = null local
303 Provider provider = null; local
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathBuilder1Test.java 27 import java.security.Provider;
67 private static Provider defaultProvider;
166 * Test for <code>getInstance(String algorithm, String provider)</code> method
167 * Assertion: throws IllegalArgumentException when provider is null or empty
169 * FIXME: verify what exception will be thrown if provider is empty
177 String provider = null; local
180 CertPathBuilder.getInstance(validValues[i], provider);
193 * Test for <code>getInstance(String algorithm, String provider)</code> method
195 * throws NoSuchProviderException when provider has invalid value
215 * Test for <code>getInstance(String algorithm, String provider)</code> metho
    [all...]
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.ecf.provider.filetransfer.httpclient4_1.0.300.v20130604-1622.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.ecf.provider.filetransfer.httpclient4_1.0.300.v20130604-1622.jar 
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
SecurityTest.java 28 import java.security.Provider;
67 * @tests java.security.Security#insertProviderAt(Provider, int)
77 Provider p = new MyProvider();
79 Provider initialSecondProviderName = Security.getProviders()[1];
83 // Insert at position -1, the provider is inserted at the end
87 // A provider cannot be added if it is already installed
102 assertSame(initialSecondProviderName, // provider shifted down
110 * @tests java.security.Security#addProvider(Provider)
120 Provider p = new MyProvider();
128 // A provider cannot be added if it is already installe
    [all...]
  /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...]
X509V1CertificateGenerator.java 37 import org.bouncycastle.jce.provider.X509CertificateObject;
182 * using the default provider "BC".
195 throw new SecurityException("BC provider not installed!");
201 * using the default provider "BC" and the passed in source of randomness
215 throw new SecurityException("BC provider not installed!");
221 * using the passed in provider for the signing, and the passed in source
227 String provider)
230 return generateX509Certificate(key, provider, null);
235 * using the passed in provider for the signing, and the passed in source
241 String provider,
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
AlgorithmParameterGenerator1Test.java 31 import java.security.Provider;
57 private static Provider validProvider = null;
131 * Test for <code>getInstance(String algorithm, String provider)</code>
134 * throws IllegalArgumentException if provider is null or empty
142 String provider = null; local
145 AlgorithmParameterGenerator.getInstance(algs[i], provider);
146 fail("IllegalArgumentException must be thrown when provider is null");
151 fail("IllegalArgumentException must be thrown when provider is empty");
158 * Test for <code>getInstance(String algorithm, String provider)</code>
160 * Assertion: throws NoSuchProviderException if provider is no
244 Provider provider = null; local
    [all...]
ProviderTest.java 32 import java.security.Provider;
35 import java.security.Provider.Service;
46 * Tests for <code>Provider</code> constructor and methods
54 * destroys the existing provider infrastructure.
57 Provider[] storedProviders;
59 Provider p;
78 for (Provider p: Security.getProviders()) {
82 for (Provider p: storedProviders) {
90 * Class under test for void Provider()
93 if (!p.getProperty("Provider.id name").equals
    [all...]
  /frameworks/base/docs/html/guide/topics/providers/
calendar-provider.jd 1 page.title=Calendar Provider
51 <li>{@link android.provider.CalendarContract.Calendars}</li>
52 <li>{@link android.provider.CalendarContract.Events}</li>
53 <li>{@link android.provider.CalendarContract.Attendees}</li>
54 <li>{@link android.provider.CalendarContract.Reminders}</li>
59 <p>The Calendar Provider is a repository for a user's calendar events. The
60 Calendar Provider API allows you to perform query, insert, update, and delete
64 <p>The Calender Provider API can be used by applications and sync adapters. The
66 focuses primarily on using the Calendar Provider API as an application. For
74 Provider offers a set of intents, as described in <a href="#intents">Calenda
    [all...]

Completed in 905 milliseconds

1 2 3 4 5 67 8 91011>>