Home
last modified time | relevance | path

Searched refs:mProviders (Results 1 – 9 of 9) sorted by relevance

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
DRegisteredMediaRouteProviderWatcher.java44 private final ArrayList<RegisteredMediaRouteProvider> mProviders = field in RegisteredMediaRouteProviderWatcher
82 for (int i = mProviders.size() - 1; i >= 0; i--) { in stop()
83 mProviders.get(i).stop(); in stop()
106 mProviders.add(targetIndex++, provider); in scanPackages()
109 RegisteredMediaRouteProvider provider = mProviders.get(sourceIndex); in scanPackages()
112 Collections.swap(mProviders, sourceIndex, targetIndex++); in scanPackages()
118 if (targetIndex < mProviders.size()) { in scanPackages()
119 for (int i = mProviders.size() - 1; i >= targetIndex; i--) { in scanPackages()
120 RegisteredMediaRouteProvider provider = mProviders.get(i); in scanPackages()
122 mProviders.remove(provider); in scanPackages()
[all …]
DMediaRouter.java1889 private final ArrayList<ProviderInfo> mProviders = new ArrayList<>(); field in MediaRouter.GlobalMediaRouter
2025 return mProviders; in getProviders()
2152 final int providerCount = mProviders.size(); in updateDiscoveryRequest()
2154 mProviders.get(i).mProviderInstance.setDiscoveryRequest(mDiscoveryRequest); in updateDiscoveryRequest()
2164 mProviders.add(provider); in addProvider()
2187 ProviderInfo provider = mProviders.get(index); in removeProvider()
2194 mProviders.remove(index); in removeProvider()
2203 ProviderInfo provider = mProviders.get(index); in updateProviderDescriptor()
2209 final int count = mProviders.size(); in findProviderInfo()
2211 if (mProviders.get(i).mProviderInstance == providerInstance) { in findProviderInfo()
[all …]
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderWatcher.java54 private final ArrayList<RemoteDisplayProviderProxy> mProviders = field in RemoteDisplayProviderWatcher
71 pw.println(prefix + " mProviders.size()=" + mProviders.size()); in dump()
102 for (int i = mProviders.size() - 1; i >= 0; i--) { in stop()
103 mProviders.get(i).stop(); in stop()
128 mProviders.add(targetIndex++, provider); in scanPackages()
131 RemoteDisplayProviderProxy provider = mProviders.get(sourceIndex); in scanPackages()
134 Collections.swap(mProviders, sourceIndex, targetIndex++); in scanPackages()
140 if (targetIndex < mProviders.size()) { in scanPackages()
141 for (int i = mProviders.size() - 1; i >= targetIndex; i--) { in scanPackages()
142 RemoteDisplayProviderProxy provider = mProviders.get(i); in scanPackages()
[all …]
/frameworks/base/packages/Osu/src/com/android/anqp/
DHSOsuProvidersElement.java17 private final List<OSUProvider> mProviders; field in HSOsuProvidersElement
26 mProviders = new ArrayList<>(providerCount); in HSOsuProvidersElement()
29 mProviders.add(new OSUProvider(mSSID, payload)); in HSOsuProvidersElement()
39 return Collections.unmodifiableList(mProviders); in getProviders()
46 ", providers=" + mProviders + in toString()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DHSOsuProvidersElement.java17 private final List<OSUProvider> mProviders; field in HSOsuProvidersElement
26 mProviders = new ArrayList<>(providerCount); in HSOsuProvidersElement()
29 mProviders.add(new OSUProvider(payload)); in HSOsuProvidersElement()
39 return Collections.unmodifiableList(mProviders); in getProviders()
46 ", providers=" + mProviders + in toString()
/frameworks/base/test-runner/src/android/test/mock/
DMockContentResolver.java54 Map<String, ContentProvider> mProviders; field in MockContentResolver
70 mProviders = Maps.newHashMap(); in MockContentResolver()
85 mProviders.put(name, provider); in addProvider()
101 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java192 private final ArrayList<Provider> mProviders = new ArrayList<>(); field in AppWidgetServiceImpl
319 ArrayList<Provider> installedProviders = new ArrayList<>(mProviders); in onConfigurationChanged()
466 final int N = mProviders.size(); in reloadWidgetsMaskedState()
468 Provider provider = mProviders.get(i); in reloadWidgetsMaskedState()
512 final int N = mProviders.size(); in updateWidgetPackageSuspensionMaskedState()
514 Provider provider = mProviders.get(i); in updateWidgetPackageSuspensionMaskedState()
709 int N = mProviders.size(); in dump()
712 dumpProvider(mProviders.get(i), i, pw); in dump()
1556 final int providerCount = mProviders.size(); in getInstalledProvidersForProfile()
1558 Provider provider = mProviders.get(i); in getInstalledProvidersForProfile()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java184 private final ArrayList<LocationProviderInterface> mProviders = field in LocationManagerService
622 for (LocationProviderInterface p : mProviders) { in switchUser()
997 mProviders.add(provider); in addProviderLocked()
1003 mProviders.remove(provider); in removeProviderLocked()
1224 out = new ArrayList<String>(mProviders.size()); in getAllProviders()
1225 for (LocationProviderInterface provider : mProviders) { in getAllProviders()
1251 out = new ArrayList<String>(mProviders.size()); in getProviders()
1252 for (LocationProviderInterface provider : mProviders) { in getProviders()
1330 for (int i = mProviders.size() - 1; i >= 0; i--) { in updateProvidersLocked()
1331 LocationProviderInterface p = mProviders.get(i); in updateProvidersLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java665 final ProviderIntentResolver mProviders = new ProviderIntentResolver(); field in PackageManagerService
3726 PackageParser.Provider p = mProviders.mProviders.get(component);
6202 return mProviders.queryIntent(intent, resolvedType, flags, userId);
6206 return mProviders.queryIntentForPackage(
6563 final Iterator<PackageParser.Provider> i = mProviders.mProviders.values().iterator();
8666 mProviders.addProvider(p);
9619 mProviders.removeProvider(p);
11135 if (mProviders.containsKey(p.getComponentName())) {
11140 mProviders.put(p.getComponentName(), p);
11163 mProviders.remove(p.getComponentName());
[all …]