Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/pm/
DPathPermission.java28 public class PathPermission extends PatternMatcher { class
32 public PathPermission(String pattern, int type, String readPermission, in PathPermission() method in PathPermission
53 public PathPermission(Parcel src) { in PathPermission() method in PathPermission
59 public static final @android.annotation.NonNull Parcelable.Creator<PathPermission> CREATOR
60 = new Parcelable.Creator<PathPermission>() {
61 public PathPermission createFromParcel(Parcel source) {
62 return new PathPermission(source);
65 public PathPermission[] newArray(int size) {
66 return new PathPermission[size];
DProviderInfo.java74 public PathPermission[] pathPermissions = null;
194 pathPermissions = in.createTypedArray(PathPermission.CREATOR); in ProviderInfo()
DPackageParser.java5296 PathPermission pa = null; in parseProviderTags()
5337 pa = new PathPermission(path, in parseProviderTags()
5344 pa = new PathPermission(path, in parseProviderTags()
5351 pa = new PathPermission(path, in parseProviderTags()
5358 pa = new PathPermission(path, in parseProviderTags()
5366 outInfo.info.pathPermissions = new PathPermission[1]; in parseProviderTags()
5370 PathPermission[] newp = new PathPermission[N+1]; in parseProviderTags()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
DParsedProviderTest.kt19 import android.content.pm.PathPermission in <lambda>()
60 PathPermission( in <lambda>()
72 PathPermission::getReadPermission, in <lambda>()
73 PathPermission::getWritePermission, in <lambda>()
/frameworks/base/core/java/com/android/internal/pm/pkg/component/
DParsedProvider.java21 import android.content.pm.PathPermission;
40 List<PathPermission> getPathPermissions(); in getPathPermissions()
DParsedProviderImpl.java24 import android.content.pm.PathPermission;
65 private List<PathPermission> pathPermissions = Collections.emptyList();
103 public ParsedProviderImpl addPathPermission(@NonNull PathPermission value) { in addPathPermission()
152 this.pathPermissions = in.createTypedArrayList(PathPermission.CREATOR); in ParsedProviderImpl()
195 @NonNull List<PathPermission> pathPermissions) { in ParsedProviderImpl()
260 public @NonNull List<PathPermission> getPathPermissions() { in getPathPermissions()
DParsedProviderUtils.java25 import android.content.pm.PathPermission;
325 PathPermission pa = null; in parsePathPermission()
328 pa = new PathPermission(path, PatternMatcher.PATTERN_ADVANCED_GLOB, readPermission, in parsePathPermission()
333 pa = new PathPermission(path, PatternMatcher.PATTERN_SIMPLE_GLOB, in parsePathPermission()
339 pa = new PathPermission(path, PatternMatcher.PATTERN_PREFIX, readPermission, in parsePathPermission()
345 pa = new PathPermission(path, PatternMatcher.PATTERN_SUFFIX, in parsePathPermission()
351 pa = new PathPermission(path, PatternMatcher.PATTERN_LITERAL, in parsePathPermission()
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/
DUriGrantsMockContext.java29 import android.content.pm.PathPermission;
216 pi.pathPermissions = new PathPermission[] { in buildComplexProvider()
217 new PathPermission("/secure", PathPermission.PATTERN_PREFIX, in buildComplexProvider()
222 new PatternMatcher("/secure", PathPermission.PATTERN_PREFIX), in buildComplexProvider()
223 new PatternMatcher("/insecure", PathPermission.PATTERN_PREFIX), in buildComplexProvider()
/frameworks/base/core/java/android/content/
DContentProvider.java37 import android.content.pm.PathPermission;
146 private PathPermission[] mPathPermissions;
201 PathPermission[] pathPermissions) { in ContentProvider()
971 final PathPermission[] pps = getPathPermissions(); in enforceReadPermissionInner()
974 for (PathPermission pp : pps) { in enforceReadPermissionInner()
1057 final PathPermission[] pps = getPathPermissions(); in enforceWritePermissionInner()
1060 for (PathPermission pp : pps) { in enforceWritePermissionInner()
1376 protected final void setPathPermissions(@Nullable PathPermission[] permissions) { in setPathPermissions()
1387 public final @Nullable PathPermission[] getPathPermissions() { in getPathPermissions()
/frameworks/base/test-mock/src/android/test/mock/
DMockContentProvider.java31 import android.content.pm.PathPermission;
230 PathPermission[] pathPermissions) { in MockContentProvider()
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/pkg/
DPackageStateTest.kt21 import android.content.pm.PathPermission
203 addPathPermission(PathPermission("pattern", PatternMatcher.PATTERN_LITERAL, in fillMissingData()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DPackageInfoCommonUtils.java35 import android.content.pm.PathPermission;
442 pi.pathPermissions = p.getPathPermissions().toArray(new PathPermission[0]); in generateProviderInfo()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java65 import android.content.pm.PathPermission;
1066 final PathPermission[] pps = pi.pathPermissions; in checkHoldingPermissionsInternalUnlocked()
1072 PathPermission pp = pps[i]; in checkHoldingPermissionsInternalUnlocked()
/frameworks/base/ravenwood/texts/
Dravenwood-annotation-allowed-classes.txt210 android.content.pm.PathPermission
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java61 import android.content.pm.PathPermission;
1604 PathPermission[] pps = cpi.pathPermissions; in checkContentProviderPermission()
1609 PathPermission pp = pps[i]; in checkContentProviderPermission()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java36 import android.content.pm.PathPermission;
703 pi.pathPermissions = p.getPathPermissions().toArray(new PathPermission[0]); in generateProviderInfo()
/frameworks/base/test-mock/api/
Dcurrent.txt15 … MockContentProvider(android.content.Context, String, String, android.content.pm.PathPermission[]);
/frameworks/base/boot/
Dboot-image-profile.txt3659 HSPLandroid/content/ContentProvider;->getPathPermissions()[Landroid/content/pm/PathPermission;
3683 HSPLandroid/content/ContentProvider;->setPathPermissions([Landroid/content/pm/PathPermission;)V
4644 HSPLandroid/content/pm/PathPermission$1;->createFromParcel(Landroid/os/Parcel;)Landroid/content/pm/
4645 HSPLandroid/content/pm/PathPermission$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
4646 HSPLandroid/content/pm/PathPermission$1;->newArray(I)[Landroid/content/pm/PathPermission;
4647 HSPLandroid/content/pm/PathPermission$1;->newArray(I)[Ljava/lang/Object;
4648 HSPLandroid/content/pm/PathPermission;-><init>(Landroid/os/Parcel;)V
4649 HSPLandroid/content/pm/PathPermission;->getReadPermission()Ljava/lang/String;
4650 HSPLandroid/content/pm/PathPermission;->getWritePermission()Ljava/lang/String;
4651 HSPLandroid/content/pm/PathPermission;->writeToParcel(Landroid/os/Parcel;I)V
[all …]
Dpreloaded-classes1835 android.content.pm.PathPermission$1
1836 android.content.pm.PathPermission
14092 [Landroid.content.pm.PathPermission;
/frameworks/base/config/
Dboot-image-profile.txt3662 HSPLandroid/content/ContentProvider;->getPathPermissions()[Landroid/content/pm/PathPermission;
3686 HSPLandroid/content/ContentProvider;->setPathPermissions([Landroid/content/pm/PathPermission;)V
4647 HSPLandroid/content/pm/PathPermission$1;->createFromParcel(Landroid/os/Parcel;)Landroid/content/pm/
4648 HSPLandroid/content/pm/PathPermission$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
4649 HSPLandroid/content/pm/PathPermission$1;->newArray(I)[Landroid/content/pm/PathPermission;
4650 HSPLandroid/content/pm/PathPermission$1;->newArray(I)[Ljava/lang/Object;
4651 HSPLandroid/content/pm/PathPermission;-><init>(Landroid/os/Parcel;)V
4652 HSPLandroid/content/pm/PathPermission;->getReadPermission()Ljava/lang/String;
4653 HSPLandroid/content/pm/PathPermission;->getWritePermission()Ljava/lang/String;
4654 HSPLandroid/content/pm/PathPermission;->writeToParcel(Landroid/os/Parcel;I)V
[all …]
Dpreloaded-classes1839 android.content.pm.PathPermission$1
1840 android.content.pm.PathPermission
17115 [Landroid.content.pm.PathPermission;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6887 method public final android.content.pm.PathPermission[] getPathPermissions();
6908 method protected final void setPathPermissions(android.content.pm.PathPermission[]);
8897 public class PathPermission extends android.os.PatternMatcher {
8898 ctor public PathPermission(java.lang.String, int, java.lang.String, java.lang.String);
8899 ctor public PathPermission(android.os.Parcel);
8902 …field public static final android.os.Parcelable.Creator<android.content.pm.PathPermission> CREATOR;
8954 field public android.content.pm.PathPermission[] pathPermissions;
29167 …(android.content.Context, java.lang.String, java.lang.String, android.content.pm.PathPermission[]);
/frameworks/base/core/api/
Dcurrent.txt10205 method @Nullable public final android.content.pm.PathPermission[] getPathPermissions();
10233 method protected final void setPathPermissions(@Nullable android.content.pm.PathPermission[]);
13381 public class PathPermission extends android.os.PatternMatcher {
13382 ctor public PathPermission(String, int, String, String);
13383 ctor public PathPermission(android.os.Parcel);
13386 …nNull public static final android.os.Parcelable.Creator<android.content.pm.PathPermission> CREATOR;
13454 field public android.content.pm.PathPermission[] pathPermissions;
/frameworks/base/services/
Dart-profile797 …ang/String;)Ljava/lang/String;+]Landroid/content/pm/PathPermission;Landroid/content/pm/PathPermiss…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...

12