Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java123 UriGrantsManagerInternal ugm = LocalServices.getService(UriGrantsManagerInternal.class); in release() local
125 ugm.revokeUriPermissionFromOwner(permissionOwner, mUris.get(i), mMode, mSourceUserId); in release()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java516 final UriGrantsManagerInternal ugm = LocalServices in adjustUriForUserAndGrantPermission() local
518 final NeededUriGrants needed = ugm.checkGrantUriPermissionFromIntent( in adjustUriForUserAndGrantPermission()
520 ugm.grantUriPermissionUncheckedFromIntent(needed, null); in adjustUriForUserAndGrantPermission()
530 final NeededUriGrants carrierNeeded = ugm.checkGrantUriPermissionFromIntent( in adjustUriForUserAndGrantPermission()
533 ugm.grantUriPermissionUncheckedFromIntent(carrierNeeded, null); in adjustUriForUserAndGrantPermission()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java776 UriGrantsManagerInternal ugm = mock(UriGrantsManagerInternal.class); in testCalculateGrantableUris_PappProvided() local
777 when(ugm.checkGrantUriPermission(anyInt(), eq(null), any(Uri.class), in testCalculateGrantableUris_PappProvided()
786 record.mUgmInternal = ugm; in testCalculateGrantableUris_PappProvided()
799 UriGrantsManagerInternal ugm = mock(UriGrantsManagerInternal.class); in testCalculateGrantableUris_PuserOverridden() local
800 when(ugm.checkGrantUriPermission(anyInt(), eq(null), any(Uri.class), in testCalculateGrantableUris_PuserOverridden()
817 UriGrantsManagerInternal ugm = mock(UriGrantsManagerInternal.class); in testCalculateGrantableUris_prePappProvided() local
818 when(ugm.checkGrantUriPermission(anyInt(), eq(null), any(Uri.class), in testCalculateGrantableUris_prePappProvided()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1867 DevicePolicyManagerInternal dpm, IUriGrantsManager ugm, in init() argument
1881 mUgm = ugm; in init()