/frameworks/base/core/java/com/android/internal/pm/pkg/component/ |
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()
|
D | ParsedProviderUtils.java | 99 String readPermission = sa.getNonConfigurationString( in parseProvider() local 101 if (readPermission == null) { in parseProvider() 102 readPermission = permission; in parseProvider() 104 if (readPermission == null) { in parseProvider() 107 provider.setReadPermission(readPermission); in parseProvider() 292 String readPermission = sa.getNonConfigurationString( in parsePathPermission() local 294 if (readPermission == null) { in parsePathPermission() 295 readPermission = permission; in parsePathPermission() 304 if (readPermission != null) { in parsePathPermission() 305 readPermission = readPermission.intern(); in parsePathPermission() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | ProviderInfo.java | 39 public String readPermission = null; field in ProviderInfo 128 readPermission = orig.readPermission; in ProviderInfo() 159 out.writeString8(readPermission); in writeToParcel() 189 readPermission = in.readString8(); in ProviderInfo()
|
D | PathPermission.java | 32 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument 35 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 | 495 public int checkUriPermission(Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument 500 return super.checkUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags); in checkUriPermission() 522 public void enforceUriPermission(Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument 527 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 | 228 String readPermission, in MockContentProvider() argument 231 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/ravenwood/junit-impl-src/android/platform/test/ravenwood/ |
D | RavenwoodBaseContext.java | 661 public int checkUriPermission(Uri uri, String readPermission, String writePermission, in checkUriPermission() argument 682 public void enforceUriPermission(Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 1049 public int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() argument 1051 return mBase.checkUriPermission(uri, readPermission, writePermission, in checkUriPermission() 1075 @Nullable Uri uri, @Nullable String readPermission, @Nullable String writePermission, in enforceUriPermission() argument 1078 uri, readPermission, writePermission, pid, uid, modeFlags, in enforceUriPermission()
|
D | ContentProvider.java | 199 String readPermission, in ContentProvider() argument 203 mReadPermission = readPermission; in ContentProvider() 2632 setReadPermission(info.readPermission); in attachInfo()
|
D | Context.java | 7079 public abstract int checkUriPermission(@Nullable Uri uri, @Nullable String readPermission, in checkUriPermission() argument 7160 @Nullable Uri uri, @Nullable String readPermission, in enforceUriPermission() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | ApplicationContext.java | 1075 public int checkUriPermission(Uri uri, String readPermission, String writePermission, int pid, in checkUriPermission() argument 1079 … return context.checkUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags); in checkUriPermission() 1109 public void enforceUriPermission(Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument 1113 … context.enforceUriPermission(uri, readPermission, writePermission, pid, uid, modeFlags, message); in enforceUriPermission()
|
/frameworks/base/services/core/java/com/android/server/uri/ |
D | UriGrantsManagerService.java | 1051 if (!readMet && pi.readPermission != null && considerUidPermissions in checkHoldingPermissionsInternalUnlocked() 1052 && (checkUidPermission(pi.readPermission, uid) == PERMISSION_GRANTED)) { in checkHoldingPermissionsInternalUnlocked() 1062 boolean allowDefaultRead = pi.readPermission == null; in checkHoldingPermissionsInternalUnlocked() 1250 if (pi.readPermission != null) { in checkGrantUriPermissionUnlocked() 1353 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 | 166 pi.readPermission = android.Manifest.permission.READ_EXTERNAL_STORAGE; in buildCameraProvider()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 2542 public int checkUriPermission(Uri uri, String readPermission, in checkUriPermission() argument 2546 + readPermission + " writePermission=" + writePermission in checkUriPermission() 2550 if (readPermission == null in checkUriPermission() 2551 || checkPermission(readPermission, pid, uid) in checkUriPermission() 2634 Uri uri, String readPermission, String writePermission, in enforceUriPermission() argument 2638 uri, readPermission, writePermission, pid, uid, in enforceUriPermission()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderHelper.java | 1593 if (ActivityManagerService.checkComponentPermission(cpi.readPermission, in checkContentProviderPermission() 1632 } else if (android.Manifest.permission.MANAGE_DOCUMENTS.equals(cpi.readPermission)) { in checkContentProviderPermission() 1635 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/internal/pm/parsing/ |
D | PackageInfoCommonUtils.java | 435 pi.readPermission = p.getReadPermission(); in generateProviderInfo()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemConfig.java | 872 readPermission(parser, perm); in readPermissionsFromXml() 1769 void readPermission(XmlPullParser parser, String name) in readPermission() method in SystemConfig
|
/frameworks/base/services/core/java/com/android/server/pm/parsing/ |
D | PackageInfoUtils.java | 696 pi.readPermission = p.getReadPermission(); in generateProviderInfo()
|