/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()
|
/external/guice/core/src/com/google/inject/ |
D | AbstractModule.java | 184 binder().getProvider(key); in requireBinding() 196 binder().getProvider(type); in requireBinding() 203 protected <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in AbstractModule 204 return binder().getProvider(key); in getProvider() 211 protected <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in AbstractModule 212 return binder().getProvider(type); in getProvider()
|
D | PrivateModule.java | 237 binder().getProvider(key); in requireBinding() 244 binder().getProvider(type); in requireBinding() 250 protected final <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in PrivateModule 251 return binder().getProvider(key); in getProvider() 257 protected final <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in PrivateModule 258 return binder().getProvider(type); in getProvider()
|
D | Binder.java | 325 <T> Provider<T> getProvider(Key<T> key); in getProvider() method 337 <T> Provider<T> getProvider(Dependency<T> dependency); in getProvider() method 347 <T> Provider<T> getProvider(Class<T> type); in getProvider() method
|
D | Injector.java | 171 <T> Provider<T> getProvider(Key<T> key); in getProvider() method 180 <T> Provider<T> getProvider(Class<T> type); in getProvider() method
|
/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/guice/core/test/com/google/inject/ |
D | EagerSingletonTest.java | 36 getProvider(A.class); in testJustInTimeEagerSingletons() 55 injector.getProvider(B.class); in testJustInTimeSingletonsAreNotEager() 76 injector.getProvider(B.class); in A()
|
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() 59 assertEquals(5, i.getProvider().get()); in testConstantBinding() 76 assertSame(bar, fooBinding.getProvider().get()); in testLinkedBinding()
|
D | TypeListenerTest.java | 137 Provider<A> aProvider = injector.getProvider(A.class); in testInstallingInjectionListener() 215 injector.getProvider(B.class); 273 Provider<B> bProvider = injector.getProvider(B.class); 343 Provider<A> aProvider = injector.getProvider(A.class); 380 Provider<B> bProvider = encounter.getProvider(B.class); 418 assertNotNull(encounter.getProvider(B.class).get()); 514 Provider<B> bProvider = injector.getProvider(B.class); 601 encounter.getProvider(B.class);
|
/external/guice/core/src/com/google/inject/internal/ |
D | EncounterImpl.java | 127 public <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in EncounterImpl 129 return lookups.getProvider(key); in getProvider() 132 public <T> Provider<T> getProvider(Class<T> type) { in getProvider() method in EncounterImpl 133 return getProvider(Key.get(type)); in getProvider()
|
D | DeferredLookups.java | 52 public <T> Provider<T> getProvider(Key<T> key) { in getProvider() method in DeferredLookups 55 return lookup.getProvider(); in getProvider()
|
/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/guice/extensions/jmx/src/com/google/inject/tools/jmx/ |
D | ManagedBinding.java | 37 public String getProvider() { in getProvider() method in ManagedBinding 38 return binding.getProvider().toString(); in getProvider()
|
/external/robolectric/v1/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/guice/core/src/com/google/inject/spi/ |
D | TypeEncounter.java | 63 <T> Provider<T> getProvider(Key<T> key); in getProvider() method 70 <T> Provider<T> getProvider(Class<T> type); in getProvider() method
|
/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()
|
/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()
|
/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()
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
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 | 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()
|