Home
last modified time | relevance | path

Searched refs:UriPermissionOwner (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DUriPermission.java83 private ArraySet<UriPermissionOwner> mReadOwners;
84 private ArraySet<UriPermissionOwner> mWriteOwners;
115 void grantModes(int modeFlags, UriPermissionOwner owner) { in grantModes()
198 for (UriPermissionOwner r : mReadOwners) { in revokeModes()
212 for (UriPermissionOwner r : mWriteOwners) { in revokeModes()
244 private void addReadOwner(UriPermissionOwner owner) { in addReadOwner()
258 void removeReadOwner(UriPermissionOwner owner) { in removeReadOwner()
269 private void addWriteOwner(UriPermissionOwner owner) { in addWriteOwner()
283 void removeWriteOwner(UriPermissionOwner owner) { in removeWriteOwner()
328 for (UriPermissionOwner owner : mReadOwners) { in dump()
[all …]
DUriPermissionOwner.java30 final class UriPermissionOwner { class
40 UriPermissionOwner getOwner() { in getOwner()
41 return UriPermissionOwner.this; in getOwner()
45 UriPermissionOwner(ActivityManagerService service, Object owner) { in UriPermissionOwner() method in UriPermissionOwner
57 static UriPermissionOwner fromExternalToken(IBinder token) { in fromExternalToken()
DServiceRecord.java124 UriPermissionOwner uriPermissions;
137 UriPermissionOwner getUriPermissionsLocked() { in getUriPermissionsLocked()
139 uriPermissions = new UriPermissionOwner(sr.ams, this); in getUriPermissionsLocked()
DActivityRecord.java140 UriPermissionOwner uriPermissions; // current special URI access perms.
601 UriPermissionOwner getUriPermissionsLocked() {
603 uriPermissions = new UriPermissionOwner(service, this);
DActivityManagerService.java7239 final int modeFlags, UriPermissionOwner owner) { in grantUriPermissionUncheckedLocked()
7267 final int modeFlags, UriPermissionOwner owner, int targetUserId) { in grantUriPermissionLocked()
7391 UriPermissionOwner owner) { in grantUriPermissionUncheckedFromIntentLocked()
7402 String targetPkg, Intent intent, UriPermissionOwner owner, int targetUserId) { in grantUriPermissionFromIntentLocked()
7636 UriPermissionOwner owner = new UriPermissionOwner(this, name); in newUriPermissionOwner()
7652 UriPermissionOwner owner = UriPermissionOwner.fromExternalToken(token); in grantUriPermissionFromOwner()
7682 UriPermissionOwner owner = UriPermissionOwner.fromExternalToken(token); in revokeUriPermissionFromOwner()