/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapapi/ |
D | BluetoothMapIMProviderTest.java | 82 ProviderInfo providerInfo = new ProviderInfo(); in attachInfo_whenProviderIsNotExported() local 83 providerInfo.authority = AUTHORITY; in attachInfo_whenProviderIsNotExported() 84 providerInfo.exported = false; in attachInfo_whenProviderIsNotExported() 87 () -> mProvider.attachInfo(mContext, providerInfo)); in attachInfo_whenProviderIsNotExported() 92 ProviderInfo providerInfo = new ProviderInfo(); in attachInfo_whenNoPermission() local 93 providerInfo.authority = AUTHORITY; in attachInfo_whenNoPermission() 94 providerInfo.exported = true; in attachInfo_whenNoPermission() 95 providerInfo.writePermission = "some.random.permission"; in attachInfo_whenNoPermission() 98 () -> mProvider.attachInfo(mContext, providerInfo)); in attachInfo_whenNoPermission() 103 ProviderInfo providerInfo = new ProviderInfo(); in attachInfo_success() local [all …]
|
D | BluetoothMapEmailProviderTest.java | 69 ProviderInfo providerInfo = new ProviderInfo(); in attachInfo_whenProviderIsNotExported() local 70 providerInfo.authority = AUTHORITY; in attachInfo_whenProviderIsNotExported() 71 providerInfo.exported = false; in attachInfo_whenProviderIsNotExported() 74 () -> mProvider.attachInfo(mContext, providerInfo)); in attachInfo_whenProviderIsNotExported() 79 ProviderInfo providerInfo = new ProviderInfo(); in attachInfo_whenNoPermission() local 80 providerInfo.authority = AUTHORITY; in attachInfo_whenNoPermission() 81 providerInfo.exported = true; in attachInfo_whenNoPermission() 82 providerInfo.writePermission = "some.random.permission"; in attachInfo_whenNoPermission() 85 () -> mProvider.attachInfo(mContext, providerInfo)); in attachInfo_whenNoPermission() 90 ProviderInfo providerInfo = new ProviderInfo(); in attachInfo_success() local [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | OsuProviderInfoTest.java | 109 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/ |
D | LauncherAppWidgetInfo.java | 174 LauncherAppWidgetProviderInfo providerInfo, AppWidgetHostView hostView) { in LauncherAppWidgetInfo() argument 176 widgetFeatures = computeWidgetFeatures(providerInfo, hostView); in LauncherAppWidgetInfo() 243 LauncherAppWidgetProviderInfo providerInfo, AppWidgetHostView hostView) { in computeWidgetFeatures() argument 245 if (providerInfo.isReconfigurable()) { in computeWidgetFeatures() 248 if (providerInfo.isConfigurationOptional()) { in computeWidgetFeatures() 251 if (ATLEAST_S && providerInfo.previewLayout != Resources.ID_NULL) { in computeWidgetFeatures() 254 if (ATLEAST_S && providerInfo.targetCellWidth > 0 || providerInfo.targetCellHeight > 0) { in computeWidgetFeatures() 257 if (providerInfo.minResizeWidth > 0 || providerInfo.minResizeHeight > 0) { in computeWidgetFeatures() 260 if (ATLEAST_S && providerInfo.maxResizeWidth > 0 || providerInfo.maxResizeHeight > 0) { in computeWidgetFeatures()
|
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CarDevelopmentCarUiLibController.java | 64 ProviderInfo providerInfo = getCarUiPluginProviderInfo(); in onPreferenceChange() local 65 if (providerInfo == null) { in onPreferenceChange() 69 ComponentName componentName = new ComponentName(providerInfo.packageName, in onPreferenceChange() 70 providerInfo.name); in onPreferenceChange() 97 ProviderInfo providerInfo = getCarUiPluginProviderInfo(); in isCarUiPluginEnabled() local 98 if (providerInfo == null) { in isCarUiPluginEnabled() 102 ComponentName componentName = new ComponentName(providerInfo.packageName, in isCarUiPluginEnabled() 103 providerInfo.name); in isCarUiPluginEnabled() 106 return providerInfo.enabled; in isCarUiPluginEnabled()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | PreviewUtils.kt | 42 private var providerInfo: ProviderInfo? in onPreviewRendered() variable 57 providerInfo = in onPreviewRendered() 67 providerInfo?.let { in onPreviewRendered() 73 providerInfo = null in onPreviewRendered() 102 .authority(checkNotNull(providerInfo).authority) in getUri() 109 return providerInfo != null in supportsPreview()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ItemInstallQueue.java | 255 @Nullable AppWidgetProviderInfo providerInfo; field in ItemInstallQueue.PendingInstallShortcutInfo 287 providerInfo = info; in PendingInstallShortcutInfo() 331 .fromProviderInfo(context, providerInfo); in getItemInfo() 341 return Pair.create(widgetInfo, providerInfo); in getItemInfo() 360 boolean providerInfoMatches = providerInfo == null in equals() 361 ? other.providerInfo == null in equals() 362 : other.providerInfo != null in equals() 363 && providerInfo.provider.equals(other.providerInfo.provider); in equals()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/eligibility/ |
D | CandidateSuggestionFilter.java | 146 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/DocumentsUI/src/com/android/documentsui/roots/ |
D | ProvidersCache.java | 554 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/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | CellBroadcastProviderTestable.java | 67 ProviderInfo providerInfo = new ProviderInfo(); in initializeForTesting() local 68 providerInfo.authority = CellBroadcastProvider.AUTHORITY; in initializeForTesting() 71 attachInfoForTesting(context, providerInfo); in initializeForTesting()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapAccountLoader.java | 94 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/ |
D | IconUtilsTest.java | 77 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/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastContentProviderTestable.java | 78 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/ |
D | CarrierIdProviderTestable.java | 57 ProviderInfo providerInfo = new ProviderInfo(); in initializeForTesting() local 58 providerInfo.authority = CarrierIdProvider.AUTHORITY; in initializeForTesting() 61 attachInfoForTesting(context, providerInfo); in initializeForTesting()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/ |
D | RequiredContentProvider.java | 57 return new ComponentName(resolveInfo.providerInfo.packageName, in getComponentComponentName() 58 resolveInfo.providerInfo.name); in getComponentComponentName() 72 return resolveInfo.providerInfo.metaData; in getComponentMetaData()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/enterprise/apps/ |
D | ApplicationFeatureProviderImpl.java | 112 } else if (resolveInfo.providerInfo != null) { in findPersistentPreferredActivities() 113 componentInfo = resolveInfo.providerInfo; in findPersistentPreferredActivities() 204 if (resolveInfo.providerInfo != null) { in getComponentInfo() 205 return resolveInfo.providerInfo; in getComponentInfo()
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
D | CequintPackageUtils.java | 241 ProviderInfo providerInfo = in isCallerIdInstalled() local 243 if (providerInfo == null) { in isCallerIdInstalled() 251 String packageName = providerInfo.packageName; in isCallerIdInstalled()
|
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/indexing/ |
D | PreIndexDataCollector.java | 90 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/Launcher3/src/com/android/launcher3/dragndrop/ |
D | PinItemDragListener.java | 91 LauncherAppWidgetProviderInfo providerInfo = in createDragHelper() local 95 new PinWidgetFlowHandler(providerInfo, mRequest); in createDragHelper() 96 item = new PendingAddWidgetInfo(providerInfo, CONTAINER_PIN_WIDGETS) { in createDragHelper()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ |
D | PickerSyncController.java | 224 ProviderInfo providerInfo = info.providerInfo; in getSupportedCloudProviders() local 225 if (providerInfo.authority != null in getSupportedCloudProviders() 227 providerInfo.readPermission) in getSupportedCloudProviders() 229 || mAllowedCloudProviders.contains(providerInfo.authority))) { in getSupportedCloudProviders() 230 result.add(new CloudProviderInfo(providerInfo.authority, in getSupportedCloudProviders() 231 providerInfo.applicationInfo.packageName, in getSupportedCloudProviders() 232 providerInfo.applicationInfo.uid)); in getSupportedCloudProviders()
|
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/ |
D | AccountSyncHelper.java | 113 ProviderInfo providerInfo = packageManager.resolveContentProviderAsUser( in getTitle() local 115 if (providerInfo == null) { in getTitle() 119 return providerInfo.loadLabel(packageManager); in getTitle()
|
/packages/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/ |
D | RulesCheckReceiver.java | 152 ProviderInfo providerInfo = in shouldUninstallCurrentInstall() local 154 if (providerInfo == null || providerInfo.applicationInfo == null) { in shouldUninstallCurrentInstall() 168 ApplicationInfo applicationInfo = providerInfo.applicationInfo; in shouldUninstallCurrentInstall()
|
/packages/apps/Messaging/tests/src/com/android/messaging/ |
D | FakeContentProvider.java | 82 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/ |
D | AllowBindAppWidgetActivity.java | 158 for (AppWidgetProviderInfo providerInfo : mAppWidgetManager.getInstalledProviders()) { in getWidgetLabel() 159 if (providerInfo.provider.equals(mComponentName)) { in getWidgetLabel() 160 label = providerInfo.loadLabel(getPackageManager()); in getWidgetLabel()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFragmentTest.java | 103 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()
|