HomeSort by relevance Sort by last modified time
    Searched refs:getProvider (Results 26 - 50 of 270) sorted by null

12 3 4 5 6 7 8 91011

  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
SecureRandom2Test.java 39 assertNotNull(sr1.getProvider());
42 assertNotNull(sr2.getProvider());
47 assertEquals(p, sr3.getProvider());
50 assertNotNull(random.getProvider());
101 assertEquals(p, sr.getProvider());
AlgorithmParameterGenerator1Test.java 228 assertEquals("Incorrect provider", apg.getProvider().getName(),
299 assertEquals("Incorrect provider", apg.getProvider(), validProvider);
367 assertEquals("Incorrect provider",apg.getProvider(),validProvider);
376 assertNull("Incorrect provider", apg.getProvider());
  /cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java 82 LocationProvider lp = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
108 LocationProvider provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
123 LocationProvider provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
142 provider = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
209 LocationProvider p = mManager.getProvider(TEST_MOCK_PROVIDER_NAME);
213 p = mManager.getProvider(LocationManager.GPS_PROVIDER);
221 p = mManager.getProvider(UNKNOWN_PROVIDER_NAME);
225 mManager.getProvider(null);
386 assertEquals(providerName, location.getProvider());
438 assertEquals(TEST_MOCK_PROVIDER_NAME, location.getProvider());
    [all...]
  /libcore/luni/src/main/java/java/security/
MessageDigest.java 126 Provider p = Security.getProvider(provider);
327 public final Provider getProvider() {
425 return new MessageDigestImpl(spi, getProvider(), getAlgorithm());
SecureRandom.java 96 this.provider = service.getProvider();
184 Provider p = Security.getProvider(provider);
224 public final Provider getProvider() {
AlgorithmParameters.java 125 Provider p = Security.getProvider(provider);
165 public final Provider getProvider() {
KeyPairGenerator.java 118 Provider impProvider = Security.getProvider(provider);
163 public final Provider getProvider() {
Security.java 127 if (getProvider(provider.getName()) != null) {
171 p = getProvider(name);
199 public static synchronized Provider getProvider(String name) {
200 return Services.getProvider(name);
  /libcore/luni/src/test/java/tests/security/cert/
CertPathBuilder1Test.java 231 assertEquals("Incorrect provider name", certPB.getProvider().getName(), defaultProviderName);
294 assertEquals("Incorrect provider name", certPB.getProvider(), defaultProvider);
353 assertEquals("Incorrect provider", certPB.getProvider(), defaultProvider);
361 assertNull("Incorrect provider", certPB.getProvider());
405 * Test for <code>getProvider()</code> method Assertion: returns
417 assertEquals("Incorrect provider", cpb2.getProvider(),
423 assertEquals("Incorrect provider", cpb3.getProvider(),
CertPathValidator1Test.java 249 assertEquals("Incorrect provider name", certPV.getProvider()
316 assertEquals("Incorrect provider name", certPV.getProvider(),
366 assertEquals("Incorrect provider", certPV.getProvider(), defaultProvider);
375 assertNull("Incorrect provider", certPV.getProvider());
413 * Test for <code>getProvider()</code> method
427 assertEquals("Incorrect provider", certPV.getProvider(),
435 assertEquals("Incorrect provider", certPV.getProvider(),
  /external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/
ExemptionMechanismTest.java 60 assertEquals("Incorrect provider", em.getProvider(), mProv);
75 assertNull("Incorrect provider", em.getProvider());
  /frameworks/base/test-runner/src/android/test/
ProviderTestCase2.java 113 public T getProvider() {
145 mResolver.addProvider(mProviderAuthority, getProvider());
  /libcore/luni/src/main/java/java/security/cert/
CertStore.java 145 Provider impProvider = Security.getProvider(provider);
207 public final Provider getProvider() {
CertificateFactory.java 122 Provider impProvider = Security.getProvider(provider);
169 public final Provider getProvider() {
  /libcore/luni/src/main/java/javax/crypto/
KeyAgreement.java 84 public final Provider getProvider() {
133 Provider impProvider = Security.getProvider(provider);
KeyGenerator.java 82 public final Provider getProvider() {
131 Provider impProvider = Security.getProvider(provider);
  /libcore/luni/src/main/java/javax/net/ssl/
KeyManagerFactory.java 105 Provider impProvider = Security.getProvider(provider);
180 public final Provider getProvider() {
SSLContext.java 128 Provider impProvider = Security.getProvider(provider);
199 public final Provider getProvider() {
  /packages/apps/Browser/tests/src/com/android/browser/tests/utils/
ProviderTestCase3.java 97 public T getProvider() {
137 mResolver.addProvider(auth, getProvider());
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
AlgorithmParameterGenerator1Test.java 229 assertEquals("Incorrect provider", apg.getProvider().getName(),
300 assertEquals("Incorrect provider", apg.getProvider(), validProvider);
360 assertEquals("Incorrect provider",apg.getProvider(),validProvider);
369 assertNull("Incorrect provider", apg.getProvider());
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathBuilder1Test.java 250 assertEquals("Incorrect provider name", certPB.getProvider().getName(), defaultProviderName);
313 assertEquals("Incorrect provider name", certPB.getProvider(), defaultProvider);
354 assertEquals("Incorrect provider", certPB.getProvider(), defaultProvider);
362 assertNull("Incorrect provider", certPB.getProvider());
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/
ServicesTest.java 46 if (serv.getProvider() != p ||
  /frameworks/base/core/java/android/webkit/
WebViewFactory.java 77 static WebViewFactoryProvider getProvider() {
  /libcore/crypto/src/test/java/org/conscrypt/
MacTest.java 34 Provider p = Security.getProvider(OpenSSLProvider.PROVIDER_NAME);
  /libcore/luni/src/test/java/tests/java/security/
SecureRandomTest.java 103 sr.getProvider()!= p) {
132 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) {
142 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) {
205 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) {

Completed in 181 milliseconds

12 3 4 5 6 7 8 91011