/cts/tests/tests/keystore/src/android/keystore/cts/ |
CipherTest.java | 30 import java.security.Provider; 36 import java.security.Provider.Service; 227 // Assert that Android Keystore Provider exposes exactly the expected Cipher 230 // If the Provider exposes extraneous algorithms, it'll be caught because it'll have to 234 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 235 Set<Service> services = provider.getServices(); 252 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 253 assertNotNull(provider); 289 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 314 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 359 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 763 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 1306 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local [all...] |
RSASignatureTest.java | 20 import java.security.Provider; 56 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 57 assertNotNull(provider); 72 Signature signature = Signature.getInstance("NONEwithRSA", provider); 82 signature = Signature.getInstance(signature.getAlgorithm(), provider); 107 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 108 assertNotNull(provider); 133 Signature signature = Signature.getInstance(algorithm, provider); [all...] |
SecretKeyFactoryTest.java | 29 import java.security.Provider; 32 import java.security.Provider.Service; 57 // Assert that Android Keystore Provider exposes exactly the expected SecretKeyFactory 59 // canonical names of algorithms are accepted. If the Provider exposes extraneous 63 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 64 Set<Service> services = provider.getServices();
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
FactoryProvider2Test.java | 29 import com.google.inject.Provider; 245 private final Provider<String> modifiersProvider; 249 public Firebird(Provider<String> modifiersProvider, @Assisted Color color) { 278 private final Provider<String> modifiersProvider; 279 private final Provider<Color> colorProvider; 282 public Flamingbird(Provider<String> modifiersProvider, @Assisted Provider<Color> colorProvider) { 337 private final Provider<Set<String>> manufacturersProvider; 341 public Z(Provider<Set<String>> manufacturersProvider, @Assisted Color color) { 527 @Inject @Assisted Provider<Color> colorProvider [all...] |
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
AppWidgetServiceImpl.java | 204 private final ArrayList<Provider> mProviders = new ArrayList<>(); 279 // update the provider list. 333 // Also note that remove the provider does not clear the Provider component data. 334 ArrayList<Provider> installedProviders = new ArrayList<>(mProviders); 339 Provider provider = installedProviders.get(i); local 341 final int userId = provider.getUserId(); 348 if (!removedProviders.contains(provider.id)) { 350 provider.id.componentName.getPackageName() 482 Provider provider = mProviders.get(i); local 528 Provider provider = mProviders.get(i); local 1014 Provider provider = widget.provider; local 1101 Provider provider = lookupProviderLocked(providerId); local 1170 Provider provider = lookupProviderLocked(providerId); local 1578 Provider provider = lookupProviderLocked(providerId); local 1617 Provider provider = lookupProviderLocked(new ProviderId(callingUid, componentName)); local 1652 Provider provider = mProviders.get(i); local 1761 Provider provider = widget.provider; local 2150 Provider provider = mProviders.get(i); local 2215 Provider provider = parseProviderInfoXml(providerId, ri); local 2470 Provider provider = null; local 2653 Provider provider = mProviders.get(i); local 2743 Provider provider = mProviders.get(i); local 2886 Provider provider = mProviders.get(i); local 2900 Provider provider = mProviders.get(i); local 2923 Provider provider = mProviders.get(i); local 3020 Provider provider = lookupProviderLocked(providerId); local 3284 Provider provider = lookupProviderLocked(providerId); local 3324 Provider provider = mProviders.get(i); local 3343 Provider provider = mProviders.get(i); local 3357 Provider provider = mProviders.get(i); local 3449 Provider provider = mProviders.get(i); local 3892 Provider provider = widgets.get(i).provider; local 4008 Provider provider; field in class:AppWidgetServiceImpl.Widget 4143 Provider provider = widget.provider; local 4179 Provider provider = mProviders.get(i); local 4210 Provider provider = widget.provider; local 4414 Provider provider = e.getKey(); local 4483 Provider provider = mProviders.get(i); local 4532 Provider provider = widget.provider; local 4618 Provider provider = widget.provider; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/ |
BouncyCastleProvider.java | 1 package org.bouncycastle.jce.provider; 7 import java.security.Provider; 15 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 16 import org.bouncycastle.jcajce.provider.config.ProviderConfiguration; 17 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider; 18 import org.bouncycastle.jcajce.provider.util.AsymmetricKeyInfoConverter; 21 * To add the provider at runtime use: 24 * import org.bouncycastle.jce.provider.BouncyCastleProvider; 28 * The provider can also be configured as part of your environment via 36 * security.provider.<n>=org.bouncycastle.jce.provider.BouncyCastleProvide [all...] |
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/ |
MultibindingTest.java | 23 import javax.inject.Provider; 62 Map<String, Provider<String>> mapOfProviders = multibindingComponent.mapOfProviders();
|
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
ProducersTest.java | 26 import javax.inject.Provider; 100 Producer<Integer> producer = Producers.producerFromProvider(new Provider<Integer>() {
|
/external/guice/core/src/com/google/inject/ |
AbstractModule.java | 203 protected <T> Provider<T> getProvider(Key<T> key) { 211 protected <T> Provider<T> getProvider(Class<T> type) {
|
PrivateModule.java | 250 protected final <T> Provider<T> getProvider(Key<T> key) { 257 protected final <T> Provider<T> getProvider(Class<T> type) {
|
/external/guice/core/src/com/google/inject/internal/ |
AbstractBindingProcessor.java | 27 import com.google.inject.Provider; 53 Provider.class,
|
/external/guice/core/test/com/google/inject/ |
BinderTest.java | 62 Provider<Foo> fooProvider; 200 assertEquals("Provider<java.lang.Integer>", getProvider(Integer.class).toString()); 201 assertEquals("Provider<java.util.List<java.lang.String>>", 467 bind(new TypeLiteral<Provider<String>>() {}).toInstance(Providers.of("A")); 473 "1) Binding to Provider is not allowed.", 494 bind(Provider.class).annotatedWith(red).toProvider(Providers.<Provider>of(null)); 531 "Binding to Provider is not allowed.", 564 static class HasProvidedBy1Provider implements Provider<HasProvidedBy1> { 578 static class HasProvidedBy2Provider implements Provider<HasProvidedBy2> [all...] |
ScopesTest.java | 215 static class EProvider implements Provider<E> { 285 Provider<?> listProvider = scope.providers.get(Key.get(List.class)); 417 final Map<Key<?>, Provider<?>> providers = Maps.newHashMap(); 418 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped) { 441 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped) { 511 static class ImplementationProvider implements Provider<ProvidedBySingleton> { 532 @Inject Provider<B> bProvider; 534 public <T> Provider<T> scope(Key<T> key, final Provider<T> unscoped) [all...] |
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
FactoryModuleBuilder.java | 22 import com.google.inject.Provider; 199 * accepts a {@code Provider} as one of its arguments. 334 Provider<F> provider = new FactoryProvider2<F>(factoryInterface, bindings); 335 bind(factoryInterface).toProvider(provider);
|
FactoryProvider.java | 30 import com.google.inject.Provider; 153 public class FactoryProvider<F> implements Provider<F>, HasDependencies { 166 public static <F> Provider<F> newFactory(Class<F> factoryType, Class<?> implementationType){ 170 public static <F> Provider<F> newFactory(
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/ |
ShortNameFactoryTest.java | 26 import com.google.inject.Provider; 115 Key<?> key = Key.get(new TypeLiteral<Provider<String>>() {}); 117 "Provider<String>", nameFactory.getClassName(key)); 121 * Tests the case where a provider method is the source of the 165 assertEquals("Method provider should pretty print as the method signature",
|
/libcore/benchmarks/src/benchmarks/regression/ |
MessageDigestBenchmark.java | 60 @Param private Provider provider; field in class:MessageDigestBenchmark 62 public enum Provider { AndroidOpenSSL, BC }; 67 provider.toString()); 76 provider.toString()); 85 provider.toString()); 94 provider.toString()); 105 provider.toString()); 116 provider.toString()); 127 provider.toString()) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator3Test.java | 31 import java.security.Provider; 48 public static Provider validProvider = null;
|
/tools/apksig/src/main/java/com/android/apksig/internal/util/ |
DelegatingX509Certificate.java | 24 import java.security.Provider; 211 public void verify(PublicKey key, Provider sigProvider) throws CertificateException,
|
/frameworks/base/tests/RemoteDisplayProvider/src/com/android/media/remotedisplay/test/ |
RemoteDisplayProviderService.java | 29 * Remote display provider implementation that publishes working routes. 34 private Provider mProvider; 40 mProvider = new Provider(); 47 final class Provider extends RemoteDisplayProvider { 62 public Provider() { 141 // This isn't something a normal route provider would do though.
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/page/ |
CustomTitleView.java | 31 public class CustomTitleView extends RelativeLayout implements TitleViewAdapter.Provider {
|
/libcore/luni/src/test/java/tests/security/cert/ |
CertPathValidator1Test.java | 30 import java.security.Provider; 59 private static Provider defaultProvider; 160 * Test for <code>getInstance(String algorithm, String provider)</code> method 161 * Assertion: throws IllegalArgumentException when provider is null or empty 163 * FIXME: verify what exception will be thrown if provider is empty 171 String provider = null; local 174 CertPathValidator.getInstance(validValues[i], provider); 186 * Test for <code>getInstance(String algorithm, String provider)</code> method 188 * throws NoSuchProviderException when provider has invalid value 208 * Test for <code>getInstance(String algorithm, String provider)</code> metho [all...] |
/build/make/tools/signtos/ |
SignTos.java | 21 import org.bouncycastle.jce.provider.BouncyCastleProvider; 41 import java.security.Provider; 152 * Tries to load a JSE Provider by class name. This is for custom PrivateKey 195 if (!(o instanceof Provider)) { 196 System.err.println("Not a Provider class: " + providerClassName); 200 Security.insertProviderAt((Provider) o, 1);
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
Conscrypt.java | 23 import java.security.Provider; 38 * Constructs a new {@link Provider} with the default name. 40 public static Provider newProvider() { 45 * Constructs a new {@link Provider} with the given name. 47 public static Provider newProvider(String providerName) {
|
/external/dagger2/compiler/src/it/producers-functional-tests/src/test/java/producerstest/ |
ProducerFactoryTest.java | 26 import javax.inject.Provider; 46 private Provider<ProductionComponentMonitor> componentMonitorProvider; 54 new Provider<ProductionComponentMonitor>() {
|