/libcore/luni/src/test/java/libcore/java/security/ |
SecureRandomTest.java | 19 import java.security.Provider; 36 Provider[] providers = Security.getProviders(); 37 for (Provider provider : providers) { 38 Set<Provider.Service> services = provider.getServices(); 39 for (Provider.Service service : services) { 51 // SecureRandom.getInstance(String, Provider) 52 SecureRandom sr2 = SecureRandom.getInstance(algorithm, provider); 54 assertEquals(provider, sr2.getProvider()) [all...] |
/libcore/tools/docs/crypto/src/java/libcore/java/security/ |
ListProviders.java | 22 import java.security.Provider; 84 private static void print(Provider p, String type, String algorithm) { 90 for (Provider p : Security.getProviders()) { 91 Set<Provider.Service> services = new TreeSet<Provider.Service>( 92 new Comparator<Provider.Service>() { 93 public int compare(Provider.Service a, Provider.Service b) { 102 for (Provider.Service s : services) { 133 // SSLEngine and SSLSocket algorithms are handled outside the default provider syste [all...] |
/external/dagger2/core/src/main/java/dagger/internal/ |
SetFactory.java | 23 import javax.inject.Provider; 31 * whose elements are populated by subsequent calls to their {@link Provider#get} methods. 54 * {@link Provider} instances. Callers must not modify the providers array after invoking this 58 @SuppressWarnings("unchecked") Provider<Set<T>>... providers) { 61 List<Provider<Set<T>>> contributingProviders = Arrays.asList(providers); 64 : "Codegen error? Null within provider list."; 66 : "Codegen error? Duplicates in the provider list"; 79 private final List<Provider<Set<T>>> contributingProviders; 81 private SetFactory(List<Provider<Set<T>>> contributingProviders) { 102 Provider<Set<T>> provider = contributingProviders.get(i) local [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_TestProvider.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_TestProvider extends Provider { 30 // Provider name 41 * Constructs a new instance of the dummy provider. 56 "made.up.provider.name.MessageDigestSHA"); 58 "made.up.provider.name.MessageDigestMD2"); 67 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 71 "made.up.provider.name.AlgorithmParametersDSA"); 78 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
PlatformModule.java | 29 import javax.inject.Provider; 32 * Provider of a {@link Platform} instance appropriate for the current platform. 44 Provider<JvmPlatform> jvmPlatformProvider) {
|
/external/guice/core/src/com/google/inject/internal/ |
LookupProcessor.java | 20 import com.google.inject.Provider; 49 // ensure the provider can be created 51 Provider<T> provider = injector.getProviderOrThrow(lookup.getDependency(), errors); local 52 lookup.initializeDelegate(provider);
|
ProviderToInternalFactoryAdapter.java | 19 import com.google.inject.Provider; 26 final class ProviderToInternalFactoryAdapter<T> implements Provider<T> {
|
/external/libchrome/base/files/ |
file_tracing.cc | 12 FileTracing::Provider* g_provider = nullptr; 21 void FileTracing::SetProvider(FileTracing::Provider* provider) { 22 g_provider = provider;
|
/external/libcxx/test/support/ |
test_memory_resource.hpp | 50 using Provider = ProviderT; 101 mutable Provider P; 105 template <class Provider, int N> 106 int TestResourceImp<Provider, N>::resource_alive = 0; 108 template <class Provider, int N> 109 int TestResourceImp<Provider, N>::resource_constructed = 0; 111 template <class Provider, int N> 112 int TestResourceImp<Provider, N>::resource_destructed = 0;
|
/external/wycheproof/java/com/google/security/wycheproof/ |
BouncyCastleAllTests.java | 19 import com.google.security.wycheproof.WycheproofRunner.Provider; 22 import com.android.org.bouncycastle.jce.provider.BouncyCastleProvider; 48 @Provider(ProviderType.BOUNCY_CASTLE)
|
BouncyCastleTest.java | 20 import com.google.security.wycheproof.WycheproofRunner.Provider; 23 import com.android.org.bouncycastle.jce.provider.BouncyCastleProvider; 49 @Provider(ProviderType.BOUNCY_CASTLE)
|
ConscryptTest.java | 20 import com.google.security.wycheproof.WycheproofRunner.Provider; 29 * Conscrypt is a Java security provider that uses OpenSSL. See {@link https://conscrypt.org/}. 45 @Provider(ProviderType.CONSCRYPT)
|
OpenJDKTest.java | 4 import com.google.security.wycheproof.WycheproofRunner.Provider; 29 @Provider(ProviderType.OPENJDK)
|
SpongyCastleAllTests.java | 19 import com.google.security.wycheproof.WycheproofRunner.Provider; 24 import org.spongycastle.jce.provider.BouncyCastleProvider; 48 @Provider(ProviderType.SPONGY_CASTLE)
|
SpongyCastleTest.java | 20 import com.google.security.wycheproof.WycheproofRunner.Provider; 25 import org.spongycastle.jce.provider.BouncyCastleProvider; 49 @Provider(ProviderType.SPONGY_CASTLE)
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
GuidedStepFragmentTestBase.java | 53 GuidedStepTestFragment.Provider mProvider; 55 public ExpandTransitionFinish(GuidedStepTestFragment.Provider provider) { 56 mProvider = provider; 77 public static void waitOnDestroy(GuidedStepTestFragment.Provider provider, 79 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy(); 86 GuidedStepTestFragment.Provider mProvider; 88 public EnterTransitionFinish(GuidedStepTestFragment.Provider provider) { [all...] |
GuidedStepSupportFragmentTestBase.java | 56 GuidedStepTestSupportFragment.Provider mProvider; 58 public ExpandTransitionFinish(GuidedStepTestSupportFragment.Provider provider) { 59 mProvider = provider; 80 public static void waitOnDestroy(GuidedStepTestSupportFragment.Provider provider, 82 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy(); 89 GuidedStepTestSupportFragment.Provider mProvider; 91 public EnterTransitionFinish(GuidedStepTestSupportFragment.Provider provider) { [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 32 import java.security.Provider; 35 import java.security.Provider.Service; 47 * Tests for <code>Provider</code> constructor and methods 55 * destroys the existing provider infrastructure. 58 Provider[] storedProviders; 60 Provider p; 79 for (Provider p: Security.getProviders()) { 83 for (Provider p: storedProviders) { 91 * Class under test for void Provider() 94 if (!p.getProperty("Provider.id name").equals [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_TestProvider.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_TestProvider extends Provider { 30 // Provider name 41 * Constructs a new instance of the dummy provider. 56 "made.up.provider.name.MessageDigestSHA"); 58 "made.up.provider.name.MessageDigestMD5"); 67 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 71 "made.up.provider.name.AlgorithmParametersDSA"); 78 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/external/dagger2/lib/ |
javax-inject.jar | |
/external/guice/core/src/com/google/inject/ |
Binding.java | 39 * <li>For {@link Provider providers}, by delegating to the binding for the provided type.</li> 68 * Returns the scoped provider guice uses to fulfill requests for this 75 Provider<T> getProvider();
|
/external/guice/core/src/com/google/inject/spi/ |
ProvisionListener.java | 20 import com.google.inject.Provider; 37 * bound to a Provider, provisioning encapsulates the {@link Provider#get} 62 * You must not call {@link Provider#get()} on the provider returned by
|
/external/guice/lib/ |
javax.inject.jar | |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
MacTest.java | 22 import java.security.Provider; 32 private static abstract class MockProvider extends Provider { 34 super(name, 1.0, "Mock provider used for testing"); 48 Provider mockProvider = new MockProvider("MockProvider") { 73 Provider androidOpenSSLProvider = Security.getProvider("AndroidOpenSSL"); 78 // Known answers from the SunJCE provider using the code below. Run with 82 // new com.sun.crypto.provider.SunJCE()); 86 // mac = Mac.getInstance("PBEWITHHMACSHA" + shaVariant, new com.sun.crypto.provider.SunJCE()); 106 * Test that BC has the same results as the SunJCA provider for
|
/libcore/ojluni/src/main/java/java/security/ |
AuthProvider.java | 35 public abstract class AuthProvider extends Provider {
|