Home
last modified time | relevance | path

Searched refs:providers (Results 1 – 25 of 57) sorted by relevance

123

/external/conscrypt/common/src/main/java/org/conscrypt/
DCryptoUpcalls.java51 ArrayList<Provider> providers = new ArrayList<Provider>(1); in getExternalProviders() local
54 providers.add(p); in getExternalProviders()
57 if (providers.isEmpty()) { in getExternalProviders()
60 return providers; in getExternalProviders()
106 ArrayList<Provider> providers = getExternalProviders("Signature." + algorithm); in rawSignDigestWithPrivateKey() local
107 for (Provider p : providers) { in rawSignDigestWithPrivateKey()
188 ArrayList<Provider> providers = getExternalProviders("Cipher." + transformation); in rsaDecryptWithPrivateKey() local
189 for (Provider p : providers) { in rsaDecryptWithPrivateKey()
/external/libmojo/base/
Dpath_service.cc115 Provider* providers; // Linked list of path service providers. member
120 providers = &base_provider_win; in PathData()
122 providers = &base_provider_mac; in PathData()
124 providers = &base_provider_android; in PathData()
126 providers = &base_provider_posix; in PathData()
189 provider = path_data->providers; in Get()
307 Provider *iter = path_data->providers; in RegisterProvider()
315 p->next = path_data->providers; in RegisterProvider()
316 path_data->providers = p; in RegisterProvider()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowLocationManager.java155 List<String> providers = getProviders(enabled); in getBestProviderWithCriteria() local
158 for (String provider : providers) { in getBestProviderWithCriteria()
178 for (String provider : providers) { in getBestProviderWithCriteria()
187 return providers.isEmpty()? null : providers.get(0); in getBestProviderWithCriteria()
191 List<String> providers = getProviders(enabled); in getBestProviderWithNoCriteria() local
197 } else if (providers.contains(LocationManager.GPS_PROVIDER)) { in getBestProviderWithNoCriteria()
199 } else if (providers.contains(LocationManager.NETWORK_PROVIDER)) { in getBestProviderWithNoCriteria()
365 Set<String> providers = requestLocationUpdateListenersMap.get(listener); in getProvidersForListener() local
366 … return providers == null ? Collections.<String>emptyList() : new ArrayList<String>(providers); in getProvidersForListener()
DShadowContentResolver.java34 …private static final Map<String, ContentProvider> providers = new HashMap<String, ContentProvider>… field in ShadowContentResolver
39 providers.clear(); in reset()
256 return providers.get(uri.getAuthority());
261 providers.put(authority, provider);
/external/wycheproof/java/com/google/security/wycheproof/
DWycheproofRunner.java97 ProviderType[] providers(); in providers() method
112 ProviderType[] providers(); in providers() method
126 ProviderType[] providers(); in providers() method
166 && Arrays.asList(excludedTest.providers()).contains(targetProvider.value())) { in isOkayToRunTest()
174 && Arrays.asList(ignoreOn.providers()).contains(targetProvider.value())) { in isOkayToRunTest()
183 && Arrays.asList(ignoreOn.providers()).contains(targetProvider.value())) { in isOkayToRunTest()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/
DECDHKeyAgreementTest.java431 Provider[] providers = Security.getProviders("KeyAgreement.ECDH"); in getKeyAgreementProviders() local
432 if (providers == null) { in getKeyAgreementProviders()
437 return sortByName(providers); in getKeyAgreementProviders()
441 Provider[] providers = Security.getProviders("KeyFactory.EC"); in getKeyFactoryProviders() local
442 if (providers == null) { in getKeyFactoryProviders()
449 List<Provider> filteredProvidersList = new ArrayList<Provider>(providers.length); in getKeyFactoryProviders()
450 for (Provider provider : providers) { in getKeyFactoryProviders()
456 providers = filteredProvidersList.toArray(new Provider[filteredProvidersList.size()]); in getKeyFactoryProviders()
460 return sortByName(providers); in getKeyFactoryProviders()
500 private static Provider[] sortByName(Provider[] providers) { in sortByName() argument
[all …]
DKeyGeneratorTest.java74 Provider[] providers = Security.getProviders(); in test_getInstance() local
75 for (Provider provider : providers) { in test_getInstance()
DCipherTest.java1029 Provider[] providers = Security.getProviders(); in test_getInstance() local
1030 for (Provider provider : providers) { in test_getInstance()
3626 ArrayList<Provider> providers = new ArrayList<Provider>(); in testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired() local
3630 Collections.addAll(providers, providerArray); in testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired()
3638 Collections.addAll(providers, baseTransformProviderArray); in testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired()
3642 if (providers.isEmpty()) { in testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired()
3647 for (Provider provider : providers) { in testCipher_Success_ForAllSupportingProviders_AtLeastOneProviderRequired()
4390 Provider[] providers = Security.getProviders(filter); in testRC4_MultipleKeySizes() local
4391 assertTrue("There must be security providers of Cipher.ARC4", providers.length > 0); in testRC4_MultipleKeySizes()
4394 String firstProvider = providers[0].getName(); in testRC4_MultipleKeySizes()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DLocationManagerTest.java84 List<String> providers = locationManager.getProviders(true); in shouldReturnEnabledProviders() local
85 assertTrue(providers.contains(NETWORK_PROVIDER)); in shouldReturnEnabledProviders()
86 assertThat(providers.size(), equalTo(1)); in shouldReturnEnabledProviders()
89 providers = locationManager.getProviders(true); in shouldReturnEnabledProviders()
90 assertTrue(providers.contains(NETWORK_PROVIDER)); in shouldReturnEnabledProviders()
91 assertTrue(providers.contains(GPS_PROVIDER)); in shouldReturnEnabledProviders()
92 assertThat(providers.size(), equalTo(2)); in shouldReturnEnabledProviders()
95 providers = locationManager.getProviders(true); in shouldReturnEnabledProviders()
96 assertTrue(providers.contains(NETWORK_PROVIDER)); in shouldReturnEnabledProviders()
97 assertTrue(providers.contains(GPS_PROVIDER)); in shouldReturnEnabledProviders()
[all …]
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLocationManager.java172 List<String> providers = getProviders(enabled); in getBestProviderWithCriteria() local
175 for (String provider : providers) { in getBestProviderWithCriteria()
195 for (String provider : providers) { in getBestProviderWithCriteria()
204 return providers.isEmpty()? null : providers.get(0); in getBestProviderWithCriteria()
208 List<String> providers = getProviders(enabled); in getBestProviderWithNoCriteria() local
214 } else if (providers.contains(LocationManager.GPS_PROVIDER)) { in getBestProviderWithNoCriteria()
216 } else if (providers.contains(LocationManager.NETWORK_PROVIDER)) { in getBestProviderWithNoCriteria()
469 Set<String> providers = new HashSet<>(); in getProvidersForListener() local
473 providers.add(listenerRegistration.provider); in getProvidersForListener()
477 return providers; in getProvidersForListener()
DShadowContentResolver.java72 private static final Map<String, ContentProvider> providers = new HashMap<>(); field in ShadowContentResolver
78 providers.clear(); in reset()
623 if (!providers.containsKey(authority)) {
627 providers.put(providerInfo.authority, createAndInitialize(providerInfo));
630 return providers.get(authority);
645 providers.put(authority, provider);
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLocationManagerTest.java86 List<String> providers = locationManager.getProviders(true); in getProviders_returnsProvidersBasedOnEnabledParameter() local
87 assertTrue(providers.contains(NETWORK_PROVIDER)); in getProviders_returnsProvidersBasedOnEnabledParameter()
88 assertThat(providers.size()).isEqualTo(1); in getProviders_returnsProvidersBasedOnEnabledParameter()
91 providers = locationManager.getProviders(true); in getProviders_returnsProvidersBasedOnEnabledParameter()
92 assertTrue(providers.contains(NETWORK_PROVIDER)); in getProviders_returnsProvidersBasedOnEnabledParameter()
93 assertTrue(providers.contains(GPS_PROVIDER)); in getProviders_returnsProvidersBasedOnEnabledParameter()
94 assertThat(providers.size()).isEqualTo(2); in getProviders_returnsProvidersBasedOnEnabledParameter()
97 providers = locationManager.getProviders(true); in getProviders_returnsProvidersBasedOnEnabledParameter()
98 assertTrue(providers.contains(NETWORK_PROVIDER)); in getProviders_returnsProvidersBasedOnEnabledParameter()
99 assertTrue(providers.contains(GPS_PROVIDER)); in getProviders_returnsProvidersBasedOnEnabledParameter()
[all …]
/external/glide/library/src/main/java/com/bumptech/glide/provider/
DDataLoadProviderRegistry.java15 private final Map<MultiClassKey, DataLoadProvider<?, ?>> providers = field in DataLoadProviderRegistry
30 providers.put(new MultiClassKey(dataClass, resourceClass), provider); in register()
46 result = providers.get(GET_KEY); in get()
/external/dagger2/core/src/main/java/dagger/internal/
DSetFactory.java58 @SuppressWarnings("unchecked") Provider<Set<T>>... providers) { in create()
59 assert providers != null : ARGUMENTS_MUST_BE_NON_NULL; in create()
61 List<Provider<Set<T>>> contributingProviders = Arrays.asList(providers); in create()
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
DFactoryProvider2.java136 final List<ThreadLocalProvider> providers; field in FactoryProvider2.AssistData
143 boolean optimized, List<ThreadLocalProvider> providers) { in AssistData() argument
151 this.providers = providers; in AssistData()
164 .add("providers", providers) in toString()
294 List<ThreadLocalProvider> providers = Collections.emptyList(); in FactoryProvider2() local
307 providers = providerListBuilder.build(); in FactoryProvider2()
318 providers); in FactoryProvider2()
710 binder.bind((Key) paramKey).toProvider(data.providers.get(p++)); in getBindingFromNewInjector()
767 for(ThreadLocalProvider tlp : data.providers) { in invoke()
782 for(ThreadLocalProvider tlp : data.providers) { in invoke()
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DTrustManagerFactoryTest.java193 Provider[] providers = Security.getProviders(); in test_TrustManagerFactory_getInstance() local
194 for (Provider provider : providers) { in test_TrustManagerFactory_getInstance()
239 Provider[] providers = Security.getProviders(); in test_TrustManagerFactory_intermediate() local
240 for (Provider provider : providers) { in test_TrustManagerFactory_intermediate()
DKeyManagerFactoryTest.java271 Provider[] providers = Security.getProviders(); in test_KeyManagerFactory_getInstance() local
272 for (Provider provider : providers) { in test_KeyManagerFactory_getInstance()
/external/wycheproof/java/com/google/security/wycheproof/testcases/
DDsaTest.java794 @SlowTest(providers = {ProviderType.BOUNCY_CASTLE, ProviderType.SPONGY_CASTLE})
883 @SlowTest(providers = {ProviderType.BOUNCY_CASTLE, ProviderType.SPONGY_CASTLE})
969 @SlowTest(providers = {ProviderType.BOUNCY_CASTLE, ProviderType.SPONGY_CASTLE})
1057 @SlowTest(providers = {ProviderType.BOUNCY_CASTLE, ProviderType.OPENJDK,
DEcdsaTest.java780 @SlowTest(providers = {ProviderType.BOUNCY_CASTLE, ProviderType.CONSCRYPT, ProviderType.OPENJDK,
895 @SlowTest(providers = {ProviderType.BOUNCY_CASTLE, ProviderType.CONSCRYPT, ProviderType.OPENJDK,
/external/conscrypt/testing/src/main/java/org/conscrypt/
DTestUtils.java167 Provider[] providers = Security.getProviders(); in installConscryptAsDefaultProvider() local
168 if (providers.length == 0 || !providers[0].equals(conscryptProvider)) { in installConscryptAsDefaultProvider()
/external/wycheproof/doc/
Dindex.md32 ## Compatibility between providers
35 Switching JCE providers should not introduce vulnerabilities simply because
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DAndroidManifest.java53 private final List<ContentProviderData> providers = new ArrayList<>(); field in AndroidManifest
279 providers.add( in parseContentProviders()
496 for (ContentProviderData providerData : providers) { in initMetaData()
626 return providers; in getContentProviders()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
DRobolectricTestRunner.java81 private ServiceLoader<ShadowProvider> providers; field in RobolectricTestRunner
315providers = ServiceLoader.load(ShadowProvider.class, sdkEnvironment.getRobolectricClassLoader());
353 for (ShadowProvider provider : providers) {
/external/wycheproof/
DREADME.md70 cryptographic interface. This allowed us to test multiple providers with a
77 Architecture providers such as [Bouncy Castle](http://bouncycastle.org),
79 providers in [OpenJDK](http://openjdk.java.net/).
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
DMultibinder.java468 Provider<T>[] providers = new Provider[size]; in get() local
470 providers[i] = bindings.get(i).getProvider(); in get()
472 return ImmutableList.copyOf(providers); in get()

123