Home
last modified time | relevance | path

Searched refs:resolveContentProvider (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java129 when(mPmInternal.resolveContentProvider(eq(PKG_CAMERA), anyLong(), eq(userId), in UriGrantsMockContext()
132 when(mPmInternal.resolveContentProvider(eq(PKG_CAMERA), anyLong(), eq(userId), in UriGrantsMockContext()
135 when(mPmInternal.resolveContentProvider(eq(PKG_PRIVATE), anyLong(), eq(userId), in UriGrantsMockContext()
138 when(mPmInternal.resolveContentProvider(eq(PKG_PRIVATE), anyLong(), eq(userId), in UriGrantsMockContext()
141 when(mPmInternal.resolveContentProvider(eq(PKG_PUBLIC), anyLong(), eq(userId), in UriGrantsMockContext()
144 when(mPmInternal.resolveContentProvider(eq(PKG_PUBLIC), anyLong(), eq(userId), in UriGrantsMockContext()
147 when(mPmInternal.resolveContentProvider(eq(PKG_FORCE), anyLong(), eq(userId), in UriGrantsMockContext()
150 when(mPmInternal.resolveContentProvider(eq(PKG_FORCE), anyLong(), eq(userId), in UriGrantsMockContext()
153 when(mPmInternal.resolveContentProvider(eq(PKG_COMPLEX), anyLong(), eq(userId), in UriGrantsMockContext()
156 when(mPmInternal.resolveContentProvider(eq(PKG_COMPLEX), anyLong(), eq(userId), in UriGrantsMockContext()
DUriGrantsManagerServiceTest.java396 final ProviderInfo cameraInfo = mContext.mPmInternal.resolveContentProvider( in testCheckAuthorityGrants()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java537 mPackageManager.resolveContentProvider(ENABLED_PROVIDER_NAME, 0); in testResolveEnabledProvider()
549 mPackageManager.resolveContentProvider(DISABLED_PROVIDER_NAME, 0); in testResolveDisabledProvider()
552 mPackageManager.resolveContentProvider(DISABLED_PROVIDER_NAME, in testResolveDisabledProvider()
564 mPackageManager.resolveContentProvider(DISABLED_PROVIDER_NAME, 0); in testEnableProvider()
571 mPackageManager.resolveContentProvider(DISABLED_PROVIDER_NAME, 0); in testEnableProvider()
582 mPackageManager.resolveContentProvider(ENABLED_PROVIDER_NAME, 0); in testDisableProvider()
590 mPackageManager.resolveContentProvider(ENABLED_PROVIDER_NAME, 0); in testDisableProvider()
637 mPackageManager.resolveContentProvider(componentNameStr, in getComponentProcessName()
/frameworks/base/core/tests/coretests/src/android/provider/
DFontsContractTest.java238 when(mPackageManager.resolveContentProvider(anyString(), anyInt())).thenReturn(null); in testGetProvider_providerNotFound()
251 when(mPackageManager.resolveContentProvider(anyString(), anyInt())).thenReturn(info); in testGetProvider_providerIsSystemApp()
261 when(mPackageManager.resolveContentProvider(anyString(), anyInt())).thenReturn(info); in testGetProvider_providerIsSystemAppWrongPackage()
325 when(mPackageManager.resolveContentProvider(anyString(), anyInt())).thenReturn(info); in testGetProvider_providerIsNonSystemAppDuplicateCerts()
380 when(mPackageManager.resolveContentProvider(anyString(), anyInt())).thenReturn(info); in setupPackageManager()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java142 ProviderInfo pi = mContext.getPackageManager().resolveContentProvider( in testProviderWithData()
147 pi = mContext.getPackageManager().resolveContentProvider( in testProviderWithData()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DPackageUtil.kt52 val providerInfo = pm.resolveContentProvider(DOWNLOADS_AUTHORITY, 0) in getSystemDownloadsProviderInfo()
88 val info = pm.resolveContentProvider( in canPackageQuery()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java72 mProviderPkg = pm.resolveContentProvider(mUri.getAuthority(), in onCreate()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallStart.java273 ProviderInfo info = mPackageManager.resolveContentProvider(packageUri.getAuthority(), in canPackageQuery()
DPackageUtil.java376 final ProviderInfo providerInfo = pm.resolveContentProvider( in getSystemDownloadsProviderInfo()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerInternalBase.java502 public final ProviderInfo resolveContentProvider(String name, in resolveContentProvider() method in PackageManagerInternalBase
504 return snapshot().resolveContentProvider(name, flags, userId,callingUid); in resolveContentProvider()
DIPackageManagerBase.java1126 public final ProviderInfo resolveContentProvider(String name, in resolveContentProvider() method in IPackageManagerBase
1128 return snapshot().resolveContentProvider(name, flags, userId, Binder.getCallingUid()); in resolveContentProvider()
DComputer.java487 ProviderInfo resolveContentProvider(@NonNull String name, in resolveContentProvider() method
/frameworks/base/services/core/java/com/android/server/storage/
DStorageSessionController.java358 ProviderInfo provider = mContext.getPackageManager().resolveContentProvider( in initExternalStorageServiceComponent()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java304 .resolveContentProvider(name, /*flags=*/ 0, userId) == null) { in getContentProviderImpl()
384 cpi = AppGlobals.getPackageManager().resolveContentProvider(name, in getContentProviderImpl()
1161 cpi = AppGlobals.getPackageManager().resolveContentProvider(authority, in checkContentProviderAccess()
1666 return AppGlobals.getPackageManager().resolveContentProvider( in getProviderInfoLocked()
/frameworks/base/core/java/android/app/
DSearchableInfo.java370 ProviderInfo pi = pm.resolveContentProvider(mSuggestAuthority, in SearchableInfo()
DApplicationPackageManager.java1704 public ProviderInfo resolveContentProvider(String name, int flags) { in resolveContentProvider() method in ApplicationPackageManager
1705 return resolveContentProvider(name, ComponentInfoFlags.of(flags)); in resolveContentProvider()
1709 public ProviderInfo resolveContentProvider(String name, ComponentInfoFlags flags) { in resolveContentProvider() method in ApplicationPackageManager
1724 return mPM.resolveContentProvider(name, in resolveContentProviderAsUser()
/frameworks/base/services/core/java/android/content/pm/
DPackageManagerInternal.java639 public abstract ProviderInfo resolveContentProvider(String name, in resolveContentProvider() method in PackageManagerInternal
/frameworks/base/core/java/android/provider/
DFontsContract.java770 ProviderInfo info = packageManager.resolveContentProvider(providerAuthority, 0); in getProvider()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java472 public ProviderInfo resolveContentProvider(String name, int flags) { in resolveContentProvider() method in PackageManagerStub
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java507 public ProviderInfo resolveContentProvider(String name, int flags) { in resolveContentProvider() method in BridgePackageManager
/frameworks/base/core/java/android/content/pm/
DIPackageManager.aidl196 ProviderInfo resolveContentProvider(String name, long flags, int userId); in resolveContentProvider() method
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java522 public ProviderInfo resolveContentProvider(String name, int flags) { in resolveContentProvider() method in MockPackageManager
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java532 public ProviderInfo resolveContentProvider(@NonNull String authority, int flags) { in resolveContentProvider() method in MockPackageManager
/frameworks/base/test-mock/api/
Dcurrent.txt283 method @Deprecated public android.content.pm.ProviderInfo resolveContentProvider(String, int);
/frameworks/base/core/java/android/os/
DFileUtils.java1688 ProviderInfo provider = context.getPackageManager().resolveContentProvider( in getMediaProviderAppId()

12