Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java208 private final ArrayMap<Object, LazyDependencyCreator> mProviders = new ArrayMap<>(); field in Dependency
336 mProviders.put(TIME_TICK_HANDLER, mTimeTickHandler::get); in start()
337 mProviders.put(BG_LOOPER, mBgLooper::get); in start()
338 mProviders.put(MAIN_LOOPER, mMainLooper::get); in start()
339 mProviders.put(MAIN_HANDLER, mMainHandler::get); in start()
340 mProviders.put(ActivityStarter.class, mActivityStarter::get); in start()
341 mProviders.put(BroadcastDispatcher.class, mBroadcastDispatcher::get); in start()
343 mProviders.put(AsyncSensorManager.class, mAsyncSensorManager::get); in start()
345 mProviders.put(BluetoothController.class, mBluetoothController::get); in start()
346 mProviders.put(SensorPrivacyManager.class, mSensorPrivacyManager::get); in start()
[all …]
/frameworks/base/core/java/android/content/res/loader/
DResourcesLoader.java64 private ResourcesProvider[] mProviders; field in ResourcesLoader
88 return mProviders == null ? Collections.emptyList() : Arrays.asList(mProviders); in getProviders()
103 mProviders = ArrayUtils.appendElement(ResourcesProvider.class, mProviders, in addProvider()
120 mProviders = ArrayUtils.removeElement(ResourcesProvider.class, mProviders, in removeProvider()
136 mProviders = resourcesProviders.toArray(new ResourcesProvider[0]); in setProviders()
149 mProviders = null; in clearProviders()
234 if (arrayEquals(mPreviousProviders, mProviders)) { in notifyProvidersChangedLocked()
238 if (mProviders == null || mProviders.length == 0) { in notifyProvidersChangedLocked()
241 mApkAssets = new ApkAssets[mProviders.length]; in notifyProvidersChangedLocked()
242 for (int i = 0, n = mProviders.length; i < n; i++) { in notifyProvidersChangedLocked()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSOsuProvidersElement.java51 private final List<OsuProviderInfo> mProviders; field in HSOsuProvidersElement
57 mProviders = providers; in HSOsuProvidersElement()
92 return Collections.unmodifiableList(mProviders); in getProviders()
105 && (mProviders == null ? that.mProviders == null in equals()
106 : mProviders.equals(that.mProviders)); in equals()
111 return Objects.hash(mOsuSsid, mProviders); in hashCode()
116 return "OSUProviders{" + "mOsuSsid=" + mOsuSsid + ", mProviders=" + mProviders + "}"; in toString()
/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/services/core/java/com/android/server/wm/
DInsetsStateController.java63 private final ArrayMap<Integer, InsetsSourceProvider> mProviders = new ArrayMap<>(); field in InsetsStateController
171 for (int i = mProviders.size() - 1; i >= 0; i--) { in getInsetsForDispatchInner()
172 InsetsSourceProvider otherProvider = mProviders.valueAt(i); in getInsetsForDispatchInner()
217 result[i] = mProviders.get(controlled.get(i)).getControl(target); in getControlsForDispatch()
227 return mProviders.computeIfAbsent(type, in getSourceProvider()
231 return mProviders.computeIfAbsent(type, in getSourceProvider()
244 return mProviders.get(type); in peekSourceProvider()
252 for (int i = mProviders.size() - 1; i >= 0; i--) { in onPostLayout()
253 mProviders.valueAt(i).onPostLayout(); in onPostLayout()
275 final InsetsSourceProvider provider = mProviders.get(source.getType()); in onInsetsModified()
[all …]
/frameworks/base/telephony/java/android/telephony/data/
DQualifiedNetworksService.java73 private final SparseArray<NetworkAvailabilityProvider> mProviders = new SparseArray<>(); field in QualifiedNetworksService
179 NetworkAvailabilityProvider provider = mProviders.get(slotIndex); in handleMessage()
183 if (mProviders.get(slotIndex) != null) { in handleMessage()
191 mProviders.put(slotIndex, provider); in handleMessage()
204 mProviders.remove(slotIndex); in handleMessage()
209 for (int i = 0; i < mProviders.size(); i++) { in handleMessage()
210 provider = mProviders.get(i); in handleMessage()
215 mProviders.clear(); in handleMessage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java113 private final Map<String, PasspointProvider> mProviders; field in PasspointManager
176 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in getProviders()
184 mProviders.clear(); in setProviders()
187 mProviders.put(provider.getConfig().getUniqueId(), provider); in setProviders()
265 return mProviders.entrySet().stream().filter( in getPasspointProviderWithPackage()
314 mProviders = new HashMap<>(); in PasspointManager()
347 for (PasspointProvider provider : mProviders.values()) { in enableVerboseLogging()
450 if (mProviders.containsKey(config.getUniqueId())) { in addOrUpdateProvider()
451 PasspointProvider old = mProviders.get(config.getUniqueId()); in addOrUpdateProvider()
462 mProviders.remove(config.getUniqueId()); in addOrUpdateProvider()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableContentResolver.java42 private final Map<String, ContentProvider> mProviders = new ArrayMap<>(); field in TestableContentResolver
82 mProviders.put(name, provider); in addProvider()
91 final ContentProvider provider = mProviders.get(name); in acquireProvider()
101 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider()
152 if (!mProviders.containsKey(uri.getAuthority()) in notifyChange()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentResolver.java56 Map<String, ContentProvider> mProviders; field in MockContentResolver
72 mProviders = new HashMap<>(); in MockContentResolver()
87 mProviders.put(name, provider); in addProvider()
103 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider()
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/
DInitService.java62 final ArrayMap<Uri, IContentProvider> mProviders = field in InitService.Stub
178 synchronized (mProviders) { in acquireProvider()
179 mProviders.put(uri, provider); in acquireProvider()
192 synchronized (mProviders) { in releaseProvider()
193 provider = mProviders.get(uri); in releaseProvider()
197 synchronized (mProviders) { in releaseProvider()
198 mProviders.remove(uri); in releaseProvider()
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java169 private final ProviderIntentResolver mProviders = new ProviderIntentResolver(); field in ComponentResolver
222 return mProviders.mProviders.get(component); in getProvider()
257 return mProviders.mProviders.get(componentName) != null; in componentExists()
281 return mProviders.queryIntent(intent, resolvedType, flags, userId); in queryProviders()
289 return mProviders.queryIntentForPackage(intent, resolvedType, flags, providers, userId); in queryProviders()
302 for (int i = mProviders.mProviders.size() - 1; i >= 0; --i) { in queryProviders()
303 final ParsedProvider p = mProviders.mProviders.valueAt(i); in queryProviders()
564 if (mProviders.dump(pw, dumpState.getTitlePrinted() ? "\nProvider Resolver Table:" in dumpProviderResolvers()
589 for (ParsedProvider p : mProviders.mProviders.values()) { in dumpContentProviders()
680 mProviders.addProvider(p); in addProvidersLocked()
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java214 private final ArrayList<Provider> mProviders = new ArrayList<>(); field in AppWidgetServiceImpl
356 ArrayList<Provider> installedProviders = new ArrayList<>(mProviders); in onConfigurationChanged()
509 final int N = mProviders.size(); in reloadWidgetsMaskedState()
511 Provider provider = mProviders.get(i); in reloadWidgetsMaskedState()
556 final int N = mProviders.size(); in updateWidgetPackageSuspensionMaskedState()
558 Provider provider = mProviders.get(i); in updateWidgetPackageSuspensionMaskedState()
812 int N = mProviders.size(); in dumpInternal()
815 dumpProvider(mProviders.get(i), i, pw); in dumpInternal()
1731 final int providerCount = mProviders.size(); in getInstalledProvidersForProfile()
1733 Provider provider = mProviders.get(i); in getInstalledProvidersForProfile()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp115 for (auto& provider : mProviders) { in getCameraCount()
140 for (auto& provider : mProviders) { in getCameraDeviceIds()
170 for (auto& provider : mProviders) { in getAPI1CompatibleCameraDeviceIds()
220 for (auto& provider : mProviders) { in isValidDeviceLocked()
293 for (auto& provider : mProviders) { in getHighestSupportedVersion()
312 for (auto& provider : mProviders) { in supportSetTorchMode()
345 for (auto& provider : mProviders) { in setUpVendorTags()
359 for (auto& provider : mProviders) { in notifyDeviceStateChange()
539 for (auto& provider : mProviders) { in dump()
548 for (auto& provider : mProviders) { in findDeviceInfoLocked()
[all …]
DCameraProviderManager.h656 std::vector<sp<ProviderInfo>> mProviders; variable
/frameworks/base/packages/SystemUI/docs/
Ddagger.md134 mProviders.put(SomethingController.class, mSomethingController::get);