Home
last modified time | relevance | path

Searched refs:pathPermissions (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedProviderImpl.java65 private List<PathPermission> pathPermissions = Collections.emptyList(); field in ParsedProviderImpl
79 this.pathPermissions = new ArrayList<>(other.getPathPermissions()); in ParsedProviderImpl()
104 pathPermissions = CollectionUtils.add(pathPermissions, value); in addPathPermission()
135 dest.writeTypedList(this.pathPermissions, flags); in writeToParcel()
152 this.pathPermissions = in.createTypedArrayList(PathPermission.CREATOR); in ParsedProviderImpl()
195 @NonNull List<PathPermission> pathPermissions) { in ParsedProviderImpl() argument
207 this.pathPermissions = pathPermissions; in ParsedProviderImpl()
209 NonNull.class, null, pathPermissions); in ParsedProviderImpl()
261 return pathPermissions; in getPathPermissions()
/frameworks/base/core/java/android/content/pm/
DProviderInfo.java74 public PathPermission[] pathPermissions = null; field in ProviderInfo
133 pathPermissions = orig.pathPermissions; in ProviderInfo()
164 out.writeTypedArray(pathPermissions, parcelableFlags); in writeToParcel()
194 pathPermissions = in.createTypedArray(PathPermission.CREATOR); in ProviderInfo()
DPackageParser.java5365 if (outInfo.info.pathPermissions == null) { in parseProviderTags()
5366 outInfo.info.pathPermissions = new PathPermission[1]; in parseProviderTags()
5367 outInfo.info.pathPermissions[0] = pa; in parseProviderTags()
5369 final int N = outInfo.info.pathPermissions.length; in parseProviderTags()
5371 System.arraycopy(outInfo.info.pathPermissions, 0, newp, 0, N); in parseProviderTags()
5373 outInfo.info.pathPermissions = newp; in parseProviderTags()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java230 PathPermission[] pathPermissions) { in MockContentProvider() argument
231 super(context, readPermission, writePermission, pathPermissions); in MockContentProvider()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java1066 final PathPermission[] pps = pi.pathPermissions; in checkHoldingPermissionsInternalUnlocked()
1259 if (pi.pathPermissions != null) { in checkGrantUriPermissionUnlocked()
1260 final int N = pi.pathPermissions.length; in checkGrantUriPermissionUnlocked()
1262 if (pi.pathPermissions[i] != null in checkGrantUriPermissionUnlocked()
1263 && pi.pathPermissions[i].match(grantUri.uri.getPath())) { in checkGrantUriPermissionUnlocked()
1265 if (pi.pathPermissions[i].getReadPermission() != null) { in checkGrantUriPermissionUnlocked()
1270 if (pi.pathPermissions[i].getWritePermission() != null) { in checkGrantUriPermissionUnlocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java216 pi.pathPermissions = new PathPermission[] { in buildComplexProvider()
/frameworks/base/core/java/android/content/
DContentProvider.java201 PathPermission[] pathPermissions) { in ContentProvider() argument
205 mPathPermissions = pathPermissions; in ContentProvider()
2634 setPathPermissions(info.pathPermissions); in attachInfo()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java442 pi.pathPermissions = p.getPathPermissions().toArray(new PathPermission[0]); in generateProviderInfo()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java703 pi.pathPermissions = p.getPathPermissions().toArray(new PathPermission[0]); in generateProviderInfo()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java1604 PathPermission[] pps = cpi.pathPermissions; in checkContentProviderPermission()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8954 field public android.content.pm.PathPermission[] pathPermissions;
/frameworks/base/core/api/
Dcurrent.txt13454 field public android.content.pm.PathPermission[] pathPermissions;