Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java155 UriPermissionOwner uriPermissions; field in ServiceRecord.StartItem
170 if (uriPermissions == null) { in getUriPermissionsLocked()
171 uriPermissions = new UriPermissionOwner(sr.ams.mUgmInternal, this); in getUriPermissionsLocked()
173 return uriPermissions; in getUriPermissionsLocked()
177 if (uriPermissions != null) { in removeUriPermissionsLocked()
178 uriPermissions.removeUriPermissions(); in removeUriPermissionsLocked()
179 uriPermissions = null; in removeUriPermissionsLocked()
197 if (uriPermissions != null) { in writeToProto()
198 uriPermissions.writeToProto(proto, ServiceRecordProto.StartItem.URI_PERMISSIONS); in writeToProto()
247 if (si.uriPermissions != null) { in dumpStartList()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java322 UriPermissionOwner uriPermissions; // current special URI access perms. field in ActivityRecord
550 if (uriPermissions != null) { in dump()
551 uriPermissions.dump(pw, prefix); in dump()
1549 if (uriPermissions == null) { in getUriPermissionsLocked()
1550 uriPermissions = new UriPermissionOwner(mAtmService.mUgmInternal, this); in getUriPermissionsLocked()
1552 return uriPermissions; in getUriPermissionsLocked()
1786 if (uriPermissions != null) { in removeUriPermissionsLocked()
1787 uriPermissions.removeUriPermissions(); in removeUriPermissionsLocked()
1788 uriPermissions = null; in removeUriPermissionsLocked()
/frameworks/base/core/java/android/provider/
DMediaStore.java3467 final List<UriPermission> uriPermissions = resolver.getPersistedUriPermissions(); in getDocumentUri() local
3472 in.putParcelableList(DocumentsContract.EXTRA_URI_PERMISSIONS, uriPermissions); in getDocumentUri()
3497 final List<UriPermission> uriPermissions = resolver.getPersistedUriPermissions(); in getMediaUri() local
3502 in.putParcelableList(DocumentsContract.EXTRA_URI_PERMISSIONS, uriPermissions); in getMediaUri()