Home
last modified time | relevance | path

Searched refs:providerInfo (Results 1 – 25 of 49) sorted by relevance

12

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DOsuProviderInfoTest.java109 OsuProviderInfo providerInfo = in getFriendlyNameMatchingDefaultLocale() local
111 assertEquals(defaultString, providerInfo.getFriendlyName()); in getFriendlyNameMatchingDefaultLocale()
133 OsuProviderInfo providerInfo = in getFriendlyNameNotMatchingDefaultLocale() local
135 assertNotNull(providerInfo.getFriendlyName()); in getFriendlyNameNotMatchingDefaultLocale()
145 OsuProviderInfo providerInfo = in getFriendlyNameWithEmptyList() local
147 assertEquals(null, providerInfo.getFriendlyName()); in getFriendlyNameWithEmptyList()
170 OsuProviderInfo providerInfo = in getServiceDescriptionMatchingDefaultLocale() local
172 assertEquals(defaultString, providerInfo.getServiceDescription()); in getServiceDescriptionMatchingDefaultLocale()
194 OsuProviderInfo providerInfo = in getServiceDescriptionNotMatchingDefaultLocale() local
196 assertEquals(firstString, providerInfo.getServiceDescription()); in getServiceDescriptionNotMatchingDefaultLocale()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DLauncherAppWidgetInfo.java173 LauncherAppWidgetProviderInfo providerInfo, AppWidgetHostView hostView) { in LauncherAppWidgetInfo() argument
175 widgetFeatures = computeWidgetFeatures(providerInfo, hostView); in LauncherAppWidgetInfo()
242 LauncherAppWidgetProviderInfo providerInfo, AppWidgetHostView hostView) { in computeWidgetFeatures() argument
244 if (providerInfo.isReconfigurable()) { in computeWidgetFeatures()
247 if (providerInfo.isConfigurationOptional()) { in computeWidgetFeatures()
250 if (ATLEAST_S && providerInfo.previewLayout != Resources.ID_NULL) { in computeWidgetFeatures()
253 if (ATLEAST_S && providerInfo.targetCellWidth > 0 || providerInfo.targetCellHeight > 0) { in computeWidgetFeatures()
256 if (providerInfo.minResizeWidth > 0 || providerInfo.minResizeHeight > 0) { in computeWidgetFeatures()
259 if (ATLEAST_S && providerInfo.maxResizeWidth > 0 || providerInfo.maxResizeHeight > 0) { in computeWidgetFeatures()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DItemInstallQueue.java238 @Nullable AppWidgetProviderInfo providerInfo; field in ItemInstallQueue.PendingInstallShortcutInfo
270 providerInfo = info; in PendingInstallShortcutInfo()
313 .fromProviderInfo(context, providerInfo); in getItemInfo()
323 return Pair.create(widgetInfo, providerInfo); in getItemInfo()
342 boolean providerInfoMatches = providerInfo == null in equals()
343 ? other.providerInfo == null in equals()
344 : other.providerInfo != null in equals()
345 && providerInfo.provider.equals(other.providerInfo.provider); in equals()
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
DProvidersCache.java554 ProviderInfo providerInfo = info.providerInfo;
555 if (providerInfo.authority != null) {
556 taskInfos.add(new SingleProviderUpdateTaskInfo(providerInfo, userId));
568 taskInfo.providerInfo,
616 ProviderInfo providerInfo,
621 handleDocumentsProvider(providerInfo, userId);
687 private final ProviderInfo providerInfo;
690 SingleProviderUpdateTaskInfo(ProviderInfo providerInfo, UserId userId) {
691 this.providerInfo = providerInfo;
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/
DCandidateSuggestionFilter.java146 final ProviderInfo providerInfo = providers.get(0).providerInfo; in call() local
147 if (providerInfo == null || TextUtils.isEmpty(providerInfo.authority)) { in call()
154 .authority(providerInfo.authority) in call()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAccountLoader.java94 if ((rInfo.providerInfo.applicationInfo.flags & ApplicationInfo.FLAG_STOPPED) in parsePackages()
116 + rInfo.providerInfo.authority + "\n"); in parsePackages()
131 String provider = rInfo.providerInfo.authority; in createAppItem()
136 rInfo.providerInfo.packageName + " - " + name + " - meta-data(provider = " in createAppItem()
140 BluetoothMapAccountItem.create("0", name, rInfo.providerInfo.packageName, in createAppItem()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DIconUtilsTest.java77 final ProviderInfo providerInfo = new ProviderInfo(); in testLoadPackageIcon() local
85 providerInfo); in testLoadPackageIcon()
101 final ProviderInfo providerInfo = new ProviderInfo(); in testLoadPackageIcon_maybeShowBadge() local
109 providerInfo); in testLoadPackageIcon_maybeShowBadge()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DCellBroadcastProviderTestable.java67 ProviderInfo providerInfo = new ProviderInfo(); in initializeForTesting() local
68 providerInfo.authority = CellBroadcastProvider.AUTHORITY; in initializeForTesting()
71 attachInfoForTesting(context, providerInfo); in initializeForTesting()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastContentProviderTestable.java78 ProviderInfo providerInfo = new ProviderInfo(); in initializeForTesting() local
79 providerInfo.authority = "cellbroadcasts-app"; in initializeForTesting()
81 attachInfoForTesting(context, providerInfo); in initializeForTesting()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DCarrierIdProviderTestable.java57 ProviderInfo providerInfo = new ProviderInfo(); in initializeForTesting() local
58 providerInfo.authority = CarrierIdProvider.AUTHORITY; in initializeForTesting()
61 attachInfoForTesting(context, providerInfo); in initializeForTesting()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/
DPreIndexDataCollector.java90 final String authority = info.providerInfo.authority; in collectIndexableData()
91 final String packageName = info.providerInfo.packageName; in collectIndexableData()
348 final String authority = info.providerInfo.authority; in isWellKnownProvider()
349 final String packageName = info.providerInfo.applicationInfo.packageName; in isWellKnownProvider()
355 final String readPermission = info.providerInfo.readPermission; in isWellKnownProvider()
356 final String writePermission = info.providerInfo.writePermission; in isWellKnownProvider()
/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintPackageUtils.java241 ProviderInfo providerInfo = in isCallerIdInstalled() local
243 if (providerInfo == null) { in isCallerIdInstalled()
251 String packageName = providerInfo.packageName; in isCallerIdInstalled()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DPinItemDragListener.java84 LauncherAppWidgetProviderInfo providerInfo = in createDragHelper() local
88 new PinWidgetFlowHandler(providerInfo, mRequest); in createDragHelper()
89 item = new PendingAddWidgetInfo(providerInfo, CONTAINER_PIN_WIDGETS) { in createDragHelper()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java103 final ProviderInfo providerInfo = new ProviderInfo(); in setUp() local
104 providerInfo.packageName = "pkg"; in setUp()
105 providerInfo.name = "provider"; in setUp()
106 providerInfo.authority = "authority"; in setUp()
110 mProviderTile = new ProviderTile(providerInfo, mDashboardCategory.key, metaData); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/apps/
DApplicationFeatureProviderImpl.java129 } else if (resolveInfo.providerInfo != null) { in findPersistentPreferredActivities()
130 componentInfo = resolveInfo.providerInfo; in findPersistentPreferredActivities()
331 if (resolveInfo.providerInfo != null) { in getComponentInfo()
332 return resolveInfo.providerInfo; in getComponentInfo()
/packages/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/
DRulesCheckReceiver.java152 ProviderInfo providerInfo = in shouldUninstallCurrentInstall() local
154 if (providerInfo == null || providerInfo.applicationInfo == null) { in shouldUninstallCurrentInstall()
168 ApplicationInfo applicationInfo = providerInfo.applicationInfo; in shouldUninstallCurrentInstall()
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountSyncHelper.java113 ProviderInfo providerInfo = packageManager.resolveContentProviderAsUser( in getTitle() local
115 if (providerInfo == null) { in getTitle()
119 return providerInfo.loadLabel(packageManager); in getTitle()
/packages/apps/Settings/tests/unit/src/com/android/settings/dashboard/
DCategoryManagerTest.java330 final ProviderInfo providerInfo = new ProviderInfo(); in createProviderTile() local
332 providerInfo.packageName = packageName; in createProviderTile()
333 providerInfo.name = className; in createProviderTile()
334 providerInfo.authority = authority; in createProviderTile()
337 return new ProviderTile(providerInfo, categoryKey, metaData); in createProviderTile()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContentProvider.java82 ProviderInfo providerInfo = new ProviderInfo(); in FakeContentProvider() local
83 providerInfo.authority = uri.getAuthority(); in FakeContentProvider()
85 this.attachInfo(mGlobalContext, providerInfo); in FakeContentProvider()
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationFeatureProviderImpl.java126 } else if (resolveInfo.providerInfo != null) { in findPersistentPreferredActivities()
127 componentInfo = resolveInfo.providerInfo; in findPersistentPreferredActivities()
336 if (resolveInfo.providerInfo != null) { in getComponentInfo()
337 return resolveInfo.providerInfo; in getComponentInfo()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DGetOrCreateConversationActionTest.java159 final ProviderInfo providerInfo = new ProviderInfo(); in setUp() local
160 providerInfo.authority = MessagingContentProvider.AUTHORITY; in setUp()
161 provider.attachInfo(mContext, providerInfo); in setUp()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactDirectoryManagerTest.java649 ProviderInfo providerInfo = new ProviderInfo(); in createPackage() local
650 providerInfo.packageName = providerPackage.packageName; in createPackage()
651 providerInfo.authority = authority; in createPackage()
653 providerInfo.metaData = new Bundle(); in createPackage()
654 providerInfo.metaData.putBoolean("android.content.ContactDirectory", true); in createPackage()
656 providerPackage.providers = new ProviderInfo[] { providerInfo }; in createPackage()
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DLauncherPreviewRenderer.java355 AppWidgetProviderInfo providerInfo = widgetProviderInfoMap.get(
357 if (providerInfo == null) {
361 getApplicationContext(), providerInfo));
374 LauncherAppWidgetInfo info, LauncherAppWidgetProviderInfo providerInfo) {
376 view.setAppWidget(-1, providerInfo);
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DRequiredContentProvider.java55 return new ComponentName(resolveInfo.providerInfo.packageName, in getComponentComponentName()
56 resolveInfo.providerInfo.name); in getComponentComponentName()
/packages/services/Car/service/src/com/android/car/vms/
DVmsProviderInfoStore.java67 int getProviderId(byte[] providerInfo) { in getProviderId() argument
69 InfoWrapper wrappedProviderInfo = new InfoWrapper(providerInfo); in getProviderId()

12