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()
1551 if (uriPermissions == null) { in getUriPermissionsLocked()
1552 uriPermissions = new UriPermissionOwner(mAtmService.mUgmInternal, this); in getUriPermissionsLocked()
1554 return uriPermissions; in getUriPermissionsLocked()
1788 if (uriPermissions != null) { in removeUriPermissionsLocked()
1789 uriPermissions.removeUriPermissions(); in removeUriPermissionsLocked()
1790 uriPermissions = null; in removeUriPermissionsLocked()
/frameworks/base/core/java/android/provider/
DMediaStore.java3465 final List<UriPermission> uriPermissions = resolver.getPersistedUriPermissions(); in getDocumentUri() local
3470 in.putParcelableList(DocumentsContract.EXTRA_URI_PERMISSIONS, uriPermissions); in getDocumentUri()
3495 final List<UriPermission> uriPermissions = resolver.getPersistedUriPermissions(); in getMediaUri() local
3500 in.putParcelableList(DocumentsContract.EXTRA_URI_PERMISSIONS, uriPermissions); in getMediaUri()