/external/guice/core/test/com/google/inject/ |
ProvisionExceptionsTest.java | 83 bind(Exploder.class).toProvider(new Provider<Exploder>() { 97 "1) Error in custom provider", "java.lang.IllegalStateException: boom!"); 120 "1) Error in custom provider", "java.lang.IllegalStateException: boom!"); 144 "1) Error in custom provider", "java.io.IOException: boom!");
|
RequestInjectionTest.java | 120 bind(Runnable.class).toProvider(new Provider<Runnable>() { 130 "1) Error in custom provider, java.lang.UnsupportedOperationException",
|
InjectorTest.java | 370 static class Tree implements Provider<Object> { 383 static class Chicken implements Provider<Chicken> {
|
/external/syslinux/gpxe/src/arch/i386/interface/pxe/ |
pxe_file.c | 248 * @ret s_PXENV_FILE_API_CHECK::Provider "gPXE" (0x45585067) 267 file_api_check->Provider = 0x45585067; /* "gPXE" */
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
TitleView.java | 34 public class TitleView extends FrameLayout implements TitleViewAdapter.Provider {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
SSLContext1Test.java | 26 import java.security.Provider; 56 private static Provider defaultProvider = null; 108 assertEquals("Incorrect provider", defaultProvider, 126 assertNull("Incorrect provider", sslContext.getProvider()); 224 fail("NoSuchAlgorithmException was not thrown as expected for provider: " 232 * Test for <code>getInstance(String protocol, String provider)</code> 233 * method Assertion: throws IllegalArgumentException when provider is null 242 String provider = null; local 245 SSLContext.getInstance(defaultProtocol, provider); 246 fail("IllegalArgumentException must be thrown when provider is null") 337 Provider provider = null; local [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertificateFactory1Test.java | 37 import java.security.Provider; 60 private static Provider defaultProvider = null; 143 * Test for <code>getInstance(String type, String provider)</code> method 144 * Assertion: throws IllegalArgumentException when provider is null or empty 152 String provider = null; local 155 CertificateFactory.getInstance(validValues[i], provider); 156 fail("IllegalArgumentException must be thrown when provider is null"); 161 fail("IllegalArgumentException must be thrown when provider is empty"); 168 * Test for <code>getInstance(String type, String provider)</code> method 189 invalidValues[i]).concat(" provider: ").concat 227 Provider provider = null; local [all...] |
/libcore/ojluni/src/main/java/sun/security/util/ |
ManifestEntryVerifier.java | 48 * Holder class to lazily load Sun provider. NOTE: if 49 * Providers.getSunProvider returned a cached provider, we could avoid the 50 * need for caching the provider with this holder class; we should try to 54 private static final Provider instance = Providers.getSunProvider();
|
/packages/apps/Gallery2/src/com/android/photos/ |
GalleryActivity.java | 36 public class GalleryActivity extends Activity implements MultiChoiceManager.Provider {
|
/prebuilts/jdk/jdk8/darwin-x86/jre/lib/security/ |
java.security | 29 # "provider" refers to a package or set of packages that supply a 31 # the Java Security API. A provider may, for example, implement one or 34 # Each provider must implement a subclass of the Provider class. 35 # To register a provider in this master security properties file, 36 # specify the Provider subclass name and priority in the format 38 # security.provider.<n>=<className> 40 # This declares a provider, and specifies its preference 42 # searched for requested algorithms (when no specific provider is 46 # <className> must specify the subclass of the Provider class whos [all...] |
/prebuilts/jdk/jdk8/linux-x86/jre/lib/security/ |
java.security | 29 # "provider" refers to a package or set of packages that supply a 31 # the Java Security API. A provider may, for example, implement one or 34 # Each provider must implement a subclass of the Provider class. 35 # To register a provider in this master security properties file, 36 # specify the Provider subclass name and priority in the format 38 # security.provider.<n>=<className> 40 # This declares a provider, and specifies its preference 42 # searched for requested algorithms (when no specific provider is 46 # <className> must specify the subclass of the Provider class whos [all...] |
/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/guice/core/src/com/google/inject/internal/ |
ProviderMethodsModule.java | 29 import com.google.inject.Provider; 48 * binding annotations on the provider method to configure the binding. 83 * Returns a module which creates bindings for provider methods from the given module. 97 * Returns a module which creates bindings for provider methods from the given object. 100 * <p>This will skip bytecode generation for provider methods, since it is assumed that callers 151 for (ProviderMethod<?> provider : result) { 152 Method method = provider.getMethod(); 161 String annotationString = provider.getAnnotation().annotationType() == Provides.class 162 ? "@Provides" : "@" + provider.getAnnotation().annotationType().getCanonicalName(); 176 * Returns true if the method is a provider [all...] |
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
ImageCardViewTest.java | 135 // The following provider will create an Activity which can inflate the ImageCardView 137 TestActivity.Provider imageCardViewProvider = new TestActivity.Provider() { 505 // Helper function to register provider's name
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
URICertStore.java | 26 package sun.security.provider.certpath; 35 import java.security.Provider; 486 protected UCS(CertStoreSpi spi, Provider p, String type,
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
SimpleOneCameraFactory.java | 66 import com.android.camera.util.Provider; 143 new Provider<ExecutorService>() {
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
BaseModelUpdateTaskTestCase.java | 23 import android.support.test.rule.provider.ProviderTestRule; 38 import com.android.launcher3.util.Provider; 207 @NonNull Provider<LauncherActivityInfo> infoProvider,
|
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/ |
FactoryProvider2.java | 39 import com.google.inject.Provider; 77 * The newer implementation of factory provider. This implementation uses a child injector to 260 if (underlylingType.equals(Provider.class) 261 || underlylingType.equals(javax.inject.Provider.class)) { 262 errors.addMessage("A Provider may not be a type in a factory method of an AssistedInject." 299 // all injections directly inject the object itself (and not a Provider of the object, 300 // or an Injector), because it caches a single child injector and mutates the Provider 593 * optimized version caches the binding & uses a ThreadLocal Provider, so can only be applied if 595 * lazily retrieved, by looking for injections of Injector or a Provider for the assisted values. 610 + "because {1} has assisted Provider dependencies or injects the Injector. 759 Provider<?> provider; local [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
IconCache.java | 55 import com.android.launcher3.util.Provider; 452 Provider.<LauncherActivityInfo>of(null), 465 getTitleAndIcon(info, Provider.of(activityInfo), false, useLowResIcon); 491 @NonNull Provider<LauncherActivityInfo> activityInfoProvider, 532 @NonNull Provider<LauncherActivityInfo> infoProvider, [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/ |
UserIdentifyManager.c | 564 // Check credential provider by type.
573 // Check credential provider by ID.
[all...] |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
SpiUtils.java | 59 import com.google.inject.Provider; 228 (ProviderMapEntry<?, ?>) (Provider) pib.getUserSuppliedProvider(); 319 (ProviderMapEntry<?, ?>) (Provider) pb.getUserSuppliedProvider(); 724 Key<Optional<javax.inject.Provider<T>>> optionalJavaxProviderKey = 728 Key<Optional<Provider<T>>> optionalProviderKey = [all...] |
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
FactoryProviderTest.java | 30 import com.google.inject.Provider; 280 private final Provider<String> modifiersProvider; 284 public Firebird(Provider<String> modifiersProvider, @Assisted Color color) { 339 private final Provider<Set<String>> manufacturersProvider; 343 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 | 31 import java.security.Provider; 35 import java.security.Provider.Service; 81 // Assert that Android Keystore Provider exposes exactly the expected KeyGenerator 83 // canonical names of algorithms are accepted. If the Provider exposes extraneous 87 Provider provider = Security.getProvider(EXPECTED_PROVIDER_NAME); local 88 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...] |