Home
last modified time | relevance | path

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

/frameworks/base/services/java/com/android/server/am/
DUriPermissionOwner.java33 HashSet<UriPermission> readUriPermissions; // special access to reading uris.
34 HashSet<UriPermission> writeUriPermissions; // special access to writing uris.
69 for (UriPermission perm : readUriPermissions) { in removeUriPermissionsLocked()
77 for (UriPermission perm : writeUriPermissions) { in removeUriPermissionsLocked()
88 Iterator<UriPermission> it = readUriPermissions.iterator(); in removeUriPermissionLocked()
90 UriPermission perm = it.next(); in removeUriPermissionLocked()
103 Iterator<UriPermission> it = writeUriPermissions.iterator(); in removeUriPermissionLocked()
105 UriPermission perm = it.next(); in removeUriPermissionLocked()
118 public void addReadPermission(UriPermission perm) { in addReadPermission()
120 readUriPermissions = new HashSet<UriPermission>(); in addReadPermission()
[all …]
DUriPermission.java38 final class UriPermission { class
86 UriPermission(String sourcePkg, String targetPkg, int targetUid, Uri uri) { in UriPermission() method in UriPermission
321 public static class PersistedTimeComparator implements Comparator<UriPermission> {
323 public int compare(UriPermission lhs, UriPermission rhs) { in compare()
340 private Snapshot(UriPermission perm) { in Snapshot()
354 public android.content.UriPermission buildPersistedPublicApiObject() { in buildPersistedPublicApiObject()
355 return new android.content.UriPermission(uri, persistedModeFlags, persistedCreateTime); in buildPersistedPublicApiObject()
DActivityManagerService.java731 private final SparseArray<ArrayMap<Uri, UriPermission>>
732 mGrantedUriPermissions = new SparseArray<ArrayMap<Uri, UriPermission>>();
5863 private UriPermission findUriPermissionLocked(int targetUid, Uri uri) { in findUriPermissionLocked()
5864 ArrayMap<Uri, UriPermission> targetUris = mGrantedUriPermissions.get(targetUid); in findUriPermissionLocked()
5872 private UriPermission findOrCreateUriPermissionLocked( in findOrCreateUriPermissionLocked()
5874 ArrayMap<Uri, UriPermission> targetUris = mGrantedUriPermissions.get(targetUid); in findOrCreateUriPermissionLocked()
5880 UriPermission perm = targetUris.get(uri); in findOrCreateUriPermissionLocked()
5882 perm = new UriPermission(sourcePkg, targetPkg, targetUid, uri); in findOrCreateUriPermissionLocked()
5895 ArrayMap<Uri, UriPermission> perms = mGrantedUriPermissions.get(uid); in checkUriPermissionLocked()
5897 UriPermission perm = perms.get(uri); in checkUriPermissionLocked()
[all …]
/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 public static final Creator<UriPermission> CREATOR = new Creator<UriPermission>() {
108 public UriPermission createFromParcel(Parcel source) {
109 return new UriPermission(source);
113 public UriPermission[] newArray(int size) {
114 return new UriPermission[size];
DContentResolver.java1670 public List<UriPermission> getPersistedUriPermissions() { in getPersistedUriPermissions()
1685 public List<UriPermission> getOutgoingPersistedUriPermissions() { in getOutgoingPersistedUriPermissions()
/frameworks/base/core/java/android/app/
DIActivityManager.java30 import android.content.UriPermission;
218 public ParceledListSlice<UriPermission> getPersistedUriPermissions( in getPersistedUriPermissions()
DActivityManagerNative.java26 import android.content.UriPermission;
1165 final ParceledListSlice<UriPermission> perms = getPersistedUriPermissions( in onTransact()
3506 public ParceledListSlice<UriPermission> getPersistedUriPermissions( in getPersistedUriPermissions()
3515 final ParceledListSlice<UriPermission> perms = ParceledListSlice.CREATOR.createFromParcel( in getPersistedUriPermissions()
/frameworks/base/api/
Dcurrent.txt5762 … method public java.util.List<android.content.UriPermission> getOutgoingPersistedUriPermissions();
5764 method public java.util.List<android.content.UriPermission> getPersistedUriPermissions();
6928 public final class UriPermission implements android.os.Parcelable {