/external/guice/core/test/com/google/inject/ |
ProvisionExceptionsTest.java | 92 new Provider<Exploder>() { 107 pe.getMessage(), "1) Error in custom provider", "java.lang.IllegalStateException: boom!"); 135 pe.getMessage(), "1) Error in custom provider", "java.lang.IllegalStateException: boom!"); 164 pe.getMessage(), "1) Error in custom provider", "java.io.IOException: boom!");
|
RequestInjectionTest.java | 128 new Provider<Runnable>() { 140 "1) Error in custom provider, java.lang.UnsupportedOperationException",
|
InjectorTest.java | 404 static class Tree implements Provider<Object> { 418 static class Chicken implements Provider<Chicken> {
|
ProvisionExceptionTest.java | 71 assertFalse(e.getMessage().contains("custom provider")); 109 "1) Error in custom provider, java.lang.UnsupportedOperationException", 215 "1) Error in custom provider, java.lang.IllegalArgumentException", 218 "2) Error in custom provider, java.lang.NullPointerException: can't inject second either", 457 static class DProvider implements Provider<D> { 471 static class FProvider implements Provider<F> {
|
BindingTest.java | 86 // Provider instance. 89 new Provider<Foo>() { 97 // Provider. 99 .annotatedWith(named("provider")) 112 public static class FooProvider implements Provider<Foo> { 154 static class Counter implements Provider<Integer> {
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/cycle/ |
LongCycle.java | 20 import javax.inject.Provider; 123 static class Class101 { @Inject Class101(Provider<Class1> class1Provider) {} }
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
TlsTest.java | 42 import java.security.Provider; 88 private Provider jdkProvider;
|
/external/google-fruit/include/fruit/impl/meta/ |
component.h | 94 struct apply<Type<Provider<T>>> { 99 struct apply<Type<Provider<const T>>> { 164 struct apply<Type<Provider<T>>> { 169 struct apply<Type<Provider<const T>>> { 238 struct apply<Type<Provider<T>>> { 243 struct apply<Type<Provider<const T>>> { 894 // The caller must convert the types to the corresponding class type and expand any Provider<>s. 928 // The caller must convert the types to the corresponding class type and expand any Provider<>s. [all...] |
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
FactoryProvider2.java | 40 import com.google.inject.Provider; 77 * The newer implementation of factory provider. This implementation uses a child injector to create 287 if (underlylingType.equals(Provider.class) 288 || underlylingType.equals(javax.inject.Provider.class)) { 290 "A Provider may not be a type in a factory method of an AssistedInject." 329 // all injections directly inject the object itself (and not a Provider of the object, 330 // or an Injector), because it caches a single child injector and mutates the Provider 636 * optimized version caches the binding & uses a ThreadLocal Provider, so can only be applied if 638 * lazily retrieved, by looking for injections of Injector or a Provider for the assisted values. 655 + "because {1} has assisted Provider dependencies or injects the Injector. 825 Provider<?> provider; local [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/ |
UserIdentifyManager.c | 564 // Check credential provider by type.
573 // Check credential provider by ID.
[all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
Local.cpp | [all...] |
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
FactoryProviderTest.java | 30 import com.google.inject.Provider; 303 private final Provider<String> modifiersProvider; 307 public Firebird(Provider<String> modifiersProvider, @Assisted Color color) { 368 private final Provider<Set<String>> manufacturersProvider; 372 public Z(Provider<Set<String>> manufacturersProvider, @Assisted Color color) {
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyFactoryTest.java | 35 import java.security.Provider; 47 import java.security.Provider.Service; 69 // Assert that Android Keystore Provider exposes exactly the expected KeyFactory algorithms. 71 // of algorithms are accepted. If the Provider exposes extraneous algorithms, it'll be 75 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 76 Set<Service> services = provider.getServices();
|
KeyGeneratorTest.java | 32 import java.security.Provider; 36 import java.security.Provider.Service; 89 // Assert that Android Keystore Provider exposes exactly the expected KeyGenerator 91 // canonical names of algorithms are accepted. If the Provider exposes extraneous 95 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 96 Set<Service> services = provider.getServices();
|
KeyStoreTest.java | 39 import java.security.Provider; 165 Provider[] providers = Security.getProviders(); 166 for (Provider provider : providers) { 167 Set<Provider.Service> services = provider.getServices(); 168 for (Provider.Service service : services) { 174 KeyStore ks = KeyStore.getInstance(algorithm, provider); 175 assertEquals(provider, ks.getProvider()); 442 Provider[] providers = Security.getProviders() 490 Provider provider = Security.getProvider(providerName); local [all...] |
/external/conscrypt/common/src/main/java/org/conscrypt/ |
ConscryptFileDescriptorSocket.java | 48 import org.conscrypt.ExternalSession.Provider; 110 Platform.wrapSSLSession(new ExternalSession(new Provider() { 697 return Platform.wrapSSLSession(new ExternalSession(new Provider() { [all...] |
OpenSSLX509Certificate.java | 27 import java.security.Provider; 424 public void verify(PublicKey key, Provider sigProvider)
|
/external/conscrypt/openjdk/src/main/java/org/conscrypt/ |
Platform.java | 60 import java.security.Provider; 662 // Find the highest-priority non-Conscrypt provider that provides a PKIX 664 // likely the OpenJDK-provided provider, in which case the platform default properties 665 // for configuring CA certs will be used, but we'll accept any provider that can give 667 Provider[] providers = Security.getProviders("TrustManagerFactory.PKIX"); 668 for (Provider p : providers) { 670 // We need to skip any Conscrypt provider we find because this method is called 672 // TrustManagers, so trying to construct a TrustManager from this provider
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
ConscryptFileDescriptorSocket.java | 49 import com.android.org.conscrypt.ExternalSession.Provider; 111 Platform.wrapSSLSession(new ExternalSession(new Provider() { 698 return Platform.wrapSSLSession(new ExternalSession(new Provider() { [all...] |
OpenSSLX509Certificate.java | 28 import java.security.Provider; 428 public void verify(PublicKey key, Provider sigProvider)
|
/external/conscrypt/repackaged/openjdk/src/main/java/com/android/org/conscrypt/ |
Platform.java | 61 import java.security.Provider; 663 // Find the highest-priority non-Conscrypt provider that provides a PKIX 665 // likely the OpenJDK-provided provider, in which case the platform default properties 666 // for configuring CA certs will be used, but we'll accept any provider that can give 668 Provider[] providers = Security.getProviders("TrustManagerFactory.PKIX"); 669 for (Provider p : providers) { 671 // We need to skip any Conscrypt provider we find because this method is called 673 // TrustManagers, so trying to construct a TrustManager from this provider
|
/external/google-fruit/include/fruit/impl/injector/ |
injector_storage.defn.h | 158 struct GetFirstStage<Provider<C>> { 159 Provider<C> operator()(InjectorStorage& injector, InjectorStorage::Graph::node_iterator node_itr) { 160 return Provider<C>(&injector, node_itr); 223 struct GetSecondStage<Provider<C>> { 224 Provider<C> operator()(Provider<C> p) { 463 // This can happen if the user-supplied provider returns nullptr. 466 " but the provider returned nullptr"); 515 // This can happen if the user-supplied provider returns nullptr. 518 " but the provider returned nullptr") [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
DependencyRequest.java | 35 import javax.inject.Provider; 74 /** A request for a {@link Provider}. E.g.: {@code Provider<Blah>} */ 75 PROVIDER, 98 case PROVIDER: 171 * {@code Map<K, Provider<V>>} or {@code Map<K, Producer<V>>} 177 Kind.PROVIDER, 312 // inside something (e.g, Provider, Lazy, etc..). 333 * requests {@code Provider<Foo>}, this will return ({@link Kind#PROVIDER}, {@code Foo}) [all...] |
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/ |
GeneratedJavaParserBase.java | 30 abstract void ReInit(Provider provider); 45 void reset(Provider provider) { 46 ReInit(provider);
|
/frameworks/av/media/libaudioprocessing/tests/ |
test-resampler.cpp | 48 fprintf(stderr," -v verbose : log buffer provider calls\n"); 261 class Provider: public AudioBufferProvider { 270 Provider(const void* addr, size_t frames, size_t frameSize, const Vector<int>& Pvalues) 325 } provider(input_vaddr, input_frames, input_framesize, Pvalues); 414 resampler->resample((int*) output_vaddr, output_frames, &provider); 415 provider.reset(); // during benchmarking reset only the provider 454 resampler->resample((int*) output_vaddr + output_channels*i, thisFrames, &provider);
|