Searched refs:providers (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/services/java/com/android/server/am/
H A DProviderMap.java35 * Keeps track of content providers by authority (name) and class. It separates the mapping by
36 * user and ones that are not user-specific (system providers).
188 HashMap<ComponentName, ContentProviderRecord> providers,
191 for (ContentProviderRecord provider : providers.values()) {
260 pw.println(" Published single-user content providers (by class):");
269 + " content providers (by class):");
290 ArrayList<ContentProviderRecord> providers = new ArrayList<ContentProviderRecord>();
299 providers.addAll(allProviders);
318 providers.add(r1);
322 providers
186 collectForceStopProvidersLocked(String name, int appId, boolean doit, boolean evenPersistent, int userId, HashMap<ComponentName, ContentProviderRecord> providers, ArrayList<ContentProviderRecord> result) argument
[all...]
H A DActivityManagerService.java582 * List of content providers who have clients waiting for them. The
1846 // If this process contains content providers, we want to keep
3920 ArrayList<ContentProviderRecord> providers = new ArrayList<ContentProviderRecord>();
3922 userId, providers)) {
3928 N = providers.size();
3930 removeDyingProviderLocked(null, providers.get(i), true);
4064 // Take care of any launching providers waiting for this process.
4158 List providers = normalMode ? generateApplicationProvidersLocked(app) : null;
4216 thread.bindApplication(processName, appInfo, providers,
6200 List<ProviderInfo> providers
6720 publishContentProviders(IApplicationThread caller, List<ContentProviderHolder> providers) argument
[all...]
/frameworks/base/core/java/android/content/pm/
H A DPackageInfo.java115 public ProviderInfo[] providers; field in class:PackageInfo
252 dest.writeTypedArray(providers, parcelableFlags);
290 providers = source.createTypedArray(ProviderInfo.CREATOR);
H A DPackageParser.java376 int N = p.providers.size();
379 pi.providers = new ProviderInfo[N];
383 if (p.providers.get(i).info.enabled) num++;
385 pi.providers = new ProviderInfo[num];
388 final Provider provider = p.providers.get(i);
391 pi.providers[j++] = generateProviderInfo(p.providers.get(i), flags,
1923 owner.providers.add(p);
2484 // should have their content providers exported by default, unless they
2554 // A heavy-weight application can not have providers i
3177 public final ArrayList<Provider> providers = new ArrayList<Provider>(0); field in class:PackageParser.Package
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DLocationBasedCountryDetector.java37 * location providers and the GeoCoder
90 // We don't want to actively initiate a location fix here (with gps or network providers).
109 * @return the last known location from all providers
112 List<String> providers = mLocationManager.getAllProviders();
114 for (String provider : providers) {
144 * Queries the location from all location providers, then starts a thread to query the
152 // Request the location from all enabled providers.
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetManager.java37 * Updates AppWidget state; gets information about installed AppWidget providers and other
544 * Return a list of the AppWidget providers that are currently installed.
548 List<AppWidgetProviderInfo> providers = sService.getInstalledProviders();
549 for (AppWidgetProviderInfo info : providers) {
560 return providers;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsProvider.java17 package com.android.providers.settings;
753 * This setting contains a list of the currently enabled location providers.
754 * But helper functions in android.providers.Settings can enable or disable
769 // read list of enabled providers into "providers"
770 String providers = "";
777 providers = cursor.getString(0);
783 int index = providers.indexOf(value);
786 if (index > 0 && providers.charAt(index - 1) != ',') index = -1;
787 if (end < providers
[all...]
H A DSettingsHelper.java17 package com.android.providers.settings;
H A DSettingsBackupAgent.java17 package com.android.providers.settings;
H A DDatabaseHelper.java17 package com.android.providers.settings;
/frameworks/base/services/java/com/android/server/
H A DLocationManagerService.java146 // Set of providers that are explicitly enabled
149 // Set of providers that are explicitly disabled
152 // Mock (test) providers
159 // currently installed providers (with mocks replacing real providers)
163 // real providers, saved here when mocked out
178 // all providers that operate over proxy, for authorizing incoming location
341 These packages can contain services implementing location providers:
344 service components implementing these providers.
346 of new location providers a
889 pickBest(List<String> providers) argument
[all...]
H A DTwilightService.java424 final Iterator<String> providers =
426 while (providers.hasNext()) {
428 mLocationManager.getLastKnownLocation(providers.next());
/frameworks/base/core/java/android/app/
H A DIApplicationThread.java90 void bindApplication(String packageName, ApplicationInfo info, List<ProviderInfo> providers, argument
H A DActivityThread.java418 List<ProviderInfo> providers; field in class:ActivityThread.AppBindData
722 ApplicationInfo appInfo, List<ProviderInfo> providers,
740 data.providers = providers;
4367 // don't bring up providers in restricted mode; they may depend on the
4370 List<ProviderInfo> providers = data.providers;
4371 if (providers != null) {
4372 installContentProviders(app, providers);
4373 // For process that contains content providers, w
721 bindApplication(String processName, ApplicationInfo appInfo, List<ProviderInfo> providers, ComponentName instrumentationName, String profileFile, ParcelFileDescriptor profileFd, boolean autoStopProfiler, Bundle instrumentationArgs, IInstrumentationWatcher instrumentationWatcher, int debugMode, boolean enableOpenGlTrace, boolean isRestrictedBackupMode, boolean persistent, Configuration config, CompatibilityInfo compatInfo, Map<String, IBinder> services, Bundle coreSettings) argument
4418 installContentProviders( Context context, List<ProviderInfo> providers) argument
4966 installSystemProviders(List<ProviderInfo> providers) argument
[all...]
H A DApplicationThreadNative.java259 List<ProviderInfo> providers =
279 providers, testName, profileName, profileFd, autoStopProfiler,
864 List<ProviderInfo> providers, ComponentName testName, String profileName,
874 data.writeTypedList(providers);
863 bindApplication(String packageName, ApplicationInfo info, List<ProviderInfo> providers, ComponentName testName, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler, Bundle testArgs, IInstrumentationWatcher testWatcher, int debugMode, boolean openGlTrace, boolean restrictedBackupMode, boolean persistent, Configuration config, CompatibilityInfo compatInfo, Map<String, IBinder> services, Bundle coreSettings) argument
H A DIActivityManager.java126 List<ContentProviderHolder> providers) throws RemoteException;
125 publishContentProviders(IApplicationThread caller, List<ContentProviderHolder> providers) argument
H A DActivityManagerNative.java668 ArrayList<ContentProviderHolder> providers =
670 publishContentProviders(app, providers);
2560 List<ContentProviderHolder> providers) throws RemoteException
2566 data.writeTypedList(providers);
2559 publishContentProviders(IApplicationThread caller, List<ContentProviderHolder> providers) argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java3446 assertNotNull("providers should not be null", packageInfo.providers);
3483 assertNotNull("providers should not be null", packageInfo.providers);
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java3874 // Verify that this new package doesn't have any content providers
3879 final int N = pkg.providers.size();
3882 PackageParser.Provider p = pkg.providers.get(i);
4194 int N = pkg.providers.size();
4198 PackageParser.Provider p = pkg.providers.get(i);
4535 int N = pkg.providers.size();
4539 PackageParser.Provider p = pkg.providers.get(i);
9229 pw.println(" prov[iders]: dump content providers");
9266 } else if ("prov".equals(cmd) || "providers".equals(cmd)) {

Completed in 309 milliseconds