/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertPathBuilder1Test.java | 27 import java.security.Provider; 66 private static Provider defaultProvider; 163 * Test for <code>getInstance(String algorithm, String provider)</code> method 164 * Assertion: throws IllegalArgumentException when provider is null or empty 166 * FIXME: verify what exception will be thrown if provider is empty 174 String provider = null; local 177 CertPathBuilder.getInstance(validValues[i], provider); 190 * Test for <code>getInstance(String algorithm, String provider)</code> method 192 * throws NoSuchProviderException when provider has invalid value 211 * Test for <code>getInstance(String algorithm, String provider)</code> metho [all...] |
/frameworks/base/docs/html/sdk/api_diff/5/changes/ |
fields_index_all.html | 75 <nobr><A HREF="android.provider.Contacts.SettingsColumns.html#android.provider.Contacts.SettingsColumns._SYNC_ACCOUNT" class="hiddenlink" target="rightframe">_SYNC_ACCOUNT</A> 77 <nobr><A HREF="android.provider.Contacts.SettingsColumns.html#android.provider.Contacts.SettingsColumns._SYNC_ACCOUNT_TYPE" class="hiddenlink" target="rightframe">_SYNC_ACCOUNT_TYPE</A> 112 <nobr><A HREF="android.provider.Contacts.Intents.Insert.html#android.provider.Contacts.Intents.Insert.ACTION" class="hiddenlink" target="rightframe">ACTION</A> 114 <nobr><A HREF="android.provider.Settings.html#android.provider.Settings.ACTION_ACCESSIBILITY_SETTINGS" class="hiddenlink" target="rightframe">ACTION_ACCESSIBILITY_SETTINGS</A> 140 <nobr><A HREF="android.provider.Settings.html#android.provider.Settings.ACTION_PRIVACY_SETTINGS" class="hiddenlink" target="rightframe">ACTION_PRIVACY_SETTINGS</ (…) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
SecurityTest.java | 28 import java.security.Provider; 67 * @tests java.security.Security#insertProviderAt(Provider, int) 77 Provider p = new MyProvider(); 79 Provider initialSecondProviderName = Security.getProviders()[1]; 83 // Insert at position -1, the provider is inserted at the end 87 // A provider cannot be added if it is already installed 102 assertSame(initialSecondProviderName, // provider shifted down 110 * @tests java.security.Security#addProvider(Provider) 120 Provider p = new MyProvider(); 128 // A provider cannot be added if it is already installe [all...] |
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
KeyManagerFactory1Test.java | 25 import java.security.Provider; 51 private static Provider defaultProvider = null; 55 private static final String NotSupportedMsg = "There is no suitable provider for KeyManagerFactory"; 166 * Test for <code>getInstance(String algorithm, String provider)</code> 168 * Assertion: throws IllegalArgumentException when provider is null or empty 176 String provider = null; local 179 KeyManagerFactory.getInstance(validValues[i], provider); 180 fail("Expected IllegalArgumentException was not thrown for null provider"); 185 fail("Expected IllegalArgumentException was not thrown for empty provider"); 192 * Test for <code>getInstance(String algorithm, String provider)</code 278 Provider provider = null; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/x509/ |
X509Util.java | 8 import java.security.Provider; 221 String provider) 224 if (provider != null) 226 return Signature.getInstance(algorithm, provider); 268 String provider, 281 sig = X509Util.getSignatureInstance(sigName, provider); 313 Provider provider; field in class:X509Util.Implementation 317 Provider provider) [all...] |
X509V1CertificateGenerator.java | 37 import org.bouncycastle.jce.provider.X509CertificateObject; 182 * using the default provider "BC". 195 throw new SecurityException("BC provider not installed!"); 201 * using the default provider "BC" and the passed in source of randomness 215 throw new SecurityException("BC provider not installed!"); 221 * using the passed in provider for the signing, and the passed in source 227 String provider) 230 return generateX509Certificate(key, provider, null); 235 * using the passed in provider for the signing, and the passed in source 241 String provider, [all...] |
/frameworks/base/core/java/android/provider/ |
Contacts.java | 17 package android.provider; 38 * The Contacts provider stores all information about contacts. 50 * @deprecated see {@link android.provider.ContactsContract} 56 * The content:// style URL for this provider 57 * @deprecated see {@link android.provider.ContactsContract} 64 * @deprecated see {@link android.provider.ContactsContract} 70 * @deprecated see {@link android.provider.ContactsContract} 76 * @deprecated see {@link android.provider.ContactsContract} 82 * @deprecated see {@link android.provider.ContactsContract} 88 * @deprecated see {@link android.provider.ContactsContract [all...] |
/frameworks/base/docs/html/sdk/api_diff/3/changes/ |
android.provider.MediaStore.html | 10 android.provider.MediaStore 74 Class android.provider.<A HREF="../../../../reference/android/provider/MediaStore.html" target="_top"><font size="+2"><code>MediaStore</code></font></A> 87 <A NAME="android.provider.MediaStore.ACTION_IMAGE_CAPTURE"></A> 88 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/MediaStore.html#ACTION_IMAGE_CAPTURE" target="_top"><code>ACTION_IMAGE_CAPTURE</code></A></nobr> 94 <A NAME="android.provider.MediaStore.ACTION_VIDEO_CAPTURE"></A> 95 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/MediaStore.html#ACTION_VIDEO_CAPTURE" target="_top"><code>ACTION_VIDEO_CAPTURE</code></A></nobr> 101 <A NAME="android.provider.MediaStore.EXTRA_FINISH_ON_COMPLETION"></A> 102 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/MediaStore.html#EXTRA_FINISH_ON_COMPLETION" target="_top"><code>EXTRA_FINISH_ON_COMPLETION</code></A></nobr> 108 <A NAME="android.provider.MediaStore.EXTRA_MEDIA_ALBUM"></A [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParameterGenerator1Test.java | 31 import java.security.Provider; 57 private static Provider validProvider = null; 131 * Test for <code>getInstance(String algorithm, String provider)</code> 134 * throws IllegalArgumentException if provider is null or empty 142 String provider = null; local 145 AlgorithmParameterGenerator.getInstance(algs[i], provider); 146 fail("IllegalArgumentException must be thrown when provider is null"); 151 fail("IllegalArgumentException must be thrown when provider is empty"); 158 * Test for <code>getInstance(String algorithm, String provider)</code> 160 * Assertion: throws NoSuchProviderException if provider is no 244 Provider provider = null; local [all...] |
ProviderTest.java | 32 import java.security.Provider; 35 import java.security.Provider.Service; 46 * Tests for <code>Provider</code> constructor and methods 54 * destroys the existing provider infrastructure. 57 Provider[] storedProviders; 59 Provider p; 78 for (Provider p: Security.getProviders()) { 82 for (Provider p: storedProviders) { 90 * Class under test for void Provider() 93 if (!p.getProperty("Provider.id name").equals [all...] |
/frameworks/base/docs/html/guide/topics/providers/ |
calendar-provider.jd | 1 page.title=Calendar Provider 51 <li>{@link android.provider.CalendarContract.Calendars}</li> 52 <li>{@link android.provider.CalendarContract.Events}</li> 53 <li>{@link android.provider.CalendarContract.Attendees}</li> 54 <li>{@link android.provider.CalendarContract.Reminders}</li> 59 <p>The Calendar Provider is a repository for a user's calendar events. The 60 Calendar Provider API allows you to perform query, insert, update, and delete 64 <p>The Calender Provider API can be used by applications and sync adapters. The 66 focuses primarily on using the Calendar Provider API as an application. For 74 Provider offers a set of intents, as described in <a href="#intents">Calenda [all...] |
/frameworks/base/docs/html/sdk/api_diff/17/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.getShowGTalkServiceStatus_changed(android.content.ContentResolver)"></A> 87 <nobr><code>boolean</code> <A HREF="../../../../reference/android/provider/Settings.System.html#getShowGTalkServiceStatus(android.content.ContentResolver)" target="_top"><code>getShowGTalkServiceStatus</code></A>(<code>ContentResolver</code>) </nobr> 96 <A NAME="android.provider.Settings.System.setShowGTalkServiceStatus_changed(android.content.ContentResolver, boolean)"></A> 97 <nobr><code>void</code> <A HREF="../../../../reference/android/provider/Settings.System.html#setShowGTalkServiceStatus(android.content.ContentResolver, boolean)" target="_top"><code>setShowGTalkServiceStatus</code></A>(<code>ContentResolver,</nobr> boolean<nobr><nobr></code>) </nobr> 115 <A NAME="android.provider.Settings.System.AIRPLANE_MODE_ON"></A> 116 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/Settings.System.html#AIRPLANE_MODE_ON" target="_top"><code>AIRPLANE_MODE_ON</code></font></A></nobr> </TD> 124 <A NAME="android.provider.Settings.System.AIRPLANE_MODE_RADIOS"></A [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
SettingsTest.java | 17 package android.provider.cts; 30 import android.provider.Settings; 48 // get provider 50 ContentProviderClient provider = local 60 provider.insert(Settings.System.CONTENT_URI, value); 61 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION, 76 provider.update(Settings.System.CONTENT_URI, value, 78 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION, 88 provider.delete(Settings.System.CONTENT_URI, 90 cursor = provider.query(Settings.System.CONTENT_URI, SYSTEM_PROJECTION 119 ContentProviderClient provider = cr.acquireContentProviderClient(uri); local 179 ContentProviderClient provider = local [all...] |
/external/chromium/chrome/browser/content_settings/ |
content_settings_pref_provider_unittest.cc | 59 content_settings::PrefDefaultProvider provider(&profile); 62 provider.DefaultSettingIsManaged(CONTENT_SETTINGS_TYPE_COOKIES)); 66 provider.ProvideDefaultSetting(CONTENT_SETTINGS_TYPE_COOKIES)); 67 provider.UpdateDefaultSetting(CONTENT_SETTINGS_TYPE_COOKIES, 70 provider.ProvideDefaultSetting(CONTENT_SETTINGS_TYPE_COOKIES)); 71 provider.ResetToDefaults(); 73 provider.ProvideDefaultSetting(CONTENT_SETTINGS_TYPE_COOKIES)); 78 PrefDefaultProvider provider(&profile); 81 provider.UpdateDefaultSetting( 91 PrefDefaultProvider provider(&profile) [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
LocationBasedCountryDetectorTest.java | 46 public TestCountryDetector(String country, String provider) { 47 this(country, provider, 1000 * 60 * 5); 50 public TestCountryDetector(String country, String provider, long queryLocationTimeout) { 53 mLocation = new Location(provider); 87 protected boolean isAcceptableProvider(String provider) { 89 return mAcceptableProviders.contains(provider); 96 protected void registerListener(String provider, LocationListener listener) { 97 assertNotNull(provider); 98 mListeners.put(provider, listener); 184 final String provider = "Good" local 221 final String provider = "Good"; local 246 final String provider = "Good"; local 264 final String provider = "Good"; local 287 final String provider = "Good"; local 324 final String provider = "Good"; local [all...] |
/frameworks/base/test-runner/src/android/test/ |
ProviderTestCase2.java | 32 * isolated content provider. Instead of using the system map of 53 * An instance of the provider under test, running in an {@link IsolatedContext}. 66 * For more information on content provider testing, please see 67 * <a href="{@docRoot}tools/testing/contentprovider_testing.html">Content Provider Testing</a>. 99 * @param providerClass The class name of the provider under test 100 * @param providerAuthority The provider's authority string 110 * Returns the content provider created by this class in the {@link #setUp()} method. 111 * @return T An instance of the provider class given as a parameter to the test case class. 122 * that isolates the provider's file operations, and a new instance of 123 * the provider under test within the isolated environment 221 T provider = providerClass.newInstance(); local [all...] |
/libcore/luni/src/main/java/javax/crypto/ |
Mac.java | 26 import java.security.Provider; 41 // Store used provider 42 private final Provider provider; field in class:Mac 58 * @param provider 59 * the implementation provider. 63 protected Mac(MacSpi macSpi, Provider provider, String algorithm) { 64 this.provider = provider; [all...] |
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/ |
AndroidManifest.xml | 40 provider which is enforced by the permission --> 41 <provider android:name="PermissionContentProvider" 46 </provider> 50 <provider android:name="PermissionContentProviderGranting" 57 </provider> 60 <provider android:name="PrivateContentProvider" 63 </provider> 66 <provider android:name="PrivateContentProviderGranting" 71 </provider> 73 <!-- An ambiguous content provider, where "exported" was not specified [all...] |
/development/samples/browseable/StorageProvider/ |
_index.jd | 6 {@link android.provider.DocumentsProvider} API to manage documents and
|
/development/samples/training/location-aware/res/values/ |
strings.xml | 21 <string name="enable_gps_dialog">GPS provider not enabled. Would you like to enable it?</string> 24 <string name="not_support_gps">GPS provider not supported</string> 25 <string name="not_support_network">Network provider not supported</string> 26 <string name="use_fine_provider">Fine-grain provider</string>
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/ |
MyProvider.java | 24 import java.security.Provider; 28 * Provider for testing 30 public class MyProvider extends Provider { 32 super("MyProvider", 1.0, "Provider for testing");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
DSAEncoder.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.util;
|
ExtendedInvalidKeySpecException.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.util;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
ExtCRLException.java | 1 package org.bouncycastle.jcajce.provider.asymmetric.x509;
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
BaseAlgorithmParameterGenerator.java | 1 package org.bouncycastle.jcajce.provider.symmetric.util;
|