/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiServiceTestCase.java | 39 @Mock protected UriGrantsManagerInternal mUgmInternal; field in UiServiceTestCase 81 LocalServices.addService(UriGrantsManagerInternal.class, mUgmInternal); in setup() 82 when(mUgmInternal.checkGrantUriPermission( in setup()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionSessionConnection.java | 91 final UriGrantsManagerInternal mUgmInternal; field in VoiceInteractionSessionConnection 152 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in VoiceInteractionSessionConnection() 159 final IBinder permOwner = mUgmInternal.newUriPermissionOwner("voicesession:" in VoiceInteractionSessionConnection() 365 mUgmInternal.checkGrantUriPermission(srcUid, null, in grantUriPermission() 415 mUgmInternal.revokeUriPermissionFromOwner(mPermissionOwner, null, in hideLocked()
|
/frameworks/base/services/core/java/com/android/server/clipboard/ |
D | ClipboardService.java | 108 private final UriGrantsManagerInternal mUgmInternal; field in ClipboardService 139 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in ClipboardService() 146 final IBinder permOwner = mUgmInternal.newUriPermissionOwner("clipboard"); in ClipboardService() 757 mUgmInternal.checkGrantUriPermission(sourceUid, null, in checkUriOwner() 847 mUgmInternal.revokeUriPermissionFromOwner(mPermissionOwner, in revokeUriPermission()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 98 UriGrantsManagerInternal mUgmInternal; field in NotificationRecord 209 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in NotificationRecord() 1321 mUgmInternal.checkGrantUriPermission(sourceUid, null, in visitGrantableUri()
|
D | NotificationManagerService.java | 487 private UriGrantsManagerInternal mUgmInternal; field in NotificationManagerService 1489 mUgmInternal.newUriPermissionOwner("INLINE_REPLY:" + key), 2185 mUgmInternal = ugmInternal; in init() 8498 permissionOwner = mUgmInternal.newUriPermissionOwner("NOTIF:" + key); 8578 mUgmInternal.revokeUriPermissionFromOwner( 8592 mUgmInternal.revokeUriPermissionFromOwner(owner, null, ~0, userId);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStartController.java | 397 intentGrants = mSupervisor.mService.mUgmInternal in startActivities()
|
D | ActivityStarter.java | 534 intentGrants = supervisor.mService.mUgmInternal.checkGrantUriPermissionFromIntent( in resolveActivity() 1755 mService.mUgmInternal.grantUriPermissionUncheckedFromIntent(intentGrants, in startActivityInner()
|
D | ActivityRecord.java | 2843 mAtmService.mUgmInternal.grantUriPermissionUncheckedFromIntent(resultGrants, in finishActivityResults() 4062 uriPermissions = new UriPermissionOwner(mAtmService.mUgmInternal, this); in getUriPermissionsLocked() 4099 mAtmService.mUgmInternal.grantUriPermissionUncheckedFromIntent(dataGrants, in sendResult() 4142 mAtmService.mUgmInternal.grantUriPermissionUncheckedFromIntent(intentGrants, in deliverNewIntentLocked()
|
D | ActivityTaskManagerService.java | 345 UriGrantsManagerInternal mUgmInternal; field in ActivityTaskManagerService 952 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in onActivityManagerInternalAdded() 1996 return mUgmInternal.checkGrantUriPermissionFromIntent(intent, in collectGrants()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 311 UriGrantsManagerInternal mUgmInternal; field in NotificationManagerServiceTest 439 LocalServices.addService(UriGrantsManagerInternal.class, mUgmInternal); in setUp() 475 when(mUgmInternal.newUriPermissionOwner(anyString())).thenReturn(mPermOwner); in setUp() 523 mAppUsageStats, mock(DevicePolicyManagerInternal.class), mUgm, mUgmInternal, in setUp() 4084 reset(mUgmInternal); in updateUriPermissions_update() 4085 when(mUgmInternal.newUriPermissionOwner(any())).thenReturn(new Binder()); in updateUriPermissions_update() 4102 reset(mUgmInternal); in updateUriPermissions_update() 4105 verify(mUgmInternal, times(1)).revokeUriPermissionFromOwner(any(), in updateUriPermissions_update() 4116 reset(mUgmInternal); in updateUriPermissions_update() 4119 verify(mUgmInternal, times(1)).revokeUriPermissionFromOwner(any(), eq(null), in updateUriPermissions_update() [all …]
|
D | NotificationRecordTest.java | 824 record.mUgmInternal = ugm; in testCalculateGrantableUris_PappProvided()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderHelper.java | 1433 if (mService.mUgmInternal.checkAuthorityGrants( in checkContentProviderPermission() 1482 && mService.mUgmInternal.checkAuthorityGrants(callingUid, cpi, userId, checkUser)) { in checkContentProviderPermission()
|
D | ServiceRecord.java | 225 uriPermissions = new UriPermissionOwner(sr.ams.mUgmInternal, this); in getUriPermissionsLocked()
|
D | ActivityManagerService.java | 1409 UriGrantsManagerInternal mUgmInternal; field in ActivityManagerService 2216 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in ActivityManagerService() 2309 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in ActivityManagerService() 3552 mUgmInternal.removeUriPermissionsForPackage(packageName, resolvedUserId, in clearApplicationUserData() 4197 mUgmInternal.removeUriPermissionsForPackage(packageName, userId, false, false); in forceStopPackageLocked() 5688 return mUgmInternal.checkUriPermission(new GrantUri(userId, uri, modeFlags), uid, modeFlags) in checkUriPermission() 5738 final NeededUriGrants needed = mUgmInternal.checkGrantUriPermissionFromIntent(intent, in grantUriPermission() 5740 mUgmInternal.grantUriPermissionUncheckedFromIntent(needed, null); in grantUriPermission() 5777 mUgmInternal.revokeUriPermission(targetPackage, r.uid, in revokeUriPermission() 7592 mUgmInternal.onSystemReady(); in systemReady() [all …]
|
D | ActiveServices.java | 796 NeededUriGrants neededGrants = mAm.mUgmInternal.checkGrantUriPermissionFromIntent( in startServiceInnerLocked() 4038 mAm.mUgmInternal.grantUriPermissionUncheckedFromIntent(si.neededGrants, in sendServiceArgsLocked()
|