Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/pkg/component/
DParsedProviderUtils.java97 String readPermission = sa.getNonConfigurationString( in parseProvider() local
99 if (readPermission == null) { in parseProvider()
100 readPermission = permission; in parseProvider()
102 if (readPermission == null) { in parseProvider()
105 provider.setReadPermission(readPermission); in parseProvider()
283 String readPermission = sa.getNonConfigurationString( in parsePathPermission() local
285 if (readPermission == null) { in parsePathPermission()
286 readPermission = permission; in parsePathPermission()
295 if (readPermission != null) { in parsePathPermission()
296 readPermission = readPermission.intern(); in parsePathPermission()
[all …]
DParsedProviderImpl.java54 private String readPermission; field in ParsedProviderImpl
72 this.readPermission = other.getReadPermission(); in ParsedProviderImpl()
82 public ParsedProviderImpl setReadPermission(String readPermission) { in setReadPermission() argument
84 this.readPermission = TextUtils.isEmpty(readPermission) in setReadPermission()
85 ? null : readPermission.intern(); in setReadPermission()
128 sForInternedString.parcel(this.readPermission, dest, flags); in writeToParcel()
145 this.readPermission = sForInternedString.unparcel(in); in ParsedProviderImpl()
188 @Nullable String readPermission, in ParsedProviderImpl() argument
198 this.readPermission = readPermission; in ParsedProviderImpl()
226 return readPermission; in getReadPermission()
/frameworks/base/core/java/android/content/pm/
DProviderInfo.java38 public String readPermission = null; field in ProviderInfo
118 readPermission = orig.readPermission; in ProviderInfo()
149 out.writeString8(readPermission); in writeToParcel()
179 readPermission = in.readString8(); in ProviderInfo()
DPathPermission.java31 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument
34 mReadPermission = readPermission; in PathPermission()
DPackageParser.java5120 p.info.readPermission = owner.applicationInfo.permission; in parseProvider()
5122 p.info.readPermission = in parseProvider()
5300 String readPermission = sa.getNonConfigurationString( in parseProviderTags() local
5302 if (readPermission == null) { in parseProviderTags()
5303 readPermission = permission; in parseProviderTags()
5312 if (readPermission != null) { in parseProviderTags()
5313 readPermission = readPermission.intern(); in parseProviderTags()
5338 PatternMatcher.PATTERN_LITERAL, readPermission, writePermission); in parseProviderTags()
5345 PatternMatcher.PATTERN_PREFIX, readPermission, writePermission); in parseProviderTags()
5352 PatternMatcher.PATTERN_SIMPLE_GLOB, readPermission, writePermission); in parseProviderTags()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java476 public int checkUriPermission(Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument
481 return super.checkUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags); in checkUriPermission()
503 public void enforceUriPermission(Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
508 super.enforceUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags, in enforceUriPermission()
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java123 Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java221 String readPermission, in MockContentProvider() argument
224 super(context, readPermission, writePermission, pathPermissions); in MockContentProvider()
DMockContext.java763 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
787 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
/frameworks/base/core/java/android/provider/
DSearchIndexablesProvider.java110 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.java1007 public int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() argument
1009 return mBase.checkUriPermission(uri, readPermission, writePermission, in checkUriPermission()
1033 @Nullable Uri uri, @Nullable String readPermission, @Nullable String writePermission, in enforceUriPermission() argument
1036 uri, readPermission, writePermission, pid, uid, modeFlags, in enforceUriPermission()
DContentProvider.java189 String readPermission, in ContentProvider() argument
193 mReadPermission = readPermission; in ContentProvider()
2440 setReadPermission(info.readPermission); in attachInfo()
DContext.java6460 public abstract int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() argument
6541 @Nullable Uri uri, @Nullable String readPermission, in enforceUriPermission() argument
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java943 if (!readMet && pi.readPermission != null && considerUidPermissions in checkHoldingPermissionsInternalUnlocked()
944 && (checkUidPermission(pi.readPermission, uid) == PERMISSION_GRANTED)) { in checkHoldingPermissionsInternalUnlocked()
954 boolean allowDefaultRead = pi.readPermission == null; in checkHoldingPermissionsInternalUnlocked()
1147 if (pi.readPermission != null) { in checkGrantUriPermissionUnlocked()
1250 if (android.Manifest.permission.MANAGE_DOCUMENTS.equals(pi.readPermission)) { in checkGrantUriPermissionUnlocked()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java327 private void readPermission(@NonNull XmlPullParser parser) throws XmlPullParserException, in readPermission() method in UsbUserPermissionManager
389 readPermission(parser); in readPermissionsLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java174 pi.readPermission = android.Manifest.permission.READ_EXTERNAL_STORAGE; in buildCameraProvider()
/frameworks/base/core/java/android/app/
DContextImpl.java2382 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument
2386 + readPermission + " writePermission=" + writePermission in checkUriPermission()
2390 if (readPermission == null in checkUriPermission()
2391 || checkPermission(readPermission, pid, uid) in checkUriPermission()
2474 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
2478 uri, readPermission, writePermission, pid, uid, in enforceUriPermission()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java1532 if (ActivityManagerService.checkComponentPermission(cpi.readPermission, in checkContentProviderPermission()
1571 } else if (android.Manifest.permission.MANAGE_DOCUMENTS.equals(cpi.readPermission)) { in checkContentProviderPermission()
1574 suffix = " requires " + cpi.readPermission + " or " + cpi.writePermission; in checkContentProviderPermission()
/frameworks/base/test-runner/api/
Dlint-baseline.txt69 Missing nullability on parameter `readPermission` in method `checkUriPermission`
/frameworks/base/core/java/com/android/server/
DSystemConfig.java845 readPermission(parser, perm); in readPermissionsFromXml()
1555 void readPermission(XmlPullParser parser, String name) in readPermission() method in SystemConfig
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DPackageInfoWithoutStateUtils.java655 pi.readPermission = p.getReadPermission(); in generateProviderInfoUnchecked()
/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/core/api/
Dcurrent.txt1218 field public static final int readPermission = 16842759; // 0x1010007
12242 field public String readPermission;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt76296 Lcom/android/internal/R$attr;->readPermission:I