Lines Matching refs:grantFlags
40 private GrantedUriPermissions(IActivityManager am, int grantFlags, int uid, String tag)
42 mGrantFlags = grantFlags;
59 public static boolean checkGrantFlags(int grantFlags) {
60 return (grantFlags & (Intent.FLAG_GRANT_WRITE_URI_PERMISSION
66 int grantFlags = intent.getFlags();
67 if (!checkGrantFlags(grantFlags)) {
75 perms = grantUri(am, data, sourceUid, targetPackage, targetUserId, grantFlags, tag,
81 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags, tag,
89 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag) {
90 if (!checkGrantFlags(grantFlags)) {
95 perms = grantClip(am, clip, sourceUid, targetPackage, targetUserId, grantFlags,
102 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag,
107 grantFlags, tag, curPerms);
113 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag,
120 curPerms = new GrantedUriPermissions(am, grantFlags, sourceUid, tag);
123 uri, grantFlags, sourceUserId, targetUserId);
132 int sourceUid, String targetPackage, int targetUserId, int grantFlags, String tag,
136 grantFlags, tag, curPerms);
141 grantFlags, tag, curPerms);