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
112 readPermission = orig.readPermission; in ProviderInfo()
142 out.writeString(readPermission); in writeToParcel()
171 readPermission = in.readString(); in ProviderInfo()
DPathPermission.java31 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument
34 mReadPermission = readPermission; in PathPermission()
DPackageParser.java4826 p.info.readPermission = owner.applicationInfo.permission; in parseProvider()
4828 p.info.readPermission = in parseProvider()
5018 String readPermission = sa.getNonConfigurationString( in parseProviderTags() local
5020 if (readPermission == null) { in parseProviderTags()
5021 readPermission = permission; in parseProviderTags()
5030 if (readPermission != null) { in parseProviderTags()
5031 readPermission = readPermission.intern(); in parseProviderTags()
5056 PatternMatcher.PATTERN_LITERAL, readPermission, writePermission); in parseProviderTags()
5063 PatternMatcher.PATTERN_PREFIX, readPermission, writePermission); in parseProviderTags()
5070 PatternMatcher.PATTERN_SIMPLE_GLOB, readPermission, writePermission); in parseProviderTags()
[all …]
/frameworks/base/test-runner/src/android/test/mock/
DMockContentProvider.java189 String readPermission, in MockContentProvider() argument
192 super(context, readPermission, writePermission, pathPermissions); in MockContentProvider()
DMockContext.java668 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
692 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java98 if (!android.Manifest.permission.READ_SEARCH_INDEXABLES.equals(info.readPermission)) { in attachInfo()
DDocumentsProvider.java173 if (!android.Manifest.permission.MANAGE_DOCUMENTS.equals(info.readPermission) in attachInfo()
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java108 Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument
/frameworks/base/core/java/android/content/
DContextWrapper.java796 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
798 return mBase.checkUriPermission(uri, readPermission, writePermission, in checkUriPermission()
822 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
825 uri, readPermission, writePermission, pid, uid, modeFlags, in enforceUriPermission()
DContentProvider.java161 String readPermission, in ContentProvider() argument
165 mReadPermission = readPermission; in ContentProvider()
1912 setReadPermission(info.readPermission); in attachInfo()
DContext.java4296 public abstract int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() argument
4377 @Nullable Uri uri, @Nullable String readPermission, in enforceUriPermission() argument
/frameworks/base/core/java/com/android/server/
DSystemConfig.java353 readPermission(parser, perm); in readPermissionsFromXml()
610 void readPermission(XmlPullParser parser, String name) in readPermission() method in SystemConfig
/frameworks/base/core/java/android/app/
DContextImpl.java1851 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
1855 + readPermission + " writePermission=" + writePermission in checkUriPermission()
1859 if (readPermission == null in checkUriPermission()
1860 || checkPermission(readPermission, pid, uid) in checkUriPermission()
1943 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
1947 uri, readPermission, writePermission, pid, uid, in enforceUriPermission()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java8296 if (!readMet && pi.readPermission != null && considerUidPermissions in checkHoldingPermissionsInternalLocked()
8297 && (pm.checkUidPermission(pi.readPermission, uid) == PERMISSION_GRANTED)) { in checkHoldingPermissionsInternalLocked()
8307 boolean allowDefaultRead = pi.readPermission == null; in checkHoldingPermissionsInternalLocked()
8674 if (pi.readPermission != null) { in checkGrantUriPermissionLocked()
8740 if (android.Manifest.permission.MANAGE_DOCUMENTS.equals(pi.readPermission)) { in checkGrantUriPermissionLocked()
11085 if (checkComponentPermission(cpi.readPermission, callingPid, callingUid,
11123 } else if (android.Manifest.permission.MANAGE_DOCUMENTS.equals(cpi.readPermission)) {
11126 suffix = " requires " + cpi.readPermission + " or " + cpi.writePermission;
/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/api/
Dcurrent.txt1059 field public static final int readPermission = 16842759; // 0x1010007
10870 field public java.lang.String readPermission;
Dsystem-current.txt1180 field public static final int readPermission = 16842759; // 0x1010007
11636 field public java.lang.String readPermission;