Home
last modified time | relevance | path

Searched refs:UriPermission (Results 1 – 3 of 3) 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()
81 for (UriPermission perm : writeUriPermissions) { in removeUriPermissionsLocked()
96 Iterator<UriPermission> it = readUriPermissions.iterator(); in removeUriPermissionLocked()
98 UriPermission perm = it.next(); in removeUriPermissionLocked()
115 Iterator<UriPermission> it = writeUriPermissions.iterator(); in removeUriPermissionLocked()
117 UriPermission perm = it.next(); in removeUriPermissionLocked()
134 public void addReadPermission(UriPermission perm) { in addReadPermission()
136 readUriPermissions = new HashSet<UriPermission>(); in addReadPermission()
[all …]
DUriPermission.java33 class UriPermission { class
43 UriPermission(int _uid, Uri _uri) { in UriPermission() method in UriPermission
DActivityManagerService.java590 final private SparseArray<HashMap<Uri, UriPermission>> mGrantedUriPermissions
591 = new SparseArray<HashMap<Uri, UriPermission>>();
4424 HashMap<Uri, UriPermission> perms = mGrantedUriPermissions.get(uid); in checkUriPermissionLocked()
4426 UriPermission perm = perms.get(uri); in checkUriPermissionLocked()
4600 HashMap<Uri, UriPermission> targetUris in grantUriPermissionUncheckedLocked()
4603 targetUris = new HashMap<Uri, UriPermission>(); in grantUriPermissionUncheckedLocked()
4607 UriPermission perm = targetUris.get(uri); in grantUriPermissionUncheckedLocked()
4609 perm = new UriPermission(targetUid, uri); in grantUriPermissionUncheckedLocked()
4707 void removeUriPermissionIfNeededLocked(UriPermission perm) { in removeUriPermissionIfNeededLocked()
4710 HashMap<Uri, UriPermission> perms in removeUriPermissionIfNeededLocked()
[all …]