/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | OsuProviderInfoTest.java | 107 OsuProviderInfo providerInfo = in getFriendlyNameMatchingDefaultLocale() local 109 assertEquals(defaultString, providerInfo.getFriendlyName()); in getFriendlyNameMatchingDefaultLocale() 131 OsuProviderInfo providerInfo = in getFriendlyNameNotMatchingDefaultLocale() local 133 assertNotNull(providerInfo.getFriendlyName()); in getFriendlyNameNotMatchingDefaultLocale() 143 OsuProviderInfo providerInfo = in getFriendlyNameWithEmptyList() local 145 assertEquals(null, providerInfo.getFriendlyName()); in getFriendlyNameWithEmptyList() 168 OsuProviderInfo providerInfo = in getServiceDescriptionMatchingDefaultLocale() local 170 assertEquals(defaultString, providerInfo.getServiceDescription()); in getServiceDescriptionMatchingDefaultLocale() 192 OsuProviderInfo providerInfo = in getServiceDescriptionNotMatchingDefaultLocale() local 194 assertEquals(firstString, providerInfo.getServiceDescription()); in getServiceDescriptionNotMatchingDefaultLocale() [all …]
|
/frameworks/base/packages/ExternalStorageProvider/tests/src/com/android/externalstorage/ |
D | ExternalStorageProviderTest.java | 39 ProviderInfo providerInfo = new ProviderInfo(); in onCreate_shouldUpdateVolumes() local 40 providerInfo.authority = AUTHORITY; in onCreate_shouldUpdateVolumes() 41 providerInfo.grantUriPermissions = true; in onCreate_shouldUpdateVolumes() 42 providerInfo.exported = true; in onCreate_shouldUpdateVolumes() 48 InstrumentationRegistry.getTargetContext(), providerInfo); in onCreate_shouldUpdateVolumes()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProviderInfo.java | 275 public ActivityInfo providerInfo; field in AppWidgetProviderInfo 301 this.providerInfo = in.readTypedObject(ActivityInfo.CREATOR); in AppWidgetProviderInfo() 312 CharSequence label = providerInfo.loadLabel(packageManager); in loadLabel() 336 return loadDrawable(context, density, providerInfo.getIconResource(), true); in loadIcon() 365 return new UserHandle(UserHandle.getUserId(providerInfo.applicationInfo.uid)); in getProfile() 386 out.writeTypedObject(this.providerInfo, flags); in writeToParcel() 409 that.providerInfo = this.providerInfo; in clone() 422 providerInfo.applicationInfo); in loadDrawable() 432 return loadDefaultIcon ? providerInfo.loadIcon(context.getPackageManager()) : null; in loadDrawable()
|
D | AppWidgetHostView.java | 154 if ((info.providerInfo.applicationInfo.flags & ApplicationInfo.FLAG_SUSPENDED) != 0) { in setAppWidget() 573 mInfo.providerInfo.applicationInfo, in getRemoteContext() 576 Log.e(TAG, "Package name " + mInfo.providerInfo.packageName + " not found"); in getRemoteContext()
|
/frameworks/base/core/java/android/content/pm/ |
D | ResolveInfo.java | 63 public ProviderInfo providerInfo; field in ResolveInfo 192 if (providerInfo != null) return providerInfo; in getComponentInfo() 352 } else if (providerInfo != null) { in dump() 354 providerInfo.dump(pw, prefix + " ", dumpFlags); in dump() 365 providerInfo = orig.providerInfo; in ResolveInfo() 420 } else if (providerInfo != null) { in writeToParcel() 422 providerInfo.writeToParcel(dest, parcelableFlags); in writeToParcel() 461 providerInfo = null; in ResolveInfo() 470 providerInfo = ProviderInfo.CREATOR.createFromParcel(source); in ResolveInfo()
|
/frameworks/base/test-runner/src/android/test/ |
D | ProviderTestCase2.java | 154 ProviderInfo providerInfo = new ProviderInfo(); in createProviderForTest() local 155 providerInfo.authority = authority; in createProviderForTest() 156 MockContentProvider.attachInfoForTesting(instance, context, providerInfo); in createProviderForTest()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | ComponentTest.java | 534 ProviderInfo providerInfo = in testResolveEnabledProvider() local 536 assertNotNull(providerInfo); in testResolveEnabledProvider() 537 assertTrue(providerInfo.enabled); in testResolveEnabledProvider() 546 ProviderInfo providerInfo = in testResolveDisabledProvider() local 548 assertNull(providerInfo); in testResolveDisabledProvider() 561 ProviderInfo providerInfo = in testEnableProvider() local 563 assertNull(providerInfo); in testEnableProvider() 579 ProviderInfo providerInfo = in testDisableProvider() local 581 assertNotNull(providerInfo); in testDisableProvider() 582 assertTrue(providerInfo.enabled); in testDisableProvider() [all …]
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageTrackerHelperImpl.java | 110 ProviderInfo providerInfo = mPackageManager.resolveContentProviderAsUser( in contentProviderRegistered() local 112 if (providerInfo == null) { in contentProviderRegistered() 118 requiredPackageName.equals(providerInfo.applicationInfo.packageName); in contentProviderRegistered()
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContentProvider.java | 301 ContentProvider provider, Context context, ProviderInfo providerInfo) { in attachInfoForTesting() argument 302 provider.attachInfoForTesting(context, providerInfo); in attachInfoForTesting()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 599 ProviderInfo providerInfo = getProvider(context.getPackageManager(), request); in fetchFonts() local 600 if (providerInfo == null) { in fetchFonts() 606 context, request, providerInfo.authority, cancellationSignal); in fetchFonts()
|
D | DocumentsContract.java | 1193 if (authority.equals(info.providerInfo.authority)) { in isDocumentsProvider()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 423 } else if (resolveInfo.providerInfo != null) { in getPackageName() 424 return resolveInfo.providerInfo.packageName; in getPackageName()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ComponentResolver.java | 111 if (r1.providerInfo != null) { 112 return r1.providerInfo.packageName.compareTo(r2.providerInfo.packageName); 1450 ProviderInfo destPi = dest.get(i).providerInfo; in allowFilterResult() 1528 res.providerInfo = pi; in newResult() 1539 res.system = res.providerInfo.applicationInfo.isSystemApp(); in newResult()
|
D | PackageManagerShellCommand.java | 910 } else if (ri.providerInfo != null) { in printResolveInfo() 911 comp = new ComponentName(ri.providerInfo.packageName, ri.providerInfo.name); in printResolveInfo()
|
D | PackageManagerService.java | 8441 ri.providerInfo = pi; 8474 final boolean isEphemeralApp = info.providerInfo.applicationInfo.isInstantApp(); 8476 if (isEphemeralApp && instantAppPkgName.equals(info.providerInfo.packageName)) { 8477 if (info.providerInfo.splitName != null 8478 && !ArrayUtils.contains(info.providerInfo.applicationInfo.splitNames, 8479 info.providerInfo.splitName)) { 8489 info.providerInfo.packageName, 8490 info.providerInfo.applicationInfo.longVersionCode, 8491 info.providerInfo.splitName); 8502 … && ((info.providerInfo.flags & ProviderInfo.FLAG_VISIBLE_TO_INSTANT_APP) != 0)) { [all …]
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceManager.java | 334 return providers != null && !providers.isEmpty() ? providers.get(0).providerInfo.authority in getAuthority()
|
/frameworks/av/services/camera/libcameraservice/common/ |
D | CameraProviderManager.cpp | 1091 for (const auto& providerInfo : mProviders) { in addProviderLocked() local 1092 if (providerInfo->mProviderName == newProvider) { in addProviderLocked() 1112 sp<ProviderInfo> providerInfo = new ProviderInfo(newProvider, this); in addProviderLocked() local 1113 status_t res = providerInfo->initialize(interface, mDeviceState); in addProviderLocked() 1118 mProviders.push_back(providerInfo); in addProviderLocked()
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionParcelTests.java | 575 public void scheduleInstallProvider(ProviderInfo providerInfo) throws RemoteException { in scheduleInstallProvider() argument
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 3804 final ProviderInfo providerInfo = mContext.getPackageManager().resolveContentProvider( in installHandleTooManyDeletesNotification() 3806 if (providerInfo == null) { in installHandleTooManyDeletesNotification() 3809 CharSequence authorityName = providerInfo.loadLabel(mContext.getPackageManager()); in installHandleTooManyDeletesNotification()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |