Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java193 private final ArrayMap<Object, LazyDependencyCreator> mProviders = new ArrayMap<>(); field in Dependency
319 mProviders.put(TIME_TICK_HANDLER, mTimeTickHandler::get); in start()
320 mProviders.put(BG_LOOPER, mBgLooper::get); in start()
321 mProviders.put(BG_HANDLER, mBgHandler::get); in start()
322 mProviders.put(MAIN_HANDLER, mMainHandler::get); in start()
323 mProviders.put(ActivityStarter.class, mActivityStarter::get); in start()
324 mProviders.put(ActivityStarterDelegate.class, mActivityStarterDelegate::get); in start()
326 mProviders.put(AsyncSensorManager.class, mAsyncSensorManager::get); in start()
328 mProviders.put(BluetoothController.class, mBluetoothController::get); in start()
329 mProviders.put(SensorPrivacyManager.class, mSensorPrivacyManager::get); in start()
[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/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/base/test-mock/src/android/test/mock/
DMockContentResolver.java53 Map<String, ContentProvider> mProviders; field in MockContentResolver
69 mProviders = new HashMap<>(); in MockContentResolver()
84 mProviders.put(name, provider); in addProvider()
100 final ContentProvider provider = mProviders.get(name); in acquireExistingProvider()
/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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java123 private final Map<String, PasspointProvider> mProviders; field in PasspointManager
210 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in getProviders()
218 mProviders.clear(); in setProviders()
221 mProviders.put(provider.getConfig().getHomeSp().getFqdn(), provider); in setProviders()
299 return mProviders.entrySet().stream().filter( in getPasspointProviderWithPackage()
348 mProviders = new HashMap<>(); in PasspointManager()
381 for (PasspointProvider provider : mProviders.values()) { in enableVerboseLogging()
435 if (mProviders.containsKey(config.getHomeSp().getFqdn())) { in addOrUpdateProvider()
437 mProviders.get(config.getHomeSp().getFqdn()).uninstallCertsAndKeys(); in addOrUpdateProvider()
438 mProviders.remove(config.getHomeSp().getFqdn()); in addOrUpdateProvider()
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java214 private final ArrayList<Provider> mProviders = new ArrayList<>(); field in AppWidgetServiceImpl
348 ArrayList<Provider> installedProviders = new ArrayList<>(mProviders); in onConfigurationChanged()
501 final int N = mProviders.size(); in reloadWidgetsMaskedState()
503 Provider provider = mProviders.get(i); in reloadWidgetsMaskedState()
548 final int N = mProviders.size(); in updateWidgetPackageSuspensionMaskedState()
550 Provider provider = mProviders.get(i); in updateWidgetPackageSuspensionMaskedState()
798 int N = mProviders.size(); in dumpInternal()
801 dumpProvider(mProviders.get(i), i, pw); in dumpInternal()
1716 final int providerCount = mProviders.size(); in getInstalledProvidersForProfile()
1718 Provider provider = mProviders.get(i); in getInstalledProvidersForProfile()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DComponentResolver.java158 private final ProviderIntentResolver mProviders = new ProviderIntentResolver(); field in ComponentResolver
205 return mProviders.mProviders.get(component); in getProvider()
239 return mProviders.queryIntent(intent, resolvedType, flags, userId); in queryProviders()
246 return mProviders.queryIntentForPackage(intent, resolvedType, flags, providers, userId); in queryProviders()
257 for (int i = mProviders.mProviders.size() - 1; i >= 0; --i) { in queryProviders()
258 final PackageParser.Provider p = mProviders.mProviders.valueAt(i); in queryProviders()
458 if (mProviders.dump(pw, dumpState.getTitlePrinted() ? "\nProvider Resolver Table:" in dumpProviderResolvers()
483 for (PackageParser.Provider p : mProviders.mProviders.values()) { in dumpContentProviders()
570 mProviders.addProvider(p); in addProvidersLocked()
977 mProviders.removeProvider(p); in removeAllComponentsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java215 private final ArrayList<LocationProvider> mProviders = new ArrayList<>(); field in LocationManagerService
482 for (LocationProvider p : mProviders) { in onAppOpChangedLocked()
489 for (LocationProvider p : mProviders) { in onPermissionsChangedLocked()
508 for (LocationProvider p : mProviders) { in onBatterySaverModeChangedLocked()
516 for (LocationProvider p : mProviders) { in onScreenStateChangedLocked()
528 for (LocationProvider p : mProviders) { in onLocationModeChangedLocked()
543 for (LocationProvider p : mProviders) { in onProviderAllowedChangedLocked()
642 for (LocationProvider provider : mProviders) { in onBackgroundThrottleIntervalChangedLocked()
660 for (LocationProvider p : mProviders) { in onBackgroundThrottleWhitelistChangedLocked()
678 for (LocationProvider p : mProviders) { in onIgnoreSettingsWhitelistChangedLocked()
[all …]
/frameworks/av/services/camera/libcameraservice/common/
DCameraProviderManager.cpp110 for (auto& provider : mProviders) { in getCameraCount()
125 for (auto& provider : mProviders) { in getCameraDeviceIds()
136 for (auto& provider : mProviders) { in getAPI1CompatibleCameraDeviceIds()
177 for (auto& provider : mProviders) { in isValidDeviceLocked()
242 for (auto& provider : mProviders) { in getHighestSupportedVersion()
261 for (auto& provider : mProviders) { in supportSetTorchMode()
291 for (auto& provider : mProviders) { in setUpVendorTags()
305 for (auto& provider : mProviders) { in notifyDeviceStateChange()
479 for (auto& provider : mProviders) { in dump()
488 for (auto& provider : mProviders) { in findDeviceInfoLocked()
[all …]
DCameraProviderManager.h581 std::vector<sp<ProviderInfo>> mProviders; variable
/frameworks/base/packages/SystemUI/docs/
Ddagger.md134 mProviders.put(SomethingController.class, mSomethingController::get);