/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/ |
LocationVerifier.java | 95 "\" provider reports isFromMockProvider() to be " + 110 public void onStatusChanged(String provider, int status, Bundle extras) { } 112 public void onProviderEnabled(String provider) { } 114 public void onProviderDisabled(String provider) { } 117 private void assertMeanAndStdev(String provider, List<Long> deltas, double minMeanRatio) { 123 fail(provider + " provider mean too small: " + mean 130 fail (provider + " provider stdev too big: " 135 mCb.log(provider + " provider mean: " + mean) [all...] |
/external/chromium_org/printing/backend/ |
win_helper.cc | 22 HPTPROVIDER* provider); 24 typedef HRESULT (WINAPI* PTGetPrintCapabilitiesProc)(HPTPROVIDER provider, 30 HPTPROVIDER provider, 37 HPTPROVIDER provider, 46 HPTPROVIDER provider, 55 typedef HRESULT (WINAPI* PTCloseProviderProc)(HPTPROVIDER provider); 144 HPTPROVIDER* provider) { 145 return g_open_provider_proc(printer_name.c_str(), version, provider); 148 HRESULT XPSModule::GetPrintCapabilities(HPTPROVIDER provider, 152 return g_get_print_capabilities_proc(provider, [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
AbstractSelectableChannelTest.java | 41 testChannel = new MockSelectableChannel(SelectorProvider.provider()); 61 testChannel = new MockSelectableChannel(SelectorProvider.provider()); 74 * @tests AbstractSelectableChannel#provider() 77 SelectorProvider provider = testChannel.provider(); local 78 assertSame(SelectorProvider.provider(), provider); local 80 provider = testChannel.provider(); 81 assertNull(provider); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
RC2.java | 1 package org.bouncycastle.jcajce.provider.symmetric; 26 import org.bouncycastle.jcajce.provider.config.ConfigurableProvider; 28 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameterGenerator; 29 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseAlgorithmParameters; 31 import org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher; 33 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseKeyGenerator; 34 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseMac; 35 // import org.bouncycastle.jcajce.provider.symmetric.util.BaseWrapCipher; 37 import org.bouncycastle.jcajce.provider.symmetric.util.PBESecretKeyFactory; 38 import org.bouncycastle.jcajce.provider.util.AlgorithmProvider [all...] |
/prebuilts/sdk/18/ |
android.jar | |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/ |
Sasl2Test.java | 24 import java.security.Provider; 45 Provider[] mProv; 61 for (Provider element : mProv) { 68 for (Provider element : mProv) { 91 mProv = new Provider[] { 93 "Testing provider SaslClientFactory - 1", CLNTSRV 96 "Testing provider SaslClientFactory - 2", CLNTSRV 99 "Testing provider SaslClientFactory - 3", CLNTSRV 102 "Testing provider SaslClientFactory - 4", CLNTSRV 142 mProv = new Provider[] { [all...] |
Sasl3Test.java | 25 import java.security.Provider; 52 private Provider [] provs; 63 for (Provider element : provs) { 69 protected Provider[] mProv; 72 for (Provider element : mProv) { 84 for (Provider element : mProv) { 106 mProv = new Provider[] { 108 "Testing provider SaslClientFactory - 1", CLNTSRV 111 "Testing provider SaslClientFactory - 2", CLNTSRV 172 mProv = new Provider[] { [all...] |
Sasl4Test.java | 25 import java.security.Provider; 49 private Provider [] provs; 60 for (Provider element : provs) { 66 protected Provider[] mProv; 69 for (Provider element : mProv) { 81 for (Provider element : mProv) { 104 mProv = new Provider[] { 106 "Testing provider SaslServerFactory - 1", SRVSSRV 109 "Testing provider SaslServerFactory - 2", SRVSSRV 169 mProv = new Provider[] { [all...] |
/external/chromium/chrome/browser/content_settings/ |
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/base/docs/html/sdk/api_diff/14/changes/ |
android.provider.Settings.Secure.html | 10 android.provider.Settings.Secure 74 Class android.provider.<A HREF="../../../../reference/android/provider/Settings.Secure.html" target="_top"><font size="+2"><code>Settings.Secure</code></font></A> 87 <A NAME="android.provider.Settings.Secure.TOUCH_EXPLORATION_ENABLED"></A> 88 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/Settings.Secure.html#TOUCH_EXPLORATION_ENABLED" target="_top"><code>TOUCH_EXPLORATION_ENABLED</code></A></nobr> 102 <A NAME="android.provider.Settings.Secure.BACKGROUND_DATA"></A> 103 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/Settings.Secure.html#BACKGROUND_DATA" target="_top"><code>BACKGROUND_DATA</code></font></A></nobr> </TD> 111 <A NAME="android.provider.Settings.Secure.TTS_DEFAULT_COUNTRY"></A> 112 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/Settings.Secure.html#TTS_DEFAULT_COUNTRY" target="_top"><code>TTS_DEFAULT_COUNTRY</code></font></A></nobr> </TD> 120 <A NAME="android.provider.Settings.Secure.TTS_DEFAULT_LANG"></A [all...] |
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismTest.java | 29 import java.security.Provider; 61 * Assertion: creates new object using provider and mechanism name 64 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", 65 "Provider for ExemptionMechanism testing", 72 assertEquals("Incorrect provider", em.getProvider(), mProv); 87 assertNull("Incorrect provider", em.getProvider()); 99 * javax/crypto/ExemptionMechanism#getInstance(String algorithm, String provider) 124 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider", 125 "Provider for ExemptionMechanism testing", 156 Provider mProv = (new SpiEngUtils()).new MyProvider("MyExMechProvider" [all...] |
SecretKeyFactoryTest.java | 29 import java.security.Provider; 62 private static Provider defaultProvider = null; 131 assertEquals("Incorrect provider", secKF.getProvider(), defaultProvider); 137 assertNull("Provider must be null", secKF.getProvider()); 185 * Test for <code>getInstance(String algorithm, String provider)</code> 215 * Test for <code>getInstance(String algorithm, String provider)</code> 218 * throws IllegalArgumentException when provider is null or empty; 219 * throws NoSuchProviderException when provider has invalid value 232 .concat(validValues[i]).concat(" provider: null")); 238 .concat(validValues[i]).concat(" provider: empty")) [all...] |
/frameworks/base/docs/html/sdk/api_diff/5/ |
user_comments_for_4_to_5.xml | [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_PhotoTest.java | 17 package android.provider.cts; 23 import android.provider.ContactsContract; 24 import android.provider.ContactsContract.CommonDataKinds.Photo; 25 import android.provider.ContactsContract.Contacts; 26 import android.provider.cts.ContactsContract_TestDataBuilder.TestContact; 27 import android.provider.cts.ContactsContract_TestDataBuilder.TestData; 28 import android.provider.cts.ContactsContract_TestDataBuilder.TestRawContact; 49 ContentProviderClient provider = local 51 mBuilder = new ContactsContract_TestDataBuilder(provider);
|
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Security_ImplTest.java | 42 assertNull("Incorrect result (provider not added)", Security 45 Provider p = new MyProvider(); 48 assertEquals("Incorrect result (provider added)", 56 * Class under test for Provider[] getProviders() 59 Provider[] providers; 64 assertEquals("Incorrect provider number", i + 1, providers[i] 109 Provider p = new MyProvider(); 122 class MyProvider extends Provider { 124 super("MyProvider", 1.0, "Provider for testing");
|
/external/chromium_org/chrome/browser/search/ |
most_visited_iframe_source.cc | 77 // If a specific provider is specified, log the metric specific to the 78 // provider. 79 std::string provider; local 80 if (net::GetValueForKeyInQuery(url, "pr", &provider)) 81 LogMostVisitedProviderClick(position, provider); 102 const std::string& provider) { 104 MostVisitedIframeSource::GetHistogramNameForProvider(provider); 115 const std::string& provider) { 117 provider.c_str());
|
/frameworks/base/docs/html/training/contacts-provider/ |
index.jd | 23 <a href="{@docRoot}guide/topics/providers/content-provider-basics.html"> 24 Content Provider Basics</a> 27 <a href="{@docRoot}guide/topics/providers/contacts-provider.html"> 28 Contacts Provider</a> 45 The <a href="{@docRoot}guide/topics/providers/contacts-provider.html">Contacts Provider</a> is 47 social networking apps. In your apps, you can access Contacts Provider information directly by 55 <a href="{@docRoot}guide/topics/providers/contacts-provider.html">Contacts Provider</a>.
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
CryptoProvider.java | 18 package org.apache.harmony.security.provider.crypto; 20 import java.security.Provider; 23 * Implementation of Provider for SecureRandom, MessageDigest and Signature 31 public final class CryptoProvider extends Provider { 36 * Creates a Provider and puts parameters 43 final String MD_NAME = "org.apache.harmony.security.provider.crypto.SHA1_MessageDigestImpl"; 44 final String SR_NAME = "org.apache.harmony.security.provider.crypto.SHA1PRNG_SecureRandomImpl"; 46 final String SIGN_NAME = "org.apache.harmony.security.provider.crypto.SHA1withDSA_SignatureImpl"; 51 final String KEYF_NAME = "org.apache.harmony.security.provider.crypto.DSAKeyFactoryImpl";
|
/packages/providers/CalendarProvider/tests/ |
EMMA_README | 2 # the Calendar provider with EMMA coverage, executes the Calendar CTS 18 # This also defines a no_emma_calp() function that rebuilds the provider 25 # rebuild provider with emma coverage 34 -e class android.provider.cts.CalendarTest \ 35 -w 'com.android.cts.provider/android.provider.cts.CalendarTest\$CalendarEmmaTestRunner' 38 output=/sdcard/calendar-provider.ec 59 # rebuild provider without emma coverage 77 && EMMA_INSTRUMENT=$emma mmm -j4 cts/tests/tests/provider
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_TestProvider.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_TestProvider extends Provider { 30 // Provider name 41 * Constructs a new instance of the dummy provider. 56 "made.up.provider.name.MessageDigestSHA"); 58 "made.up.provider.name.MessageDigestMD2"); 67 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 71 "made.up.provider.name.AlgorithmParametersDSA"); 78 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/frameworks/base/core/java/android/content/pm/ |
ProviderInfo.java | 26 * {@link android.content.ContentProvider content provider}. This is returned by 33 /** The name provider is published under content:// */ 37 * provider. */ 41 * provider. */ 45 * provider can be granted, as per the 63 * accessing the provider. Any permissions listed here will allow a 64 * holding client to access the provider, and the provider will check 69 /** If true, this content provider allows multiple instances of itself 79 * Bit in {@link #flags}: If set, a single instance of the provider wil [all...] |
/frameworks/base/core/java/android/provider/ |
SyncStateContract.java | 17 package android.provider; 65 * @param provider the {@link ContentProviderClient} that is to be used to communicate 73 public static byte[] get(ContentProviderClient provider, Uri uri, 75 Cursor c = provider.query(uri, DATA_PROJECTION, SELECT_BY_ACCOUNT, 78 // Unable to query the provider 95 * @param provider the {@link ContentProviderClient} that is to be used to communicate 103 public static void set(ContentProviderClient provider, Uri uri, 109 provider.insert(uri, values); 112 public static Uri insert(ContentProviderClient provider, Uri uri, 118 return provider.insert(uri, values) [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_TestProvider.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 27 public class Support_TestProvider extends Provider { 30 // Provider name 41 * Constructs a new instance of the dummy provider. 56 "made.up.provider.name.MessageDigestSHA"); 58 "made.up.provider.name.MessageDigestMD5"); 67 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 71 "made.up.provider.name.AlgorithmParametersDSA"); 78 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/external/bouncycastle/ |
bouncycastle.config | 29 org/bouncycastle/jcajce/provider/asymmetric/ecgost \ 30 org/bouncycastle/jcajce/provider/asymmetric/elgamal \ 31 org/bouncycastle/jcajce/provider/asymmetric/dstu \ 32 org/bouncycastle/jcajce/provider/asymmetric/gost \ 33 org/bouncycastle/jcajce/provider/asymmetric/ies \ 35 org/bouncycastle/jce/provider/test \ 313 org/bouncycastle/jcajce/provider/asymmetric/DSTU4145.java \ 314 org/bouncycastle/jcajce/provider/asymmetric/ECGOST.java \ 315 org/bouncycastle/jcajce/provider/asymmetric/ElGamal.java \ 316 org/bouncycastle/jcajce/provider/asymmetric/GOST.java [all...] |
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data.h | 96 // Provider defines the platform specific part of OSExchangeData that 98 class UI_EXPORT Provider { 100 Provider() {} 101 virtual ~Provider() {} 103 virtual Provider* Clone() const = 0; 152 // Creates the platform specific Provider. 153 static Provider* CreateProvider(); 156 // Creates an OSExchangeData with the specified provider. OSExchangeData 157 // takes ownership of the supplied provider. 158 explicit OSExchangeData(Provider* provider) 163 const Provider& provider() const { return *provider_; } function in class:ui::OSExchangeData 164 Provider& provider() { return *provider_; } function in class:ui::OSExchangeData [all...] |