Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java39 private ArraySet<UriPermission> mReadPerms; field in UriPermissionOwner
76 if ((mode & FLAG_GRANT_READ_URI_PERMISSION) != 0 && mReadPerms != null) { in removeUriPermission()
77 Iterator<UriPermission> it = mReadPerms.iterator(); in removeUriPermission()
86 if (mReadPerms.isEmpty()) { in removeUriPermission()
87 mReadPerms = null; in removeUriPermission()
108 if (mReadPerms == null) { in addReadPermission()
109 mReadPerms = Sets.newArraySet(); in addReadPermission()
111 mReadPerms.add(perm); in addReadPermission()
122 mReadPerms.remove(perm); in removeReadPermission()
123 if (mReadPerms.isEmpty()) { in removeReadPermission()
[all …]