/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
ExperimentingCaliperRun.java | 51 import javax.inject.Provider; 75 private final Provider<ListeningExecutorService> executorProvider; 86 Provider<ListeningExecutorService> executorProvider) {
|
/external/guice/core/src/com/google/inject/internal/ |
InjectorShell.java | 28 import com.google.inject.Provider; 228 private static class InjectorFactory implements InternalFactory<Injector>, Provider<Injector> { 245 return "Provider<Injector>"; 262 private static class LoggerFactory implements InternalFactory<Logger>, Provider<Logger> { 275 return "Provider<Logger>";
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaFinderProxy.java | 21 import com.google.inject.Provider; 50 private final Provider<EntityManager> emProvider; 53 public JpaFinderProxy(Provider<EntityManager> emProvider) {
|
/external/v8/tools/clang/plugins/tests/ |
ipc.cpp | 282 struct Provider { 310 Provider p; 320 IPC::WriteParam(nullptr, p.get<Provider::flags>()); // OK
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
KeyPairGenerator1Test.java | 32 import java.security.Provider; 59 public static Provider validProvider = null; 134 * Test for <code>getInstance(String algorithm, String provider)</code> 136 * Assertion: throws IllegalArgumentException when provider is null or empty 144 String provider = null; local 147 KeyPairGenerator.getInstance(algs[i], provider); 148 fail("IllegalArgumentException must be thrown when provider is null"); 153 fail("IllegalArgumentException must be thrown when provider is empty"); 160 * Test for <code>getInstance(String algorithm, String provider)</code> 163 * throws NoSuchProviderException when provider is not availabl 247 Provider provider = null; local [all...] |
KeyPairGenerator2Test.java | 30 import java.security.Provider; 69 Provider mProv; 82 "Testing provider", KeyPairGenerator1Test.srvKeyPairGenerator.concat(".") 206 assertEquals("Incorrect provider", kpG.getProvider(), mProv); 212 * Test for <code>getInstance(String algorithm, String provider)</code> 217 * throws IllegalArgumentException when provider is null; 218 * throws NoSuchProviderException when provider is available; 244 fail("IllegalArgumentException must be thrown when provider is null (algorithm: " 255 .concat(alg).concat(" provider: ").concat( 267 assertEquals("Incorrect provider", kpG.getProvider().getName() [all...] |
KeyStoreTest.java | 28 import java.security.Provider; 68 public static Provider defaultProvider = null; 72 Provider mProv; 87 "Testing provider", KeyStoreTestSupport.srvKeyStore.concat(".")
|
SignatureTest.java | 29 import java.security.Provider; 102 assertNull("provider", s.getProvider()); 175 Provider provider = new MyProvider("TestProvider", 1.0, "Test Provider", "Signature.ABC", MySignature.class.getName()); local 176 Security.insertProviderAt(provider, 1); 526 // getCurrentSpi throws a NPE on a Signature that was obtained via a provider that has that 529 Provider provider = new MyProvider( local 530 "TestProvider", 1.0, "Test Provider", "Signature.ABC" [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertStore2Test.java | 8 import java.security.Provider; 26 Provider provider; field in class:CertStore2Test 30 provider = new MyCertStoreProvider(); 31 Security.addProvider(provider); 159 parameters, provider); 163 assertSame(provider, certStore.getProvider()); 172 provider); 175 assertSame(provider, certStore.getProvider()); 183 CertStore.getInstance("UnknownCertStore", null, provider); [all...] |
CertificateFactory2Test.java | 33 import java.security.Provider; 65 Provider mProv; 70 "Provider for testing", CertificateFactory1Test.srvCertificateFactory 200 assertEquals("Incorrect provider", cerF.getProvider(), mProv); 206 * Test for <code>getInstance(String type, String provider)</code> method 210 * throws IllegalArgumentException when provider is null or empty; 211 * throws NoSuchProviderException when provider is available; 236 fail("IllegalArgumentException must be thrown when provider is null (type: " 242 fail("IllegalArgumentException must be thrown when provider is empty (type: " 253 .concat(validValues[i]).concat(" provider: " [all...] |
/system/extras/verity/ |
Utils.java | 32 import java.security.Provider; 124 if (!(o instanceof Provider)) { 125 System.err.println("Not a Provider class: " + providerClassName); 129 Security.insertProviderAt((Provider) o, 1);
|
/external/guice/core/test/com/google/inject/ |
ErrorHandlingTest.java | 45 bind(String.class).toProvider(new Provider<String>() {
|
ProvisionListenerTest.java | 332 // provider key binding -- notifies about provider & the object, always 338 // JIT provider key binding -- notifies about provider & the object, always 344 // provider instance binding -- just the object (not the provider) 421 static class FooP implements Provider<Foo> { 426 static class JitFoo2P implements Provider<JitFoo2> { 631 bind(Object.class).toProvider(new Provider<Object>() { 697 private static class DP implements Provider<D> [all...] |
/external/guice/extensions/dagger-adapter/lib/ |
dagger-2.0.jar | |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
MapBinderTest.java | 45 import com.google.inject.Provider; 91 final TypeLiteral<Map<String, javax.inject.Provider<String>>> mapOfStringJavaxProvider = 92 new TypeLiteral<Map<String, javax.inject.Provider<String>>>() {}; 93 final TypeLiteral<Map<String, Provider<String>>> mapOfStringProvider = 94 new TypeLiteral<Map<String, Provider<String>>>() {}; 106 return Types.newParameterizedType(javax.inject.Provider.class, type); 133 // Map<K, Provider<V>> 135 // Map<K, javax.inject.Provider<V>> 139 // Map<K, Set<Provider<V>> 141 // Set<Map.Entry<K, Provider<V>> [all...] |
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
ServletPipelineRequestDispatcherTest.java | 33 import com.google.inject.Provider; 107 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition); 177 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition); 249 Provider<ServletDefinition> bindingProvider = Providers.of(servletDefinition);
|
/external/skia/src/core/ |
SkLightingShader.cpp | 61 // The context takes ownership of the context and provider. It will call their destructors 64 SkShader::Context* diffuseContext, SkNormalSource::Provider*, 73 SkNormalSource::Provider* fNormalProvider; 298 SkShader::Context* diffuseContext, SkNormalSource::Provider* normalProvider, 449 SkNormalSource::Provider* normalProvider = fNormalSource->asProvider(rec, alloc);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
KeyManagerFactory1Test.java | 26 import java.security.Provider; 54 private static Provider defaultProvider = null; 58 private static final String NotSupportedMsg = "There is no suitable provider for KeyManagerFactory"; 189 * Test for <code>getInstance(String algorithm, String provider)</code> 191 * Assertion: throws IllegalArgumentException when provider is null or empty 199 String provider = null; local 202 KeyManagerFactory.getInstance(validValues[i], provider); 203 fail("Expected IllegalArgumentException was not thrown for null provider"); 208 fail("Expected IllegalArgumentException was not thrown for empty provider"); 215 * Test for <code>getInstance(String algorithm, String provider)</code 303 Provider provider = null; local [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
CipherInputStreamTest.java | 28 import java.security.Provider; 266 private static class MockProvider extends Provider { 268 super("MockProvider", 1.0, "Mock provider used for testing"); 277 Provider mockProvider = new MockProvider(); 296 for (Provider provider : Security.getProviders()) { 299 cipher = Cipher.getInstance("AES/GCM/NoPadding", provider); 304 if (provider.getName().equals("AndroidKeyStoreBCWorkaround")) { 316 if (provider.getName().equals("AndroidKeyStoreBCWorkaround")) { 333 + " Provider: " + provider) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 33 import java.security.Provider; 109 Provider[] providers = Security.getProviders("Cipher.DES"); 139 * java.security.Provider) 143 Provider[] providers = Security.getProviders("Cipher.DES"); 153 Cipher.getInstance("DES", (Provider) null); 170 Provider[] providers = Security.getProviders("Cipher.AES"); 175 Provider provider = providers[i]; local 176 Cipher cipher = Cipher.getInstance("AES", provider.getName()); 177 Provider cipherProvider = cipher.getProvider() [all...] |
KeyGeneratorTest.java | 30 import java.security.Provider; 67 private static Provider defaultProvider = null; 71 private static final String NotSupportMsg = "There is no suitable provider for KeyGenerator"; 122 assertEquals("Incorrect provider", keyG.getProvider(), defaultProvider); 137 assertNull("Provider must be null", keyG.getProvider()); 190 * Test for <code> getInstance(String algorithm, String provider)</code> method 218 * Test for <code> getInstance(String algorithm, String provider)</code> method 220 * throws IllegalArgumentException when provider is null or empty 221 * throws NoSuchProviderException when provider has not be configured 229 String provider = null local 308 Provider provider = null; local [all...] |
/prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.0/ |
dagger-2.0.jar | |
/prebuilts/tools/common/m2/repository/org/codehaus/gmaven/feature/gmaven-feature-api/1.5/ |
gmaven-feature-api-1.5.jar | |
/external/pdfium/core/fpdfdoc/ |
cpdf_variabletext.cpp | 32 CPDF_VariableText::Provider::Provider(IPVT_FontMap* pFontMap) 37 CPDF_VariableText::Provider::~Provider() {} 39 int32_t CPDF_VariableText::Provider::GetCharWidth(int32_t nFontIndex, 49 int32_t CPDF_VariableText::Provider::GetTypeAscent(int32_t nFontIndex) { 55 int32_t CPDF_VariableText::Provider::GetTypeDescent(int32_t nFontIndex) { 61 int32_t CPDF_VariableText::Provider::GetWordFontIndex(uint16_t word, 75 bool CPDF_VariableText::Provider::IsLatinWord(uint16_t word) { 80 int32_t CPDF_VariableText::Provider::GetDefaultFontIndex() [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaContentVerifierProviderBuilder.java | 6 import java.security.Provider; 36 public JcaContentVerifierProviderBuilder setProvider(Provider provider) 38 this.helper = new OperatorHelper(new ProviderJcaJceHelper(provider));
|