Home
last modified time | relevance | path

Searched refs:readPermission (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DProviderInfo.java38 public String readPermission = null; field in ProviderInfo
118 readPermission = orig.readPermission; in ProviderInfo()
149 out.writeString(readPermission); in writeToParcel()
179 readPermission = in.readString(); in ProviderInfo()
DPathPermission.java31 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument
34 mReadPermission = readPermission; in PathPermission()
DPackageParser.java5090 p.info.readPermission = owner.applicationInfo.permission; in parseProvider()
5092 p.info.readPermission = in parseProvider()
5270 String readPermission = sa.getNonConfigurationString( in parseProviderTags() local
5272 if (readPermission == null) { in parseProviderTags()
5273 readPermission = permission; in parseProviderTags()
5282 if (readPermission != null) { in parseProviderTags()
5283 readPermission = readPermission.intern(); in parseProviderTags()
5308 PatternMatcher.PATTERN_LITERAL, readPermission, writePermission); in parseProviderTags()
5315 PatternMatcher.PATTERN_PREFIX, readPermission, writePermission); in parseProviderTags()
5322 PatternMatcher.PATTERN_SIMPLE_GLOB, readPermission, writePermission); in parseProviderTags()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java424 public int checkUriPermission(Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument
429 return super.checkUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags); in checkUriPermission()
451 public void enforceUriPermission(Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
456 super.enforceUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags, in enforceUriPermission()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java189 String readPermission, in MockContentProvider() argument
192 super(context, readPermission, writePermission, pathPermissions); in MockContentProvider()
DMockContext.java703 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
727 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java112 Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java107 if (!android.Manifest.permission.READ_SEARCH_INDEXABLES.equals(info.readPermission)) { in attachInfo()
DDocumentsProvider.java175 if (!android.Manifest.permission.MANAGE_DOCUMENTS.equals(info.readPermission) in attachInfo()
/frameworks/base/core/java/android/content/
DContextWrapper.java840 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
842 return mBase.checkUriPermission(uri, readPermission, writePermission, in checkUriPermission()
866 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
869 uri, readPermission, writePermission, pid, uid, modeFlags, in enforceUriPermission()
DContentProvider.java175 String readPermission, in ContentProvider() argument
179 mReadPermission = readPermission; in ContentProvider()
2085 setReadPermission(info.readPermission); in attachInfo()
DContext.java4997 public abstract int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() argument
5078 @Nullable Uri uri, @Nullable String readPermission, in enforceUriPermission() argument
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java886 if (!readMet && pi.readPermission != null && considerUidPermissions in checkHoldingPermissionsInternal()
887 && (pm.checkUidPermission(pi.readPermission, uid) == PERMISSION_GRANTED)) { in checkHoldingPermissionsInternal()
897 boolean allowDefaultRead = pi.readPermission == null; in checkHoldingPermissionsInternal()
1098 if (pi.readPermission != null) { in checkGrantUriPermission()
1173 if (android.Manifest.permission.MANAGE_DOCUMENTS.equals(pi.readPermission)) { in checkGrantUriPermission()
/frameworks/base/core/java/android/app/
DContextImpl.java2008 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
2012 + readPermission + " writePermission=" + writePermission in checkUriPermission()
2016 if (readPermission == null in checkUriPermission()
2017 || checkPermission(readPermission, pid, uid) in checkUriPermission()
2100 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
2104 uri, readPermission, writePermission, pid, uid, in enforceUriPermission()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java535 readPermission(parser, perm); in readPermissionsFromXml()
999 void readPermission(XmlPullParser parser, String name) in readPermission() method in SystemConfig
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6527 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid, in checkContentProviderPermissionLocked()
6566 } else if (android.Manifest.permission.MANAGE_DOCUMENTS.equals(cpi.readPermission)) { in checkContentProviderPermissionLocked()
6569 suffix = " requires " + cpi.readPermission + " or " + cpi.writePermission; in checkContentProviderPermissionLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...