/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Dependency.java | 116 private final ArrayMap<Object, LazyDependencyCreator> mProviders = new ArrayMap<>(); field in Dependency 167 mProviders.put(TIME_TICK_HANDLER, mTimeTickHandler::get); in start() 168 mProviders.put(BG_LOOPER, mBgLooper::get); in start() 169 mProviders.put(BroadcastDispatcher.class, mBroadcastDispatcher::get); in start() 170 mProviders.put(BluetoothController.class, mBluetoothController::get); in start() 171 mProviders.put(KeyguardUpdateMonitor.class, mKeyguardUpdateMonitor::get); in start() 172 mProviders.put(DeviceProvisionedController.class, mDeviceProvisionedController::get); in start() 173 mProviders.put(PluginManager.class, mPluginManager::get); in start() 174 mProviders.put(AssistManager.class, mAssistManager::get); in start() 175 mProviders.put(TunerService.class, mTunerService::get); in start() [all …]
|
/frameworks/base/core/java/android/content/res/loader/ |
D | ResourcesLoader.java | 64 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/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ConditionProvidersTest.java | 54 private ConditionProviders mProviders; field in ConditionProvidersTest 72 mProviders = new ConditionProviders(mContext, mUserProfiles, mIpm); in setUp() 73 mProviders.setCallback(mCallback); in setUp() 79 ManagedServices.ManagedServiceInfo msi = mProviders.new ManagedServiceInfo( in notifyConditions_findCondition() 86 mProviders.notifyConditions("package", msi, conditions); in notifyConditions_findCondition() 88 assertThat(mProviders.findCondition(cn, Uri.parse("a"))).isEqualTo(conditions[0]); in notifyConditions_findCondition() 89 assertThat(mProviders.findCondition(cn, Uri.parse("b"))).isEqualTo(conditions[1]); in notifyConditions_findCondition() 90 assertThat(mProviders.findCondition(null, Uri.parse("a"))).isNull(); in notifyConditions_findCondition() 91 assertThat(mProviders.findCondition(cn, null)).isNull(); in notifyConditions_findCondition() 96 ManagedServices.ManagedServiceInfo msi = mProviders.new ManagedServiceInfo( in notifyConditions_callbackOnConditionChanged() [all …]
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | RemoteDisplayProviderWatcher.java | 54 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/ |
D | InsetsStateController.java | 60 private final SparseArray<InsetsSourceProvider> mProviders = new SparseArray<>(); field in InsetsStateController 113 return mProviders; in getSourceProviders() 120 InsetsSourceProvider provider = mProviders.get(id); in getOrCreateSourceProvider() 133 mProviders.put(id, provider); in getOrCreateSourceProvider() 144 mProviders.remove(id); in removeSourceProvider() 152 for (int i = mProviders.size() - 1; i >= 0; i--) { in setForcedConsumingTypes() 153 final InsetsSourceProvider provider = mProviders.valueAt(i); in setForcedConsumingTypes() 171 for (int i = mProviders.size() - 1; i >= 0; i--) { in onPostLayout() 172 mProviders.valueAt(i).onPostLayout(); in onPostLayout() 221 for (int i = mProviders.size() - 1; i >= 0; i--) { in onRequestedVisibleTypesChanged() [all …]
|
D | CompatModePackages.java | 351 private final SparseArray<CompatScaleProvider> mProviders = new SparseArray<>(); field in CompatModePackages 499 for (int i = 0; i < mProviders.size(); i++) { in getCompatScaleFromProvider() 500 final CompatScaleProvider provider = mProviders.valueAt(i); in getCompatScaleFromProvider() 547 if (mProviders.contains(id)) { in registerCompatScaleProvider() 560 mProviders.put(id, provider); in registerCompatScaleProvider() 566 if (!mProviders.contains(id)) { in unregisterCompatScaleProvider() 570 mProviders.remove(id); in unregisterCompatScaleProvider()
|
/frameworks/base/core/java/android/credentials/ |
D | SetEnabledProvidersRequest.java | 36 @NonNull private final List<String> mProviders; field in SetEnabledProvidersRequest 47 mProviders = providers; in SetEnabledProvidersRequest() 51 mProviders = in.createStringArrayList(); in SetEnabledProvidersRequest() 74 dest.writeStringList(mProviders); in writeToParcel() 79 return mProviders; in getProviderComponentNames()
|
D | ListEnabledProvidersResponse.java | 37 @NonNull private final List<String> mProviders; field in ListEnabledProvidersResponse 51 mProviders = providers; in ListEnabledProvidersResponse() 55 mProviders = in.createStringArrayList(); in ListEnabledProvidersResponse() 78 dest.writeStringList(mProviders); in writeToParcel() 83 return mProviders; in getProviderComponentNames()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | RequestSession.java | 90 protected final Map<String, ProviderSession> mProviders = new ConcurrentHashMap<>(); field in RequestSession 217 mProviders.put(componentName.flattenToString(), providerSession); in addProviderSession() 234 ProviderSession providerSession = mProviders.get(providerId); in onUiSelection() 259 mProviders.values().forEach(ProviderSession::cancelProviderRemoteSession); in finishSession() 263 mProviders.clear(); in finishSession() 285 for (ProviderSession session : mProviders.values()) { in isAnyProviderPending() 302 for (ProviderSession session : mProviders.values()) { in isUiInvocationNeeded() 321 Slog.i(TAG, "For ui, provider data size: " + mProviders.size()); in getProviderDataForUi() 323 mRequestSessionMetric.logCandidatePhaseMetrics(mProviders); in getProviderDataForUi() 331 for (ProviderSession session : mProviders.values()) { in getProviderDataForUi() [all …]
|
D | GetRequestSession.java | 93 mProviders.put(providerGetSession.getComponentName().flattenToString(), in initiateProviderSession() 144 mRequestSessionMetric.updateMetricsOnResponseReceived(mProviders, componentName, in onFinalResponseReceived() 217 mProviders.keySet().forEach(key -> { in handleEmptyAuthenticationSelection() 218 ProviderGetSession session = (ProviderGetSession) mProviders.get(key); in handleEmptyAuthenticationSelection() 238 for (String key : mProviders.keySet()) { in providerDataContainsEmptyAuthEntriesOnly() 239 ProviderGetSession session = (ProviderGetSession) mProviders.get(key); in providerDataContainsEmptyAuthEntriesOnly()
|
D | ClearRequestSession.java | 75 mProviders.put(providerClearSession.getComponentName().flattenToString(), in initiateProviderSession() 99 mRequestSessionMetric.updateMetricsOnResponseReceived(mProviders, componentName, in onFinalResponseReceived() 139 for (ProviderSession session : mProviders.values()) { in processResponses()
|
D | PrepareGetRequestSession.java | 175 return mProviders.values().stream() in getCredentialResultTypes() 184 for (ProviderSession session : mProviders.values()) { in getUiIntent()
|
D | CreateRequestSession.java | 89 mProviders.put(providerCreateSession.getComponentName().flattenToString(), in initiateProviderSession() 143 mRequestSessionMetric.updateMetricsOnResponseReceived(mProviders, componentName, in onFinalResponseReceived()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContentResolver.java | 42 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/ |
D | MockContentResolver.java | 56 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/services/core/java/com/android/server/pm/resolution/ |
D | ComponentResolverBase.java | 58 protected ComponentResolver.ProviderIntentResolver mProviders; field in ComponentResolverBase 91 return mProviders.mProviders.get(componentName) != null; in componentExists() 103 return mProviders.mProviders.get(component); in getProvider() 172 return mProviders.queryIntent(computer, intent, resolvedType, flags, userId); in queryProviders() 180 return mProviders.queryIntentForPackage(computer, intent, resolvedType, flags, providers, in queryProviders() 194 for (int i = mProviders.mProviders.size() - 1; i >= 0; --i) { in queryProviders() 195 final ParsedProvider p = mProviders.mProviders.valueAt(i); in queryProviders() 329 if (mProviders.dump(pw, dumpState.getTitlePrinted() ? "\nProvider Resolver Table:" in dumpProviderResolvers() 360 for (ParsedProvider p : mProviders.mProviders.values()) { in dumpContentProviders()
|
D | ComponentResolverSnapshot.java | 32 mProviders = new ComponentResolver.ProviderIntentResolver(orig.mProviders, mUserManager); in ComponentResolverSnapshot()
|
D | ComponentResolver.java | 165 mProviders = new ProviderIntentResolver(userManager); in ComponentResolver() 303 mProviders.addProvider(computer, p); in addProvidersLocked() 711 mProviders.removeProvider(p); in removeAllComponentsLocked() 1297 mProviders.putAll(orig.mProviders); in ProviderIntentResolver() 1352 if (mProviders.containsKey(p.getComponentName())) { in addProvider() 1357 mProviders.put(p.getComponentName(), p); in addProvider() 1379 mProviders.remove(p.getComponentName()); in removeProvider() 1533 final ArrayMap<ComponentName, ParsedProvider> mProviders = new ArrayMap<>(); field in ComponentResolver.ProviderIntentResolver 1876 hasChanges |= mProviders.updateMimeGroup(computer, packageName, group); in updateMimeGroup()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | QualifiedNetworksService.java | 95 private final SparseArray<NetworkAvailabilityProvider> mProviders = new SparseArray<>(); field in QualifiedNetworksService 356 NetworkAvailabilityProvider provider = mProviders.get(slotIndex); in handleMessage() 360 if (mProviders.get(slotIndex) != null) { in handleMessage() 368 mProviders.put(slotIndex, provider); in handleMessage() 394 mProviders.remove(slotIndex); in handleMessage() 399 for (int i = 0; i < mProviders.size(); i++) { in handleMessage() 400 provider = mProviders.get(i); in handleMessage() 405 mProviders.clear(); in handleMessage()
|
/frameworks/base/tests/ActivityManagerPerfTests/stub-app/src/com/android/stubs/am/ |
D | InitService.java | 62 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/biometrics/sensors/ |
D | BiometricStateCallback.java | 62 private List<T> mProviders = List.of(); field in BiometricStateCallback 80 mProviders = Collections.unmodifiableList(allProviders); in start() 175 for (T provider : mProviders) { in broadcastCurrentEnrollmentState()
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 253 private final ArrayList<Provider> mProviders = new ArrayList<>(); field in AppWidgetServiceImpl 551 final int providerCount = mProviders.size(); in clearPreviewsForUidLocked() 553 Provider provider = mProviders.get(i); in clearPreviewsForUidLocked() 586 final int N = mProviders.size(); in reloadWidgetsMaskedState() 588 Provider provider = mProviders.get(i); in reloadWidgetsMaskedState() 638 final int N = mProviders.size(); in updateWidgetPackageSuspensionMaskedState() 640 Provider provider = mProviders.get(i); in updateWidgetPackageSuspensionMaskedState() 686 final int count = mProviders.size(); in updateWidgetPackageStoppedMaskedState() 688 Provider provider = mProviders.get(i); in updateWidgetPackageStoppedMaskedState() 937 int N = mProviders.size(); in dumpInternalLocked() [all …]
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 248 for (auto& provider : mProviders) { in getCameraCount() 274 for (auto& provider : mProviders) { in getCameraDeviceIds() 308 for (auto& provider : mProviders) { in getAPI1CompatibleCameraDeviceIds() 354 for (auto& provider : mProviders) { in isValidDeviceLocked() 531 for (auto& provider : mProviders) { in getHighestSupportedVersion() 596 for (auto& provider : mProviders) { in supportSetTorchMode() 661 for (auto& provider : mProviders) { in setUpVendorTags() 674 for (const auto& providerInfo : mProviders) { in startExternalLazyProvider() 742 auto providers = mProviders; in notifyDeviceStateChange() 995 for (auto& provider : mProviders) { in dump() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | AbstractMultiProfilePagerAdapter.java | 500 private final EmptyStateProvider[] mProviders; field in AbstractMultiProfilePagerAdapter.CompositeEmptyStateProvider 503 mProviders = providers; in CompositeEmptyStateProvider() 509 for (EmptyStateProvider provider : mProviders) { in getEmptyState()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessRecord.java | 394 final ProcessProviderRecord mProviders; field in ProcessRecord 560 mProviders.dump(pw, prefix, nowUptime); in dump() 618 mProviders = new ProcessProviderRecord(this); in ProcessRecord() 1199 return mProviders.onCleanupApplicationRecordLocked(allowRestart); in onCleanupApplicationRecordLSP() 1708 for (int i = mProviders.numberOfProviderConnections() - 1; i >= 0; i--) { in forEachConnectionHost() 1709 ContentProviderConnection cpc = mProviders.getProviderConnectionAt(i); in forEachConnectionHost()
|