/frameworks/base/docs/html/guide/topics/providers/ |
D | content-providers.jd | 11 <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 …]
|
D | content-provider-basics.jd | 113 <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 …]
|
D | calendar-provider.jd | 82 <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 "content://". 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/ |
D | contentprovider_testing.jd | 63 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/ |
D | ProviderMap.java | 238 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/ |
D | SettingsProvider.java | 17 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 …]
|
D | SettingsHelper.java | 17 package com.android.providers.settings;
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 115 public ProviderInfo[] providers; field in PackageInfo 252 dest.writeTypedArray(providers, parcelableFlags); in writeToParcel() 290 providers = source.createTypedArray(ProviderInfo.CREATOR); in PackageInfo()
|
D | PackageParser.java | 365 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/ |
D | AppWidgetManager.java | 510 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/ |
D | provider-element.jd | 36 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/ |
D | locationmanager.jd | 68 …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…
|
D | currentlocation.jd | 80 …providers. 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/ |
D | LocationBasedCountryDetector.java | 112 List<String> providers = mLocationManager.getAllProviders(); in getLastKnownLocation() local 114 for (String provider : providers) { in getLastKnownLocation()
|
/frameworks/base/docs/html/intl/ja/guide/basics/ |
D | what-is-android.jd | 43 …<li><a href="{@docRoot}guide/topics/providers/content-providers.html">コンテンツ プロバイダ</a>を使用すると、アプリケーシ…
|
/frameworks/base/services/java/com/android/server/ |
D | LocationManagerService.java | 828 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 …]
|
D | UiModeManagerService.java | 760 final Iterator<String> providers = 762 while (providers.hasNext()) { 764 mLocationManager.getLastKnownLocation(providers.next());
|
/frameworks/base/docs/html/guide/basics/ |
D | fixme-gs-core-packages.jd | 66 resources, and content providers for persistent dynamic data.</dd> 85 content providers included with the platform.</dd>
|
/frameworks/base/docs/html/training/basics/intents/ |
D | result.jd | 123 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/ |
D | data-storage.jd | 55 — 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/ |
D | listview.jd | 61 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/ |
D | fundamentals.jd | 10 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/ |
D | adding-custom-suggestions.jd | 45 <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/ |
D | index.jd | 70 <li><a href="{@docRoot}guide/topics/providers/content-providers.html">Content
|
/frameworks/base/docs/html/guide/topics/location/ |
D | strategies.jd | 156 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>
|