Home
last modified time | relevance | path

Searched refs:readPermission (Results 1 – 22 of 22) 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.java5147 p.info.readPermission = owner.applicationInfo.permission; in parseProvider()
5149 p.info.readPermission = in parseProvider()
5327 String readPermission = sa.getNonConfigurationString( in parseProviderTags() local
5329 if (readPermission == null) { in parseProviderTags()
5330 readPermission = permission; in parseProviderTags()
5339 if (readPermission != null) { in parseProviderTags()
5340 readPermission = readPermission.intern(); in parseProviderTags()
5365 PatternMatcher.PATTERN_LITERAL, readPermission, writePermission); in parseProviderTags()
5372 PatternMatcher.PATTERN_PREFIX, readPermission, writePermission); in parseProviderTags()
5379 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.java190 String readPermission, in MockContentProvider() argument
193 super(context, readPermission, writePermission, pathPermissions); in MockContentProvider()
DMockContext.java726 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
750 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.java873 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
875 return mBase.checkUriPermission(uri, readPermission, writePermission, in checkUriPermission()
899 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
902 uri, readPermission, writePermission, pid, uid, modeFlags, in enforceUriPermission()
DContentProvider.java175 String readPermission, in ContentProvider() argument
179 mReadPermission = readPermission; in ContentProvider()
2084 setReadPermission(info.readPermission); in attachInfo()
DContext.java5230 public abstract int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() argument
5311 @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.java2057 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
2061 + readPermission + " writePermission=" + writePermission in checkUriPermission()
2065 if (readPermission == null in checkUriPermission()
2066 || checkPermission(readPermission, pid, uid) in checkUriPermission()
2149 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
2153 uri, readPermission, writePermission, pid, uid, in enforceUriPermission()
/frameworks/base/core/java/com/android/server/
DSystemConfig.java577 readPermission(parser, perm); in readPermissionsFromXml()
1045 void readPermission(XmlPullParser parser, String name) in readPermission() method in SystemConfig
/frameworks/base/test-runner/api/
Dlint-baseline.txt69 Missing nullability on parameter `readPermission` in method `checkUriPermission`
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6564 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid, in checkContentProviderPermissionLocked()
6603 } else if (android.Manifest.permission.MANAGE_DOCUMENTS.equals(cpi.readPermission)) { in checkContentProviderPermissionLocked()
6606 suffix = " requires " + cpi.readPermission + " or " + cpi.writePermission; in checkContentProviderPermissionLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt992 field public static final int readPermission = 16842759; // 0x1010007
8955 field public java.lang.String readPermission;
/frameworks/base/non-updatable-api/
Dcurrent.txt1110 field public static final int readPermission = 16842759; // 0x1010007
11938 field public String readPermission;
/frameworks/base/api/
Dcurrent.txt1110 field public static final int readPermission = 16842759; // 0x1010007
11938 field public String readPermission;
/frameworks/base/config/
Dboot-image-profile.txt25388 HSPLcom/android/server/SystemConfig;->readPermission(Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/Strin…
Dhiddenapi-greylist-max-o.txt90725 Lcom/android/internal/R$attr;->readPermission:I