/frameworks/support/v4/ics/android/support/v4/app/ |
ShareCompatICS.java | 30 ShareActionProvider provider = null; local 32 provider = new ShareActionProvider(callingActivity); 34 provider = (ShareActionProvider) itemProvider; 36 provider.setShareHistoryFileName(HISTORY_FILENAME_PREFIX + 38 provider.setShareIntent(intent); 39 item.setActionProvider(provider);
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
DRLCertFactory.java | 23 package org.apache.harmony.security.provider.cert; 25 import java.security.Provider; 27 public final class DRLCertFactory extends Provider { 34 * Constructs the instance of the certificate factory provider. 37 // specification of the provider name, version, and description. 40 put("CertificateFactory.X509", "org.apache.harmony.security.provider.cert.X509CertFactoryImpl");
|
/libcore/luni/src/main/java/javax/crypto/ |
KeyAgreement.java | 25 import java.security.Provider; 44 // Store used provider 45 private final Provider provider; field in class:KeyAgreement 58 * @param provider 59 * the provider providing this KeyAgreement. 63 protected KeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, 65 this.provider = provider; [all...] |
ExemptionMechanism.java | 26 import java.security.Provider; 41 // Store used provider 42 private final Provider provider; field in class:ExemptionMechanism 64 * @param provider 65 * the associated provider. 70 Provider provider, String mechanism) { 73 this.provider = provider; [all...] |
/libcore/luni/src/main/java/java/security/ |
Security.java | 37 * the list of security {@code Provider} that have been installed into this 48 // - if no provider description file found then load default providers 74 secprops.put("security.provider.1", "com.android.org.conscrypt.OpenSSLProvider"); 75 secprops.put("security.provider.2", "org.apache.harmony.security.provider.cert.DRLCertFactory"); 76 secprops.put("security.provider.3", "com.android.org.bouncycastle.jce.provider.BouncyCastleProvider"); 77 secprops.put("security.provider.4", "org.apache.harmony.security.provider.crypto.CryptoProvider"); 78 secprops.put("security.provider.5", "com.android.org.conscrypt.JSSEProvider") [all...] |
/frameworks/base/location/java/android/location/ |
LocationProvider.java | 23 * An abstract superclass for location providers. A location provider 27 * <p> Each provider has a set of criteria under which it may be used; 52 * Constructs a LocationProvider with the given name. Provider names must 61 throw new IllegalArgumentException("provider name contains illegal character: " + name); 68 * Returns the name of this provider. 75 * Returns true if this provider meets the given criteria, 88 // passive provider never matches 92 // unfortunately this can happen for provider in remote services 121 * Returns true if the provider requires access to a 129 * Returns true if the provider requires access to [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_provider.h | 32 // neither the HistoryQuickProvider (which is a provider that appears 45 // Search Primary Provider (past query in history within 2 days) | 1399** 46 // Search Primary Provider (what you typed) | 1300 50 // Search Primary Provider (past query in history older than 2 days) | 1050-- 54 // Search Primary Provider (navigational suggestion) | 800++ 55 // Search Primary Provider (suggestion) | 600++ 57 // Search Secondary Provider (what you typed) | 250 58 // Search Secondary Provider (past query in history) | 200-- 59 // Search Secondary Provider (navigational suggestion) | 150++ 60 // Search Secondary Provider (suggestion) | 100+ [all...] |
/external/chromium_org/chrome/browser/content_settings/ |
content_settings_policy_provider_unittest.cc | 40 // TODO(markusheintz): Check if it's possible to derive the provider class 51 PolicyProvider provider(prefs); 56 provider.GetRuleIterator( 67 provider.GetRuleIterator( 79 provider.ShutdownOnUIThread(); 85 PolicyProvider provider(prefs); 91 provider.GetRuleIterator( 103 provider.ShutdownOnUIThread(); 112 PolicyProvider provider(prefs); 120 provider.AddObserver(&mock_observer) [all...] |
/external/chromium_org/extensions/browser/ |
management_policy.h | 30 // the methods of this Provider interface that it needs. In each case, if the 31 // provider does not need to control a certain action, that method does not 34 // It is not guaranteed that a particular Provider's methods will be called 39 // For all of the Provider methods below, if |error| is not NULL and the 42 class Provider { 44 Provider() {} 45 virtual ~Provider() {} 47 // A human-readable name for this provider, for use in debug messages. 78 DISALLOW_COPY_AND_ASSIGN(Provider); 84 // Registers or unregisters a provider, causing it to be added to or remove [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SecurityTest.java | 26 import java.security.Provider; 39 * java.security.Security#insertProviderAt(Provider, int) 49 Provider p = new MyProvider(); 52 Provider initialSecondProviderName = Security.getProviders()[1]; 56 // Insert at position -1, the provider is inserted at the end 60 // A provider cannot be added if it is already installed 75 assertSame(initialSecondProviderName, // provider shifted down 83 * java.security.Security#addProvider(Provider) 93 Provider p = new MyProvider(); 102 // A provider cannot be added if it is already installe 118 Provider provider = new MyProvider(); local 357 MyProvider provider = new MyProvider(); local [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/jcajce/ |
JcaSignerInfoVerifierBuilder.java | 3 import java.security.Provider; 32 public JcaSignerInfoVerifierBuilder setProvider(Provider provider) 34 this.helper = new ProviderHelper(provider); 149 private final Provider provider; field in class:JcaSignerInfoVerifierBuilder.ProviderHelper 151 public ProviderHelper(Provider provider) 153 this.provider = provider; [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator1Test.java | 58 private static Provider validProvider = null; 132 * Test for <code>getInstance(String algorithm, String provider)</code> 135 * throws IllegalArgumentException if provider is null or empty 143 String provider = null; local 146 AlgorithmParameterGenerator.getInstance(algs[i], provider); 147 fail("IllegalArgumentException must be thrown when provider is null"); 152 fail("IllegalArgumentException must be thrown when provider is empty"); 159 * Test for <code>getInstance(String algorithm, String provider)</code> 161 * Assertion: throws NoSuchProviderException if provider is not 175 fail("NoSuchProviderException must be thrown (provider: 245 Provider provider = null; local [all...] |
ProviderTest.java | 36 * Tests for <code>Provider</code> constructor and methods 41 Provider p; 52 * Class under test for void Provider() 55 assertEquals("Provider.id name", p.getProperty("Provider.id name"), 57 assertEquals("Provider.id version", p 58 .getProperty("Provider.id version"), String.valueOf(p 60 assertEquals("Provider.id info", p.getProperty("Provider.id info"), 62 assertEquals("Provider.id className", [all...] |
/frameworks/base/services/java/com/android/server/ |
LocationManagerService.java | 59 import android.provider.Settings; 148 private PassiveProvider mPassiveProvider; // track passive provider for special cases 173 // mapping from provider name to provider 177 // mapping from provider name to all its UpdateRecords 181 // mapping from provider name to last known location 284 // this list the standard provider binding logic won't bind to it. 300 Log.w(TAG, "Found fused provider without metadata: " + packageName); 307 // This should be the fallback fused location provider. 325 if (D) Log.d(TAG, "Found fallback provider: " + packageName) 438 GeofenceProxy provider = GeofenceProxy.createAndBind(mContext, local 823 mProvidersByName.put(provider.getName(), provider); local 1479 LocationProviderInterface provider = mProvidersByName.get(name); local 1602 LocationProviderInterface provider = mProvidersByName.get(name); local 1727 provider); local 1769 provider); local 1784 provider); local 1915 String provider = (passive ? LocationManager.PASSIVE_PROVIDER : location.getProvider()); local 2094 String provider = myLocation.getProvider(); local 2197 MockProvider provider = new MockProvider(name, this, properties); local 2363 String provider = entry.getKey(); local 2370 String provider = entry.getKey(); local [all...] |
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
ProviderTest.java | 40 * Tests for <code>Provider</code> constructor and methods 45 Provider p; 61 .getResourceStream("java/security/Provider.prop.dat")); 67 !String.valueOf(p.getName()).equals(p.getProperty("Provider.id name").trim()) || 68 !String.valueOf(p.getVersion()).equals(p.getProperty("Provider.id version").trim()) || 69 !String.valueOf(p.getInfo()).equals(p.getProperty("Provider.id info").trim()) || 70 !p.getClass().getName().equals(p.getProperty("Provider.id className").trim()) || 88 Provider.Service s = new Provider.Service(p, "Type", "Algorithm", 96 Provider.Service s1 = p.getService("MessageDigest", "AbC") [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoLocationPermissionTest.java | 54 private boolean isKnownLocationProvider(String provider) { 55 return mAllProviders.contains(provider); 114 * provider throws SecurityException. 116 * @param provider the String provider name. 118 private void checkRequestLocationUpdates(String provider) { 119 if (!isKnownLocationProvider(provider)) { 120 // skip this test if the provider is unknown 127 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener); 135 mLocationManager.requestLocationUpdates(provider, 0, 0, mockListener, looper) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.eclipse.ecf.provider.filetransfer_3.1.0.v20100529-0735.jar | |
/external/chromium/chrome/browser/policy/ |
configuration_policy_pref_store_unittest.cc | 299 MockConfigurationPolicyProvider provider; local 300 provider.AddPolicy(kPolicyProxyBypassList, 302 provider.AddPolicy(kPolicyProxyServer, 304 provider.AddPolicy(kPolicyProxyServerMode, 309 new ConfigurationPolicyPrefStore(&provider)); 316 MockConfigurationPolicyProvider provider; local 317 provider.AddPolicy(kPolicyProxyServerMode, 320 provider.AddPolicy(kPolicyProxyBypassList, 322 provider.AddPolicy(kPolicyProxyServer, 325 new ConfigurationPolicyPrefStore(&provider)); 332 MockConfigurationPolicyProvider provider; local 345 MockConfigurationPolicyProvider provider; local 355 MockConfigurationPolicyProvider provider; local 366 MockConfigurationPolicyProvider provider; local 377 MockConfigurationPolicyProvider provider; local 388 MockConfigurationPolicyProvider provider; local 402 MockConfigurationPolicyProvider provider; local 416 MockConfigurationPolicyProvider provider; local 432 MockConfigurationPolicyProvider provider; local 443 MockConfigurationPolicyProvider provider; local 455 MockConfigurationPolicyProvider provider; local 469 MockConfigurationPolicyProvider provider; local 495 MockConfigurationPolicyProvider provider; local 543 MockConfigurationPolicyProvider provider; local 596 MockConfigurationPolicyProvider provider; local 636 MockConfigurationPolicyProvider provider; local [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
EngineTest.java | 25 import java.security.Provider; 48 Provider p = new MyProvider(); 55 if (engine.provider != p) { 56 fail("Incorrect provider"); 67 Provider p = new MyProvider(); 77 * Class under test for SpiImpl getInstance(String, Provider, Object) 80 Provider p = new MyProvider(); 86 if (engine.provider != p) { 87 fail("Incorrect provider"); 95 * Class under test for SpiImpl getInstance(String, Provider, Object [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
Pipe.java | 38 * @param provider 39 * the provider of the channel. 41 protected SinkChannel(SelectorProvider provider) { 42 super(provider); 64 * @param provider 65 * the provider of the channel. 67 protected SourceChannel(SelectorProvider provider) { 68 super(provider); 89 return SelectorProvider.provider().openPipe();
|
/frameworks/base/docs/html/guide/topics/providers/ |
content-provider-creating.jd | 1 page.title=Creating a Content Provider 39 <a href="#MIMETypes">Implementing Content Provider MIME Types</a> 53 <a href="#Permissions">Implementing Content Provider Permissions</a> 56 <a href="#ProviderElement">The <provider> Element</a> 86 <a href="{@docRoot}guide/topics/providers/content-provider-basics.html"> 87 Content Provider Basics</a> 90 <a href="{@docRoot}guide/topics/providers/calendar-provider.html"> 91 Calendar Provider</a> 99 A content provider manages access to a central repository of data. You implement a 100 provider as one or more classes in an Android application, along with elements i [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider_list.cc | 26 bool AutomationProviderList::AddProvider(AutomationProvider* provider) { 27 provider->AddRef(); 28 automation_providers_.push_back(provider); 32 bool AutomationProviderList::RemoveProvider(AutomationProvider* provider) { 34 find(automation_providers_.begin(), automation_providers_.end(), provider);
|
/external/chromium/chrome/browser/themes/ |
theme_service_factory.cc | 47 ThemeService* provider = NULL; local 49 provider = new GtkThemeService; 51 provider = new ThemeService; 53 provider->Init(profile); 55 return provider;
|
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data_provider_aurax11_unittest.cc | 22 ui::OSExchangeDataProviderAuraX11 provider; local 25 provider.SetURL(GURL(kGoogleURL), ASCIIToUTF16(kGoogleTitle)); 29 EXPECT_TRUE(provider.GetURLAndTitle( 36 provider.SetURL(GURL(kGoogleURL), string16()); 40 EXPECT_TRUE(provider.GetURLAndTitle(
|
/frameworks/base/services/java/com/android/server/media/ |
RemoteDisplayProviderWatcher.java | 39 * Watches for remote display provider services to be installed. 40 * Adds a provider to the media router for each registered service. 123 RemoteDisplayProviderProxy provider = local 127 provider.start(); 128 mProviders.add(targetIndex++, provider); 129 mCallback.addProvider(provider); 131 RemoteDisplayProviderProxy provider = mProviders.get(sourceIndex); local 132 provider.start(); // restart the provider if needed 133 provider.rebindIfDisconnected() 142 RemoteDisplayProviderProxy provider = mProviders.get(i); local 190 RemoteDisplayProviderProxy provider = mProviders.get(i); local [all...] |