Searched refs:provider (Results 1 - 25 of 285) 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 DSocialContract.java17 package android.provider;
22 import android.provider.ContactsContract.Contacts;
23 import android.provider.ContactsContract.Data;
26 * The contract between the social provider and applications. Contains
32 /** The authority for the social provider */
35 /** A content:// style uri to the authority for the contacts provider */
73 * Reference to the {@link android.provider.ContactsContract.Contacts#_ID} that authored
82 * Optional reference to the {@link android.provider.ContactsContract.Contacts#_ID} this
104 * content provider will automatically populate this field with the
161 * authored by a specific {@link android.provider
[all...]
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.aidl39 boolean providerMeetsCriteria(String provider, in Criteria criteria);
41 void requestLocationUpdates(String provider, in Criteria criteria, long minTime, float minDistance,
43 void requestLocationUpdatesPI(String provider, in Criteria criteria, long minTime, float minDistance,
54 boolean sendExtraCommand(String provider, String command, inout Bundle extras);
60 Bundle getProviderInfo(String provider);
61 boolean isProviderEnabled(String provider);
63 Location getLastKnownLocation(String provider);
66 // Passive is true if the location is coming from the passive provider, in which case
81 void removeTestProvider(String provider);
82 void setTestProviderLocation(String provider, i
[all...]
H A DLocationManager.java63 * Name of the network location provider. This provider determines location based on
73 * Name of the GPS location provider. This provider determines location using
74 * satellites. Depending on conditions, this provider may take a while to return
79 * <p> The extras Bundle for the GPS location provider can contain the
89 * A special location provider for receiving locations without actually initiating
90 * a location fix. This provider can be used to passively receive location updates
92 * the locations yourself. This provider will return locations generated by other
97 * is not enabled this provider migh
203 onStatusChanged(String provider, int status, Bundle extras) argument
216 onProviderEnabled(String provider) argument
223 onProviderDisabled(String provider) argument
445 requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener) argument
502 requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener, Looper looper) argument
573 _requestLocationUpdates(String provider, Criteria criteria, long minTime, float minDistance, boolean singleShot, LocationListener listener, Looper looper) argument
641 requestLocationUpdates(String provider, long minTime, float minDistance, PendingIntent intent) argument
708 _requestLocationUpdates(String provider, Criteria criteria, long minTime, float minDistance, boolean singleShot, PendingIntent intent) argument
751 requestSingleUpdate(String provider, LocationListener listener, Looper looper) argument
822 requestSingleUpdate(String provider, PendingIntent intent) argument
999 isProviderEnabled(String provider) argument
1026 getLastKnownLocation(String provider) argument
1081 removeTestProvider(String provider) argument
1101 setTestProviderLocation(String provider, Location loc) argument
1119 clearTestProviderLocation(String provider) argument
1139 setTestProviderEnabled(String provider, boolean enabled) argument
1157 clearTestProviderEnabled(String provider) argument
1180 setTestProviderStatus(String provider, int status, Bundle extras, long updateTime) argument
1198 clearTestProviderStatus(String provider) argument
1436 sendExtraCommand(String provider, String command, Bundle extras) argument
[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/services/java/com/android/server/location/
H A DLocationProviderProxy.java122 ILocationProvider provider = getProvider();
123 if (provider == null) {
130 provider.enable();
133 provider.enableLocationTracking(true);
136 provider.setMinTime(mMinTime, mMinTimeSource);
139 provider.updateNetworkState(mNetworkState, mNetworkInfo);
148 mCachedAttributes.setRequiresNetwork(provider.requiresNetwork());
149 mCachedAttributes.setRequiresSatellite(provider.requiresSatellite());
150 mCachedAttributes.setRequiresCell(provider.requiresCell());
151 mCachedAttributes.setHasMonetaryCost(provider
[all...]
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);
156 String provider = enabledProviders.get(i);
157 if (isAcceptableProvider(provider)) {
167 public void onProviderDisabled(String provider) {
[all...]
H A DGeocoderProxy.java94 IGeocodeProvider provider;
96 provider = mServiceConnection.getProvider();
98 if (provider != null) {
100 return provider.getFromLocation(latitude, longitude, maxResults,
113 IGeocodeProvider provider;
115 provider = mServiceConnection.getProvider();
117 if (provider != null) {
119 return provider.getFromLocationName(locationName, lowerLeftLatitude,
/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/location/lib/
H A DAndroid.mk22 LOCAL_MODULE:= com.android.location.provider
34 LOCAL_MODULE := com.android.location.provider.xml
/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/java/android/net/
H A DDownloads.java27 import android.provider.BaseColumns;
134 * provider). This requires the
191 return android.provider.Downloads.Impl.isStatusCompleted(statusCode);
199 return android.provider.Downloads.Impl.isStatusSuccess(statusCode);
215 android.provider.Downloads.Impl.COLUMN_APP_DATA + "=?";
223 android.provider.Downloads.Impl.CONTENT_URI,
282 android.provider.Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE + "=? AND " +
283 android.provider.Downloads.Impl.COLUMN_NOTIFICATION_CLASS + "=?";
293 android.provider.Downloads.Impl.CONTENT_URI,
325 android.provider
[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/audioflinger/
H A DAudioResamplerCubic.cpp36 AudioBufferProvider* provider) {
44 resampleMono16(out, outFrameCount, provider);
47 resampleStereo16(out, outFrameCount, provider);
53 AudioBufferProvider* provider) {
68 provider->getNextBuffer(&mBuffer);
96 provider->releaseBuffer(&mBuffer);
98 provider->getNextBuffer(&mBuffer);
118 AudioBufferProvider* provider) {
133 provider->getNextBuffer(&mBuffer);
161 provider
35 resample(int32_t* out, size_t outFrameCount, AudioBufferProvider* provider) argument
52 resampleStereo16(int32_t* out, size_t outFrameCount, AudioBufferProvider* provider) argument
117 resampleMono16(int32_t* out, size_t outFrameCount, AudioBufferProvider* 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.
54 public ComponentName provider; field in class:AppWidgetProviderInfo
118 * the AppWidget provider.
175 this.provider = new ComponentName(in);
194 if (this.provider != null) {
196 this.provider.writeToParcel(out, flags);
241 return "AppWidgetProviderInfo(provider=" + this.provider + ")";
/frameworks/base/core/java/android/content/
H A DContentResolver.java127 * <code>content://com.company.provider.imap/inbox/1</code> for a particular
141 * <code>content://com.company.provider.imap/inbox</code> for all of the
206 IContentProvider provider = acquireExistingProvider(url);
207 if (provider != null) {
209 return provider.getType(url);
216 releaseProvider(provider);
255 IContentProvider provider = acquireProvider(url);
256 if (provider == null) {
261 return provider.getStreamTypes(url, mimeTypeFilter);
267 releaseProvider(provider);
[all...]

Completed in 338 milliseconds

1234567891011>>