Searched refs:provider (Results 1 - 25 of 356) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/provider/
H A DBaseColumns.java17 package android.provider;
H A DOpenableColumns.java17 package android.provider;
H A DSyncStateContract.java17 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, argument
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, argument
109 provider.insert(uri, values);
112 public static Uri insert(ContentProviderClient provider, Uri uri, argument
118 return provider
121 update(ContentProviderClient provider, Uri uri, byte[] data) argument
128 getWithUri(ContentProviderClient provider, Uri uri, Account account) argument
[all...]
H A DAlarmClock.java17 package android.provider;
23 * The AlarmClock provider contains an Intent action and extras that can be used
H A DSyncConstValue.java17 package android.provider;
57 * Used in temporary provider while syncing, always NULL for rows in persistent providers.
/frameworks/base/location/java/android/location/
H A DILocationListener.aidl29 void onStatusChanged(String provider, int status, in Bundle extras);
30 void onProviderEnabled(String provider);
31 void onProviderDisabled(String provider);
H A DLocationListener.java47 * Called when the provider status changes. This method is called when
48 * a provider is unable to fetch a location or if the provider has recently
51 * @param provider the name of the location provider associated with this
54 * provider is out of service, and this is not expected to change in the
56 * the provider is temporarily unavailable but is expected to be available
58 * provider is currently available.
59 * @param extras an optional Bundle which will contain provider specific
70 void onStatusChanged(String provider, in argument
78 onProviderEnabled(String provider) argument
88 onProviderDisabled(String provider) argument
[all...]
H A DILocationManager.aidl67 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...]
/frameworks/support/v4/ics/android/support/v4/app/
H A DShareCompatICS.java30 ShareActionProvider provider = null;
32 provider = new ShareActionProvider(callingActivity);
34 provider = (ShareActionProvider) itemProvider;
36 provider.setShareHistoryFileName(HISTORY_FILENAME_PREFIX +
38 provider.setShareIntent(intent);
39 item.setActionProvider(provider);
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
H A DExternalSharedPermsFLTest.java38 public void onProviderDisabled(String provider) {}
39 public void onProviderEnabled(String provider) {}
40 public void onStatusChanged(String provider, int status, Bundle extras) {}
/frameworks/base/core/tests/coretests/src/android/provider/
H A DTestProvider.java17 package android.provider;
22 * Very simple provider that I can instantiate right here.
25 final static String AUTHORITY = "android.provider.TestProvider";
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContentResolver.java37 * 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 * API call tries to acquire a provider.
67 * Adds access to a provider based on its authority
69 * @param name The authority name associated with the provider.
70 * @param provider An instance of {@link android.content.ContentProvider} or one of its
73 public void addProvider(String name, ContentProvider provider) { argument
76 * Maps the authority to the provider locally.
78 mProviders.put(name, provider);
105 releaseProvider(IContentProvider provider) argument
[all...]
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
H A DExternalSharedPermsTest.java43 public void onProviderDisabled(String provider) {}
44 public void onProviderEnabled(String provider) {}
45 public void onStatusChanged(String provider, int status, Bundle extras) {}
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
H A DExternalSharedPermsDiffKeyTest.java41 public void onProviderDisabled(String provider) {}
42 public void onProviderEnabled(String provider) {}
43 public void onStatusChanged(String provider, int status, Bundle extras) {}
/frameworks/base/services/java/com/android/server/location/
H A DLocationBasedCountryDetector.java89 protected boolean isAcceptableProvider(String provider) { argument
91 return LocationManager.PASSIVE_PROVIDER.equals(provider);
95 * Register a listener with a provider name
97 protected void registerListener(String provider, LocationListener listener) { argument
98 mLocationManager.requestLocationUpdates(provider, 0, 0, listener);
114 for (String provider : providers) {
115 Location lastKnownLocation = mLocationManager.getLastKnownLocation(provider);
158 String provider = enabledProviders.get(i);
159 if (isAcceptableProvider(provider)) {
169 public void onProviderDisabled(String provider) {
[all...]
H A DGeocoderProxy.java72 IGeocodeProvider provider = getService();
73 if (provider != null) {
75 return provider.getFromLocation(latitude, longitude, maxResults, params, addrs);
87 IGeocodeProvider provider = getService();
88 if (provider != null) {
90 return provider.getFromLocationName(locationName, lowerLeftLatitude,
/frameworks/base/location/lib/
H A DAndroid.mk22 LOCAL_MODULE:= com.android.location.provider
35 LOCAL_MODULE := com.android.location.provider.xml
/frameworks/ex/photoviewer/src/com/android/ex/photo/provider/
H A DPhotoContract.java18 package com.android.ex.photo.provider;
21 import android.provider.OpenableColumns;
/frameworks/opt/photoviewer/src/com/android/ex/photo/provider/
H A DPhotoContract.java18 package com.android.ex.photo.provider;
21 import android.provider.OpenableColumns;
/frameworks/av/services/audioflinger/
H A DAudioResamplerCubic.cpp36 AudioBufferProvider* provider) {
44 resampleMono16(out, outFrameCount, provider);
47 resampleStereo16(out, outFrameCount, provider);
53 AudioBufferProvider* provider) {
68 provider->getNextBuffer(&mBuffer, mPTS);
96 provider->releaseBuffer(&mBuffer);
98 provider->getNextBuffer(&mBuffer,
119 AudioBufferProvider* provider) {
134 provider->getNextBuffer(&mBuffer, mPTS);
162 provider
35 resample(int32_t* out, size_t outFrameCount, AudioBufferProvider* provider) argument
52 resampleStereo16(int32_t* out, size_t outFrameCount, AudioBufferProvider* provider) argument
118 resampleMono16(int32_t* out, size_t outFrameCount, AudioBufferProvider* provider) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DLocationManagerService.java58 import android.provider.Settings;
139 private PassiveProvider mPassiveProvider; // track passive provider for special cases
167 // mapping from provider name to provider
171 // mapping from provider name to all its UpdateRecords
175 // mapping from provider name to last known location
267 // this list the standard provider binding logic won't bind to it.
283 Log.w(TAG, "Found fused provider without metadata: " + packageName);
290 // This should be the fallback fused location provider.
308 if (D) Log.d(TAG, "Found fallback provider
493 callStatusChangedLocked(String provider, int status, Bundle extras) argument
562 callProviderEnabledLocked(String provider, boolean enabled) argument
656 addProviderLocked(LocationProviderInterface provider) argument
661 removeProviderLocked(LocationProviderInterface provider) argument
668 isAllowedBySettingsLocked(String provider, int userId) argument
746 getMinimumResolutionLevelForProviderUse(String provider) argument
900 providerMeetsCriteria(String provider, Criteria criteria) argument
933 updateProviderListenersLocked(String provider, boolean enabled, int userId) argument
975 applyRequirementsLocked(String provider) argument
1027 UpdateRecord(String provider, LocationRequest request, Receiver receiver) argument
1414 sendExtraCommand(String provider, String command, Bundle extras) argument
1456 getProviderProperties(String provider) argument
1474 isProviderEnabled(String provider) argument
1884 removeTestProvider(String provider) argument
1907 setTestProviderLocation(String provider, Location loc) argument
1922 clearTestProviderLocation(String provider) argument
1934 setTestProviderEnabled(String provider, boolean enabled) argument
1957 clearTestProviderEnabled(String provider) argument
1973 setTestProviderStatus(String provider, int status, Bundle extras, long updateTime) argument
1985 clearTestProviderStatus(String provider) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
H A DLocationBasedCountryDetectorTest.java46 public TestCountryDetector(String country, String provider) { argument
47 this(country, provider, 1000 * 60 * 5);
50 public TestCountryDetector(String country, String provider, long queryLocationTimeout) { argument
53 mLocation = new Location(provider);
87 protected boolean isAcceptableProvider(String provider) { argument
89 return mAcceptableProviders.contains(provider);
96 protected void registerListener(String provider, LocationListener listener) { argument
97 assertNotNull(provider);
98 mListeners.put(provider, listener);
184 final String provider
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetProviderInfo.java24 * Describes the meta data for an installed AppWidget provider. The fields in this class
25 * correspond to the fields in the <code>&lt;appwidget-provider&gt;</code> xml tag.
64 public ComponentName provider; field in class:AppWidgetProviderInfo
138 * the AppWidget provider.
191 * widget provider's update method.
206 this.provider = new ComponentName(in);
227 if (this.provider != null) {
229 this.provider.writeToParcel(out, flags);
257 that.provider = this.provider
[all...]
/frameworks/base/core/java/android/net/
H A DSSLSessionCache.java19 import org.apache.harmony.xnet.provider.jsse.FileClientSessionCache;
20 import org.apache.harmony.xnet.provider.jsse.SSLClientSessionCache;
/frameworks/base/core/java/com/android/internal/appwidget/
H A DIAppWidgetService.aidl49 void updateAppWidgetProvider(in ComponentName provider, in RemoteViews views);
55 void bindAppWidgetId(int appWidgetId, in ComponentName provider, in Bundle options);
57 in String packageName, int appWidgetId, in ComponentName provider, in Bundle options);
60 int[] getAppWidgetIds(in ComponentName provider);

Completed in 6352 milliseconds

1234567891011>>