Home
last modified time | relevance | path

Searched refs:UriGrantsManagerInternal (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/
DUiServiceTestCase.java28 import com.android.server.uri.UriGrantsManagerInternal;
37 @Mock protected UriGrantsManagerInternal mUgmInternal;
75 LocalServices.removeServiceForTest(UriGrantsManagerInternal.class); in setup()
76 LocalServices.addService(UriGrantsManagerInternal.class, mUgmInternal); in setup()
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java30 import com.android.server.uri.UriGrantsManagerInternal;
92 mPermissionOwnerToken = LocalServices.getService(UriGrantsManagerInternal.class) in takeTransient()
124 UriGrantsManagerInternal ugm = LocalServices.getService(UriGrantsManagerInternal.class); in release()
DActivityTaskManagerService.java271 import com.android.server.uri.UriGrantsManagerInternal;
354 UriGrantsManagerInternal mUgmInternal;
840 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in onActivityManagerInternalAdded()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputContentUriTokenHandler.java31 import com.android.server.uri.UriGrantsManagerInternal;
68 mPermissionOwnerToken = LocalServices.getService(UriGrantsManagerInternal.class) in take()
97 LocalServices.getService(UriGrantsManagerInternal.class) in release()
/frameworks/base/services/core/java/com/android/server/job/
DGrantedUriPermissions.java31 import com.android.server.uri.UriGrantsManagerInternal;
49 .getService(UriGrantsManagerInternal.class).newUriPermissionOwner("job: " + tag); in GrantedUriPermissions()
54 LocalServices.getService(UriGrantsManagerInternal.class).revokeUriPermissionFromOwner( in revoke()
/frameworks/base/services/core/java/com/android/server/uri/
DUriPermissionOwner.java34 private final UriGrantsManagerInternal mService;
48 public UriPermissionOwner(UriGrantsManagerInternal service, Object owner) { in UriPermissionOwner()
DUriGrantsManagerInternal.java31 public interface UriGrantsManagerInternal { interface
DUriGrantsManagerService.java152 LocalServices.addService(UriGrantsManagerInternal.class, new LocalService()); in start()
1304 final class LocalService implements UriGrantsManagerInternal {
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java69 import com.android.server.uri.UriGrantsManagerInternal;
754 UriGrantsManagerInternal ugm = mock(UriGrantsManagerInternal.class); in testCalculateGrantableUris_PappProvided()
777 UriGrantsManagerInternal ugm = mock(UriGrantsManagerInternal.class); in testCalculateGrantableUris_PuserOverridden()
795 UriGrantsManagerInternal ugm = mock(UriGrantsManagerInternal.class); in testCalculateGrantableUris_prePappProvided()
DRoleObserverTest.java64 import com.android.server.uri.UriGrantsManagerInternal;
143 mock(UriGrantsManagerInternal.class), in setUp()
DNotificationManagerServiceTest.java150 import com.android.server.uri.UriGrantsManagerInternal;
235 UriGrantsManagerInternal mUgmInternal;
333 LocalServices.removeServiceForTest(UriGrantsManagerInternal.class); in setUp()
334 LocalServices.addService(UriGrantsManagerInternal.class, mUgmInternal); in setUp()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java48 import com.android.server.uri.UriGrantsManagerInternal;
512 LocalServices.getService(UriGrantsManagerInternal.class) in adjustUriForUserAndGrantPermission()
524 LocalServices.getService(UriGrantsManagerInternal.class) in adjustUriForUserAndGrantPermission()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java69 import com.android.server.uri.UriGrantsManagerInternal;
90 final UriGrantsManagerInternal mUgmInternal;
150 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in VoiceInteractionSessionConnection()
/frameworks/base/services/core/java/com/android/server/clipboard/
DClipboardService.java63 import com.android.server.uri.UriGrantsManagerInternal;
165 private final UriGrantsManagerInternal mUgmInternal;
186 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in ClipboardService()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java79 import com.android.server.uri.UriGrantsManagerInternal;
470 mUgmInternal = mock(UriGrantsManagerInternal.class); in TestActivityTaskManagerService()
639 mUgmInternal = mock(UriGrantsManagerInternal.class); in TestActivityManagerService()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java67 import com.android.server.uri.UriGrantsManagerInternal;
95 UriGrantsManagerInternal mUgmInternal;
198 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in NotificationRecord()
DNotificationManagerService.java244 import com.android.server.uri.UriGrantsManagerInternal;
374 private UriGrantsManagerInternal mUgmInternal;
1645 IUriGrantsManager ugm, UriGrantsManagerInternal ugmInternal, AppOpsManager appOps, in init()
1834 LocalServices.getService(UriGrantsManagerInternal.class), in onStart()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java364 import com.android.server.uri.UriGrantsManagerInternal;
1489 public UriGrantsManagerInternal mUgmInternal;
2540 mUgmInternal = LocalServices.getService(UriGrantsManagerInternal.class); in ActivityManagerService()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java262 import com.android.server.uri.UriGrantsManagerInternal;
7584 LocalServices.getService(UriGrantsManagerInternal.class) in shareBugreportWithDeviceOwnerIfExists()
/frameworks/base/services/
Dart-profile9609 …Internal;Landroid/app/IUriGrantsManager;Lcom/android/server/uri/UriGrantsManagerInternal;Landroid/…
20313 Lcom/android/server/uri/UriGrantsManagerInternal;