Home
last modified time | relevance | path

Searched refs:providers (Results 1 – 25 of 79) sorted by relevance

1234

/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd11 <a href="{@docRoot}guide/topics/providers/content-provider-basics.html">
15 <a href="{@docRoot}guide/topics/providers/content-provider-creating.html">
19 <a href="{@docRoot}guide/topics/providers/calendar-provider.html">Calendar Provider</a>
22 <a href="{@docRoot}guide/topics/providers/contacts-provider.html">Contacts Provider</a>
52 Content providers manage access to a structured set of data. They encapsulate the
53 data, and provide mechanisms for defining data security. Content providers are the standard
72 Android itself includes content providers that manage data such as audio, video, images, and
76 </code> package. With some restrictions, these providers are accessible to any Android
79 The following topics describe content providers in more detail:
83 <strong><a href="{@docRoot}guide/topics/providers/content-provider-basics.html">
[all …]
Dcontent-provider-basics.jd113 <a href="{@docRoot}guide/topics/providers/content-provider-creating.html">
117 <a href="{@docRoot}guide/topics/providers/calendar-provider.html">
128 the data. However, content providers are primarily intended to be used by other
129 applications, which access the provider using a provider client object. Together, providers
137 <li>How content providers work.</li>
140 <li>Other API features that facilitate working with providers.</li>
152 For example, one of the built-in providers in the Android platform is the user dictionary, which
321 comparing the authority to a system table of known providers. The
342 Many providers allow you to access a single row in a table by appending an ID value
406 The role of permissions in accessing providers is described in more detail in the section
[all …]
Dcalendar-provider.jd82 <p><a href="{@docRoot}guide/topics/providers/content-providers.html">Content providers</a> store da…
83 applications. The content providers offered by the Android platform (including the Calendar Provide…
93 URIs for providers begin with the string &quot;content://&quot;. This
102 <img src="{@docRoot}images/providers/datamodel.png" alt="Calendar Provider Data Model"/>
304 query. For more discussion of using queries in content providers,
305 see <a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a>.</p>
933 For an example of using this intent, see <a href="{@docRoot}guide/topics/providers/calendar-provide…
947 For an example of using this intent, see <a href="{@docRoot}guide/topics/providers/calendar-provide…
964 For an example of using this intent, see <a href="{@docRoot}guide/topics/providers/calendar-provide…
984 For an example of using this intent, see <a href="{@docRoot}guide/topics/providers/calendar-provide…
/frameworks/base/docs/html/tools/testing/
Dcontentprovider_testing.jd63 Content providers, which store and retrieve data and make it accessible across applications,
65 own public providers for use by other applications. If you do, then you should test them
69 This document describes how to test public content providers, although the information is
70 also applicable to providers that you keep private to your own application. If you aren't
71 familiar with content providers or the Android testing framework, please read
72 <a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a>,
73 the guide to developing content providers, and
79 In Android, content providers are viewed externally as data APIs that provide
87 The base test case class for content providers,
156 Here are some specific guidelines for testing content providers.
[all …]
/frameworks/base/services/java/com/android/server/am/
DProviderMap.java238 ArrayList<ContentProviderRecord> providers = new ArrayList<ContentProviderRecord>(); in dumpProvider() local
243 providers.add(r1); in dumpProvider()
264 providers.add(r1); in dumpProvider()
268 providers.add(r1); in dumpProvider()
271 providers.add(r1); in dumpProvider()
277 if (providers.size() <= 0) { in dumpProvider()
282 for (int i=0; i<providers.size(); i++) { in dumpProvider()
287 dumpProvider("", fd, pw, providers.get(i), args, dumpAll); in dumpProvider()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java17 package com.android.providers.settings;
486 String providers = ""; in parseProviderList() local
493 providers = cursor.getString(0); in parseProviderList()
499 int index = providers.indexOf(value); in parseProviderList()
502 if (index > 0 && providers.charAt(index - 1) != ',') index = -1; in parseProviderList()
503 if (end < providers.length() && providers.charAt(end) != ',') index = -1; in parseProviderList()
507 if (providers.length() == 0) { in parseProviderList()
510 newProviders = providers + ',' + value; in parseProviderList()
517 } else if (end < providers.length()) { in parseProviderList()
521 newProviders = providers.substring(0, index); in parseProviderList()
[all …]
DSettingsHelper.java17 package com.android.providers.settings;
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java115 public ProviderInfo[] providers; field in PackageInfo
252 dest.writeTypedArray(providers, parcelableFlags); in writeToParcel()
290 providers = source.createTypedArray(ProviderInfo.CREATOR); in PackageInfo()
DPackageParser.java365 int N = p.providers.size(); in generatePackageInfo()
368 pi.providers = new ProviderInfo[N]; in generatePackageInfo()
372 if (p.providers.get(i).info.enabled) num++; in generatePackageInfo()
374 pi.providers = new ProviderInfo[num]; in generatePackageInfo()
377 final Provider provider = p.providers.get(i); in generatePackageInfo()
380 pi.providers[j++] = generateProviderInfo(p.providers.get(i), flags, stopped, in generatePackageInfo()
1900 owner.providers.add(p); in parseApplication()
3092 public final ArrayList<Provider> providers = new ArrayList<Provider>(0); field in PackageParser.Package
3193 for (int i=providers.size()-1; i>=0; i--) { in setPackageName()
3194 providers.get(i).setPackageName(newName); in setPackageName()
[all …]
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java510 List<AppWidgetProviderInfo> providers = sService.getInstalledProviders(); in getInstalledProviders() local
511 for (AppWidgetProviderInfo info : providers) { in getInstalledProviders()
522 return providers; in getInstalledProviders()
/frameworks/base/docs/html/guide/topics/manifest/
Dprovider-element.jd36 access to data managed by the application. All content providers that
40 those content providers that you develop as part of your application,
44 The Android system identifies content providers by the authority part
62 For information on using and developing content providers, see a separate document,
63 <a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a>.
88 application components, including content providers. The
163 relative to other content providers hosted by the same process.
164 When there are dependencies among content providers, setting this
271 <dd><a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a></dd>
/frameworks/base/docs/html/training/basics/location/
Dlocationmanager.jd68 …ication as {@link android.location.LocationProvider} objects. Location providers may have differe…
70 … use case, you have to choose a specific location provider, or multiple providers, based on simila…
77 …cy and no monetary cost. Note that the criteria may not resolve to any providers, in which case a…
80 // Retrieve a list of location providers that have fine accuracy, no monetary cost, etc
95 <p>Some location providers such as the GPS can be disabled in Settings. It is good practice to che…
Dcurrentlocation.jd80providers. In the {@link android.location.LocationListener#onLocationChanged(android.location.Loc…
131 /** Checks whether two providers are the same */
142 …ndroid for the last location update previously received by any location providers. Keep in mind t…
/frameworks/base/services/java/com/android/server/location/
DLocationBasedCountryDetector.java112 List<String> providers = mLocationManager.getAllProviders(); in getLastKnownLocation() local
114 for (String provider : providers) { in getLastKnownLocation()
/frameworks/base/docs/html/intl/ja/guide/basics/
Dwhat-is-android.jd43 …<li><a href="{@docRoot}guide/topics/providers/content-providers.html">コンテンツ プロバイダ</a>を使用すると、アプリケーシ…
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java828 ArrayList<LocationProviderInterface> providers; in best() local
830 providers = new ArrayList<LocationProviderInterface>(providerNames.size()); in best()
832 providers.add(mProvidersByName.get(name)); in best()
836 if (providers.size() < 2) { in best()
837 return providers.get(0); in best()
841 Collections.sort(providers, new LpPowerComparator()); in best()
842 int power = providers.get(0).getPowerRequirement(); in best()
843 if (power < providers.get(1).getPowerRequirement()) { in best()
844 return providers.get(0); in best()
851 size = providers.size(); in best()
[all …]
DUiModeManagerService.java760 final Iterator<String> providers =
762 while (providers.hasNext()) {
764 mLocationManager.getLastKnownLocation(providers.next());
/frameworks/base/docs/html/guide/basics/
Dfixme-gs-core-packages.jd66 resources, and content providers for persistent dynamic data.</dd>
85 content providers included with the platform.</dd>
/frameworks/base/docs/html/training/basics/intents/
Dresult.jd123 discussion about <a href="{@docRoot}guide/topics/providers/content-providers.html">content
124 providers</a>. However, if you're curious, here's some more code that shows how to query the
/frameworks/base/docs/html/guide/topics/data/
Ddata-storage.jd55 &mdash; with a <a href="{@docRoot}guide/topics/providers/content-providers.html">content
58 about using content providers, see the
59 <a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a>
409 implement a <a href="{@docRoot}guide/topics/providers/content-providers.html">content provider</a>,
/frameworks/base/docs/html/guide/topics/ui/layout/
Dlistview.jd61 href="{@docRoot}guide/topics/providers/contacts-provider.html">Contacts
146 href="{@docRoot}guide/topics/providers/contacts-provider.html">Contacts
/frameworks/base/docs/html/guide/components/
Dfundamentals.jd10 services, content providers, and broadcast receivers)</li>
146 <dt><b>Content providers</b></dt>
156 <p>Content providers are also useful for reading and writing data that is private to your
164 href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a> developer
271 href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a>.</p>
338 for content providers</li>
341 <p>Activities, services, and content providers that you include in your source but do not declare
/frameworks/base/docs/html/guide/topics/search/
Dadding-custom-suggestions.jd45 <li><a href="{@docRoot}guide/topics/providers/content-providers.html">Content Providers</a></li>
91 <li>Create a <a href="{@docRoot}guide/topics/providers/content-providers.html">Content
101 providers, read the <a href="{@docRoot}guide/topics/providers/content-providers.html">Content
152 providers that's covered in the <a
153 href="{@docRoot}guide/topics/providers/content-providers.html">Content Provider</a> developer
/frameworks/base/docs/html/about/versions/
Dindex.jd70 <li><a href="{@docRoot}guide/topics/providers/content-providers.html">Content
/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd156 permission, because it includes permission for both providers. (Permission for {@code
176 <li>Sometime later, start listening for updates from desired location providers.</li>
307 /** Checks whether two providers are the same */
329 <h4>Set the location providers to return updates less frequently</h4>
337 <h4>Restrict a set of providers</h4>

1234