HomeSort by relevance Sort by last modified time
    Searched refs:provider (Results 126 - 150 of 2699) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/base/test-runner/src/android/test/mock/
MockContentResolver.java 37 * authority. To have access to a provider based on its authority, users of
38 * MockContentResolver first instantiate the provider and
43 * Users can also set an authority's entry in the map to null, so that a provider is completely
59 * map when an API call tries to acquire a provider.
67 * map when an API call tries to acquire a provider.
75 * Adds access to a provider based on its authority
77 * @param name The authority name associated with the provider.
78 * @param provider An instance of {@link android.content.ContentProvider} or one of its
81 public void addProvider(String name, ContentProvider provider) {
84 * Maps the authority to the provider locally
102 final ContentProvider provider = mProviders.get(name); local
    [all...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DES.java 1 package org.bouncycastle.jcajce.provider.symmetric;
37 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider;
38 import org.bouncycastle.jcajce.provider.symmetric.util.BCPBEKey;
39 import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator;
40 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher;
41 import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator;
42 import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac;
43 import org.bouncycastle.jcajce.provider.symmetric.util.BaseSecretKeyFactory;
44 import org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher;
45 import org.bouncycastle.jcajce.provider.symmetric.util.PBE
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
ECDHKeyAgreementTest.java 32 import java.security.Provider;
86 throw new RuntimeException("Failed to decode KAT key pairs using default provider", e);
96 for (Provider keyFactoryProvider1 : getKeyFactoryProviders()) {
99 for (Provider keyFactoryProvider2 : getKeyFactoryProviders()) {
104 for (Provider keyAgreementProvider : getKeyAgreementProviders()) {
123 Provider keyAgreementProvider) throws Exception {
134 void testGetAlgorithm(Provider provider) throws Exception {
135 assertEquals("ECDH", getKeyAgreement(provider).getAlgorithm());
142 void testGetProvider(Provider provider) throws Exception
    [all...]
  /external/chromium/chrome/browser/content_settings/
content_settings_policy_provider_unittest.cc 36 PolicyDefaultProvider provider(&profile);
41 provider.DefaultSettingIsManaged(CONTENT_SETTINGS_TYPE_COOKIES));
47 provider.DefaultSettingIsManaged(CONTENT_SETTINGS_TYPE_COOKIES));
49 provider.ProvideDefaultSetting(CONTENT_SETTINGS_TYPE_COOKIES));
54 provider.DefaultSettingIsManaged(CONTENT_SETTINGS_TYPE_COOKIES));
94 // TODO(markusheintz): Check if it's possible to derive the provider class
111 PolicyProvider provider(static_cast<Profile*>(&profile));
118 provider.GetContentSetting(
121 provider.GetContentSetting(
124 provider.SetContentSetting
    [all...]
host_content_settings_map.cc 134 for (ConstDefaultProviderIterator provider =
136 provider != default_content_settings_providers_.end(); ++provider) {
138 (*provider)->ProvideDefaultSetting(content_type);
171 for (ConstProviderIterator provider = content_settings_providers_.begin();
172 provider != content_settings_providers_.end();
173 ++provider) {
174 provided_setting = (*provider)->GetContentSetting(
176 bool isManaged = (*provider)->ContentSettingsTypeIsManaged(content_type);
223 for (ConstProviderIterator provider = content_settings_providers_.begin()
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
RegisteredMediaRouteProviderWatcher.java 33 * Watches for media route provider services to be installed.
34 * Adds a provider to the media router for each registered service.
102 RegisteredMediaRouteProvider provider = local
105 provider.start();
106 mProviders.add(targetIndex++, provider);
107 mCallback.addProvider(provider);
109 RegisteredMediaRouteProvider provider = mProviders.get(sourceIndex); local
110 provider.start(); // restart the provider if needed
111 provider.rebindIfDisconnected()
120 RegisteredMediaRouteProvider provider = mProviders.get(i); local
131 RegisteredMediaRouteProvider provider = mProviders.get(i); local
    [all...]
  /libcore/luni/src/main/java/java/security/
Signature.java 44 // The provider
45 private Provider provider; field in class:Signature
106 Provider provider = sap.provider; local
110 result.provider = provider;
113 return new SignatureImpl((SignatureSpi) spi, provider, algorithm);
118 * algorithm from the specified provider
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_GroupMembershipTest.java 17 package android.provider.cts;
22 import android.provider.ContactsContract;
23 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
24 import android.provider.ContactsContract.Groups;
25 import android.provider.ContactsContract.RawContacts;
26 import android.provider.cts.ContactsContract_TestDataBuilder.TestData;
27 import android.provider.cts.ContactsContract_TestDataBuilder.TestGroup;
28 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact;
39 ContentProviderClient provider = local
41 mBuilder = new ContactsContract_TestDataBuilder(provider);
    [all...]
ContactsContract_CommonDataKinds_OrganizationTest.java 17 package android.provider.cts;
20 import android.provider.ContactsContract.CommonDataKinds.Im;
21 import android.provider.ContactsContract.CommonDataKinds.Organization;
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectorTest.java 34 * @tests AbstractSelector#provider()
38 .provider());
40 assertSame(SelectorProvider.provider(), mockSelector.provider());
42 assertNull(mockSelector.provider());
50 SelectorProvider.provider());
61 SelectorProvider.provider());
68 mockSelector = new MockAbstractSelector(SelectorProvider.provider());
104 Selector acceptSelector = SelectorProvider.provider().openSelector();
114 Selector acceptSelector = SelectorProvider.provider().openSelector()
    [all...]
  /frameworks/base/location/java/android/location/
ILocationManager.aidl 67 boolean providerMeetsCriteria(String provider, in Criteria criteria);
68 ProviderProperties getProviderProperties(String provider);
69 boolean isProviderEnabled(String provider);
72 void removeTestProvider(String provider);
73 void setTestProviderLocation(String provider, in Location loc);
74 void clearTestProviderLocation(String provider);
75 void setTestProviderEnabled(String provider, boolean enabled);
76 void clearTestProviderEnabled(String provider);
77 void setTestProviderStatus(String provider, int status, in Bundle extras, long updateTime);
78 void clearTestProviderStatus(String provider);
    [all...]
  /libcore/luni/src/main/java/javax/crypto/
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...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
LegacyApiSupport.java 32 import android.provider.BaseColumns;
33 import android.provider.Contacts.ContactMethods;
34 import android.provider.Contacts.Extensions;
35 import android.provider.Contacts.People;
36 import android.provider.ContactsContract;
37 import android.provider.ContactsContract.CommonDataKinds.Email;
38 import android.provider.ContactsContract.CommonDataKinds.GroupMembership;
39 import android.provider.ContactsContract.CommonDataKinds.Im;
40 import android.provider.ContactsContract.CommonDataKinds.Note;
41 import android.provider.ContactsContract.CommonDataKinds.Organization
    [all...]
  /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/auth/src/test/java/common/org/apache/harmony/auth/tests/support/
TestUtils.java 107 String provider = "security.provider.1"; local
108 while (Security.getProperty(provider) != null) {
109 propsToFlush.setProperty(provider, Security.getProperty(provider));
110 provider = "security.provider." + i++;
  /external/apache-harmony/x-net/src/test/impl/java/org/apache/harmony/xnet/tests/provider/jsse/
FinishedTest.java 18 package org.apache.harmony.xnet.tests.provider.jsse;
22 import org.apache.harmony.xnet.provider.jsse.AlertException;
23 import org.apache.harmony.xnet.provider.jsse.Finished;
24 import org.apache.harmony.xnet.provider.jsse.Handshake;
25 import org.apache.harmony.xnet.provider.jsse.HandshakeIODataStream;
HelloRequestTest.java 18 package org.apache.harmony.xnet.tests.provider.jsse;
20 import org.apache.harmony.xnet.provider.jsse.AlertException;
21 import org.apache.harmony.xnet.provider.jsse.Handshake;
22 import org.apache.harmony.xnet.provider.jsse.HandshakeIODataStream;
23 import org.apache.harmony.xnet.provider.jsse.HelloRequest;
ServerHelloDoneTest.java 18 package org.apache.harmony.xnet.tests.provider.jsse;
22 import org.apache.harmony.xnet.provider.jsse.AlertException;
23 import org.apache.harmony.xnet.provider.jsse.Handshake;
24 import org.apache.harmony.xnet.provider.jsse.HandshakeIODataStream;
25 import org.apache.harmony.xnet.provider.jsse.ServerHelloDone;
  /external/chromium_org/third_party/WebKit/Source/modules/notifications/
WebKitNotification.cpp 44 PassRefPtr<WebKitNotification> WebKitNotification::create(const String& title, const String& body, const String& iconUrl, ExecutionContext* context, ExceptionState& es, PassRefPtr<NotificationCenter> provider)
46 RefPtr<WebKitNotification> notification(adoptRef(new WebKitNotification(title, body, iconUrl, context, es, provider)));
52 WebKitNotification::WebKitNotification(const String& title, const String& body, const String& iconUrl, ExecutionContext* context, ExceptionState& es, PassRefPtr<NotificationCenter> provider)
53 : NotificationBase(title, context, provider->client())
57 if (provider->checkPermission() != NotificationClient::PermissionAllowed) {
  /external/smack/src/org/jivesoftware/smack/provider/
ProviderManager.java 21 package org.jivesoftware.smack.provider;
63 * Each IQ provider is associated with an element name and a namespace. If multiple provider
65 * classpath will take precedence. The IQ provider class can either implement the IQProvider
86 * message and presence packets, also exists. Each extension provider
99 * If multiple provider entries attempt to register to handle the same element name and namespace,
101 * is found in a packet, parsing will be passed to the correct provider. Each provider
103 * the former case, each extension provider is responsible for parsing the raw XML stream to
106 * extension provider is not registered for an element name and namespace combination, Smack wil
193 Class<?> provider = Class.forName(className); local
227 Class<?> provider = Class.forName(className); local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.ecf.provider.filetransfer.httpclient_4.0.0.v20100529-0735.jar 
  /external/chromium_org/chrome/common/extensions/features/
base_feature_provider_unittest.cc 17 FeatureProvider* provider = BaseFeatureProvider::GetByName("manifest"); local
19 static_cast<SimpleFeature*>(provider->GetFeature("description"));
47 static_cast<SimpleFeature*>(provider->GetFeature("theme"));
53 static_cast<SimpleFeature*>(provider->GetFeature("devtools_page"));
60 FeatureProvider* provider = BaseFeatureProvider::GetByName("permission"); local
62 static_cast<SimpleFeature*>(provider->GetFeature("contextMenus"));
88 static_cast<SimpleFeature*>(provider->GetFeature("chromePrivate"));
94 static_cast<SimpleFeature*>(provider->GetFeature("clipboardWrite"));
121 scoped_ptr<BaseFeatureProvider> provider(
125 EXPECT_FALSE(provider->GetFeature("feature1"))
    [all...]
  /external/chromium/chrome/browser/automation/
automation_util.h 56 void GetCookiesJSON(AutomationProvider* provider,
62 void DeleteCookieJSON(AutomationProvider* provider,
68 void SetCookieJSON(AutomationProvider* provider,
  /external/chromium_org/chrome/browser/extensions/api/system_cpu/
cpu_info_provider.cc 26 scoped_refptr<CpuInfoProvider> provider) {
27 DCHECK(provider.get() != NULL);
28 provider_.Get() = provider;
  /external/chromium_org/chrome/browser/extensions/api/system_memory/
memory_info_provider.cc 26 scoped_refptr<MemoryInfoProvider> provider) {
27 DCHECK(provider.get() != NULL);
28 provider_.Get() = provider;

Completed in 392 milliseconds

1 2 3 4 56 7 8 91011>>