/frameworks/base/services/core/java/com/android/server/pm/pkg/component/ |
D | ParsedProviderUtils.java | 97 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 …]
|
D | ParsedProviderImpl.java | 54 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/ |
D | ProviderInfo.java | 38 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()
|
D | PathPermission.java | 31 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument 34 mReadPermission = readPermission; in PathPermission()
|
D | PackageParser.java | 5120 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/ |
D | TestableContext.java | 476 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/ |
D | IsolatedContext.java | 123 Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContentProvider.java | 221 String readPermission, in MockContentProvider() argument 224 super(context, readPermission, writePermission, pathPermissions); in MockContentProvider()
|
D | MockContext.java | 763 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/ |
D | SearchIndexablesProvider.java | 110 if (!android.Manifest.permission.READ_SEARCH_INDEXABLES.equals(info.readPermission)) { in attachInfo()
|
D | DocumentsProvider.java | 175 if (!android.Manifest.permission.MANAGE_DOCUMENTS.equals(info.readPermission) in attachInfo()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 1007 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()
|
D | ContentProvider.java | 189 String readPermission, in ContentProvider() argument 193 mReadPermission = readPermission; in ContentProvider() 2440 setReadPermission(info.readPermission); in attachInfo()
|
D | Context.java | 6460 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/ |
D | UriGrantsManagerService.java | 943 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/ |
D | UsbUserPermissionManager.java | 327 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/ |
D | UriGrantsMockContext.java | 174 pi.readPermission = android.Manifest.permission.READ_EXTERNAL_STORAGE; in buildCameraProvider()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 2382 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/ |
D | ContentProviderHelper.java | 1532 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/ |
D | lint-baseline.txt | 69 Missing nullability on parameter `readPermission` in method `checkUriPermission`
|
/frameworks/base/core/java/com/android/server/ |
D | SystemConfig.java | 845 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/ |
D | PackageInfoWithoutStateUtils.java | 655 pi.readPermission = p.getReadPermission(); in generateProviderInfoUnchecked()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 992 field public static final int readPermission = 16842759; // 0x1010007 8955 field public java.lang.String readPermission;
|
/frameworks/base/core/api/ |
D | current.txt | 1218 field public static final int readPermission = 16842759; // 0x1010007 12242 field public String readPermission;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 76296 Lcom/android/internal/R$attr;->readPermission:I
|