/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 334 assertTrue((c == null) && cf.getProvider().getName().equals("BC")); in test_generateCertificate() 336 assertFalse(cf.getProvider().getName().equals("BC")); in test_generateCertificate() 343 assertTrue((c == null) && cf.getProvider().getName().equals("BC")); in test_generateCertificate() 345 assertFalse(cf.getProvider().getName().equals("BC")); in test_generateCertificate() 395 if (!"BC".equals(cf.getProvider().getName())) { in test_generateCertificate_InputStream_Empty() 396 fail("should throw CertificateException: " + cf.getProvider().getName()); in test_generateCertificate_InputStream_Empty() 400 if ("BC".equals(cf.getProvider().getName())) { in test_generateCertificate_InputStream_Empty() 401 fail("should return null: " + cf.getProvider().getName()); in test_generateCertificate_InputStream_Empty() 411 if (!"BC".equals(cf.getProvider().getName())) { in test_generateCertificate_InputStream_InvalidStart_Failure() 412 fail("should throw CertificateException: " + cf.getProvider().getName()); in test_generateCertificate_InputStream_InvalidStart_Failure() [all …]
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/cert/ |
D | CertificateFactoryTest.java | 330 assertTrue((c == null) && cf.getProvider().getName().equals("BC")); in test_generateCertificate() 332 assertFalse(cf.getProvider().getName().equals("BC")); in test_generateCertificate() 339 assertTrue((c == null) && cf.getProvider().getName().equals("BC")); in test_generateCertificate() 341 assertFalse(cf.getProvider().getName().equals("BC")); in test_generateCertificate() 392 if (!"BC".equals(cf.getProvider().getName())) { in test_generateCertificate_InputStream_Empty() 393 fail("should throw CertificateException: " + cf.getProvider().getName()); in test_generateCertificate_InputStream_Empty() 397 if ("BC".equals(cf.getProvider().getName())) { in test_generateCertificate_InputStream_Empty() 398 fail("should return null: " + cf.getProvider().getName()); in test_generateCertificate_InputStream_Empty() 408 if (!"BC".equals(cf.getProvider().getName())) { in test_generateCertificate_InputStream_InvalidStart_Failure() 409 fail("should throw CertificateException: " + cf.getProvider().getName()); in test_generateCertificate_InputStream_InvalidStart_Failure() [all …]
|
/external/guice/core/src/com/google/inject/ |
D | AbstractModule.java | 158 binder().getProvider(key); in requireBinding() 169 binder().getProvider(type); in requireBinding() 176 protected <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in AbstractModule 177 return binder().getProvider(key); in getProvider() 184 protected <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in AbstractModule 185 return binder().getProvider(type); in getProvider()
|
D | PrivateModule.java | 214 binder().getProvider(key); in requireBinding() 219 binder().getProvider(type); in requireBinding() 223 protected final <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in PrivateModule 224 return binder().getProvider(key); in getProvider() 228 protected final <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in PrivateModule 229 return binder().getProvider(type); in getProvider()
|
D | Binder.java | 285 <T> Provider<T> getProvider(Key<T> key); in getProvider() method 296 <T> Provider<T> getProvider(Dependency<T> dependency); in getProvider() method 305 <T> Provider<T> getProvider(Class<T> type); in getProvider() method
|
/external/guice/core/test/com/google/inject/ |
D | EagerSingletonTest.java | 44 getProvider(A.class); in testJustInTimeEagerSingletons() 67 injector.getProvider(B.class); in testJustInTimeSingletonsAreNotEager() 101 getProvider(A.class); in testJustInTimeEagerSingletons_multipleThreads() 115 injector.getProvider(jitBinding); in testJustInTimeEagerSingletons_multipleThreads() 181 injector.getProvider(B.class);
|
D | LoggerInjectionTest.java | 43 assertNull(injector.getProvider(Logger.class).get().getName()); in testLoggerWithoutMember() 44 assertNull(injector.getBinding(Logger.class).getProvider().get().getName()); in testLoggerWithoutMember() 45 assertEquals("Provider<Logger>", injector.getProvider(Logger.class).toString()); in testLoggerWithoutMember()
|
D | ReflectionTest.java | 45 assertSame(foo, fooBinding.getProvider().get()); in testNormalBinding() 62 assertEquals(5, i.getProvider().get()); in testConstantBinding() 82 assertSame(bar, fooBinding.getProvider().get()); in testLinkedBinding()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowContentResolver.java | 188 ContentProvider provider = getProvider(url); 213 ContentProvider provider = getProvider(uri); 230 ContentProvider provider = getProvider(uri); 252 ContentProvider provider = getProvider(uri); 269 ContentProvider provider = getProvider(uri); 279 ContentProvider cp = getProvider(uri); 289 ContentProvider provider = getProvider(name); 298 ContentProvider provider = getProvider(uri); 307 ContentProvider provider = getProvider(name); 316 ContentProvider provider = getProvider(uri); [all …]
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ConscryptTest.java | 69 assertEquals(p, context.getProvider()); in testProviderBuilder() 76 assertEquals(p, context.getProvider()); in testProviderBuilder() 97 assertEquals(p, context.getProvider()); in testProviderBuilder() 105 assertEquals(p, context.getProvider()); in testProviderBuilder()
|
/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/ |
D | ConscryptTest.java | 74 assertEquals(p, context.getProvider()); in testProviderBuilder() 81 assertEquals(p, context.getProvider()); in testProviderBuilder() 103 assertEquals(p, context.getProvider()); in testProviderBuilder() 111 assertEquals(p, context.getProvider()); in testProviderBuilder()
|
/external/guice/core/src/com/google/inject/internal/ |
D | EncounterImpl.java | 130 public <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in EncounterImpl 132 return lookups.getProvider(key); in getProvider() 136 public <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in EncounterImpl 137 return getProvider(Key.get(type)); in getProvider()
|
D | DeferredLookups.java | 50 public <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in DeferredLookups 53 return lookup.getProvider(); in getProvider()
|
/external/conscrypt/common/src/test/java/org/conscrypt/java/security/ |
D | KeyPairGeneratorTest.java | 112 assertEquals(provider, kpg2.getProvider()); in test_getInstance() 122 assertEquals(provider, kpg3.getProvider()); in test_getInstance() 194 && ("SUN".equalsIgnoreCase(kpg.getProvider().getName()) in test_KeyPairGenerator() 195 || "SunPKCS11-NSS".equalsIgnoreCase(kpg.getProvider().getName())) in test_KeyPairGenerator() 216 if ("SunPKCS11-NSS".equalsIgnoreCase(kpg.getProvider().getName())) { in test_KeyPairGenerator() 260 if (kpg.getProvider().getName().equalsIgnoreCase("SunMSCAPI") in test_Key() 272 if (!kpg.getProvider().getName().equalsIgnoreCase("SunPKCS11-NSS")) { in test_Key() 281 assertEquals("Provider: " + kpg.getProvider(), k, inflatedKey); in test_Key()
|
D | AlgorithmParametersPSSTest.java | 83 assertNotNull(params.getProvider()); in testGetProvider() 165 if (!"BC".equals(params.getProvider().getName())) { in testGetEncodedWithBrokenInput() 167 "Unexpected exception. Provider: " + params.getProvider(), in testGetEncodedWithBrokenInput() 179 if (!"BC".equals(params.getProvider().getName())) { in testGetEncodedWithBrokenInput() 181 "Unexpected exception. Provider: " + params.getProvider(), in testGetEncodedWithBrokenInput()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/java/security/ |
D | KeyPairGeneratorTest.java | 116 assertEquals(provider, kpg2.getProvider()); in test_getInstance() 126 assertEquals(provider, kpg3.getProvider()); in test_getInstance() 198 && ("SUN".equalsIgnoreCase(kpg.getProvider().getName()) in test_KeyPairGenerator() 199 || "SunPKCS11-NSS".equalsIgnoreCase(kpg.getProvider().getName())) in test_KeyPairGenerator() 220 if ("SunPKCS11-NSS".equalsIgnoreCase(kpg.getProvider().getName())) { in test_KeyPairGenerator() 264 if (kpg.getProvider().getName().equalsIgnoreCase("SunMSCAPI") in test_Key() 276 if (!kpg.getProvider().getName().equalsIgnoreCase("SunPKCS11-NSS")) { in test_Key() 285 assertEquals("Provider: " + kpg.getProvider(), k, inflatedKey); in test_Key()
|
D | AlgorithmParametersPSSTest.java | 87 assertNotNull(params.getProvider()); in testGetProvider() 169 if (!"BC".equals(params.getProvider().getName())) { in testGetEncodedWithBrokenInput() 171 "Unexpected exception. Provider: " + params.getProvider(), in testGetEncodedWithBrokenInput() 183 if (!"BC".equals(params.getProvider().getName())) { in testGetEncodedWithBrokenInput() 185 "Unexpected exception. Provider: " + params.getProvider(), in testGetEncodedWithBrokenInput()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
D | BCJcaJceHelper.java | 18 if (Security.getProvider("BC") != null) in getBouncyCastleProvider() 20 return Security.getProvider("BC"); in getBouncyCastleProvider()
|
/external/guice/extensions/jmx/src/com/google/inject/tools/jmx/ |
D | ManagedBinding.java | 40 public String getProvider() { in getProvider() method in ManagedBinding 41 return binding.getProvider().toString(); in getProvider()
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/crypto/ |
D | KeyGeneratorTest.java | 57 return kg.getProvider().getName().startsWith("Sun") in isUnsupported() 58 || (StandardNames.IS_RI && kg.getProvider().getName().equals("BC")); in isUnsupported() 85 assertEquals(provider, kg2.getProvider()); in test_getInstance() 91 assertEquals(provider, kg3.getProvider()); in test_getInstance()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/crypto/ |
D | KeyGeneratorTest.java | 54 return kg.getProvider().getName().startsWith("Sun") in isUnsupported() 55 || (StandardNames.IS_RI && kg.getProvider().getName().equals("BC")); in isUnsupported() 82 assertEquals(provider, kg2.getProvider()); in test_getInstance() 88 assertEquals(provider, kg3.getProvider()); in test_getInstance()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/util/ |
D | BCJcaJceHelper.java | 20 if (Security.getProvider("BC") != null) in getBouncyCastleProvider() 22 return Security.getProvider("BC"); in getBouncyCastleProvider()
|
/external/guice/core/src/com/google/inject/spi/ |
D | TypeEncounter.java | 60 <T> Provider<T> getProvider(Key<T> key); in getProvider() method 67 <T> Provider<T> getProvider(Class<T> type); in getProvider() method
|
/external/conscrypt/repackaged/common/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 72 && !Conscrypt.isConscrypt(tmf.getProvider())); in supportsManagerFactoryParameters() 88 assertNotNull(tmf.getProvider()); in test_TrustManagerFactory() 157 test_X509TrustManager(tmf.getProvider(), (X509TrustManager) trustManager); in test_TrustManagerFactory_getTrustManagers() 209 assertEquals(provider, tmf.getProvider()); in test_TrustManagerFactory_getInstance() 214 assertEquals(provider, tmf.getProvider()); in test_TrustManagerFactory_getInstance()
|
/external/conscrypt/common/src/test/java/org/conscrypt/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 68 && !Conscrypt.isConscrypt(tmf.getProvider())); in supportsManagerFactoryParameters() 84 assertNotNull(tmf.getProvider()); in test_TrustManagerFactory() 153 test_X509TrustManager(tmf.getProvider(), (X509TrustManager) trustManager); in test_TrustManagerFactory_getTrustManagers() 205 assertEquals(provider, tmf.getProvider()); in test_TrustManagerFactory_getInstance() 210 assertEquals(provider, tmf.getProvider()); in test_TrustManagerFactory_getInstance()
|