Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedProvider.java53 PathPermission[] pathPermissions; field in ParsedProvider
67 this.pathPermissions = other.pathPermissions; in ParsedProvider()
117 dest.writeTypedArray(this.pathPermissions, flags); in writeToParcel()
135 this.pathPermissions = in.createTypedArray(PathPermission.CREATOR); in ParsedProvider()
192 return pathPermissions; in getPathPermissions()
DParsedProviderUtils.java328 if (provider.pathPermissions == null) { in parsePathPermission()
329 provider.pathPermissions = new PathPermission[1]; in parsePathPermission()
330 provider.pathPermissions[0] = pa; in parsePathPermission()
332 final int N = provider.pathPermissions.length; in parsePathPermission()
334 System.arraycopy(provider.pathPermissions, 0, newp, 0, N); in parsePathPermission()
336 provider.pathPermissions = newp; in parsePathPermission()
/frameworks/base/core/java/android/content/pm/
DProviderInfo.java73 public PathPermission[] pathPermissions = null; field in ProviderInfo
123 pathPermissions = orig.pathPermissions; in ProviderInfo()
154 out.writeTypedArray(pathPermissions, parcelableFlags); in writeToParcel()
184 pathPermissions = in.createTypedArray(PathPermission.CREATOR); in ProviderInfo()
DPackageParser.java5313 if (outInfo.info.pathPermissions == null) { in parseProviderTags()
5314 outInfo.info.pathPermissions = new PathPermission[1]; in parseProviderTags()
5315 outInfo.info.pathPermissions[0] = pa; in parseProviderTags()
5317 final int N = outInfo.info.pathPermissions.length; in parseProviderTags()
5319 System.arraycopy(outInfo.info.pathPermissions, 0, newp, 0, N); in parseProviderTags()
5321 outInfo.info.pathPermissions = newp; in parseProviderTags()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java215 PathPermission[] pathPermissions) { in MockContentProvider() argument
216 super(context, readPermission, writePermission, pathPermissions); in MockContentProvider()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java955 final PathPermission[] pps = pi.pathPermissions; in checkHoldingPermissionsInternalUnlocked()
1183 if (pi.pathPermissions != null) { in checkGrantUriPermissionUnlocked()
1184 final int N = pi.pathPermissions.length; in checkGrantUriPermissionUnlocked()
1186 if (pi.pathPermissions[i] != null in checkGrantUriPermissionUnlocked()
1187 && pi.pathPermissions[i].match(grantUri.uri.getPath())) { in checkGrantUriPermissionUnlocked()
1189 if (pi.pathPermissions[i].getReadPermission() != null) { in checkGrantUriPermissionUnlocked()
1194 if (pi.pathPermissions[i].getWritePermission() != null) { in checkGrantUriPermissionUnlocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java203 pi.pathPermissions = new PathPermission[] { in buildComplexProvider()
/frameworks/base/core/java/android/content/
DContentProvider.java184 PathPermission[] pathPermissions) { in ContentProvider() argument
188 mPathPermissions = pathPermissions; in ContentProvider()
2379 setPathPermissions(info.pathPermissions); in attachInfo()
/frameworks/base/core/java/android/content/pm/parsing/
DPackageInfoWithoutStateUtils.java555 pi.pathPermissions = p.getPathPermissions(); in generateProviderInfoUnchecked()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java6866 PathPermission[] pps = cpi.pathPermissions; in checkContentProviderPermissionLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8954 field public android.content.pm.PathPermission[] pathPermissions;
/frameworks/base/api/
Dcurrent.txt12335 field public android.content.pm.PathPermission[] pathPermissions;
/frameworks/base/non-updatable-api/
Dcurrent.txt12335 field public android.content.pm.PathPermission[] pathPermissions;