/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyAgreement_Impl1Test.java | 26 import java.security.Provider; 48 private static Provider defaultProvider = null; 52 private static final String NotSupportMsg = "There is no suitable provider for KeyAgreement"; 76 assertEquals("Incorrect provider", keyA.getProvider(), defaultProvider); 82 assertNull("Provider must be null", keyA.getProvider()); 97 public myKeyAgreement(KeyAgreementSpi keyAgreeSpi, Provider provider, 99 super(keyAgreeSpi, provider, algorithm);
|
SecretKeyFactory_ImplTest.java | 27 import java.security.Provider; 62 Provider mProv; 66 mProv = (new SpiEngUtils()).new MyProvider("MySKFProvider", "Testing provider", 119 assertEquals("Incorrect provider", skf.getProvider(), mProv); 125 * Test for <code>getInstance(String algorithm, String provider)</code> 130 * throws IllegalArgumentException when provider is null or empty; 131 * throws NoSuchProviderException when provider is available; 156 fail("IllegalArgumentException must be thrown when provider is null (algorithm: " 162 fail("IllegalArgumentException must be thrown when provider is empty (algorithm: " 171 .concat(invalidValues[i]).concat(" provider: " [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
ServicesTest.java | 24 import java.security.Provider; 37 Provider p = new MyProvider(); 39 Provider ap = new AnotherProvider(); 42 Provider.Service serv = Services.getService("Service.ALGORITHM"); 58 Provider p = new MyProvider(); 61 Provider.Service serv = Services.getService("Service.ALGORITHM"); 76 class AnotherProvider extends Provider { 78 super("MyProvider", 1.0, "Provider for testing");
|
/external/chromium/base/win/ |
event_trace_controller_unittest.cc | 163 TestingProvider provider(kTestProvider); 165 EXPECT_EQ(ERROR_SUCCESS, provider.Register()); 166 EXPECT_EQ(NULL, provider.session_handle()); 178 provider.WaitForCallback(); 180 EXPECT_EQ(TRACE_LEVEL_VERBOSE, provider.enable_level()); 181 EXPECT_EQ(kTestProviderFlags, provider.enable_flags()); 185 provider.WaitForCallback(); 187 EXPECT_EQ(0, provider.enable_level()); 188 EXPECT_EQ(0, provider.enable_flags()); 190 EXPECT_EQ(ERROR_SUCCESS, provider.Unregister()) [all...] |
/external/chromium/chrome/browser/prefs/ |
pref_service_mock_builder.cc | 65 policy::ConfigurationPolicyProvider* provider) { 66 managed_platform_prefs_ = new policy::ConfigurationPolicyPrefStore(provider); 72 policy::ConfigurationPolicyProvider* provider) { 73 managed_cloud_prefs_ = new policy::ConfigurationPolicyPrefStore(provider); 79 policy::ConfigurationPolicyProvider* provider) { 81 new policy::ConfigurationPolicyPrefStore(provider); 87 policy::ConfigurationPolicyProvider* provider) { 88 recommended_cloud_prefs_ = new policy::ConfigurationPolicyPrefStore(provider);
|
/external/chromium/chrome/browser/ui/webui/options/chromeos/ |
cros_options_page_ui_handler.cc | 13 CrosSettingsProvider* provider) : settings_provider_(provider) {
|
/external/chromium_org/content/browser/geolocation/ |
location_arbitrator_impl.h | 32 // Number of milliseconds newer a location provider has to be that it's worth 33 // switching to this location provider on the basis of it being fresher 65 // Takes ownership of |provider| on entry; it will either be added to 67 void RegisterProvider(LocationProvider* provider); 74 void LocationUpdateAvailable(const LocationProvider* provider, 79 // provider. 89 // The provider which supplied the current |position_| 101 // Factory functions for the various types of location provider to abstract
|
geolocation_provider_unittest.cc | 123 LocationProviderForTestArbitrator* provider() { return provider_.get(); } function in class:content::GeolocationProviderTest 130 // Called on provider thread. 170 EXPECT_FALSE(provider()->LocationServicesOptedIn()); 171 provider()->UserDidOptIntoLocationServices(); 172 EXPECT_TRUE(provider()->LocationServicesOptedIn()); 176 EXPECT_FALSE(provider()->IsRunning()); 178 provider()->AddLocationUpdateCallback(null_callback, false); 179 EXPECT_TRUE(provider()->IsRunning()); 182 provider()->RemoveLocationUpdateCallback(null_callback); 184 EXPECT_TRUE(provider()->IsRunning()) [all...] |
/external/chromium_org/webkit/common/gpu/ |
webgraphicscontext3d_provider_impl.cc | 13 scoped_refptr<cc::ContextProvider> provider) 14 : provider_(provider) {}
|
/frameworks/base/tests/RemoteDisplayProvider/ |
README | 11 To exercise the provider, use System UI features for connecting to 16 used as an example implementation of a robust remote display provider.
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteProvider.java | 32 * The purpose of a media route provider is to discover media routes that satisfy 37 * The provider should watch for changes to the discovery request by implementing 44 * A media route provider may be used privately within the scope of a single 46 * to add it to the local {@link MediaRouter}. A media route provider may also be made 48 * in the provider's manifest. When the media route provider is registered 50 * discover and used the provider's routes without having to install anything else. 72 * Creates a media route provider. 94 * Gets the context of the media route provider. 101 * Gets the provider's handler which is associated with the main thread [all...] |
/frameworks/base/location/java/android/location/ |
LocationManager.java | 69 * Name of the network location provider. 70 * <p>This provider determines location based on 77 * Name of the GPS location provider. 79 * <p>This provider determines location using 80 * satellites. Depending on conditions, this provider may take a while to return 84 * <p> The extras Bundle for the GPS location provider can contain the 93 * A special location provider for receiving locations without actually initiating 96 * <p>This provider can be used to passively receive location updates 98 * the locations yourself. This provider will return locations generated by other 102 * not enabled this provider might only return coarse fixes 283 String provider = b.getString("provider"); local [all...] |
/external/chromium_org/base/ |
path_service.cc | 32 // PathProviderPosix is the default path provider on POSIX OSes other than 44 struct Provider { 46 struct Provider* next; 54 Provider base_provider = { 65 Provider base_provider_win = { 77 Provider base_provider_mac = { 89 Provider base_provider_android = { 101 Provider base_provider_posix = { 117 Provider* providers; // Linked list of path service providers. 133 Provider* p = providers [all...] |
logging_win.cc | 53 LogEventProvider* provider = LogEventProvider::GetInstance(); local 54 if (provider == NULL || level > provider->enable_level()) 58 if (provider->enable_flags() & ENABLE_LOG_MESSAGE_ONLY) { 63 provider->Log(event.get()); 71 if (provider->enable_flags() & ENABLE_STACK_TRACE_CAPTURE) 89 provider->Log(event.get()); 93 if (severity < provider->old_log_level_) 100 LogEventProvider* provider = LogEventProvider::GetInstance(); local 102 provider->set_provider_name(provider_name) [all...] |
/frameworks/base/location/lib/java/com/android/location/provider/ |
LocationProviderBase.java | 17 package com.android.location.provider; 43 * <p>The network location provider must export a service with action 48 * <p>The fused location provider must export a service with action 72 * Name of the Fused location provider. 74 * <p>This provider combines inputs for all possible location sources 129 * Used by the location provider to report new locations. 141 // never crash provider, might be running in a system process 147 * Enable the location provider. 148 * <p>The provider may initialize resources, but does 154 * Disable the location provider [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 | |
/prebuilts/devtools/tools/lib/ |
jython-standalone-2.5.3.jar | |
/prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/ |
jython-standalone-2.5.3.jar | |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
TrustManagerFactory1Test.java | 25 import java.security.Provider; 50 private static Provider defaultProvider = null; 54 private static final String NotSupportedMsg = "There is no suitable provider for TrustManagerFactory"; 163 * Test for <code>getInstance(String algorithm, String provider)</code> 165 * Assertion: throws IllegalArgumentException when provider is null 174 String provider = null; local 177 TrustManagerFactory.getInstance(validValues[i], provider); 178 fail("IllegalArgumentException must be thrown when provider is null"); 183 fail("IllegalArgumentException must be thrown when provider is empty"); 190 * Test for <code>getInstance(String algorithm, String provider)</code 277 Provider provider = null; local [all...] |
/frameworks/base/docs/html/tools/testing/ |
contentprovider_testing.jd | 1 page.title=Content Provider Testing 11 <a href="#DesignAndTest">Content Provider Design and Testing</a> 14 <a href="#ContentProviderTestAPI">The Content Provider Testing API</a> 77 <h2 id="DesignAndTest">Content Provider Design and Testing</h2> 80 tables of data, with their internals hidden from view. A content provider may have many 82 This suggests that you should write your tests based only on the provider's public members. 83 A content provider that is designed like this is offering a contract between itself and its 88 {@link android.test.ProviderTestCase2}, allows you to test your content provider in an 93 As with other Android tests, provider test packages are run under the control of the test 103 <h2 id="ContentProviderTestAPI">Content Provider Testing API</h2 [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.provider.Settings.System.html | 10 android.provider.Settings.System 74 Class android.provider.<A HREF="../../../../reference/android/provider/Settings.System.html" target="_top"><font size="+2"><code>Settings.System</code></font></A> 86 <A NAME="android.provider.Settings.System.getLong_added(android.content.ContentResolver, java.lang.String)"></A> 87 <nobr><code>long</code> <A HREF="../../../../reference/android/provider/Settings.System.html#getLong(android.content.ContentResolver, java.lang.String)" target="_top"><code>getLong</code></A>(<code>ContentResolver,</nobr> String<nobr><nobr></code>)</nobr> 93 <A NAME="android.provider.Settings.System.getLong_added(android.content.ContentResolver, java.lang.String, long)"></A> 94 <nobr><code>long</code> <A HREF="../../../../reference/android/provider/Settings.System.html#getLong(android.content.ContentResolver, java.lang.String, long)" target="_top"><code>getLong</code></A>(<code>ContentResolver,</nobr> String<nobr>,</nobr> long<nobr><nobr></code>)</nobr> 100 <A NAME="android.provider.Settings.System.putLong_added(android.content.ContentResolver, java.lang.String, long)"></A> 101 <nobr><code>boolean</code> <A HREF="../../../../reference/android/provider/Settings.System.html#putLong(android.content.ContentResolver, java.lang.String, long)" target="_top"><code>putLong</code></A>(<code>ContentResolver,</nobr> String<nobr>,</nobr> long<nobr><nobr></code>)</nobr> 116 <A NAME="android.provider.Settings.System.ACCELEROMETER_ROTATION"></A [all...] |
/external/chromium/base/ |
logging_win.cc | 53 LogEventProvider* provider = LogEventProvider::GetInstance(); local 54 if (provider == NULL || level > provider->enable_level()) 58 if (provider->enable_flags() & ENABLE_LOG_MESSAGE_ONLY) { 63 provider->Log(event.get()); 71 if (provider->enable_flags() & ENABLE_STACK_TRACE_CAPTURE) 89 provider->Log(event.get()); 93 if (severity < provider->old_log_level_) 100 LogEventProvider* provider = LogEventProvider::GetInstance(); local 102 provider->set_provider_name(provider_name) [all...] |
/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/core/java/android/content/ |
IContentService.aidl | 37 * Register a content observer tied to a specific user's view of the provider. 38 * @param userHandle the user whose view of the provider is to be observed. May be 47 * Notify observers of a particular user's view of the provider. 48 * @param userHandle the user whose view of the provider is to be notified. May be 62 * Check if the provider should be synced when a network tickle is received 63 * @param providerName the provider whose setting we are querying 64 * @return true if the provider should be synced when a network tickle is received 69 * Set whether or not the provider is synced when it receives a network tickle. 71 * @param providerName the provider whose behavior is being controlled 72 * @param sync true if the provider should be synced when tickles are received for i [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyGeneratorTest.java | 28 import java.security.Provider; 62 private static Provider defaultProvider = null; 66 private static final String NotSupportMsg = "There is no suitable provider for KeyGenerator"; 117 assertEquals("Incorrect provider", keyG.getProvider(), defaultProvider); 132 assertNull("Provider must be null", keyG.getProvider()); 185 * Test for <code> getInstance(String algorithm, String provider)</code> method 213 * Test for <code> getInstance(String algorithm, String provider)</code> method 215 * throws IllegalArgumentException when provider is null or empty 216 * throws NoSuchProviderException when provider has not be configured 224 String provider = null local 303 Provider provider = null; local [all...] |