Home
last modified time | relevance | path

Searched refs:UriPermission (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/content/
DUriPermission.java31 public final class UriPermission implements Parcelable { class
42 public UriPermission(Uri uri, int modeFlags, long persistedTime) { in UriPermission() method in UriPermission
49 public UriPermission(Parcel in) { in UriPermission() method in UriPermission
106 …c static final @android.annotation.NonNull Creator<UriPermission> CREATOR = new Creator<UriPermiss…
108 public UriPermission createFromParcel(Parcel source) {
109 return new UriPermission(source);
113 public UriPermission[] newArray(int size) {
114 return new UriPermission[size];
DContentResolver.java2483 public @NonNull List<UriPermission> getPersistedUriPermissions() {
2499 public @NonNull List<UriPermission> getOutgoingPersistedUriPermissions() {
2509 public @NonNull List<UriPermission> getOutgoingUriPermissions() {
/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java39 private ArraySet<UriPermission> mReadPerms;
40 private ArraySet<UriPermission> mWritePerms;
77 Iterator<UriPermission> it = mReadPerms.iterator(); in removeUriPermission()
79 UriPermission perm = it.next(); in removeUriPermission()
92 Iterator<UriPermission> it = mWritePerms.iterator(); in removeUriPermission()
94 UriPermission perm = it.next(); in removeUriPermission()
107 public void addReadPermission(UriPermission perm) { in addReadPermission()
114 public void addWritePermission(UriPermission perm) { in addWritePermission()
121 public void removeReadPermission(UriPermission perm) { in removeReadPermission()
128 public void removeWritePermission(UriPermission perm) { in removeWritePermission()
[all …]
DUriGrantsManagerService.java141 private final SparseArray<ArrayMap<GrantUri, UriPermission>>
214 public ParceledListSlice<android.content.UriPermission> getUriPermissions( in getUriPermissions()
233 final ArrayList<android.content.UriPermission> result = Lists.newArrayList(); in getUriPermissions()
236 final ArrayMap<GrantUri, UriPermission> perms = mGrantedUriPermissions.get( in getUriPermissions()
242 final UriPermission perm = perms.valueAt(j); in getUriPermissions()
252 final ArrayMap<GrantUri, UriPermission> perms = in getUriPermissions()
255 final UriPermission perm = perms.valueAt(j); in getUriPermissions()
277 final ArrayMap<GrantUri, UriPermission> perms = mGrantedUriPermissions.valueAt(i); in getGrantedUriPermissions()
279 final UriPermission perm = perms.valueAt(j); in getGrantedUriPermissions()
317 UriPermission exactPerm = findUriPermissionLocked(uid, grantUri); in takePersistableUriPermission()
[all …]
DUriPermission.java40 final class UriPermission { class
89 UriPermission(String sourcePkg, String targetPkg, int targetUid, GrantUri uri) { in UriPermission() method in UriPermission
354 public static class PersistedTimeComparator implements Comparator<UriPermission> {
356 public int compare(UriPermission lhs, UriPermission rhs) { in compare()
373 private Snapshot(UriPermission perm) { in Snapshot()
387 public android.content.UriPermission buildPersistedPublicApiObject() { in buildPersistedPublicApiObject()
388 return new android.content.UriPermission(uri.uri, persistedModeFlags, persistedCreateTime); in buildPersistedPublicApiObject()
DUriGrantsManagerInternal.java34 void removeUriPermissionIfNeeded(UriPermission perm); in removeUriPermissionIfNeeded()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java22 import android.content.UriPermission;
483 private Uri getDocumentUri(String path, List<UriPermission> accessUriPermissions) in getDocumentUri()
489 UriPermission docUriPermission = null; in getDocumentUri()
490 UriPermission treeUriPermission = null; in getDocumentUri()
491 for (UriPermission uriPermission : accessUriPermissions) { in getDocumentUri()
539 private static boolean allowsBothReadAndWrite(UriPermission permission) { in allowsBothReadAndWrite()
619 final List<UriPermission> accessUriPermissions = extras in call()
/frameworks/base/core/java/android/app/
DGrantedUriPermission.java21 import android.content.UriPermission;
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDocumentsProvider.java23 import android.content.UriPermission;
127 final List<UriPermission> permissions = in onCreate()
/frameworks/base/core/java/android/provider/
DMediaStore.java40 import android.content.UriPermission;
3465 final List<UriPermission> uriPermissions = resolver.getPersistedUriPermissions(); in getDocumentUri()
3495 final List<UriPermission> uriPermissions = resolver.getPersistedUriPermissions(); in getMediaUri()
/frameworks/base/services/
Dart-profile13522 …sManagerService$LocalService;->removeUriPermissionIfNeeded(Lcom/android/server/uri/UriPermission;)V
13534 …/String;Ljava/lang/String;ILcom/android/server/uri/GrantUri;)Lcom/android/server/uri/UriPermission;
13545 …/uri/UriGrantsManagerService;->removeUriPermissionIfNeeded(Lcom/android/server/uri/UriPermission;)V
13548 HSPLcom/android/server/uri/UriPermission;-><init>(Ljava/lang/String;Ljava/lang/String;ILcom/android…
13549 PLcom/android/server/uri/UriPermission;->dump(Ljava/io/PrintWriter;Ljava/lang/String;)V
13550 PLcom/android/server/uri/UriPermission;->grantModes(ILcom/android/server/uri/UriPermissionOwner;)V
13551 PLcom/android/server/uri/UriPermission;->removeReadOwner(Lcom/android/server/uri/UriPermissionOwner…
13552 PLcom/android/server/uri/UriPermission;->removeWriteOwner(Lcom/android/server/uri/UriPermissionOwne…
13553 HSPLcom/android/server/uri/UriPermission;->revokeModes(IZ)Z
13554 PLcom/android/server/uri/UriPermission;->toString()Ljava/lang/String;
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...