Home
last modified time | relevance | path

Searched refs:isSameUser (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/os/
DUserHandle.java139 public static boolean isSameUser(int uid1, int uid2) { in isSameUser() method in UserHandle
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java690 public boolean isSameUser(IInterface service, int userId) { in isSameUser() method in ManagedServices
695 return info.isSameUser(userId); in isSameUser()
1364 public boolean isSameUser(int userId) { in isSameUser() method in ManagedServices.ManagedServiceInfo
DNotificationManagerService.java4049 && mAssistants.isSameUser(token, r.getUserId())) {
4088 if (r != null && mAssistants.isSameUser(token, r.getUserId())) {
7779 && info.isSameUser(r.getUserId());
7980 && (!sameUserOnly || info.isSameUser(sbn.getUserId()));
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java932 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testBlockedNotifications_blockedByAssistant()
2968 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(false); in testApplyAdjustmentMultiUser()
2994 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testAssistantBlockingTriggersCancel()
3010 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyEnqueuedAdjustmentFromAssistant_singleUser()
3029 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testApplyEnqueuedAdjustmentFromAssistant_importance()
3047 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(false); in testApplyEnqueuedAdjustmentFromAssistant_crossUser()
3070 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testUserSentimentChangeTriggersUpdate()
3091 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testTooLateAdjustmentTriggersUpdate()
3112 when(mAssistants.isSameUser(eq(null), anyInt())).thenReturn(true); in testEnqueuedAdjustmentAppliesAdjustments()
4957 when(mAssistants.isSameUser(any(), anyInt())).thenReturn(true); in testAdjustRestrictedKey()
DManagedServicesTest.java828 assertFalse(services.isSameUser(service, 0)); in testIsSameUser()
829 assertTrue(services.isSameUser(service, 10)); in testIsSameUser()
/frameworks/base/core/java/android/content/
DContentProvider.java707 final Uri userUri = (mSingleUser && !UserHandle.isSameUser(mMyUid, uid)) in enforceReadPermissionInner()
/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java1424 if (!UserHandle.isCore(procUid) || !UserHandle.isSameUser(procUid, uid)) {
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java5952 if (UserHandle.isApp(procUid) || !UserHandle.isSameUser(procUid, uid)) { in getProcessController()
/frameworks/base/services/
Dart-profile9271 HSPLcom/android/server/notification/ManagedServices$ManagedServiceInfo;->isSameUser(I)Z
9296 HSPLcom/android/server/notification/ManagedServices;->isSameUser(Landroid/os/IInterface;I)Z
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt53908 Landroid/os/UserHandle;->isSameUser(II)Z