/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | Cipher_ImplTest.java | 93 assertSame(p2, c.getProvider()); in testGetInstanceString1() 103 assertSame("Case1:", p1, c.getProvider()); in testGetInstanceString2() 108 assertSame("Case2:", p2, c.getProvider()); in testGetInstanceString2() 175 assertSame("Case1:", p2, c.getProvider()); in testGetInstanceStringString2() 178 assertSame("Case2:", p2, c.getProvider()); in testGetInstanceStringString2() 219 assertSame("Case1:", p2, c.getProvider()); in testGetInstanceStringProvider2() 222 assertSame("Case2:", p2, c.getProvider()); in testGetInstanceStringProvider2()
|
D | KeyAgreement_Impl1Test.java | 75 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider); in testKeyAgreement() 81 assertNull("Provider must be null", keyA.getProvider()); in testKeyAgreement()
|
D | SecretKeyFactory_ImplTest.java | 119 assertEquals("Incorrect provider", skf.getProvider(), mProv); in testGetInstance01() 183 assertEquals("Incorrect provider", skf.getProvider().getName(), in testGetInstance02() 229 assertEquals("Incorrect provider", skf.getProvider(), mProv); in testGetInstance03()
|
D | KeyAgreement_ImplTest.java | 148 assertEquals("Incorrect provider", keyAgr.getProvider(), mProv); in testGetInstance01() 213 assertEquals("Incorrect provider", keyAgr.getProvider().getName(), in testGetInstance02() 260 assertEquals("Incorrect provider", keyAgr.getProvider(), mProv); in testGetInstance03()
|
D | KeyGenerator_ImplTest.java | 152 assertEquals("Incorrect provider", keyGen.getProvider(), mProv); in testGetInstance01() 216 assertEquals("Incorrect provider", keyGen.getProvider().getName(), in testGetInstance02() 262 assertEquals("Incorrect provider", keyGen.getProvider(), mProv); in testGetInstance03()
|
D | Mac_ImplTest.java | 151 assertEquals("Incorrect provider", keyAgr.getProvider(), mProv); in testGetInstance01() 212 assertEquals("Incorrect provider", keyAgr.getProvider().getName(), in testGetInstance02() 259 assertEquals("Incorrect provider", keyAgr.getProvider(), mProv); in testGetInstance03()
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
D | SecureRandomTest.java | 90 sr.getProvider() != p) { in testSecureRandom() 116 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) { in testGetInstanceString() 126 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) { in testGetInstanceStringString() 137 if (sr.getProvider() != p || !"someRandom".equals(sr.getAlgorithm())) { in testGetInstanceStringProvider()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
D | BCJcaJceHelper.java | 16 if (Security.getProvider("BC") != null) in getBouncyCastleProvider() 18 return Security.getProvider("BC"); in getBouncyCastleProvider()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
D | ShadowContentResolver.java | 95 ContentProvider provider = getProvider(url); 107 ContentProvider provider = getProvider(uri); 120 ContentProvider provider = getProvider(uri); 137 ContentProvider provider = getProvider(url); 149 ContentProvider provider = getProvider(url); 250 public static ContentProvider getProvider(Uri uri) {
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
D | AlgorithmParameterGenerator1Test.java | 228 assertEquals("Incorrect provider", apg.getProvider().getName(), in testAlgorithmParameterGenerator06() 299 assertEquals("Incorrect provider", apg.getProvider(), validProvider); in testAlgorithmParameterGenerator09() 359 assertEquals("Incorrect provider", apg.getProvider(), validProvider); in testAlgorithmParameterGeneratorConstr() 368 assertNull("Incorrect provider", apg.getProvider()); in testAlgorithmParameterGeneratorConstr()
|
D | SecurityTest.java | 165 assertNull(Security.getProvider("SOMEINCORRECTPROVIDERNAME")); in test_getProviderLjava_lang_String() 168 assertNull(Security.getProvider(null)); in test_getProviderLjava_lang_String() 176 assertSame(p, Security.getProvider(providerName)); in test_getProviderLjava_lang_String() 184 assertSame(p, Security.getProvider(p.getName())); in test_getProviderLjava_lang_String()
|
D | AlgorithmParameterGenerator2Test.java | 141 assertEquals("Incorrect provider", apG.getProvider(), mProv); in testGetInstance01() 201 assertEquals("Incorrect provider", apG.getProvider().getName(), in testGetInstance02() 247 assertEquals("Incorrect provider", apG.getProvider(), mProv); in testGetInstance03()
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
D | CertPathBuilder1Test.java | 254 … assertEquals("Incorrect provider name", certPB.getProvider().getName(), defaultProviderName); in testCertPathBuilder07() 318 assertEquals("Incorrect provider name", certPB.getProvider(), defaultProvider); in testCertPathBuilder10() 361 assertEquals("Incorrect provider", certPB.getProvider(), defaultProvider); in testCertPathBuilder12() 369 assertNull("Incorrect provider", certPB.getProvider()); in testCertPathBuilder12()
|
D | CertPathValidator1Test.java | 260 assertEquals("Incorrect provider name", certPV.getProvider() in testCertPathValidator07() 328 assertEquals("Incorrect provider name", certPV.getProvider(), in testCertPathValidator10() 378 assertEquals("Incorrect provider", certPV.getProvider(), defaultProvider); in testCertPathValidator12() 387 assertNull("Incorrect provider", certPV.getProvider()); in testCertPathValidator12()
|
D | CertPathValidator2Test.java | 138 assertEquals("Incorrect provider", cerPV.getProvider(), mProv); in testGetInstance01() 202 assertEquals("Incorrect provider", cerPV.getProvider().getName(), in testGetInstance02() 247 assertEquals("Incorrect provider", cerPV.getProvider(), mProv); in testGetInstance03()
|
D | CertPathBuilder2Test.java | 139 assertEquals("Incorrect provider", cerPB.getProvider(), mProv); in testGetInstance01() 203 assertEquals("Incorrect provider", cerPB.getProvider().getName(), in testGetInstance02() 247 assertEquals("Incorrect provider", cerPB.getProvider(), mProv); in testGetInstance03()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
D | SecureRandom_ImplTest.java | 98 assertNull("Non null provider", new SecureRandom().getProvider()); in testGetProvider() 105 assertNull("Incorrect provider", sr.getProvider()); in testGetAlgorithm()
|
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | KeyGeneratorTest.java | 116 assertEquals("Incorrect provider", keyG.getProvider(), defaultProvider); in testKeyGenerator() 131 assertNull("Provider must be null", keyG.getProvider()); in testKeyGenerator() 261 assertEquals("Incorrect provider", keyG.getProvider().getName(), defaultProviderName); in testGetInstanceStringString03() 327 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider); in testGetInstanceStringProvider03()
|
D | SecretKeyFactoryTest.java | 128 assertEquals("Incorrect provider", secKF.getProvider(), defaultProvider); in testSecretKeyFactory01() 134 assertNull("Provider must be null", secKF.getProvider()); in testSecretKeyFactory01() 267 assertEquals("Incorrect provider", secKF.getProvider().getName(), in testSecretKeyFactory06() 335 assertEquals("Incorrect provider", secKF.getProvider(), in testSecretKeyFactory09()
|
D | ExemptionMechanismTest.java | 60 assertEquals("Incorrect provider", em.getProvider(), mProv); in testExemptionMechanism() 78 assertNull("Incorrect provider", em.getProvider()); in testExemptionMechanism()
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
D | TrustManagerFactory1Test.java | 263 assertEquals("Invalid provider", trustMF.getProvider(), in testTrustManagerFactory06() 335 assertEquals("Invalid provider", trustMF.getProvider(), in testTrustManagerFactory09() 357 assertEquals("Incorrect provider", tmF.getProvider(), defaultProvider); in testTrustManagerFactory10() 362 assertNull("Provider must be null", tmF.getProvider()); in testTrustManagerFactory10()
|
D | KeyManagerFactory1Test.java | 263 assertEquals("Incorrect provider", kMF.getProvider().getName(), in testKeyManagerFactory06() 333 assertEquals(kMF.getProvider(), defaultProvider); in testKeyManagerFactory09() 352 assertEquals("Incorrect provider", keyMF.getProvider(), defaultProvider); in testKeyManagerFactory10() 363 assertNull("Provider must be null", keyMF.getProvider()); in testKeyManagerFactory10()
|
D | TrustManagerFactory2Test.java | 141 assertEquals("Incorrect provider", tmf.getProvider(), mProv); in testGetInstance01() 207 assertEquals("Incorrect provider", tmf.getProvider().getName(), in testGetInstance02() 253 assertEquals("Incorrect provider", tmf.getProvider(), mProv); in testGetInstance03()
|
D | KeyManagerFactory2Test.java | 152 assertEquals("Incorrect provider", keyMF.getProvider(), mProv); in testGetInstance01() 218 assertEquals("Incorrect provider", keyMF.getProvider().getName(), in testGetInstance02() 264 assertEquals("Incorrect provider", keyMF.getProvider(), mProv); in testGetInstance03()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
D | EngineTest.java | 110 Provider p = Security.getProvider("SUN"); in testGetInstanceStringProvider1() 120 Provider p = Security.getProvider("SUN"); in testGetInstanceStringProvider2()
|