Searched refs:ugm (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 123 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/ |
D | MmsServiceBroker.java | 516 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/ |
D | NotificationRecordTest.java | 776 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/ |
D | NotificationManagerService.java | 1867 DevicePolicyManagerInternal dpm, IUriGrantsManager ugm, in init() argument 1881 mUgm = ugm; in init()
|