/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyProvider.java | 3 import java.security.Provider; 5 public class MyProvider extends Provider { 8 super("MyProvider", 1.0, "Test Provider 1.0");
|
/frameworks/base/location/java/com/android/internal/location/ |
LocationProviderProxy.java | 89 ILocationProvider provider; 91 provider = mProvider; 92 if (provider == null) { 100 mCachedAttributes.setRequiresNetwork(provider.requiresNetwork()); 101 mCachedAttributes.setRequiresSatellite(provider.requiresSatellite()); 102 mCachedAttributes.setRequiresCell(provider.requiresCell()); 103 mCachedAttributes.setHasMonetaryCost(provider.hasMonetaryCost()); 104 mCachedAttributes.setSupportsAltitude(provider.supportsAltitude()); 105 mCachedAttributes.setSupportsSpeed(provider.supportsSpeed()); 106 mCachedAttributes.setSupportsBearing(provider.supportsBearing()) 211 ILocationProvider provider; local 225 ILocationProvider provider; local 242 ILocationProvider provider; local 256 ILocationProvider provider; local 287 ILocationProvider provider; local 305 ILocationProvider provider; local 320 ILocationProvider provider; local 333 ILocationProvider provider; local 346 ILocationProvider provider; local 360 ILocationProvider provider; local 373 ILocationProvider provider; local [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/channels/spi/ |
package.html | 4 Service-provider classes for nio channels.
|
/dalvik/libcore/nio_char/src/main/java/java/nio/charset/spi/ |
package.html | 4 Service-provider class for nio charset.
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
LocalProvider.java | 3 public class LocalProvider extends Provider {
|
/frameworks/base/location/java/android/location/ |
LocationListener.java | 40 * Called when the provider status changes. This method is called when 41 * a provider is unable to fetch a location or if the provider has recently 44 * @param provider the name of the location provider associated with this 47 * provider is out of service, and this is not expected to change in the 49 * the provider is temporarily unavailable but is expected to be available 51 * provider is currently available. 52 * @param extras an optional Bundle which will contain provider specific 63 void onStatusChanged(String provider, int status, Bundle extras) [all...] |
ILocationManager.aidl | 38 void requestLocationUpdates(String provider, long minTime, float minDistance, 40 void requestLocationUpdatesPI(String provider, long minTime, float minDistance, 51 boolean sendExtraCommand(String provider, String command, inout Bundle extras); 57 Bundle getProviderInfo(String provider); 58 boolean isProviderEnabled(String provider); 60 Location getLastKnownLocation(String provider); 63 // Passive is true if the location is coming from the passive provider, in which case 77 void removeTestProvider(String provider); 78 void setTestProviderLocation(String provider, in Location loc); 79 void clearTestProviderLocation(String provider); [all...] |
/dalvik/libcore/x-net/src/main/java/javax/net/ssl/ |
TrustManagerFactory.java | 27 import java.security.Provider; 33 * The factory for {@code TrustManager}s based on {@code KeyStore} or provider 69 * if no installed provider can provide the requested algorithm. 81 return new TrustManagerFactory((TrustManagerFactorySpi) engine.spi, engine.provider, 88 * trust management algorithm from the specified provider. 92 * @param provider 93 * the name of the provider that provides the requested 97 * if the specified provider cannot provide the requested 100 * if the specified provider does not exist. 105 public static final TrustManagerFactory getInstance(String algorithm, String provider) [all...] |
KeyManagerFactory.java | 27 import java.security.Provider; 70 * if no installed provider can provide the requested algorithm. 82 return new KeyManagerFactory((KeyManagerFactorySpi) engine.spi, engine.provider, 89 * management algorithm from the specified provider. 93 * @param provider 94 * the name of the provider that provides the requested 98 * if the specified provider cannot provide the requested 101 * if the specified provider does not exist. 106 public static final KeyManagerFactory getInstance(String algorithm, String provider) 108 if ((provider == null) || (provider.length() == 0)) [all...] |
SSLContext.java | 23 import java.security.Provider; 48 * if no installed provider can provide the requested protocol 59 return new SSLContext((SSLContextSpi) engine.spi, engine.provider, protocol); 65 * the specified provider. 69 * @param provider 70 * the name of the provider that provides the requested protocol. 73 * if the specified provider cannot provider the requested 76 * if the specified provider does not exits. 81 public static SSLContext getInstance(String protocol, String provider) 126 private final Provider provider; field in class:SSLContext [all...] |
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderServiceTest.java | 31 import java.security.Provider; 32 import java.security.Provider.Service; 43 * Tests for <code>Provider.Service</code> constructor and methods 52 args = {java.security.Provider.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.util.List.class, java.util.Map.class} 55 Provider p = new MyProvider(); 57 new Provider.Service(null, "type", "algorithm", "className", null, 59 fail("provider is null: No expected NullPointerException"); 63 new Provider.Service(p, null, "algorithm", "className", null, null); 68 new Provider.Service(p, "type", null, "className", null, null); 73 new Provider.Service(p, "type", "algorithm", null, null, null) [all...] |
/dalvik/libcore/security/src/main/java/java/security/cert/ |
CertPathBuilder.java | 24 import java.security.Provider; 50 // Store used provider 51 private final Provider provider; field in class:CertPathBuilder 64 * @param provider 65 * the provider. 67 * the desired algorithm available at the provider. 69 protected CertPathBuilder(CertPathBuilderSpi builderSpi, Provider provider, 71 this.provider = provider [all...] |
CertPathValidator.java | 24 import java.security.Provider; 50 // Store used provider 51 private final Provider provider; field in class:CertPathValidator 64 * @param provider 65 * the security provider. 70 Provider provider, String algorithm) { 71 this.provider = provider; [all...] |
CertStore.java | 24 import java.security.Provider; 52 // Store used provider 53 private final Provider provider; field in class:CertStore 69 * @param provider 70 * the security provider. 76 protected CertStore(CertStoreSpi storeSpi, Provider provider, String type, 78 this.provider = provider; [all...] |
/dalvik/libcore/security/src/main/java/java/security/ |
KeyFactory.java | 36 // The provider 37 private Provider provider; field in class:KeyFactory 55 * @param provider 56 * the provider. 61 Provider provider, 63 this.provider = provider; 77 * if no provider provides the requested algorithm [all...] |
AlgorithmParameterGenerator.java | 40 // Store used provider 41 private final Provider provider; field in class:AlgorithmParameterGenerator 55 * @param provider 56 * the provider. 61 AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, 63 this.provider = provider; 98 (AlgorithmParameterGeneratorSpi) engine.spi, engine.provider, [all...] |
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/ |
BouncyCastleProvider.java | 1 package org.bouncycastle.jce.provider; 3 import java.security.Provider; 15 * To add the provider at runtime use: 18 * import org.bouncycastle.jce.provider.BouncyCastleProvider; 22 * The provider can also be configured as part of your environment via 30 * security.provider.<n>=org.bouncycastle.jce.provider.BouncyCastleProvider 33 * Where <n> is the preference you want the provider at (1 being the 38 public final class BouncyCastleProvider extends Provider 40 private static String info = "BouncyCastle Security Provider v1.34" [all...] |
/dalvik/libcore/support/src/test/java/tests/support/ |
Support_ProviderTrust.java | 22 import java.security.Provider; 25 * This class implements a dummy provider. 28 public class Support_ProviderTrust extends Provider { 31 // Provider name 41 * Constructs a new instance of the dummy provider. 57 "made.up.provider.name.MessageDigestSHA"); 59 "made.up.provider.name.MessageDigestMD5"); 63 "made.up.provider.name.AlgorithmParameterGeneratorDSA"); 67 "made.up.provider.name.AlgorithmParametersDSA"); 71 "made.up.provider.name.KeyPairGeneratorDSA") [all...] |
/dalvik/libcore/crypto/src/main/java/javax/crypto/ |
SecretKeyFactory.java | 23 import java.security.Provider; 38 * <li>translate {@link SecretKey} objects from one provider implementation to 42 * {@link #getKeySpec} is provider dependent. 49 // Store used provider 50 private final Provider provider; field in class:SecretKeyFactory 63 * @param provider 64 * the provider providing this key factory. 69 Provider provider, String algorithm) [all...] |
KeyGenerator.java | 23 import java.security.Provider; 44 // Store used provider 45 private final Provider provider; field in class:KeyGenerator 58 * @param provider 59 * the implementation provider. 63 protected KeyGenerator(KeyGeneratorSpi keyGenSpi, Provider provider, 65 this.provider = provider; [all...] |
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/fortress/ |
Services.java | 27 import java.security.Provider; 52 private static final Map<String, Provider.Service> services = new HashMap<String, Provider.Service>(600); 64 private static final List<Provider> providers = new ArrayList<Provider>(20); 66 // Hash for quick provider access by name 67 private static final Map<String, Provider> providersNames = new HashMap<String, Provider>(20); 83 Provider p; 85 while ((providerClassName = Security.getProperty("security.provider." //$NON-NLS-1 146 providersNames.put(provider.getName(), provider); local [all...] |
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/res/xml/ |
appwidget_info.xml | 1 <appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android" 7 </appwidget-provider>
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
AccountSettingsUtils.java | 23 import com.android.email.provider.EmailContent; 24 import com.android.email.provider.EmailContent.AccountColumns; 37 * Commits the UI-related settings of an account to the provider. This is static so that it 68 * A match is defined as any provider entry for which the "domain" attribute matches. 71 * @return suitable Provider definition, or null if no match found 73 public static Provider findProviderForDomain(Context context, String domain) { 74 Provider p = VendorPolicyLoader.getInstance(context).findProviderForDomain(domain); 85 * Search a single resource containing known Email provider definitions. 88 * @param resourceId Id of the provider resource to scan 89 * @return suitable Provider definition, or null if no match foun 95 Provider provider = null; local [all...] |
/frameworks/base/awt/javax/imageio/spi/ |
ServiceRegistry.java | 29 * and obtain service provider instances (SPIs). A service means a set of 30 * interfaces and classes, and a service provider is an implementation of a 65 * the Class object of the provider to be looked up. 79 * the Class object of the provider to be looked up. 87 * Registers the specified service provider object in the specified 90 * @param provider 91 * the specified provider to be registered. 94 * @return true, if no provider of the same class is registered in this 97 public <T> boolean registerServiceProvider(T provider, Class<T> category) { 98 return categories.addProvider(provider, category) [all...] |
/frameworks/base/docs/html/sdk/api_diff/5/changes/ |
fields_index_changes.html | 72 <nobr><A HREF="android.provider.Contacts.SettingsColumns.html#android.provider.Contacts.SettingsColumns._SYNC_ACCOUNT" class="hiddenlink" target="rightframe">_SYNC_ACCOUNT</A> 96 <nobr><A HREF="android.provider.Contacts.Intents.Insert.html#android.provider.Contacts.Intents.Insert.ACTION" class="hiddenlink" target="rightframe">ACTION</A> 98 <nobr><A HREF="android.provider.Contacts.Intents.html#android.provider.Contacts.Intents.ATTACH_IMAGE" class="hiddenlink" target="rightframe">ATTACH_IMAGE</A> 100 <nobr><A HREF="android.provider.Contacts.html#android.provider.Contacts.AUTHORITY" class="hiddenlink" target="rightframe">AUTHORITY</A> 102 <nobr><A HREF="android.provider.Contacts.ContactMethodsColumns.html#android.provider.Contacts.ContactMethodsColumns.AUX_DATA" class="hiddenlink" target="rightframe">AUX_DATA</A [all...] |